Upload
amit-chintawar
View
5.194
Download
6
Embed Size (px)
Citation preview
R12 MOAC AND PAYABLE FEATURES
AMIT CHINTAWAR
BIG RIVERS ELECTRIC CORPORATION
John Peters, JRPJR, Inc. 2
Agenda
• MOAC Overview• MOAC Setup• Impact of MOAC in R12• Setting up SQL Session• MOAC Database Architecture• Virtual Private Database
Multi-Org Access Control
John Peters, JRPJR, Inc. 3
• Access multiple operating units within a single application responsibility
• Responsibilities are assigned a Security Profile which is a group of Operating Units
• Assignment is through the profile option ‘MO: Security Profile’ set at the Responsibility Level
MOAC Overview
Responsibility
Operating Units
OU Structure
John Peters, JRPJR, Inc. 5
• Define Operating Units in HR• Define Security Profile composed of Operating Units• Run Security List Maintenance Program• Assign Security Profile to Profile Option
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 unit
MOAC Setup
John Peters, JRPJR, Inc. 6
Login to US Super HRMS Manager and
Navigate to Work Structure > Organization > Description
Define Operating Units in HR
John Peters, JRPJR, Inc. 7
Login to US Super HRMS Manager andNavigate to Security > Profile
Define Security Profile
John Peters, JRPJR, Inc. 8
Security List Maintenance Program
John Peters, JRPJR, Inc. 9
Assign Security Profile to Responsibility
Data Entry Screen in R12
SRS Window (Concurrent Request)
John Peters, JRPJR, Inc. 12
• Navigate to Concurrent > Programs• New parameter- Operating Unit Mode is introduced with
3 values
Null, Single and Multi
System Administration Responsibility
John Peters, JRPJR, Inc. 13
• Pre-R12 you could set your SQL session context for multi-org with the following:
BEGIN
dbms_application_info.set_client_info(2);
END;
• In this example 2 is the ORG_ID for the Operating Unit I am interested in.
• Or you could have used FND_GLOBAL.APPS_INITIALIZE to set your context.
SQL Session Pre-R12
John Peters, JRPJR, Inc. 14
• In R12 you can set your SQL session context for a single OU with the following:
BEGIN
Execute mo_global.set_policy_context('S',2);
END;
• The ‘S’ means Single Org Context
• 2 is the ORG_ID I want set
SQL Session in R12
John Peters, JRPJR, Inc. 15
• 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;
• 64 is the Security Profile you want to use
• ‘ONT’ is the application short name associated with the responsibility you will be using
R12 Preferred Method
John Peters, JRPJR, Inc. 16
• 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;
How to find the Security Profiles?
John Peters, JRPJR, Inc. 17
• R12 implements MOAC through DB Synonyms that replace the old Multi-Org Views
• Lets take an example of Order Management
Where did the Views go in R12?
OE_ORDER_HEADERS_ALL OE_ORDER_HEADERS
ONT DB User APPS DB User
John Peters, JRPJR, Inc. 18
• Base tables exist in the product schema with a naming convention of %_ALL. The data in this table is striped by ORG_ID (Operating Unit).
• A View in the APPS schema provides the Multi-Org filtering based on the statement below in the where clause.
SUBSTRB(USERENV('CLIENT_INFO'), 1, 10)
Pre-R12 Multi-Org Architecture
Base TableOE_ORDER_HEADERS_ALL
ViewOE_ORDER_HEADERS
ONT DB User APPS DB User
John Peters, JRPJR, Inc. 19
• Base Tables exist in the individual product schema with a
naming convention of %_ALL. The data in this table is striped by ORG_ID (Operating Unit)
• A Synonym in the APPS schema provides the Multi-Org filtering based on the Virtual Private Database feature of the Oracle 10g Database Server
R12 Multi-Org Architecture
Base TableOE_ORDER_HEADERS_ALL
SynonymOE_ORDER_HEADERSVPD
ONT DB User APPS DB User
John Peters, JRPJR, Inc. 20
• This is a security feature of the Oracle Database Server 10G
• Security Policies can be applied to database object to control access to specific rows and columns in the object
• The Security Policies are not easily viewable using tools like TOAD
• You need to be careful if you drop a Synonym because you won’t always know if a Security Policy is applied to the Synonym and more importantly how to reapply it
What is a Virtual Private Database?
R12 Payable Features
Agenda
• Sub-Ledger Accounting• Suppliers• Invoice Lines• E-Business Tax• Payments
Sub-Ledger Accounting (SLA)
• Sub-ledger Accounting is a new set of tables to store the sub-ledger accounting information.
−New SLA Tables
• XLA_AE_HEADERS
• XLA_AE_LINES
• XLA_DISTRIBUTION_LINKS
Sub-Ledger Accounting (SLA)
Flow Chart
Suppliers−Suppliers are now part of TCA
• Records are no longer on PO tables• New Tables introduced are
−HZ_PARTIES−AP_SUPPLIERS−AP_SUPPLIER_SITES_ALL−AP_SUPPLIER_CONTACTS
−New user interface−HTML Forms
−Bank Information for Suppliers is handled at the Supplier level
Suppliers
Navigate to Suppliers > Entry and Create new Supplier
Suppliers
Fill Tax Details and all other information
Invoice Lines
−Designed to model paper or electronic Invoices
−Represents Goods or Services, Tax and Freight
−Additional fields for recording such items as Manufacturer and Serial Number
−Line Level Approval and matching invoice to PO
Invoice Lines
E-Business Tax
- New Module called eBusiness Tax- Single point for managing transaction tax- Allows for complex tax - Local and International tax for cross border transactions- Easily add tax for new legislation- Basic Tax Design Setup
• Regimes
• Taxes
• Tax Status
• Jurisdiction
• Rates
Tax
- Example of Tax on AP Invoice Screen
Payments
−New Module added named as iPayment
−Payment Administrator (Setup)• Create XML Template for Payment
• Create Payment Format and assign XML Template to it
• Create PPR and assign Payment Format
• Create Bank and Branches
• Create Bank Account and assign Payment Format to it
−Payment Manager• Used for Testing Supplier Payments
• Uses PPR Templates for Invoice selection criteria
• Schedule Pay Runs and Payment Process Request
• Void or Record Stop Payments
Payment Administrator
Navigate to Setup > Payment > Payment Administrator
Payment AdministratorClick on Formats > XML Publisher Format
Templates
Payment Administrator
Data Definition associated with XML Template
Payment Administrator
Concurrent Program for Payment Format
Payment AdministratorClick on Formats > Go to Task & Assign XML
Template
Payment Administrator
Click on Payment Process Profiles > Go to Task
Payment Administrator
Assign Payment Format to PPR
Bank Setup
Navigate to Setup > Payment > Bank and Bank Branches
Define Bank
Bank Setup
Define Bank Branch and assign Bank to it
Bank Setup
Navigate to Setup > Payment > Bank AccountsDefine Bank Account with Bank and Branch & assign Payment Format
to it
Payment Manager
Navigate to Payments > Entry > Payment Manager
- Payment Dashboard
Payment Manager
Click on Template Tab and Create PPR Template
Payment Manager
Enter Details like Payment Attributes and Validation Failure Results
Payment Manager
Click on Payment Process Requests Tab and Submit PPR
Payment ManagerEnter PPR Name, choose PPR template created earlier to populate
all
Attribute Fields. Click on Submit Button, it will run Program- Auto Select
(Payment Process Request Program) in SRS background
Payment ManagerGo back to Home, search for PPR & click on Refresh Button until
Status
becomes Invoices Pending Review. Then Click on Start Action Button
Payment Manager
Review Invoices, remove the ones which are not required by clicking
Remove from Request Button. Finally click on Submit Button
Payment ManagerGo back to Home, search for PPR & click on Refresh Button until
Status
becomes Formatting. Click on Show and Expand PPR Status
Payment Manager
Click on Take Action Button
Payment ManagerClick on Record Print Status and then Continue Button
Payment ManagerFinally Click on Apply Button to confirm Payment and status as
Printed
Payment ManagerConfirmation Status with Payment Instruction Number
Payment ManagerGo back to Home and Search for PPR. Status shown as
Confirmed
Payment/ Printed
Payment ManagerBelow Concurrent Programs are submitted in SRS while
running
Payment Process Request from Payment Manager
1) Auto Select (Payment Process Request Program)
2) Scheduled Payment Selection Report
3) Build Payments
4) Format Payment Instructions
Payment ManagerHow to Void PaymentsClick on Payments Tab and Search for Payment using Payee
Name
Then Click on Initiate Stop Button
Payment ManagerEnter Date and Reason for Voiding Payment and click on
Apply
Button. In the next screen, Click on Yes Button
Payment ManagerGo back to home and search for that payment, status
becomes
Void i.e Payment is released and invoices are available again for
payment. You can also search for those supplier invoices from
Invoice Workbench Screen
R12 BASE TABLES
TCA Tables for Bank and Branches• HZ_PARTIES• HZ_PARTY_SITES• HZ_LOCATIONS• HZ_ORGANIZATION_PROFILES• HZ_CONTACT_POINTS• HZ_ORG_CONTACT• HZ_ORG_CONTACT_ROLES
Key Tables for Bank Account• IBY_EXTERNAL_PAYEES_ALL• IBY_EXT_BANK_ACCOUNTS• IBY_PMT_INSTR_USES_ALL• IBY_PAYMENTS_ALL
© 2010 MphasiS an HP CompanyThe information contained herein is subject to change without notice.
ThanksThanksEnd of SessionEnd of Session