CUSSELFLT : Inserting additional filters

This entry point is used to take control in selection filter creation in the mass closure/completion process (FUNTDUCLO function).

The CUSFLT variable (255 characters) is used to set the filters in the fields in the additional files.

The filter is based on the file of released products (MFGITM  class [F :MFI] ), the products (ITMMASTER class [F :ITM]) as well as the WO header file (MFGHEAD class [F :MFG]).

Context and operating method

Transaction

There is no transaction in progress.

Log file

The log file is open.

Available screen and file classes

The CLOSEL0 mask is open and the different selections are loaded.

Open tables

In the table below, the significant content flag indicates that the content is coherent with the context (...).

Table

Significant content

Table Title

ITMMASTER

No

Product

MFGHEAD

No

WO header

MFGITM

No

Released products

 

CHECKMFG: Order selection

This entry point is used to choose the orders to be taken into account in the available on a date calculation.

Context and operating method

Transaction

There is no transaction in progress.

Log file

The log file is open.

Different call cases

This entry point is called at the start of the order read loop.

Available variables and masks

The GPE variable is used. It is set to the value 0 by default. It must be set at 1 in the specific/custom process linked to the entry point if the current record should not be displayed. On returning to the standard processing, the GPE value is tested. If it is not equal to 0, the section containing the line assignment is short-circuited.

The [MFG], [MFI] and [ITM] classes are on line.

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context.

Table

Significant content

Table Title

MFGHEAD

Yes

Pending movements

MFGITM

Yes

Product-sites

ITMMASTER

Yes

Products