CUSSELFLT: Inserting additional filters

This entry point is used to insert additional logic during the creation of selection filters in the processing of the automatic allocation processing (FUNMAUTA function).

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

The filter can be applied to the product on hand orders file (ORDERS class [F :ORD]).

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file

Available screen and file classes

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

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

ITMFACILIT

No

Product-site

ORDERS

No

Product on hand orders

MFGHEAD

No

WO header

MFGMAT

No

WO components

ITMMASTER

No

Products

 

CUSSELCOMP: Inserting additional selections

This entry point is used to insert additional logic in the framework of the selections/additional controls carried out before the allocation in the automatic allocation processing (FUNMAUTA function). The standard processing has already carried out its controls and the material is considered to be available for allocation taken into account the selections.

The OK variable is used to inhibit the allocation of the material when set to a value of 1.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Available screen and file classes

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

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

ITMFACILIT

Yes

Product-site

ORDERS

No

Product on hand orders

MFGHEAD

Yes

WO header

MFGMAT

Yes

WO components

ITMMASTER

Yes

Products

 

MFMMAJ: Specific update of the MFGMAT WO materials file

This entry point is used to take over during the update of the WO material allocation, right before the MFGMAT table is updated.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is an open log file

Available screen and file classes

The [F:MFM] and [F:ORD] buffers are loaded at the moment of the entry point call.

Use

This entry point has been designed to enable a complete custom/specific loading of the MFGMAT table.

At the time of the call, the following variables are available:

Local decimal  WALL: allocated quantity

Local decimal  WSHT: quantity shortage.

As a standard, WALL loads the contents of [F :MFM]ALLQTY, WSHT loads the contents of [F :MFM]SHTQTY. 

These are the variables that are used for the display:

-         WALL  is used to display the allocated quantity,

-         WSHT is used to display the quantity shortage.

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

MFGMAT

Yes

WO components

ORDERS

No

Product on hand orders

MFGHEAD

No

WO header

BEFTRTLIG: Before updating the current document

This entry point is used to insert additional logic just before the update of the selected documents.

When set to 0, the GPE variable allows to inhibit the update of this WO.

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is no open log file

Available screen and file classes

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

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

ITMFACILIT

No

Product-site

ORDERS

No

Product on hand orders

MFGHEAD

Yes

WO header

MFGMAT

Yes

WO components

ITMMASTER

No

Products

MFGITM

Yes

Released product