AMTRND: During a change of site

This entry point is called each time there is a change of site for the stock movement to process. It is used, for instance, to modify the type of rounding to perform on these amounts.

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Variables

Integer WARRONDI: The default value is 0. In that case, the rounding will be done according to the data type of the amount and price in table STOJOU. If the value is set to 1, the rounding is done according to the one parameterized in the company currency.

Tables

Name

Significant
Content

Description

TABCUR [TCU]

Yes

Currency table

STKMVTADJ [SMA]

Yes

Orgins of issues adjustments

STOJOU [STJ]

No

Stock movements