This entry point is located in the TRTACHRCP1 processing for purchase receipt management and generates a "REVALSTO" action.
The aim of this action is to give the possibility to short-circuit price adjustment after completing or reopening a receipt line.
There is one transaction in progress.
There is an open log file.
The entry point is called when updating a receipt line whose completion flag has been modified.
Available variables and masks
The following file classes are loaded during the call to the "REVALSTO" action.
[F :PTH] Receipt header.
[F :PTD] Receipt line.
The previous classes must not be modified.
The following variable can be modified
WUPDPRIFLG
Indicator for update of price adjustment.
0 = No price adjustment
1 = The adjustment is carried out for the balance of the non invoiced quantity (default value)
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table title |
PRECEIPT | Yes | Receipt headers |
PRECEIPTD | Yes | Receipt lines |
This entry point is only called for completed or reopened receipt lines.
This entry point, located in the TRTACHRCP1 processing (purchase receipt management), is used to deactivate commitment update when closing a receipt line.
There is one transaction in progress. Can be aborted by setting GOK to 0.
There is no open log file.
The entry point is called for each receipt line being closed.
Available variables and masks
The following file classes are loaded: [F:PTH] and [F:PTD]
Before calling the entry point, the GPEvariable is set to 1. When the update of commitments is not required, it should be positioned to 0.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table title |
PRECEIPT | Yes | Receipt headers |
PRECEIPTD | Yes | Receipt lines |