How to Pass Parameter Values to Action through Function in Sage Enterprise Management
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
Latest posts by Panni (see all)
- How to Check Numberof Records in the Table in Sage Enterprise Management (Formerly Sage X3) - December 12, 2018
- How to fix Unauthorised Journal on Invoice type Error in Sage Enterprise Management (Formerly X3) - October 31, 2018
- How to Change Length of Data Type in Sage Enterprise Management (Formerly Sage X3) - October 17, 2018