SUBPOIA processing: Buyer plan
TRTZONSPE: Buyer plan specific field processing
This entry point located in the SUBPOIA processing (purchase order generation), generates a "TRTZONSPE" action.
The purpose of this action is to give the possibility to process the specific fields during the loading of the order line in the POI1 screen mask.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Different call cases
The call is performed before the order generation for each line loaded in the POI1 screen mask once the requirements stored in the PPICORD2 screen mask are taken into account.
Available variables and masks
The following variables are loaded when calling the "TRTZONSPE" action.
NOL
Index of the order line currently being loaded in the POI1 screen.
I
Index of the requirement line being processed in the PPICORD2 screen.
The variables given above must not be modified.
The screen masks PPICORD2 [PPI2] and POI1 [POI1] can be 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 |
|
WIPs |
FACILITY |
|
Sites |
GACCCODE |
|
Accounting codes |
GACCOUNT |
|
General ledger accounts |
COMPANY |
|
Companies |
PWRKORDERS |
Yes |
Work file for the consumed requirements. |
ORICRY_LOAD: Force [M:POI1]ORICRY(NOL) loading
Context and operating method
Transaction
There is no transaction in progress.
Log file
No trace file is open.
Code context
This entry point is located in SUBPOIA script (Buyer plan) in "FIN_CHARG_LIG_CDE" label, after [M:POI1]ORICRY(NOL) loading.
This loading is not mandatory, and is depending on "varinit". the entry point allow to force [M:POI1]ORICRY(NOL) loading in all cases.
Available variables and masks
Mask POI1 is opened and its loading is in progress.
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 |
SCOSRV |
No when relevant |
Order sub-contract services |
SCOMAT |
No when relevant |
Order sub-contract materials |
SCOITM |
No when relevant |
Subcontract order |
MFGOPE |
No when relevant |
Work order - operations |
ITMBPS |
Yes |
Supplier product |
ITMMASTER |
Yes |
Product |
BPSUPPLIER |
Yes |
Suppliers |
SORDERP |
Yes when relevant |
Sales orders - price |
ITMFACILIT |
Yes |
Product-sites |
FACILITY |
Yes |
Sites |