Sometimes, the developer may require finding the action and function code in coding part. Following example shows how this done in Sage Enterprise Management. In this example, three buttons are added in purchase order window (OPOH) and mapped with three different processes using same process code.
All -> Development -> Script Directory

All -> Development -> Script Directory -> Actions


All -> Purchasing -> Orders

Now when we click on button then it should give us action code and function code as shown below.
Button Action Code-1 should give “YACTION1”
Button Action Code-1 should give “YACTION2”
Button Function Code should give “GESPOH” (Purchase order function code is GESPOH)
