How to Pass Parameter Values to Action through Function in Sage Enterprise Management

How to Pass Parameter Values to Action through Function in Sage Enterprise Management

Posted by

How to Pass Parameter Values to Action through Function in Sage Enterprise Management

Description:

Passing the parameters values is an important process in Sage Enterprise Management V9, especially when we use action parameters through function. Following are the steps to pass values to action process through function in Sage Enterprise Management.

Created one window for testing purpose called “YTEST”. Go to

All -> Development -> Script Dictionary

Script Dictionary -> Actions -> Action parameters

Click the action parameters as shown below.

Following Screen will appear as shown below

Here you can create the new action, which is window entry type and map window, also add specific process.

Add the parameter, which we have created earlier in action parameters function.

Once action has created successfully with parameters, next step is to provide the action code to function. These parameters will come up in parameter field automatically based on action code given in action code field. We will have to assign the parameter values as input, either they could be hard coded values or screen field codes like “[M: XYZ] ABCDEF” as shown below.

We need to write the code to display the parameter values through specific process as shown. The PARAM is the standard variable, which is array type.

When we provide the parameters in action, the parameter’s values will be automatically stored in PARAM variable. The PARAM index will start from “1” by default.

After the coding part has completed, execute the function and click on Ok button in message window, then parameter’s values will be display as per the code written in specific process.

All -> Sales -> Quotes

And also,

 

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