There is one transaction in progress. Set GOK=0 in case of problem with database update.
There can be an open log file.
The call is performed in purchase order management during the database update upon modification of a signed purchase order.
It is made before the call to GENSOH processing from TRTVENISOC, performed in deletion mode: Call GENSOH("A",1,GBIDI3) from TRTVENISOC
Available variables and masks
The following variables are loaded during the call.
GPE: Work variable set to 1 before the call to the entry point.
This variable should be set to 0 in order not to execute the standard processing of purchase order deletion.
Note that the specific processing will perform the updates needed on the sales order.
To this end, use GENSOH processing from TRTVENISOC in modification mode:
Call GENSOH("M",1,GBIDI3) from TRTVENISOC
Screens [M:POH0], [M:POH1], [M:POH2] and [M:POH3] are loaded and in phase with the context.
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 | OUI | Purchase order header |
SORDER |
| Sales order header |