更新采购订单和销售订单qty
PurchLine::modifyPurchQty(PurchLine, PurchLine.inventDim());
InventMovement::bufferSetRemainQty(PurchLine);
PurchLine.update();
SalesLine::modifySalesQty(salesline, salesline.inventDim());
InventMovement::bufferSetRemainQty(salesLine);
salesLine.update();