PurchLine::modifyPurchQty(PurchLine, PurchLine.inventDim());
InventMovement::bufferSetRemainQty(PurchLine);
PurchLine.update();
SalesLine::modifySalesQty(salesline, salesline.inventDim());
InventMovement::bufferSetRemainQty(salesLine);
salesLine.update();