Field help (REPFLG) 

When the moving average price (MAP) is modified, it is possible to update the FIFO basis and the lots.
If this field is set to "No", only the MAP will be modified.
Otherwise, the values will be modified according to the chosen distribution method.

The MAP variation distribution (X%) can be carried out according to:

Example

Quantity

Price

Amount

Distribution byValue

Distribution by Quantity

Delta

New amount

Delta

New amount

2

2

4

0.4

4.4

0.7

4.7

4

3

12

1.2

13.2

1.4

13.4

10

4

40

4

44

3.5

43.5

Total

16

56

5.6

61.6

5.6

61.6