There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables opened by the stock engine.
This entry point is called before the "Write" instruction for each quality control header.
The STOQLYH [QLH] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each quality control header.
The STOQLYH [QLH] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
All the tables of the stock engine are open.
This entry point is called before the "Write" instruction for each quality control detail.
The STOQLYD [QLD] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each quality control detail.
The STOQLYD [QLD] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
All the tables of the stock engine are open.
This entry point is called before the allocation date control of a stock movement.
The control can be carried out specifically and the standard control can be inhibited.
Description of the call context
There is no transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
LDAT: Date to control
LFCY: Site
LPAR: Period status (1=direct / 2=deferred / 3=adjustment / 4=prohibited)
Variable on issue | Definition |
GPE | If GPE <> 0 the standard allocation date control action is not carried out. |
This entry point is called after the calculation of a product-site available stock from the ITMMVT table.
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Variable or mask | Definition |
AITV | Contains the abbreviation of the ITMMVT table (product-site totals) class by default:’[F :ITV]’ |
LTYPLOC | Location type taken into account: all the internal locations + the combinations using the following weights (1=dock / 2=customer / 4=subcontract) Example: 5=dock & subcontract |
LSTA | Status taken into account (Local menu no. 2701) / If 0 then status ‘A’ |
LSTUACTDIS | Contains the available stock calculated by the sub-program. Example: LTYPLOC=1 , LSTA=1 and you want to add the stock with status ‘Q’ It is necessary to add: LSTUACTDIS += evaluate(AITV+ ‘CTLSTO’) + evaluate(AITV+ ‘PLFCTLSTO’) - evaluate(AITV+ ‘CTLALL’) |
This entry point is called before the "Write" instruction for each new product-site totals line.
The ITMMVT [ITV] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each product-site totals line.
The ITMMVT [ITV] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Write" instruction for each new product-site total history line.
The ITMMVTHIS [ITH] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each product-site total history line.
The ITMMVTHIS [ITH] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
Use this entry point to perform the specific calculation of the expiry date
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
LCOD: Contains the value of the EXYMGTCOD (expiry management) heading of the ITMMASTER (item) table
LREF: Expiry reference date
LSHL: Contains the value of the SHL (shelf life) heading of the ITMMASTER (item) table
LPER: Calculated expiry date
This entry point is called before the "Write" instruction for each new FIFO stock cost line.
The STOCOST [STP] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each new FIFO stock cost line.
The STOCOST [STP] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
Assign the first sub-lot number with a value different from "00001"
Use this entry point to assign the first sub-lot number with a value other than "00001" by entering the LSLO alphanumeric variable. The new alphanumerical value must have a length complying with GLONSLO and must end with at least one numerical character.
There is no transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
This entry point is called before the "Delete" instruction for each FIFO basis element deletion.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
1- Creation, modification or deletion of a stock movement involving the decrementation of the FIFO basis
2- Value modification with update of the FIFO basis
All the tables of the stock engine are open.
Use this entry point in order not to read the stock management rule at global level and therefore to render its definition mandatory in product category.
There is no transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
This entry point is called in the LECSRU sub-program of the STKLIB processing.
The GPE global variable must be set to 0 in order not to read the global stock management rule.
This entry point is called before the "Write" instruction for each quality control sampling line.
The STOQLYSMP [SMP] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Call when recording the quality control for a product with sampling management.
ITMFACILIT/ITF
STQ1 mask
Index I to read the table of the STQ1 mask
This entry point is called before the "Rewrite" instruction for each re-entry of a quality control sampling.
The STOQLYSMP [SMP] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Call when recording the quality control for a product with sampling management.
ITMFACILIT/ITF
STQ1 mask
Index I to read the table of the STQ1 mask
This entry point is called before the "Write" instruction for each new allocation line.
The STOALL [STA] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each allocation line.
The STOALL [STA] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Rewrite" instruction for each product-warehouse line.
The ITMWRH [ITW] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Call during the stock count validation stage
CUNLISDET/CUN stock count detail
ITMMASTER/ITM Products
ITMFACILIT/ITF Products-site
ITMMVT/ITV Product totals
STOPAR/STE Stock parameters
Use this entry point to perform a specific calculation of the expiry reference.
It is located in the CALREF sub-program of the STKLIB processing.
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
LCOD: Contains the value of the EXYMGTCOD (expiry management) heading of the ITMMASTER table
LREF: Expiry reference date
LSHL: Contains the value of the SHL (shelf life) heading of the ITMMASTER table
LUOM: Contains the value of the SHLUOM heading (time unit of shelf life) of the ITMMASTER table
LPER: Calculated expiry reference date
Use this entry point to perform the specific calculation of the use-by date.
It is located in the CALDLU sub-program of the STKLIB processing.
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
LCOD: Contains the value of the EXYMGTCOD (expiry management) heading of the ITMMASTER table
LREF: Expiry reference date
LEXY: Expiry date
LDLU: Contains the value of the DLU (use factor) heading of the ITMMASTER table
LPER: Calculated use-by date
Use this entry point to perform the specific calculation of the re-control date.
It is located in the CALLTI sub-program of the STKLIB processing.
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
LCOD: Contains the value of the EXYMGTCOD (expiry management) heading of the ITMMASTER table
LREF: Re-control reference date
LSHL: Contains the value of the SHLLTI (re-control shelf life) heading of the ITMMASTER table
LUOM: Contains the value of the SHLLTIUOM (re-control time unit) heading of the ITMMASTER table
LPER: Calculated re-control date
Use this entry point to manage the traceability on the tracking instead of the WO
.
There is one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
This entry point is called in the MAJTRK sub-program of the STKLIB processing.
#--- Sequence to be written in the entry point
If find([F:STJ]TRSTYP,5,6,19)
WTYP = [F:STJ]VCRTYP
WNUM = [F:STJ]VCRNUM
WLIN = [F:STJ]VCRLIN
WTYPORI = [F:STJ]VCRTYPORI
WNUMORI = [F:STJ]VCRNUMORI
WLINORI = [F:STJ]VCRLINORI
Endif
This entry point is called after the calculation of the product-site available stock from the ITMMVT table and stock lines.
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
Variable or mask | Definition |
AITV | Contains the abbreviation of the ITMMVT table (product-site totals) class by default:’[F :ITV]’ |
LFCY | Site |
LITM | Product |
LLOT | Lot no. Prefix with "*" / All the lots "*" / Blank lot only "" |
LLOC | Location Prefix with "*" / All the locations "" or "*" |
LTYPLOC | Location type taken into account: all the internal locations + the combinations using the following weights (1=dock / 2=customer / 4=subcontract) Example: 5=dock & subcontract |
LSTA | Status taken into account (Local menu no. 2701) / If 0 then status ‘A’ |
LOWN | Owner (if "" then LFCY) |
LWRH | Warehouse or "" |
LSTUACTDIS | Contains the available stock calculated by the sub-program. |
This entry point is called at the end of the accounting interface launching.
There can be one transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
This entry point is called before the lot-site "Write" instruction.
The STOLOTFCY [SLF] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the lot-site "Rewrite" instruction.
The STOLOTFCY [SLF] table buffer is loaded and can be modified with the usual care.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Systematic call.
All the tables of the stock engine are open.
This entry point is called before the "Delete" instruction for each STOCK element deletion.
There is one transaction in progress
There can be an open log file according to the movement type (GTRACE test).
Every time a record from the STOCK table is deleted.
All the tables of the stock engine are open.
Use this entry point to render blocking the "Product in stock count" message during a stock receipt.
There is no transaction in progress.
There can be an open log file according to the movement type (GTRACE test).
For each new product in stock receipt.
A non blocking message displays in standard mode in stock receipt if the product is in stock count. The message becomes blocking when the GPE variable is initialized by the CTR_CUNFLG entry point of the STKLIB processing.
Open tables
All the tables of the stock engine are open.