The cumulative stock adjustments is the sum of stock adjustments up less stock adjustments down that fall within the specified view horizon, thus displaying the nett effect of adjustments as either a positive or negative quantity .
The cumulative stock adjustments is calculated as follows:
Select Adjustment to Stores movements where the part number equals the supply demand part number and the movement date/time is between the view horizon from and view horizon to dates to get the total up adjustment quantity.
Do the same calculation for Stores to Adjustments movements to get the down adjustment quantity.
Subtract the down adjustments from the up adjustments to get the cumulative stock adjustments.