Variable or mask | Definition |
Char (20) W_ITM | Contains the reference for the script The reference that must be use the configurator (the product must exist) is loaded in W_ITM.
|
All the tables required for the configuration are open.
This entry point serves to dynamically modify the reference component defined in a script.
If there is no transaction in process if the variable S_UPDMOD <> 2.
There is a transaction in process if the variable S_UPDMOD = 2.
A log file may be open according to the value of the system variable S_TRAFLG that can set in a script.
This entry point is called in the execution of the script when there is a requirement to read the reference component.
Variable or mask | Definition |
Table [F :CSL] | Script line component concerned record |
|
|
Char (GLONITM) W_ITM | Contains the reference component for the script The reference component that must be use the configurator (the product must exist) is loaded in W_ITM.
|
All the tables required for the configuration are open.
This entry point is called for each action of the type 'table selection', 'list selection', 'window selection' or 'standard process' managed by the CFGLIBB process. (AAAA = Action)
It is used to carryout a process before the standard action and/or to not carryout the standard action.
This entry point is called for the following actions managed by the CFGLIBB process.
Standard process SAICFGSCE : Script response entry
SAICFGSEL : Product selection / variant options entry
SAICFGSHA : Shapes and patterns entry
Window entry SELCFG : Script selection using a master script
Variable or mask | Definition |
GPOINT | Contains ‘CFG_’ followed by an action code (INIT,OUVRE…). |
GACTION | Contains the name of the action (SAICFGSCE, SAICFGSEL…) |
GPE | Loaded with zero: the standard action is carried out Loaded <> zero:the standard action is not carried out |
All the tables of the configurator.
This entry point is called for each "file" type symbol.
It is used to carryout a process before the standard action and/or to not carryout the standard action.
If there is no transaction in process if the variable S_UPDMOD <> 2.
There is a transaction in process if the variable S_UPDMOD = 2.
A log file may be open according to the value of the system variable S_TRAFLG that can set in a script.
This entry point is called in the execution of the script when there is a requirement to read the reference component.
Variable or mask | Definition |
Table [F :CSL] | Script line component concerned record |
|
|
GPE | Loaded with zero: the standard action is carried out Loaded <> zero:the standard action is not carried out |
All the tables required for the configuration are open.
This entry point is called during the loading of each line of product selections and variant options in the configurator.
There is no transaction in process.
There may be an open log file (test the context)
The GPE variable is initialized to 0. If the specific script changes its value, the loading process of the current line stops ([M:CFW] is not updated).
Variable or mask | Definition |
Mask WUSxxxx [CSEL] | Mask generated from the selection xxx |
Table [F:ITM] | Master product for the selection line concerned |
Table [F:ITF] | Product-site for the selection line concerned |
Table [F:ITV] | Product totals for the selection line concerned |
Table [F:ITS] | Product-sales for the selection line concerned |
Table [F:TCU] | Currency S_CUR (GLOCALDEV by default) |
Decimal [M :CSEL]CSTTOT | Total cost pre-calculated in the selections carried out for the selection in process. |
Nolign | Number of the current line |
S_DYNAMT | Field of the type 'Cost in currency' that must be displayed. (According to the currency contained in S_CUR pre-loaded by default with the local currency) This field will be revised in configuration mode once the ‘Ok’ button is pressed For immediately display, proceed as follows: Gosub AFF_DYNAMT From CFGLIB |
The configurator tables
This entry point is called when searching for equivalence in order to filter the equivalent products, for instance, by checking whether the Product - Site record exists or not for the current site.
There is one transaction in progress.
A log file may be open according to the value of the system variable S_TRAFLG that can set in a script.
Call in the different search scenarios for [F:ITM1]: whether we take the first product found or all the equivalent products to display them as a list on the screen [M:CFEQ].
The action is called from CFGLIBC, where the request on [F:ITM1] is created
Using the GPE indicator
GPE=0 if standard algorithm must continue (initialized to this value by default)
GPE=1 to skip loading the current product [F:ITM1]ITMREF
GPE=2 to exit the read cycle completely
Variable or mask | Definition |
Mask [CFV0] | Summary of the configuration |
Mask [CFV1] | Summary of the configuration |
Mask [CFV2] | Summary of the configuration |
Mask [CFV3] | Summary of the configuration |
Mask [CFV9] | Summary of the configuration |
|
|
The tables required for the configuration
Available variables and masks