Académique Documents
Professionnel Documents
Culture Documents
A M IT C H IN TA W A R
B IG R IV E R S E L E C T R IC C O R P O R A T IO N
Multi-Org Access Control
Agenda
• MOAC Overview
• MOAC Setup
• Impact of MOAC in R12
• Setting up SQL Session
• MOAC Database Architecture
• Virtual Private Database
Responsibility
Operating Units
Profile Options
• MO: Operating Unit
- Used when Multi-Org is NOT enabled
- On upgrade, assigned operating unit of 11i responsibility
• MO: Security Profile
- Assign security profile name at User or Responsibility level
• MO: Default Operating Unit
- Assign default operating John
unitPeters, JRPJR, Inc. 5
Define Operating Units in HR
Login to US Super HRMS Manager and
Navigate to Work Structure > Organization > Description
• Pre-R12 you could set your SQL session context for multi-org
with the following:
BEGIN
dbms_application_info.set_client_info(2);
END;
BEGIN
Execute mo_global.set_policy_context('S',2);
END;
• In R12 you can set your SQL session context for multiple OU’s
with the following:
BEGIN
Execute mo_global.set_org_access(NULL,64,‘ONT');
END;
• The following SQL will dump out the Security Profiles and
Operating Unit Names assigned to them
SELECT psp.SECURITY_PROFILE_NAME,
psp.SECURITY_PROFILE_ID,
hou.NAME,
hou.ORGANIZATION_ID
FROM PER_SECURITY_PROFILES psp,
PER_SECURITY_ORGANIZATIONS pso,
HR_OPERATING_UNITS hou
WHERE pso.SECURITY_PROFILE_ID = psp.SECURITY_PROFILE_ID
AND pso.ORGANIZATION_ID = hou.ORGANIZATION_ID;
OE_ORDER_HEADERS_ALL OE_ORDER_HEADERS
SUBSTRB(USERENV('CLIENT_INFO'), 1, 10)
Agenda
• Sub-Ledger Accounting
• Suppliers
• Invoice Lines
• E-Business Tax
• Payments
Sub-Ledger Accounting (SLA)
K e y Ta b l e s f o r B a n k A c c o u n t
• IBY_EXTERNAL_PAYEES_ALL
• IBY_EXT_BANK_ACCOUNTS
• IBY_PMT_INSTR_USES_ALL
• IBY_PAYMENTS_ALL
ha nks
n d o f S e s s io n