Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Approvals:
Document Control
Change Record
1
Reviewers
Name Position
Distribution
Note To Holders:
If you receive an electronic copy of this document and print it out, please write
your name on the equivalent of the cover page, for document control purposes.
If you receive a hard copy of this document, please write your name on the front
cover, for document control purposes.
Module List
Case Study: Migration of AR Transactions using Standard API
File Ref: 402346352.doc
Mar 26, 2009
Contents
Document Control..............................................................................................ii
Introduction........................................................................................................1
Purpose.........................................................................................................1
Background..................................................................................................1
Scope and Application..................................................................................1
Audience.......................................................................................................2
Source system..............................................................................................2
Assumptions.................................................................................................2
Pre-Requisites..............................................................................................3
Data Dependencies.......................................................................................3
Business Rules...........................................................................................4
Approach......................................................................................................4
Module List........................................................................................................5
Deployment......................................................................................................19
Error Handling.................................................................................................24
Module List
Case Study: Migration of AR Transactions using Standard API
File Ref: 402346352.doc
Introduction
AR Transactions are the invoices, which has to be sent to customer for the
services provided. It can be of Standard Invoice, Credit Memo, and Debit
Memo etc.
Use the Transaction window to enter the invoices, debit memos, credit memos
and commitments. You can also query and update your transactions in this
window and review your transactions and chargeback’s in the Transactions
Summary window.
Purpose
Background
Module List
Audience
Source system
The implementation team studies the source system and understands the data
required to be migrated to Oracle Applications. This data is then extracted and
cleansed from the source system (this is done by IT team of source system) in
the format as agreed by the client, source system IT team and the
implementation team. The data mapping section describes the data format of
source system to Oracle Applications.
Assumptions
Receivables Manager
System Administrator
Pre-Requisites
Prerequisite set-ups are required for the interface. These setups include,
but are not limited to:
2. Payment Terms
3. Transaction Types
4. Invoice Sources
Data Dependencies
AR Invoices
In order to migrate AR Transactions the following entities must have been
migrated successfully:
Customers
Items
Business Rules
Approach
Call Custom
ConcProgram Registerpackageas Create
concprogram StandardA PI’s
insidePackage PL/SQ L
Package
Affectedbasetables OracleApps
Module List
Concurrent Programs
‘XX-<EMPID>: AR Transactions Interface API Program’ includes the
following concurrent programs:
The above program loads data from the path specified as parameter
value in loader concurrent program to the staging table.
NOTE:
Stored Procedures
XXAPI_AR_INVOICE_PKG package consist the following stored
procedures:
XXAPI_AR_INVOICE_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
XXAPI_AR_INVOICE_PKG.validate
Module List
XXAPI_AR_INVOICE_PKG.import
XXAPI_AR_INVOICE_PKG.print_error
XXAPI_AR_INVOICE_PKG.record_summary
NOTE: Please refer the attached documents for Package Specifications and
Package body. Kindly open the attached script in notepad.
XXAPI_AR_INVOICE
_PKG.pks
1. Package Specification:
XXAPI_AR_INVOICE
_PKG.pkb
2. Package Body:
Staging Table
XXAR_INVOICE_API_STG table created in database to store records from
source system data file.
NOTE: Please refer the attached script staging table creation. Kindly open the
attached script in notepad.
XXAPI_AR_INVOICE
_TAB.tab
Table Creation Script:
Grant Script
If table and package are created in custom schema then grant the table and
package to APPS schema
NOTE: Please refer the attached script for table and package granting. Kindly
open the attached script in notepad.
Module List
XXAPI_AR_INVOICE
_TAB.grt
2. Table Grant Script:
Synonym Script
If table and package are created in custom schema then grant the package and
create synonym for table and package in APPS schema
NOTE: Please refer the attached script for table and package synonym. Kindly
open the attached script in notepad.
XXAPI_AR_INVOICE
_PKG.syn
1. Package synonym script:
XXAPI_AR_INVOICE
_TAB.syn
2. Table synonym script:
NOTE: Please refer the attached SQL* Loader script for loading data file into
staging table. Kindly open the attached script in notepad.
XXAPI_AR_INVOICE
_LOAD.ctl
1. SQL* Loader Script:
Install Script
Install script contains UNIX Shell Script and will be used to deploy the objects
attached to this document on Oracle Applications Server.
XXAPI_AR_INVOICE.
install
1. Install Script:
Note: Please prefix your employee ID for each object you create and deploy in
Application Server and Database.
A.) Package Name
B.) Table Name
C.) Synonym Name
D.) Concurrent Program Executable.
E.) Concurrent Program Name.
Module List
Module List
Module List
Module List
Module List
Module List
Module List
Module List
3. Add an entry for Concurrent Program in the Request Group and save the
work.
Module List
For Example:
Module List
XXAPIARINVOICE.ta
r.gz
4. mkdir -p XXAPIARINVOICE
9. cd XXAPIARINVOICE
17. sh XXAPI_AR_INVOICE.install
Module List
Case_Study_AR_TR
X_Extract_Data.csv
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
Module List
Module List
Select View Menu -> Request, Submit a new request, and click on single
request and than click OK Button.
SRS Form
Module List
AR Transaction Form
Module List
While calling standard API it may complete with error and it returns
the error message in AR_TRX_ERRORS_GT table, this table is a
temporary table and the store the error message for the current
session only. As API error message displayed in output report of
custom concurrent program verify the report and do the correction
in data, after correcting the data file re-load it and run the custom
current program again.
Module List
Open Issues
Closed Issues
Module List