Professional Documents
Culture Documents
Function(BPM) in Epicor 9
[http://4.bp.blogspot.com/-5GBtiIefLZE/UnEWHarpsOI/AAAAAAAAAGU/FtuZWvKNh5w/s1600/pic01.jpg]
pic-01
• Open the Method Directive screen, the system would like to know the method code we want to
work on.
• We can use the search .
[http://1.bp.blogspot.com/-j8tFD7pxqMY/UnEgVyaesrI/AAAAAAAAAHM/P6dtZb45Imk/s1600/pic-03.jpg]
1. We can select the Business Object. (Here it is job entry screen), Select job entry then click the
button for search , System will return all the functions within the job entry.
Among the functions select the required function for the BPM. (In this case we need update), so select
update.
Next we have to hit the new button and select New Pre-Processing.
(This means ,execute this method before actually saving the data to the permanent table.)
[http://2.bp.blogspot.com/-hrI5QbdCMFI/UnEmseqygCI/AAAAAAAAAHs/5ru1qqLEBBA/s1600/pic-05.jpg]
1. Give the Directive Name.( In this case ,the name is given as NonStockPart.)
2. Assign the Group Name.(Here it is given as Job.)
3. Give the value for Order Sequence.( In this case its given as 10.)
4. Select the checkbox enabled .
5. Select the checkbox Company Independent .(Reason : If you have any Multi-Company
environment this rule will apply to all companies not just the current company.)
6. Next we have to give the Condition, that is under what condition do we want to trigger this Action.
For that we have click the Condition button.
[http://4.bp.blogspot.com/-bGOV5IRAcUA/UnFRV9xdAxI/AAAAAAAAAII/Ll0qIzvQBhk/s1600/pic-06.jpg]
1. Pick the tables we want to work with. (In this case we have to work with the Part Master,because
the Part file contains whether a part is stock or Non-stock.
2. Next we have to look for the ttjobHead.(This is a temporary table of the JobHeader that is available
to you and the Method Directive while the Job is being worked on before its saved ).Go ahead and
pick the table ttJobHead.
3. Create a link between the two tables added.(Let the Parent table be the ttJobHead & the child be
the Part table.)
4. Create a table relationship between the two tables. that is create a new relationship: partnum =
partnum.
Based on that,we need to create a criteria as to what it is ever looking for to trigger or to Directive or
Business Process management. 5.
On the Part create a new criteria .
6. We want to compare the field name and we have to select Non-Stock is equal to a specified constant
(In this case it is "Yes", which means checked on in Epicor.(As shown in above pic)
7. Save the Query.
The system will compile that into a standard Epicor compilable query language.
[http://1.bp.blogspot.com/-WdMoU3lrt54/UnFfcDab80I/AAAAAAAAAIk/N8BBx-_kQTU/s1600/pic-09.jpg]
Then what we want the system to do next is ,we want to say the value of the number of rows.(Here in
this case the value is more than 0 as shown in the above picture.)
• Click on the OK button.
• Next we have to click on the Actions button.
[http://2.bp.blogspot.com/-78pWxTZwEJU/UnFg7fyKZ0I/AAAAAAAAAIw/7iJp1vrmP6I/s1600/pic-10.jpg]
• Give a Name for the Exception.(In this case its given as Non-stock.)
• Type the message ,which we want to trigger.(In this case it is given as "Please dont use non-stock
item on Jobs".)
• Click on the OK button.
• Click on the Save button and save the created Method Directive.
• Minimize the screens and open up the Job Entry Screen.
• ie Production management - Job Management - General Operation - job Entry.
[http://4.bp.blogspot.com/-mOUu1-pfsok/UnFmjLaMgbI/AAAAAAAAAJc/wxpykBmmATQ/s1600/pic-12.jpg]
• While saving,the system will throw an error message , that is the message which we have given in
the exception ,as shown above.
• Try with a new job entry with a stock part. The system will not throw this error message.
4 View comments