1: the average cost is recalculated from the transaction in [STJ2] (the value of the document line is retrieved)
2: the average cost (LTABQTYACT and LTABAM) is populated in the EP and the current transaction [STJ2] does not need to be readjusted.
Caution: The DETSTJTRS entry point may be needed to use this entry point.
Name | Significant | Description |
TABCUR [TCU] | Yes | Currency table |
STKMVTADJ [SMA] | Yes | Issue adjustment origins |
STOJOU [STJ2] | Yes | Stock transactions triggering the adjustment |
This entry point is called when the site being processed is changed. This occurs when an inter-site transfer receipt transaction is found even though the delivery transaction has been adjusted.
There is one transaction in progress.
There is an open log file.
GPE: 0: the average cost is recalculated up to the document ( not included) in [STJ2], starting with the average cost of the day and successively going through the subsequent transactions.
1: /
2: the average cost (LTABQTYACT and LTABAMT) is populated in the EP.
Name | Significant | Description |
TABCUR [TCU] | Yes | Currency table |
STKMVTADJ [SMA] | Yes | Issue adjustment origins |
STOJOU [STJ2] | Yes | Stock transactions triggering the adjustment |