Process SUBPOHB : SUBPOHB
PURQTYRND: Rounding type for the purchase quantity
This entry point located in the SUBPOHB process, purchase order creation, generates a "PURQTYRND" action.
The goal of this action is to give the possibility to intervene in the result of the purchase quantity calculation by specifying the required rounding type.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
The call is made in the management of purchase orders or in the buyer plan, on the creation or modification of an order line. More precisely after the entry or modification of the ordered quantity in PAC units, the PAC-PUR coefficient and the ordered quantity in STK units.
Available variables and masks
The following variables are loaded at the time of the call to the "PURQTYRND" action.
QTEUA
Quantity in PUR units to be rounded
NOL
Index for the order line being processed (useable with the class [M:POH2] or [M:POI1]).
[M]PUU(NOL)
Purchase unit (unit for QTEUA)
The following screen mask is available : [M:POH2] if order management.
The following screen mask is available : [M:POI1] if buyer plan
The variables and classes given above must not be modified.
TYPARRONDI
Code that is used to choose the rounding type to be carried out :
0 = Round to the nearest (Default value)
1 = Round to the lowest decimal
2 = Round to the lowest integer
3 = Round to the highest decimal
4 = Round to the highest integer
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 |
PORDER |
Order headers |
|
PORDERQ |
Order line quantities |
|
PORDERP |
Order line prices |
COPLINPOH : Additional loading when duplicating an order line
This entry point located in the SUBPOHB process, purchase order creation, generates a "COPLINPOH" action.
The purpose of this action is to provide the ability to perform an additional loading of custom/specific fields when duplicating or splitting a purchase order line.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
The call is carried out in the purchase order management when the duplication or splitting of a line is requested by right click.
Available variables and masks
Screen masks available
[M:POH0], [M:POH1], [M:POH2] et [M:POH3]
The following variables are loaded at the time of the call to the "COPLINPOH" action.
J
Index of the new line to be created
L
Index of the current order line to be duplicated or created.
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 |
PORDER |
Order headers |
|
PORDERQ |
Order line quantities |
|
PORDERP |
Order line prices |