FUNSTOR processing: Stock resynchronization

BEFREWITV: Before rewriting product-site total

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

Table Table title
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: Modify the rounding accuracy

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.

SKIPINTERSITEITV: Eliminates the need for ITMMVT calculations for inter-site documents in the stock resynchronization function

Context and operating method

Transaction

There is no transaction in progress.

Log file

No trace file is open.

Code context

This entry point is located in the FUNSTOR script, during the stock resynchronization.

If the customer doesn't manage the inter-site and encounters performance problems, it's possible not to calculate totals in ITMMVT for inter-site documents. To prevent calculating totals in ITMMVT, set the WSPE variable to 1 .