x++ code to post product receipt
static void postProdReceipt(Args _args){
PurchTable purchTable = PurchTable::find("000032");
PurchFormLetter purchFormLetter;
purchFormLetter = purchFormLetter::construct(DocumentStatus::PackingSlip);
purchFormLetter.update( purchTable,
"PO002",
systemDateGet(),
PurchUpdate::RegisteredAndServices,
AccountOrder::None,
false,
false);
info("Done");
}
No comments:
Post a Comment