...
As during the sales document posting only 50 AED (10 AED per item) was deducted, the system should equalise this cost, i.e. Cost correction = (10,.66666667*5) - 50 = 3,.333333 AED:
And the ACP changed accordingly , 110 - 3.33 = 106.67/10 = 10.67 AED: