Program Mass Close of Purchasing Documents not working when submiited from backend
Hi Team,
As you are aware, there's no Public API available to close POs grammatically using API Approach. To achieve this requirement we have decided to call Mass Close of Purchasing Documents ('POXMCL') from backend using loop.
But, if we submit this from backend Program is unable to close the Purchase Order where as if we submit from Application it works fine.
Pls help on this.
Below is the code snippet we are using to submit the program.
declare
l_request_id NUMBER;
begin
fnd_global.apps_initialize (user_id => 7941,
resp_id => 51891,
resp_appl_id => 201
);
mo_global.set_policy_context ('S', 251);