PO APIs for Close/Final Close
Hi,
I have a question about APIs for closing Purchase Orders.
Customer requires a number of scenarios/rules to be implemented to Close or Finally Close purchase orders that meet certain criteria. For example:-
1) any PO that is older than (say) 28 days with a value of 0 and approved should be CLOSED.
2) Invoice line variance per line or per invoice distribution line 1pence or less, CLOSE or FINALLY CLOSE (dependent on category)
At the moment I have found a couple of APIs that might help:-
PO_DOCUMENT_CONTROL_PUB.control_document
PO_ACTIONS.Close_PO
Not sure though how much these do. I have read the first only takes CANCEL actions (is that the same as close/finally close), and the second can be a bit dubious in reporting back any error (saying its worked when in fact it hasn't).
Customer requires a number of scenarios/rules to be implemented to Close or Finally Close purchase orders that meet certain criteria. For example:-
1) any PO that is older than (say) 28 days with a value of 0 and approved should be CLOSED.
2) Invoice line variance per line or per invoice distribution line 1pence or less, CLOSE or FINALLY CLOSE (dependent on category)
At the moment I have found a couple of APIs that might help:-
PO_DOCUMENT_CONTROL_PUB.control_document
PO_ACTIONS.Close_PO
Not sure though how much these do. I have read the first only takes CANCEL actions (is that the same as close/finally close), and the second can be a bit dubious in reporting back any error (saying its worked when in fact it hasn't).
0