Get Action and Function Code in Sage X3 V9

Get Action and Function Code in Sage X3 V9

Posted by

Get Action and Function Code in Sage X3 V9

Description:

Sometimes, the developer may require finding the action and function code in coding part. Following example shows how this done in Sage X3. 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

Add same process code “SPEYACTION” for three actions “YACTION1”, “YACTION2” and “YFUNCCODE”.

All -> Development -> Script Directory -> Actions

Write these codes in specific process.

Once we have added buttons and actions successfully, then we will have to validate purchase order entry transactions. Button has added in purchase order window successfully as shown. To check go to Orders in Sage X3:

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)

The following two tabs change content below.
Panni

Panni

Panni is an Alberta based technology consulting firm offering consulting services in Sage ERP X3, business intelligence, business collaboration, invoice automation to medium and large enterprises. Leveraging our deep industry knowledge and technical expertise, we help companies improve and optimize their business processes by creating technology-enabled business solutions.

One Comment

Leave a Reply