// TO cancel the PO
cancel the PO. go to lines>functions>deliver remainder>cancel qty
void cancelPurchLine(recId PurchLineRecId)
{
PurchLine localPurchLine = PurchLine::findRecId(PurchLineRecId,true);
;
ttsbegin;
localPurchLine.RemainPurchPhysical = 0;
localPurchLine.RemainInventPhysical = 0;
localPurchLine.update();
ttscommit;
}
cancel the PO. go to lines>functions>deliver remainder>cancel qty
void cancelPurchLine(recId PurchLineRecId)
{
PurchLine localPurchLine = PurchLine::findRecId(PurchLineRecId,true);
;
ttsbegin;
localPurchLine.RemainPurchPhysical = 0;
localPurchLine.RemainInventPhysical = 0;
localPurchLine.update();
ttscommit;
}
No comments:
Post a Comment