static void checkPOState(Args _args)
{
container existingJournals;
PurchTable po;
;
po = PurchTable::find("PO11-10148");
existingJournals = po.existingJournals();
if(conpeek(existingJournals, PurchTableType::posPurchaseOrder()) ? true : false){
info("POSTED");
}else{
info("NOT POSTED");
}
}
No comments:
Post a Comment