Use this entry point to communicate to the program if the current stock table record must be processed or ignored.
There is no transaction in progress.
There is no open log file.
In the 'For' read loop of the STOCK [STO] table.
Variable or mask | Definition |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
Mask SNU3 [SNU3] | Gird of the created lists |
Integer GPE | This variable is used to communicate GPE = 0 to process the record GPE <> 0 to ignore the record. |
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | Yes | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | No | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to communicate the program if the current record in the ITMFACILIT table (products-site) must be processed or ignored in the case where no stock has been found.
There is no transaction in progress.
There is no open log file.
In the 'For' read loop of the STOCK [STO] table.
Variable or mask |
Definition |
Mask SNU1 [SNU1] |
Count parameters |
Mask SNU2 [SNU2] |
Count selections |
Mask SNU3 [SNU3] |
Gird of the created lists |
Integer GPE |
This variable is used to communicate GPE = 0 to process the record GPE <> 0 to ignore the record. |
Table |
Significant content |
Table Title |
ITMMASTER |
Yes |
Product |
ITMFACILIT |
Yes |
Product-site |
ITMMVT |
No |
Product totals |
STOCK |
No |
Stock lines |
STOLOT |
No |
Lots |
STOLOC |
No |
Locations |
CUNLISTE |
No |
Count worksheet |
CUNLISDET |
No |
Detail stock count |
CUNSESSION |
No |
Stock count session |
STOPAR |
No |
Stock parameters |
STOJOU |
No |
Movements journal |
STOCOST |
No |
FIFO basis |
STKTRS |
Yes |
Stock transaction |
TABLOCTYP |
No |
Location types |
Use this entry point to add the records in a list of location type.
There is no transaction in progress.
There is no open log file.
After the "For" read loop of the STOCK [STO] for each selected location.
Variable or mask |
Definition |
Mask SNU0 [SNU0] |
Physical header parameters |
Mask SNU1 [SNU1] |
Stock count parameters |
Mask SNU2 [SNU2] |
Stock count selections |
Mask SNU3 [SNU3] |
Created lists grid |
Mask STOINVW [SIW] |
Grid of records to be created |
|
|
Table |
Significant content |
Table Title |
ITMMASTER |
No |
Product |
ITMFACILIT |
No |
Product-site |
ITMMVT |
No |
Product totals |
STOCK |
No |
Stock lines |
STOLOT |
No |
Lots |
STOLOC |
Yes |
Locations |
CUNLISTE |
No |
Count worksheet |
CUNLISDET |
No |
Detail stock count |
CUNSESSION |
Yes |
Stock count session |
STOPAR |
No |
Stock parameters |
STOJOU |
No |
Movements journal |
STOCOST |
No |
FIFO basis |
STKTRS |
Yes |
Stock transaction |
TABLOCTYP |
No |
Location types |
Use this entry point to modify the standard filters on the STOCK file.
There is no transaction in progress.
There is no open log file.
After the standard filters have been loaded in the LOA_LIGNES labels for a count of product type, and in the LOA_LIGNES_EMP labels for a count of location type.
The two available filters are WFILSTO and WFILSTO2.
This makes it possible to add a filter on the stock status that would be dependent on specific headings of the SNU1 and SNU2 screens.
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
WFILSTO heading | Filter on STOCK file |
WFILSTO2 heading | Filter on STOCK file |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to add controls on the product context.
There is no transaction in progress.
There is no open log file.
Before loading lines to count for a product. It is located at the beginning of the LOA_LIGNES label.
Use of the GPE global variable: if GPE is different from 0 (zero), the processing exits the LOA_LIGNES label.
For instance this makes it possible to limit the counts to the products that do not have any allocation by reading the ITMMVT file and testing the headings concerned.
Available variables and masks
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
WITM heading | Products to be counted |
Integer GPE | This variable is used to communicate GPE = 0 to process the product. GPE <> 0 to ignore the product. |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Stock count detail |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
This entry point is used to modify the WFILEMP standard filter on the STOLOC file.
There is no transaction in progress.
There is no open log file.
After loading the WFILEMP standard filter into the GEN_MANUEL label for a count of location type.
This makes it possible to add a filter on the location type that would be dependent on specific headings of the SNU1 and SNU2 screens.
If the GPE heading is different from 0, this also makes it possible to ignore the following standard lines:
Filter [STC] Where evalue(WFILEMP) & evalutes(WSELFOR2)
& Order By Key STC0
Thus both a filter and a key can be totally specific.
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
WFILEMP heading | Filter on STOLOC file |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
This entry point is used to add extra checks depending on the evolution of the product count.
There is no transaction in progress.
There is no open log file.
On loading lines to count for a specific product. It is located at the beginning of the LOA_TABLEAU label.
Use of the GPE global variable: if GPE is different from 0 (zero), the processing exits the LOA_TABLEAU label and no line will be generated for this product.
This makes it possible for instance to limit the counts to the products based on a stock quantity.
Since the stock record is on the line, the quantities only need to be totaled and compared to a specific
Available variables and masks
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
WITM heading | Products to be counted |
Integer GPE | This variable is used to communicate GPE = 0 to process the product. GPE <> 0 to ignore the product. |
|
|
Table | Significant content | Table Title |
ITMMASTER | Yes | Product |
ITMFACILIT | Yes | Product-site |
ITMMVT | No | Product totals |
STOCK | Yes | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
This entry point is used to add extra checks depending on the evolution of the product count.
Warning, this EP is only called in the event of a location type count.
There is no transaction in progress.
There is no open log file.
After the creation of lists. It is located in the ACT_GENSNU label.
This makes it possible for instance to limit the counts to the products based on a stock quantity.
In that case the EP will have to total for each product the quantity to be counted. Depending on the totaled quantity, delete the count lines of this product.
Warning, for each deleted stock count line, the corresponding tables need to be updated (refer to the DEL_CUD sub-program of the specific STKINV
Available variables and masks
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to manage a list shortage different from the standard one for counts of location type.
Warning, this EP is only called in the event of a location type count.
There is one transaction in progress.
There is no open log file.
On creation of the lists: It is located in the GEN_MANUEL label.
For instance this makes it possible to perform a list shortage in relation to a specific heading of the STOLOC file.
In that case, the EP will need to set the GPE variable to 1 in order to prevent the standard shortages (performed using the location position).
Variable or mask | Definition |
STOLOC [STC] table | Location |
GPE heading | |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to modify the value of the WERR variable.
There is no transaction in progress.
There is no open log file.
A the end of the LOA_LIGNES label
This enables for instance to avoid an error message (following a specific development).
Available variables and masksVariable or mask | Definition |
WERR variable | |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to modify the SIW mask and/or to manage specific headings.
There is no transaction in progress.
There is no open log file.
On loading lines to count for a specific product. It is placed at the beginning of the LOA_TABLEAU label
Use of the GPE global variable: if GPE is different from 0 (zero), the processing exits the LOA_TABLEAU label and the loading of the product is completed.
This also enables specific headings of the SIW mask to be loaded. In that case, GPE needs to remain set to 0.
Available variables and masks
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] Mask STOINVW [SIW] | Count selections |
WITM heading | Products to be counted |
Integer GPE | This variable is used to communicate GPE = 0 to process the product. GPE <> 0 at the end of the product loading |
|
|
Table | Significant content | Table Title |
ITMMASTER | Yes | Product |
ITMFACILIT | Yes | Product-site |
ITMMVT | No | Product totals |
STOCK | Yes | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to complete the filter on ITMFACILIT before the generation of count worksheet.
There is no transaction in progress.
There is no open log file.
After loading the standard filters of ITMFACILIT.
The filter available is WFILSPEITF with a lenght of 250.
This filter is used in locations identical to the standard filter.
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
WFILSPEITF heading | Filter on ITMFACILIT file |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |
Use this entry point to execute the FINGENSNU entry point regardless of the value of the CUNSSSTYP heading.
There is no transaction in progress.
There is no open log file.
After the creation of lists. It is located in the ACT_GENSNU label just before the call to the FINGENSNU entry point.
Setting the GPE heading to 1 will execute the FINGENSNU entry point regardless of the value of the CUNSSSTYP heading.
Available variables and masks
Variable or mask | Definition |
Mask SNU0 [SNU0] | Count parameter header |
Mask SNU1 [SNU1] | Count parameters |
Mask SNU2 [SNU2] | Count selections |
|
|
Table | Significant content | Table Title |
ITMMASTER | No | Product |
ITMFACILIT | No | Product-site |
ITMMVT | No | Product totals |
STOCK | No | Stock lines |
STOLOT | No | Lots |
STOLOC | No | Locations |
CUNLISTE | No | Count worksheet |
CUNLISDET | No | Detail stock count |
CUNSESSION | Yes | Stock count session |
STOPAR | No | Stock parameters |
STOJOU | No | Movements journal |
STOCOST | No | FIFO basis |
STKTRS | Yes | Stock transaction |
TABLOCTYP | No | Location types |