BEFREWITV: Before rewriting product-site total

This entry point is called before the "Rewrite" instruction of the Product-site totals in the case of

the execution of the stock resynchronization function with the "Product-site totals" heading selected.

The ITMMVT [ITV] table buffer is loaded and can be modified with the usual care.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There can be an open log file according to the movement type (GTRACE test).

Different call cases
Open tables

 

SDELIVERY/SDD   Delivery detail

SDELIVERY/SDH   Delivery header

ORDERS/ORD       Orders in progress

STOALL/STA         Allocations

STOJOU/STJ         Stock journal

STOCK/STO         Stocks

TABUNIT/TUN       Unit table 

  

MOD_RNDVAL : to modify the rounding accuracy

This entry point is called after the initialization of the GRNDVAL variable that defines the accuracy of the rounding in the case of the execution of the stock resynchronization function with the "Product-site totals" heading selected.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There can be an open log file according to the movement type (GTRACE test).

Different call cases

This entry point is called in the FUNSTOR processing following the call to the INIRNDVAL sub-program.
It is used to modify the value of the GRNDVAL variable defining the accuracy of the rounding used for calculating the AUC.