MAJDL: Loading the specific/custom fields before entry

This entry point located in the TRTACHPOD1 process, purchase shipment request update, generates an "MAJPPL" action.

The aim of this action is to provide the possibility to load specific/custom fields in the record in the shipment request table (PORDERQ) before its entry.

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

The call is made before the "Write" or  "Rewrite" in the shipment request table.

This table is the purchase contract line quantity detail (PORDERQ).

Available variables

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

FILE

Name of the table that will be written to (PORDERQ).

ABRFIC

         Abbreviation for the table that will be written to (POQ).

TYPMAJ

Update type

             1 = Creation of a new shipment request

             2 = Modification of an existing shipment request

             3 = Consumption of a shipment request

             4 = Shipment request balance

             Distribution of a shipment request in the case of a partial receipt:

             5 = Adjustment of the the shipment request to the delivered (inter-site) quantity

             6 = Creation of a new shipment request for the outstanding amount

             7 = Receipt of a shipment request

[F :POQ]WIPTYP

         Order type (2 = PO classic requests, 7 = TR inter-site requests)

[F :POQ]WIPSTA

         Order status (1 = F firm requests, 2 = P planned requests)

The variables given above must not be modified.

The following class can be modified to load the specific/custom fields:

 [F:POQ] or [F:POQW]

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

PORDERQ

Yes

Purchase order line quantities

Miscellaneous remarks

This entry points concerns all the shipment requests (classic and inter-site).