Re: Auto Close PO
Hi,
Just want to know what do you mean about "Automatically close PO?"
In MFG/PRO, once you fully received the qty you ordered it automatically tagged the po_stat = "C" or closed. Otherwise it will remain open or pending.
If you want to close the PO automatically + the details, you can use this code.
For each po_mstr where po_nbr = "potest" exclusive-lock:
assign po_stat = "C".
for each pod_det where pod_nbr = po_nbr exclusive-lock:
assign pod_status = "C".
end.
end.
Regards,
Jing