If the below API is unable to set the org context where MOAC is not enabled.
PA_INTERFACE_UTILS_PUB.SET_GLOBAL_INFO( P_API_VERSION_NUMBER => 1.0
, P_RESPONSIBILITY_ID =>
, P_USER_ID =>
, P_OPERATING_UNIT_ID =>
, P_MSG_COUNT => v_msg_count
, P_MSG_DATA => v_msg_data
, p_return_status => v_return_status);
We can use the below APIs to set the org context where MOAC is not enabled.
declare
l_msg_count number;
l_msg_data varchar2(1000);
l_return_status varchar2(10);
l_org_id number;
begin
PA_MOAC_UTILS.SET_POLICY_CONTEXT('S',);
PA_MOAC_UTILS.MO_INIT_SET_CONTEXT(p_org_id =>l_org_id
, p_product_code =>'PA'
, p_msg_count =>l_msg_count
, p_msg_data =>l_msg_data
, p_return_status =>l_return_status);
end;
PA_INTERFACE_UTILS_PUB.SET_GLOBAL_INFO( P_API_VERSION_NUMBER => 1.0
, P_RESPONSIBILITY_ID =>
, P_USER_ID =>
, P_OPERATING_UNIT_ID =>
, P_MSG_COUNT => v_msg_count
, P_MSG_DATA => v_msg_data
, p_return_status => v_return_status);
We can use the below APIs to set the org context where MOAC is not enabled.
declare
l_msg_count number;
l_msg_data varchar2(1000);
l_return_status varchar2(10);
l_org_id number;
begin
PA_MOAC_UTILS.SET_POLICY_CONTEXT('S',
PA_MOAC_UTILS.MO_INIT_SET_CONTEXT(p_org_id =>l_org_id
, p_product_code =>'PA'
, p_msg_count =>l_msg_count
, p_msg_data =>l_msg_data
, p_return_status =>l_return_status);
end;
No comments:
Post a Comment