CFGLIBC script: CFGLIBC
BEFWRIITM: Before writing the ITMMASTER table
BEFWRIITF: Before writing the ITMFACILIT table
BEFWRIITV: Before writing the ITMMVT table
BEFWRIITC: Before writing the ITMCOST table
Context and operating mode
The GPE variable is used to identify the duplications of ITC lines existing on the updated product or on the reference product.
BEFWRIITS: Before writing the ITMSALES table
BEFWRIITU: Before writing the ITMBPC table
BEFWRIBOH: Before writing the BOM table
BEFWRIBOD: Before writing the BOMD table
BEFWRIROH: Before writing the ROUTING table
BEFWRIROO: Before writing the ROUOPE table
BEFWRIROS: Before writing the ROUSCD table
BEFWRICHH: Before writing the CFGHISHEA table
BEFWRICFH: Before writing the CFGHIS table
BEFREWITM: Before rewriting the ITMMASTER table
BEFREWITS: Before rewriting the ITMSALES table
BEFREWITU: Before rewriting the ITMBPC table
BEFREWITC: Before rewriting the ITMCOST table
DELCONFIG: Abandon configuration
DELMEMO: Before deleting ‘memo’ records
CFGUPDSAL: Product filter for quotes and orders
INIVAL: Script validation start
CFG_AAAA: Generic entry point for configurator actions
LOA_CFV3: Loading tab [M:CFV3]
This entry point is called at the end of the loading of a line in the [M:CFV3] screen.
It can be used to load additional information (specific display).
Context and operating mode
Transaction
There is one transaction in progress.
Log file
A log file can be open according to the value of the S_TRAFLG system variable that can be set by the scenario.
Different call cases
The entry point is called at the end of the loading of a line in the [M:CFV3] mask.
Available variables and masks
| 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 |
BEFWRICBB : Before writing the CLOB table
BEFWRIAOX : Before writing the AOBJTXT attachments table
BEFWRIITP: Before writing the ITMBPS table
BEFREWITP: Before rewriting the ITMBPS table
BEFREWITF : Before writing the ITMFACILIT table
DELMESS: Deleting information message
This entry point is called when the scheduling failed, right before triggering the default scheduling.
The entry point is used to avoid the information message "Default routing scheduling".
Context and operating method
Transaction
There is one transaction in progress.
Log file
A log file may be open according to the value of the S_TRAFLG system variable that can be set by the scenario.
Different call cases
After the scheduling control, when WRET <>2 and before triggering the default routing scheduling.
Assign the variable GPE <> 0 to avoid the information message in the log file.
Available variables and masks
| 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 |
LOA_CITM: Specific Where clause for the search of equivalent products
This entry point is called during the equivalence search to enter the product line criteria and filter the equivalent products.
Context and operating method
Transaction
There is one transaction in progress.
Log file
A log file may be open according to the value of the S_TRAFLG system variable that can be set by the scenario.
Available variables and masks
The following variables can be filled with specific selection criteria for the [F:ITM1] table:
-
W_CRIT_SPE
-
W_CRIT_SPE1
-
W_CRIT_SPE2
-
W_CRIT_SPE3 char (250)
If the specific variable requires additional tables or sort criteria for some scripts, it is possible to activate the variable GPE=1 and to rewrite the Filter clause on [F:ITM1].
| 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 |
CFGINIVAL: Configuration initialization
This entry point is called at the beginning of the update generation.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
A log file may be open according to the value of the S_TRAFLG system variable that can be set by the scenario.
Available variables and masks
Variables
WNO_DEFAULT_TEXT=1 or 2: limits the updates carried out on the texts (ATEXTRA table).
WNO_UPD_SALCFG=1: avoids moving to the update mode during the entry of a sales order (former standard behavior).
| 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 |
NCOPY_STDCST: No copy of standard cost
Context and operating mode
Transaction
There is one transaction in progress.
Log file
A log file may be open according to the value of the S_TRAFLG system variable that can be set in a script.
Code context
When a product is created using the configurator, the current standard cost is calculated, the entry point allows to avoid copying the standard costs of the reference item to the configured product.
Condition at which the entry point will execute:
If find([F:ITC]CSTTYP,1,2,3) and (find([F:ITF]STOFCY,S_FCY,[F:ITC]STOFCY) | [F:CSC]CSTCOD>1)
Available variables and masks
-
Local Integer WFIYNUM: Fiscal year number
-
Local Integer WCSTTYP: Cost type
-
Local Integer WITCSEQ: Sequence no.
-
Global Char S_FCY: Site
The GPE variable is used to short-circuit the standard processing.
It is set to the value 0 by default. It must be set to 1 to short-circuit the standard processing.
| Table | Significant content | Table title | Table abbreviation |
|---|---|---|---|
|
CFGSCE |
Yes | Configurator scenarios |
CSC |
|
ITMFACILIT |
Yes | Product-sites |
ITF |
|
ITMCOST |
No | Product cost |
ITCX |
|
ITMCOST |
Yes | Product cost |
ITC |