Celin.AIS.Script

Module for Celin Script Language statements.

Open-Celin.AIS.Script

Open an Application Stack Service and store the App Stack in the default variable.

FormName
Form name to open, with optional version.
Action (Optional)
One or more actions to perform. See Form/Grid Actions for reference.
Query (Optional)
Find Query. See Conditions for reference.
Max (Optional)
Max number of grid rows to return (use -1 for No Max).
returnControlIDs (Optional)
Controls to return. See Request Body for reference.

Example

Open Work With Orders to Receive and press Find. Store the results in variable $rec. The $rec.app property should display P4312_W4312F_ZJDE0001;

$rec = open-celin.ais.script "w4312f,zjde0001" "do(21)"
$rec.app

Step-Celin.AIS.Script

Execute Form Action for default Application Stack.

Action
: One or more actions to perform. See Form/Grid Actions for reference.

Example

Using the App Stack from the above example, select the first grid row and press Ok. Store the results in variable $rec1 The rec1.app property should display P4312_W4312A_ZJDE0001.

$rec1 = step-celin.ais.script "select(1.0) do(4)"
$rec1.app

Close-Celin.AIS.Script

Close the App Stack.

Example

Close the default App Stack. Since we don’t assign the results a variable, it will be displayed.

close-celin.ais.script

Copyright © 2023 Finnur Bragason.