NEW_CRIT: Additional filters when loading the table

Use this entry point to complete the standard filters (CRITERE0 if there is a reorder list, CRITERE1 and CRITERE3 if there is no list) when loading the table of locations to be replenished.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located in the ACT_SELREO subprogram of the TRTREOA processing. 

It is used to complete the standard filters used when loading the table of locations to be replenished:

- CRITERE0 if reorder list ([M:REO1]SRGPPSSTR<>"") 

- CRITERE1 and CRITERE3 if there is no list ([M:REO1]SRGPPSSTR="")

The accessible parameters are:

- [L]CRITERE0

- [L]CRITERE1

- [L]CRITERE3

 - [M :REO1]     Reorder plan

- [M:REOC]       Criteria of the reorder plan 

Open tables

In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).

Table

Significant content

Table title

STOREO 

No

Reorders

ITMMASTER

No

Products

ITMFACILIT

No

Products sites

ITMCATEG

No

Product categories

STOLOC 

No

Locations

STOLOCTYP 

No

Location types

STOALL

No

Allocations

 

REO_REO1: Loading of the specific headings of the REO1 mask

Use this entry point to specify the specific headings of the REO1 mask. 

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located in the read loops for the STOREO or STOALL tables according to the values of the following global variables:

     GLOCREO = 2 if the "Replenishable locations" check box is selected

     GCSMREO = 2 if the "Consumption areas" check box is selected

     GSHTREO = 2 if the "Shortages on location" check box is selected

if GLOCREO = 2 read loop of the STOREO table: LECTURE_STOREO label

if GCSMREO = 2 read loop of the STOALL table (alltyp = 2): LECTURE_STOALL_2 label

if GSHTREO = 2 read loop of the STOALL table (alltyp = 4): LECTURE_STOALL_4 label

It is used to specify the specific headings of the REO1 mask.

If the specific headings are present in the table block, they need to be populated with nolign_1.

Open tables

In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).

Table

Significant content

Table title

STOREO 

Yes

Reorders

ITMMASTER

STOALL

Yes

Yes

Products

Allocations

 

STODISTOT: Before the call to the STODISTOT component

Use this entry point to specify the status parameter that is passed to the STODISTOT component (calculation of the available)  

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located in the read loops for the STOREO table, in the case of replenishable locations, or the STOALL table, in the case of shortages on location.

It is used to specify, via the WSTATUS heading, the value of the status parameter that is passed to the STODISTOT component.

The WSTATUS variable will need to be specified according to the values of the local menu no. 2701.

Its standard value is 7

Open tables

Table

Significant content

Table title


 

 

MAJREOSRG: After partial validation of a reorder line

Use this entry point to perform updates after the partial validation of a reorder line. 

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located in the read loop of the REO1 screen, ACT_VALREO label of the TRTREOA processing. This loop is used to validate all the lines selected in the REO1 screen.

In the case of a partial validation, it is possible, with this EP, to perform specific updates such as the deletion of the storage list from the remainder of the line.

For this specific case, the following code will have to be written in the EP

   Call MAJ_REO_SRGPPS (NOL,"") From TRTREOA   

 

 

TRI_REO1: Changing how the reorders to be processed are sorted in the table

Use this entry point to perform, on the reorders to be processed, another sort operation that is different from the ones suggested in standard mode.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases - Significant variables

This entry point is located right before the execution of the standard sort operation in the table of the reorders to be processed.

In order to perform another sort operation, it is mandatory to set the [M:REO1]SRTCRI1 field to 0 and write the preferred sort type. The fields available for the sort operation are those present in the block 4 of the REO1 screen:

[M:REO1]SRTCRI1 = 0

Sorta [M:REO1]NBLIG [M:REO1]NBLIG Order By ...