Available variables and masks
This entry point is called in the ADD_TOT sub-program of the SUBSOHB processing. This sub-program increments the different header amounts of the order with the amounts of the line being created/modified. Depending on the context, the call to the ADD_TOT sub-program is preceded by the call to the SUB_TOT sub-program (in the case of the modification of a line for example, the order amounts are decremented from the former line amounts then incremented with the new line amounts).
The various invoice management screens are on line and loaded with the order being created/modified.
The [M:SOH4] order line screen is loaded. It is indexed by the NLIG variable that therefore corresponds to nolign-1. NLIG corresponds to the index of the line being created/modified.
This entry point is called at the end of the sub-program. The different standard amount of the order have been modified ([M:SOH4]ORDNOT, [M:SOH4]ORDATI, [M:SOH4]DLRNOT, [M:SOH4]DLRATI, [M:SOH4]PFMTOT, etc.).
This entry point can be used to update the specific amounts.
The open tables are the tables of the order object.
Table | Significant content | Table Title |
SORDER | No | Order headers |
SORDERQ | No | Order line quantities |
SORDERP | No | Order line prices |
ITMMASTER | Yes | Products |
ITMSALES | Yes | Sales product |
… |
|
|
This entry point is called in order management.
It is used to take over during the processing of an order line when calculating the different amounts of an order. It can be used to calculate specific amounts.
There is no transaction in progress.
There is no open log file.
This entry point is called in order management:
. At line end.
. On the "Price calculation" button via the Action button on a line.
. When searching for groups upon order creation/modification for the lines modified by the search.
Available variables and masks
This entry point is called in the SUB-TOT sub-program of the SUBSOHB processing. This sub-program decrements the different header amounts of the order with the amounts of the line being created/modified. Depending on the context, the call to the SUB_TOT sub-program is followed by the call to the ADD_TOT sub-program (in the case of the modification of a line for example, the order amounts are decremented from the former line amounts then incremented with the new line amounts).
The various invoice management screens are on line and loaded with the order being created/modified.
The [M:SOH4] order line screen is loaded. It is indexed by the NLIG variable that therefore corresponds to nolign-1. NLIG corresponds to the index of the line being created/modified.
This entry point is called at the end of the sub-program. The different standard amount of the order have been modified ([M:SOH4]ORDNOT, [M:SOH4]ORDATI, [M:SOH4]DLRNOT, [M:SOH4]DLRATI, [M:SOH4]PFMTOT, etc.).
This entry point can be used to update the specific amounts.
The open tables are the tables of the order object.
Table | Significant content | Table Title |
SORDER | No | Order headers |
SORDERQ | No | Order line quantities |
SORDERP | No | Order line prices |
ITMMASTER | Yes | Products |
ITMSALES | Yes | Sales product |
… |
|
|