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.
There is no transaction in progress.
There is no open log file.
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.
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
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 |
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.
There is no transaction in progress.
There is no open log file.
The call is carried out in the purchase order management when the duplication or splitting of a line is requested by right click.
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.
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 |