Automatic Closing PO

shaarawi

New Member
Dear All;

I need set MFG/Pro to automatic Closing POs with some settings.

Is It avaliable?

Best regards
Mohamed
 

jingaustria

New Member
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
 

shaarawi

New Member
jingaustria said:
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

Your are right, but I need to know the effects in other moudels.
also I need to add some criteria, for example if % of PO recieved/PO ordered is between - or + 10 % close PO.
is there a special screen to modify that or must change in the code?
 
Top