51
SO-OAUG June 2014 R12 Payables Enhance User Productivity using Desktop Integrator Sajid Rahim, MSc, PMP Disclaimer: The views and opinions expressed in this document and presentation are solely those of the author and not associated with any organization.

R12 payables leverage desktop integrator

Embed Size (px)

DESCRIPTION

Leverage Desktop Integrator to drive efficiencies in Oracle R12 E-Business Suite.

Citation preview

Page 1: R12 payables   leverage desktop integrator

SO-OAUG – June 2014

R12 Payables – Enhance User Productivity

using Desktop Integrator

Sajid Rahim, MSc, PMP

Disclaimer: The views and opinions expressed in this document and presentation are solely those of the author and not associated with any organization.

Page 2: R12 payables   leverage desktop integrator

Introduction

• About myself

– Worked on Financials for 18 years as Project

Lead/Manager, Technical Lead and Solutions Engineer in

Government and Beverage industry

– Architect for R12 EBS Bolt-ons and extensions

– Architect for Cash Application Solution bolt-on

– EDI/E-Commerce

• Audience

– Poll Questions

Page 3: R12 payables   leverage desktop integrator

Objectives

• Introduction to Payables

• Solutions Architecture

• Integrator Examples:

– Supplier Maintenance

– Invoice Maintenance

• Invoice Uploads

• Invoice Cancellation

– Others

• Conclusion

• Q&A

Page 4: R12 payables   leverage desktop integrator

Introduction to Payables

• Payables delivers five major business functions

– Supplier/Employee Entry

– Invoice Import/Entry

– Invoice Validation

– Invoice Payment/Voiding Payments

– Invoice and Payment accounting

Page 5: R12 payables   leverage desktop integrator

Introduction to Payables

Page 6: R12 payables   leverage desktop integrator

Introduction to Payables

• R12 Payables users challenged with manual processes which

cannot deal with volume.

– Drive up costs

– Head count

• Some key areas of efficiency opportunities for business users:

– Supplier Entry and Maintenance

– Invoice Creation/Cancellation

– Payment Process Requests

– Void Process

• Build user driven processes to cater for productivity and high

volume using R12 tool sets.

Page 7: R12 payables   leverage desktop integrator

Solution Architecture

• User centric solution with R12 tools:

– Desktop Integrator Framework

• Create Custom Web ADIs

– Custom Web ADI can be built for any functionality that which

Oracle makes available via PL/SQL wrappers:

• Using APIs (Public or Private)

• Using Open Interface tables

• Open Interface Concurrent Programs

NOTE: R12.1.3 and R12.2.2 have most complete versions of Desktop Integrator Framework

R12.2.2 has additional features such as switching responsibilities, compression, custom

logos, commit and diagnostics.

Page 8: R12 payables   leverage desktop integrator

Solution Architecture

• Desktop Integrator Framework

– Allows integration of MS Office Desktop application such

Excel with Oracle E-Business Suite

– Generates Excel spreadsheet on user’s desktop and

allows data to be uploaded/modified in Oracle EBS

– Validation logic based on business rules

– Exception passed back in meaningful message

– ADI Documents are complaint with EBS Security Model

– Easy to develop and FREE!!

Page 9: R12 payables   leverage desktop integrator

Solution Architecture

• Approach to using an integrator based solution

Page 10: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Steps to build an Integrator.

– PL/SQL validation package

– Create custom tables (optional)

– Register custom staging table and columns (optional)

– Create Integrator using Desktop Integration Manager

• Configure Interface

• Create Layout and Mapping

• Generate Integrator/Document

• Create Form function and associate it to user menu.

Page 11: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Create custom staging table (optional)

CREATE TABLE XXAP.XXAP_SUPPLIER_STG_TABLE

( RECORD_ID NUMBER,

VENDOR_NAME VARCHAR2(400),

ALT_VENDOR_NAME VARCHAR2(400)

);

Page 12: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Register Custom table and columns (optional)

– Application Developer->Database->Tables

Page 13: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Example of validation package which defines parameters for

each column in spreadsheet e.g Vendor Name

CREATE OR REPLACE PACKAGE XXAP_SUPPLIER_UPLOAD_PKG AS PROCEDURE main_proc ( p_record_id NUMBER, p_vendor_name VARCHAR2, p_alt_vendor_name VARCHAR2); END XXAP_SUPPLIER_UPLOAD_PKG;

CREATE OR REPLACE PACKAGE BODY XXAP_SUPPLIER_UPLOAD_PKG AS

PROCEDURE main_proc(

p_record_id NUMBER,

p_vendor_name VARCHAR2,

p_alt_vendor_name VARCHAR2) AS

BEGIN

INSERT into apps.XXAP_SUPPLIER_STG_TABLE

(vendor_name, alt_vendor_name)

VALUES

(p_vendor_name, p_alt_vendor_name);

END main_proc;

END XXAP_SUPPLIER_UPLOAD_PKG;

Page 14: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Create Integrator via Desktop Integration Manager Resp.

Page 15: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Configure Interface – Creates/validates interface attributes

– Interface associates to database objects in the integrator

Page 16: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Configure Interface

Page 17: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Configure Interface (cont.)

Page 18: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Create Layout specifying which columns to include.

Page 19: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Create Layout (cont.)

Page 20: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Generate Document via Desktop Integration Resp.

Page 21: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Generate Document via Desktop Integration Resp.

Page 22: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Generate Document via Desktop Integration Resp.

Page 23: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Generate Document via Desktop Integration Resp.

Page 24: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• PL/SQL Wrappers

– Programs which have business logic to handle user data.

– Can be called directly by the integrator or by separately by a

concurrent program.

– Can perform several tasks

• Parse staging table data

• Load interface tables or call public/private apis.

• Submit standard import concurrent programs using

FND_REQUEST.SUBMIT_REQUEST

• Produce reports

Page 25: R12 payables   leverage desktop integrator

Solution Architecture Desktop Framework Integrator

• Public vs Private apis

– Public apis are published and users are allowed to use them.

Open Interfaces allow only to add but apis are available with

add/update/delete

– Private apis are unpublished and can be changed by the vendor

at any time.

– Recommend using Public apis and only in extreme cases resort

to private apis.

Page 26: R12 payables   leverage desktop integrator

Examples…

Page 27: R12 payables   leverage desktop integrator

Supplier Maintenance

• Challenging due to manual nature.

• Daily maintenance vs Conversions

– Front End (OAF Supplier Page) or iSupplier

– Using API

– Using Standard Supplier Interface

• Each approach has own challenges.

– Interface allows only ‘Adds’. ‘Change’ is not possible.

– APIs not well documented, trial/error required.

• Choose Desktop Integrator with API based process

– Allows Adds/Changes in a unified process.

– Public APIs sample code given in paper and in metalink

Page 28: R12 payables   leverage desktop integrator

Supplier Maintenance

• Supplier/Site/Contact

Page 29: R12 payables   leverage desktop integrator

Supplier Maintenance

• Trading Community Architecture

Page 30: R12 payables   leverage desktop integrator

Supplier Maintenance

• TCA – Bank Model

Page 31: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Integrator Model for Supplier Maintenance

Page 32: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Create Integrator and staging table with required columns.

Level Column Notes

Supplier Supplier Name Validate for duplicate name; this value cannot be null

Alternate Supplier Name (default to Supplier Name) Default to Supplier name unless otherwise

Tax Reporting Name Default to Supplier Name unless otherwise

1099 Number

Tax Payer Type Use List of Values

Federal Reportable Use List of Values (Y/N)

Organization Type Use List of Values

Site Operating Unit Use List of Values

Site Name Use List of Values for Standardized names

Site Address Line 1 Free format

Site Address Line 2 Free format

Site Address Line 3 Free format

Site City Free format

Site State or Province List of Values

Site Zip

Site Country List of Values

Site Currency Code List of Values

Tax Reporting Site List of Values. This can be defaulted to Federal Reportable Flag.

Contacts First Name Free format

Last Name Free format

Phone Number Format

Phone Area Code Format

Contact Email Format

Page 33: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Use validation routine for default values and save data on

custom staging table.

• Use List of Values to enforce integrity.

• Sample integrator:

Page 34: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Create a PL/SQL Concurrent program to process Supplier

data from staging table.

• Adding a Supplier/Site/Contact make use of following apis.

– AP_VENDOR_PUB_PKG.Create_Vendor;

– AP_VENDOR_PUB_PKG.Create_Vendor_Site

– AP_VENDOR_PUB_PKG.Create_Vendor_Contact

Page 35: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Changing Supplier/Site/Contact make use of following apis.

– AP_VENDOR_PUB_PKG.Update_Vendor;

• Hz_party_v2pub.update_organization for name change

– AP_VENDOR_PUB_PKG.Update_Vendor_Site

• Hz_location_v2pub.update_location for address change

– Update Contact

• HZ_CONTACT_POINT_V2PUB.update_email_contact_point

• HZ_CONTACT_POINT_V2PUB.update_phone_contact_point

• HZ_PARTY_V2PUB.update_person

• For new email and phone use

HZ_CONTACT_POINT_V2PUB.create_contact_point

Page 36: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Bank/Branch/Account maintenance (optional)

– Not recommended for Integrator due to security concerns.

– If you have a secure interface, following APIs can be used:

• IBY_EXT_BANKACCT_PUB.create_ext_bank

• IBY_EXT_BANKACCT_PUB.create_ext_bank_branch

• IBY_EXT_BANKACCT_PUB.create_ext_bank_acct

• IBY_EXT_BANKACCT_PUB..add_joint_account_owner

• IBY_DISBURSEMENT_SETUP_PUB.Set_Payee_Instr_Assignment

• IBY_DISBURSEMENT_SETUP_PUB.Update_External_Payee

Page 37: R12 payables   leverage desktop integrator

Supplier Maintenance Integrator Solution

• Reporting should always be considered for audit purposes

Page 38: R12 payables   leverage desktop integrator

Invoice Maintenance

• Need for manual invoices to be keyed.

• Allows User productivity and focus on higher level tasks

• Leverage Desktop Integrator for such a solution as alternative

to buying a Excel package solution

• Free of charge and custom to your environment

Page 39: R12 payables   leverage desktop integrator

Invoice Maintenance

• Invoices

Page 40: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Upload - Integrator solution

• Invoice creation process

Page 41: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Upload - Integrator solution

• Create integrator with columns that support business needs

Level Column Notes

Group Group ID Unique number to this batch.

Invoice Operating Unit List of Values. Must be valid

Invoice Type List of Values

Supplier Number Validation

Invoice Currency List of Values

Invoice Amount

Description

Due Date

Payment Method List of Values

Remit Message 1

Remit Message 2

Legal Entity Name/Id These can be resolved via GL Segments or List of Values

Invoice Line Line Type List of Values

Line Amount

GL Segments List of Values or validation

Line Pay Reason List of Values

Line Description

Project Number List of Values or validation

Task

Expenditure Item Date

List of Values or validation

Expenditure Type List of Values or validation

Expenditure Organization List of Values or validation

Pro-Rate Flag List of Values

Page 42: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Upload - Integrator solution

• Use validation routine for default values.

• Use List of Values to enforce integrity.

• Load data into Payables Open Interface

• Sample integrator

Page 43: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Upload - Integrator solution

• Concurrent program which submit Payables Open Interface

(APXIIMPT) followed by the Invoice validation (APPRVL)

using FND_REQUEST.SUBMIT_REQUEST

• Solution allows users to mass upload invoices on demand

with great ease vs having to perform this task via Invoice

WorkBench

Page 44: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Cancellation

• Invoice Cancellation process

– Oracle does not provide a solution for mass cancellation of

invoices.

– A public API is available which can be used within a concurrent

program

• AP_CANCEL_PKG.ap_cancel_single_invoice

Page 45: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Cancellation – Integrator Solution

• Integrator model for Invoice Cancellation

Page 46: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Cancellation – Integrator Solution

• Create Integrator with mandatory columns

Field

name Comments Validation

Supplier

Number Mandatory Validate Supplier

Invoice

Number Mandatory Validate Invoice Number

Invoice

Date Mandatory

Page 47: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Cancellation – Integrator Solution

• Use validation routine to check invoice status

• Sample integrator

Page 48: R12 payables   leverage desktop integrator

Invoice Maintenance Invoice Cancellation – Integrator Solution

• Concurrent program to process invoice cancellation

– Process all uploaded rows

Fetch records for invoices to be cancelled.

LOOP

IF Invoice is not cancelled or paid THEN

Call standard API -

AP_CANCEL_PKG.ap_cancel_single_invoice

END;

END LOOP

Page 49: R12 payables   leverage desktop integrator

Other ADIs

• Voiding Payments

• Tax Alignments – 1099

• Fixed Assets - Mass transfers

• Receivables – Customer & Hierarchy maintenance/Party

merge

Page 50: R12 payables   leverage desktop integrator

Q & A

Page 51: R12 payables   leverage desktop integrator

Thank You!

Sajid Rahim

[email protected]