ALIUOMPOH : Modification of the order unit upon generation of the orders

This entry point, located in the TRTACHPOH1 process (purchase order generation from global planning), generates an action "ALIUOMPOH".

The goal of this action is to give the possibility to modify the order unit (packing) during the loading of the order line in the POI1 screen mask.

For instance, recover the packing unit present in the product-supplier record.

Context and operating method

Transaction

There is no transaction in process.

Log file

There is an open log file if the flag [M :PMG]TRAFLG is equal to 2.

Different call cases

The call is made before the generation of the orders for each line loaded in the screen mask POI1 from the taking into account of the requirements stored in the screen mask PURMGT.

Available variables and masks

The following variables are loaded at the time of the call to the"ALIUOMPOH" action.

NOL

Index for the order line currently being loaded in the screen POI1.

I :

Index for the requirement line being processed in the screen PURMGT.

The variables given above must not be modified.

The screen masks PURMGT [PMG] and POI1 [POI1] are used.

[M :POI1]UOM(NOL)

Order unit of the line in progress

This unit can be modified while making sure to comply with the following rule:

The order unit can be a packing unit, a purchase unit or a stock unit of the product or of the product-supplier.

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

BPARTNER

 

Business Partner

BPSUPPLIER

 

Suppliers

ITMMASTER

Yes

Products

ITMBPS

Yes

Products-Suppliers

TABCOEFF

 

Coefficients

PORDER

 

Purchase order headers

PORDERP

 

Purchase order line prices

PORDERQ

 

Purchase order line quantities

PREQUIS

 

Purchase request headers

PREQUISD

 

Purchase request lines

ORDERS

 

Pending movements

FACILITY

 

Sites

GACCCODE

 

Accounting codes

GACCOUNT

 

General ledger accounts

COMPANY

 

Companies

PWRKORDERS

Yes

Work file for the consumed requirements.

TRTZONSPE: Processing the specific/custom fields during the generation of the or

This entry point is located in the TRTACHPOH1 process (purchase order generation from global planning), generates an action "TRTZONSPE".

The goal of this action is to give the possibility to process the specific/custom fields during the loading of the order line in screen mask POI1.

Context and operating method

Transaction

There is no transaction in process.

Log file

There is an open log file if the flag [M :PMG]TRAFLG is equal to 2.

Different call cases

The call is made before the generation of the orders for each line loaded in the screen mask POI1 from the taking into account of the requirements stored in the screen mask PURMGT.

Available variables and masks

The following variables are loaded at the time of the call to the "TRTZONSPE" action.

NOL

Index for the order line currently being loaded in the screen POI1.

I :

Index for the requirement line being processed in the screen PURMGT.

The variables given above must not be modified.

The screen masks PURMGT [PMG] and POI1 [POI1] are used.

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

BPARTNER

 

Business Partner

BPSUPPLIER

 

Suppliers

ITMMASTER

 

Products

TABCOEFF

 

Coefficients

PORDER

 

Purchase order headers

PORDERP

 

Purchase order line prices

PORDERQ

 

Purchase order line quantities

PREQUIS

 

Purchase request headers

PREQUISD

 

Purchase request lines

ORDERS

 

Pending movements

FACILITY

 

Sites

GACCCODE

 

Accounting codes

GACCOUNT

 

General ledger accounts

COMPANY

 

Companies

PWRKORDERS

Yes

Work file for the consumed requirements.