Failing to execute ar_receipt_api_pub.Create_cash on multiple Organisations
Hello,
I hope you guys are doing fine.
i tried to execute the ar_receipt_api_pub.Create_cash API on multiple organisations using a loop and what happens is that for the receipts that have the same org_id there is no issue, but when it moves to another organisation it fails.
I have initialized the context and i have used all the methods i know like :
fnd_global.apps_initialize(user_id => g_user_id, resp_id => vn_resp_id, resp_appl_id => 222 );
MO_GLOBAL.INIT('AR');
MO_GLOBAL.SET_POLICY_CONTEXT('S',vn_org_id);*/
--mo_global.set_policy_context('M',NULL);