R12
set_policy_context
Sets the application context for the current org and the access
mode to be used in server side code for validations as well as in
the Multi-Org security policy function.
mode to be used in server side code for validations as well as in
the Multi-Org security policy function.
Arguments
p_access_mode - specifies the operating unit access. 'S' for Single, 'M' for Multiple, 'A' for All.
p_org_id - org_id of the operating unit.
p_access_mode - specifies the operating unit access. 'S' for Single, 'M' for Multiple, 'A' for All.
p_org_id - org_id of the operating unit.
exec mo_global.set_policy_context('S','&org_id');OR
MO_GLOBAL.INIT('APPL_SHORT_CODE');
11i
- Set Org Context 11i
- Begin
fnd_client_info.set_org_context(&org_id);
End;
No comments:
Post a Comment