Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
R12 Interfaces
and
APIs - IBM
)
m
e
o uid
Graduate
ilc Program
a
m ent G
g
d
@StudenttuGuide
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
D81888GC20
Edition 2.0
August 2013
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Disclaimer
This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy
and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any
way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print,
display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express
authorization of Oracle.
The information contained in this document is subject to change without notice. If you find any problems in the document, please
report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.
Restricted Rights Notice
If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United
States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS
The U.S. Governments rights to use, modify, reproduce, release, perform, display, or disclose these training materials are
restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract.
ns
a
r
t
n-
Trademark Notice
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
an
s
ha
Case Study
)
m ide
o
c
il t Gu
Appendix A
a
gm den
@
Appendix B
ta s Stu
r
u
k thi
a
Appendix C
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Lesson 7: List of Interface Tables
h
T
n
ya
Sa
iii
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Overview of Interface
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to understand
What is an Interface
When do we use Interface Table
Understanding Interface Tables
Business Benefit
ERDs and Applications Technology
Basic Interface Process Flow
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
1-2
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Overview of Interface
Interface:
Interface is a communication channel that allows transfer of
data between the source system and the target system.
Types of Interface:
Inbound Interface
Outbound Interface
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
1-3
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Inbound Interface
An inbound interface receives data from source system and
populate into target system (Oracle Applications).
Source System
Target System
(Oracle Applications)
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
Inbound Interface: Steps kur
i
a source
thsystem
t hfrom
into a flat file (csv file, text file).
1. Extract thendata
e
s
u
a
y
2. Use
toor equivalent tool to upload data present in the flat file
aSQL*Loader
s
e
(
ns (Intermediate) tables.
tainto ctheestaging
r
u
k 3. Write
li a PL/SQL program to process and validate the data present in the
a
h
T
staging tables and populate them into the respective open interface
1-4
ya
Sa
Process
tables.
4. Submit the corresponding standard oracle interface import program to
transform the records present in the interface tables into Oracle base
tables.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
1. Extract AP Invoices data from the source system into a csv file
2. a) Create custom staging tables XX_AP_INVOICES_INTERFACE,
XX_AP_INVOICE_LINES_INTERFACE which has the same table
structure as the interface tables
AP_INVOICES_INTERFACE and
AP_INVOICE_LINES_INTERFACE
b) Load the data from the csv file into the staging tables using
SQL*Loader
3. Using a PL/SQL program, validate the records in the staging tables and
populate them into the interface tables AP_INVOICES_INTERFACE
and AP_INVOICE_LINES_INTERFACE
ns
a
r
t
- in
n
4. Run the Payables Open Interface Import Program to convert the
data
o
the interface tables into the base tables AP_INVOICES_ALL,
an
s
AP_INVOICE_DISTRIBUTIONS_ALL,
ha
)
m ide
AP_PAYMENT_SCHEDULES_ALL.
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Outbound Interface
An outbound interface fetches data from Oracle tables and
inserts it into an external system (via tables or flat file).
Source System
(Oracle Applications)
Target System
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
Outbound Interface: Steps kur
i
h
a
t
h
t
program
to
extract
data from Oracle base tables into a
1. Write a PL/SQL
e
us
n
a
flat file.
ay e to
s
(
2.taThe UTL_FILE
ns utility can be used for writing operating system (OS)
r
e
u
c
k
flatlifiles in the target system.
a
h
T
1-6
ya
Sa
Process
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
For example:u
k thi
t haprovided
tables
Important interface n
e by Oracle Purchasing (PO):
s
u
a
PO_DISTRIBUTIONS_INTERFACE
ay e to
s
(
ns
ta PO_HEADERS_INTERFACE
r
e
u
c
k PO_INTERFACE_ERRORS
li
a
h
T
1-7
ya
Sa
PO_LINES_INTERFACE
GL_DAILY_RATES_INTERFACE
GL_BUDGET_INTERFACE
GL_IEA_INTERFACE
GL_INTERFACE
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
rta isInterface
Stu
Let us take the example of POkRequisition
u
ain theeinterface
th table
Records present
h
t
PO_REQUISITIONS_INTERFACE_ALL
are processed by
an to us
y
a
s
Requisition
Import
concurrent
program
and
the data is populated in the
( nse
a
t
etables PO_REQUISITIONS_HEADERS_ALL,
ur base
c
i
k
l
a
PO_REQUISITION_LINES_ALL and
Th
1-8
n
aya
PO_REQ_DISTRIBUTIONS_ALL
The Requisition Import generates an error message for every failed
record and creates a row in the PO_INTERFACE_ERRORS table with
detailed information about each error.
In case of any validation error, the PROCESS_FLAG column in the
PO_REQUISITIONS_INTERFACE_ALL table is updated as ERROR
The errored records can be checked by using the following query
SELECT PIE.*
FROM PO_REQUISITIONS_INTERFACE_ALL PRI
,PO_INTERFACE_ERRORS PIE
WHERE PRI.transaction_id = PIE.interface_transaction_id
AND
PRI.request_id
= <concurrent program request id>
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu to insert and update data in
tainterface
r
S
Oracle Applications
use
tables
u
s
i
k For texample,
h
a
sales order records from source
Oracle Applications.
h
t
e
s
n
u into Oracle Applications sales orders
systems
generated
yacan betusing
o
a
s
automatically
Interface tables. Data is never populated into
( nse
a
t
r Oracle
base tables directly. Instead, data is first populated
licetheApplications
aku into
interface tables and then using Oracle standard concurrent
1-9
h
T
n
aya
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
talike CREATED_BY,
r
S
h
T
n
status column must be updated with the proper value. For example, in
MTL_TRANSACTION_SYSTEMS interface table, the
PROCESS_FLAG column must be updated with 1.
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Business Benefits
Frequency
Batch
Volume
Technology
Security
Easy to use Interface and APIs
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu as the number of times we use
tacan bes defined
r
S
Frequency: Frequency
u
i Oracle Applications. Most of the
k datathinto
a
interfaces for
loading
h
t
e
run uduring
s month end processing while few are run on a
nare
interfaces
a
y
o
t
a
s basis.
(nightly
se
a
n
t
r
e
lic Multiple interfaces can be run as a batch process.
aku Batch:
1 - 11
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
1 - 12
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ENAME
COMM
EMPNO
EMPNO
SAL
DNAME
EMP
EMP_INTERFACE
SAL
LOC
DNAME
DNUM
LOC
LOCID
ns
a
r
t
n-
no
a
s
A simple example of ERD using employee interface table andh
itsa
base table
)
m
e
o
d
i
ilc t Gu
a
gm den
@
u
tclassical
ta fors the
r
S
In the employee
e table the employee source data is loaded.
t interface
s
n
u
a
When
tofrom the interface table is processed for creating records
ay the data
s
e
(
s the validation program will refer the EMP and DEPT
ntables,
ta in cbase
r
e
u
records
li for the existence of the employee and the associated
ak
DEPT
LOCATION
1 - 13
aya
h
T
n
department.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Requirement Definition.
A control file is created based on the flat file.
The control file loads the data into staging (custom) table.
Through PL/SQL programs the data is mapped, validated
and then populated into the interface tables.
The Oracle standard programs populates the data into the
base tables from the interface tables.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu is prepared by analyzing the
ta s(MD.070)
r
S
A technical design
document
u
i
k intfunctional
h
a
specified
design document (MD.050)
requirements
h
t
e
s
n
u Design and Build
a Module
Note:
yMD:
o
t
a
s
(
seis used for loading the source data to the Staging /
a Controlnfile
t
r
e
lic using either loader program or SQL* Loader utility.
aku Interface
1 - 14
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Data File
Source System
Load data
Validate
Staging Table
Interface
Table
Validate
ns
a
r
t
n-
o
n
a
APIs
s
Open Interface
a
h
Program
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu system.
ta thessource
r
S
control
Create a n
e call the loader program to load source data to
u
a
staging
using
to the control file.
ay table
s
e
(
nallsthe records are loaded successfully, execute PL/SQL program
ta When
r
e
u
c
tolivalidate the records present in staging table and populate them in the
ak
Import
1 - 15
aya
h
T
n
Oracle
Apps
Import
interface table.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
You should now be able to understand :
What is a Interface Table
When do we use Interface Table
Understanding Interface Tables
Business Benefit
ERDs and Applications Technology
Basic Interface Process Flow
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
1 - 16
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to
understand the following:
Writing Interface Programs
Using Pl/SQL
Using JAVA
Using BPEL/SOA
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
2-2
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
PL/SQL Code
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
rta using
S
This is an example of GL k
Interface
PL/SQL
u
s
i
h
a
t
h
t
e
n us
a
y
a e to
Package Specification
s
(
s
nprocedure
ta cmain
r
e
u
k
li
a
h
This procedure is used for calling
T
2-3
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
PL/SQL Code
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Package Body
u
k thi
a
h
t
validate
procedure
use
n
a
to procedure is used for business rule validation
ay eThis
s
(
ta cens which will validate the records available in the interface
r
u
li
table.
ak
2-4
h
T
n
aya
import procedure
This procedure is used for transferring data into
application which are successfully validated in validate
routine.
We call standard concurrent program using
FND_REQUEST API which will run the standard
import program for creating records in the base tables
using interface data.
bl
a
r
fe
print_error procedure
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Using Java
import
import
import
import
import
java.sql.*;
oracle.jdbc.driver.OracleCallableStatement;
oracle.apps.fnd.cp.request.* ;
java.io.*;
oracle.apps.fnd.util.*;
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Importing classes
u
k thi
a
h
t
For
compilation
use of java file we require standard class
n
a
to
ay efile.
s
(
ta cens The above mentioned classes in import area are required
r
u
li
to compile the java code.
ak
2-6
aya
h
T
n
xxInterfaceFromModule
This function will be used to define global variables,
calling private function for business logic etc.
registerControlRecord
This function is used to register the database control like
opening and closing the database connections.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Using Java
private void logMessage(String str, String lDebugMode)
{
\\ Write you program logic here
}
private String getProfileValue(String profile)
{
\\ Write you program logic here
}
public void openConection()
{
\\ Write you program logic here
}
public void runProgram(CpContext pCpContext)
{
\\ Write you program logic here
}
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
logMessage kur
i
h
a
t
h
t
This
function
will
be used to logged the error message
e
us
n
a
ay eortodebug messages.
s
(
ns
ta cgetProfileValue
r
e
u
li
ak
This function will be used when we required to retrieve
2-7
aya
h
T
n
openConection
This function is used to open the database connections.
runProgram
This function is used to open the run the concurrent
program for loading the source data into staging tables.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Understanding BPEL/SOA
Adapter Framework & IREP
Integrate
JDeveloper
BPEL/ESB/BAM
Develop
Event/Orchestrate
BPEL PM
Deploy
ns
a
r
t
n-
o
n
a
BPEL PM/ESB Console
s
a
Monitor & Manage
Access Control
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuthe facilities to invoke the
ta provide
r
S
JDeveloper: JDeveloper
u
s
i
k andthintegration
a
BPEL/SOA
process
with others RDBMS system.
h
t
e
s
n
u & IREP: It provides Bi-directional
ya Framework
a
Adapter
o
t
s
( connectivity
se and Broad range of connectivity with other RDBMS
a
n
t
r
e
licsystems.
aku
OWSM, BPEL PM
Console
2-8
aya
h
T
n
BPEL PM:
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
susing SOA
- Eliminate point to point coupling
a
h
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Using BPEL/SOA
Assign the
input variable
from client
Invoke the
database
adaptor
Create a
database
adaptor and
call the
PL/SQL
Package
Create a
BPEL project
of
asynchronous
type
Transform
the output
variable
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu interface
ta for
r
S
Creating a BPEL
process
outbound
u
s
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Create a file
adaptor to
create the
file
2 - 10
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
After completing this lesson, you should be able to understand
Writing Interfaces
Using Pl/SQL
Using JAVA
Using BPEL/SOA
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
2 - 11
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to understand
the following
Type of Interfaces
Type of Integration
Technology used to develop interfaces and integration
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
3-2
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Interfaces / Integration
PL/SQL APIs
Open Interface Tables
Concurrent Programs
XML Gateway
eCommerce Gateway
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
u
tinterface
ta program
r
S
APIs: An application
(API) is a set of exposed
u
s
i that an application
kand functions
h
a
t
data structures
can use to invoke
h
t
e
s
n
u
services
Oracle Application APIs are used to
ya ontaocomponent.
a
s
ethe input data and create\update\delete the records present
( process
sOracle
a
n
t
r
in
the
base tables.Oracle Applications provides more than
e
lic2650 public APIs
aku
for Interface\Conversion
3-3
ya
Sa
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu which are used to migrate
ta ares technology
r
S
Interfaces or Integration
u
i the Oracle Apps product or from the
keither into
h
a
t
the source
data
h
t
e
product
nApps
us to external system.
a
Oracle
y
o
t
a
(s nse
a
t
r lice
aku
3-5
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Loader
Oracle Standard
Concurrent Prog
Return Error
Source
Data
OIT
Validation
ns
a
r
t
n-
o
n
a
Oracles
Product
Error
a
Modules
Table
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
u
twidely
rta(OIT)
S
Open InterfacekTable
are
u
s
i target system.used for loading the data
h
a
t
from source
system
to
the
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
3-6
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Calling APIs
Return Error
Source
Data
APIs
Perform
Business
Function
Oracle
Product
Modules
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta sbySthetuOracle Applications can also be
r
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
=> FND_API.G_TRUE
ns
a
r
t
n-
no
a
s
a
h
)
4. X_RETURN_STATUS
=> m
lc_return_status
e
o
d
i
c ln_msg_count
u
il=>
5. X_MSG_COUNT
G
a
t
nlc_error_message
gm d=>
e
6. X_MSG_DATA
@
ta s Stu
r
u
k thi
a
h
t
ebe at least 3 out parameters for each public
should
There
s
n
u
a
ttoo return the status (success, error), number of error
ay API
s
e
(
ta censmessage and error message if any.
r
u
li
ak
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
BPEL/SOA
Calling BPEL
Process
Calling
Validation
Process
BPEL/SOA
APIs
Source
Data
Return control
to BPEL
Creating
records
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuExecution Language and SOA
ta sProcess
r
S
n
t
r
e
licdesign to orchestrate integration development.
aku
Oracle
Product
Modules
3-9
aya
h
T
n
Similar to EAI.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
After completing this lesson, you should be able to understand
Type of Interfaces
Type of Integration
Technology used to develop interfaces and integration
Open Interface Table (OIT)
Application Programming Interfaces (APIs)
Service Oriented Architecture (SOA)
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
3 - 10
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Interfaces
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be understand the
following
Various Interface Options
Open Interface Model
API Diagram
Purchasing Open Interfaces
Payables Open Interfaces
Order Management Open Interfaces
Receivables Open Interfaces
Designing, Developing, and Performing Conversion
Process
Development standards.
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4-2
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Interface Options
1. Open Interface Table (OIT)
2. Application Programming Interface (API)
3. Enterprise Application Integration Tools (EAI) / Middleware
Tools
4. Electronic Data Interchange (EDI)
5. BPEL Process Manager
6. Other Oracle Technology
PL/SQL
Stored Procedures
Oracle Advanced Queuing (AQ)
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu Interface Table (OIT) are
ta (OIT):
r
S
Open Interface
Table
Open
u
s
kloadingththei data from source system to the target
a
widely used
for
h
t
e
Oracle uApplications
s
n
a
system.
provides open interface tables with
y
o
t
a
s
which are used for loading , validation and
( eachnbusiness
se module
a
t
r
error
reporting
of
the
source
data.
e
lic
aku
4-3
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
ya
Sa
h
T
n
no
a
s
a
Relatively sophisticated procedural programming
h
)
language
m
e
o
d
i
u
lcsyntaxGchecking
ifor
Compiled to DB; allows
and higha
t
m
n
g
performance DB integration
de
@
u
t
a
t
r purposes
Sin Oracle applications: application
Myriaduof
s
i
k
h
a
t logic, exception handling
h integration
tlogic,
e
s
n
u an API layer to Oracle application logic
ya Exposes
o
t
a
s
( nStored
se Procedures
a
t
r
e
lic Can be implemented as server-side Java
aku
Capable of calling PL/SQL using JDBC; capable of
being called by PL/SQL
Higher computational performance than PL/SQL
Allows for use of an industry standard technology
instead of proprietary PL/SQL
Often coupled with PL/SQL as a hybrid approach to
Oracle application integration
Oracle Advanced Queuing (AQ)
Database Integrated Messaging
Integrated data, message, and message history
Recoverability(any point in time recovery)
High Performance
Integrated with MQSeries via Oracle Messaging
Gateway
Interfaces and APIs 4 - 4
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Interfaces are used to load the source data into the
Oracle Applications using the associated standard import
programs.
The Import programs have in built business logic to check
the correctness of the data present in the open interface
tables
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
For example:u
k thi
a
h
t
You can
import
data from the feeder systems.
e
uaccounting
s
n
a
y can alsotoimport historical data from your previous
sa
You
(
se or management systems into Oracle Application
a
accounting
n
t
r
e
licsystems using Open Interface table and the associated Import
aku
4-5
aya
h
T
n
program.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4-6
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4-7
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuway possible and automatically
tinathe easiest
r
S
Import information
u
s
hi import into data that is meaningful to
ak data
tyou
convert the
valid
h
t
e
n your organization.
us
aand
you
y
o
t
a
e
(s Import
from a variety of environments, including
sinformation
a
n
t
r
e
u
your
own
and
other
accounting systems.
c
li
ak
4-8
aya
h
T
n
Review the results of your import run. Identify which data has
been successfully imported, and any errors which may have
occurred during the import process.
Choose to optionally archive your source data each time you run
an import program.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Import
source data
External
System
Calling import
program
Mapping
records
Open
Interface
Creating
records in
Oracle Apps
Oracle Applications
import program
execution report
Oracle
Tables
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
a isStotuconvert data from open interface
tprogram
r
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Source
System
PL/SQL
Processes
Data
File
ns
a
r
t
n-
no
a
sUtility
Target
FTP
a
h
System
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuand process the data from
tawillsextract
r
S
1. The PL/SQL program
u
i
kand willthgenerate
a
source system
a data file in the
h
t
e
s
n
UTL_FILE_DIR
ya to u path or generate the data as concurrent program
a
s
( output
sorelog file.
a
n
t
r
e
aku 2. licBased on the client requirement transfer the file in the target
4 - 10
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Flat File
Source
System
SQL*
Loader
Staging
Table
ns
a
r
t
n-
no
a
Import
Open Interface
PL/SQL
s
Base
a
Tables
h
Tables
Program
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu system into a flat file.
tafromstheSsource
r
Data file is extracted
u
k thi
t haLoader
SQL*
Usingn
eload the data from flat file into the staging
s
u
a
y
to
atable.
s
e
(
nsall the records are loaded successfully, execute PL/SQL
ta cWhen
r
e
u
liprogram to validate the records present in staging table and
ak
4 - 11
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
API Diagram
Return
result
Source
System
Call
ns
a
r
t
n-
o
n
a
Applications
s
Public APIs
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tufor processing to the Public
ta stheSdata
r
Source System:
Provides
u
k thi
APIs tha
e
s
n
u
a
y APIs:
a
Public
to Used for populating the records in base tables,
s
e
(
the public APIs perform following types of
nsprocessing
ta cwhile
r
e
u
validations
:li
ak
Oracle
4 - 12
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
m ide
o
c
il t Gu
a
nAPIs have common
gm public
e
s
n
PUBLIC_API_NAME.PROCESS_NAME.API_VERSI
ya ONto u
a
s
( nse
a
t
r
lice API version is defined in specification part of public
aku
Sa
ya
h
T
n
2. P_COMMIT
=> FND_API.G_TRUE
=> lc_return_status
5. X_MSG_COUNT
=> ln_msg_count
6. X_MSG_DATA
=> lc_error_message
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
lc_errbuf := lc_errbuf || FND_MSG_PUB.GET
n
o
( ln_i, 'F' );
an
s
ha
END LOOP;
)
m ide
o
END IF;
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
FOR ln_i IN 1 .. ln_msg_count LOOP
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 15
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Source
Applications
Extract Data
files
Upload Data
Interface Table
Staging Table
Create
PL/SQL
Package
Call Standard
import Program
no
a
s
a
Oracle Apps
h
Affected base tables
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuto migrate the transactions
tashowshow
r
S
This open interface example
will
u
i module.
k OraclethApps
a
data from source system
to
h
t
e
n u/ sReference Documents
a
y
Interface
Approach
a e to
s
(
ns Tables / Interfaces User Guide
ta c eInterface
r
u
k Responsibility
li
a
/ Navigation / Module
h
T
4 - 16
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
Interface Tables / APIs
s
a
Open Interface Tables for All Modules ) h
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 18
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
a
tprocess:
r
S
Payables Invoice open interface
u
s
thiInterface Import program to validate the
hak seOpen
t Payables
1. Launch n
the
ya present
records
inuthe Payables open interface table.
o
t
a
s
( nAP_INTERFACE_REJECTIONS
se
a
2. Check
table for any validation
t
r
e
u
c
i
k
l
error
in
the
Payables
Open
Interface
tables
a
4 - 19
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
INVOICE_ID
INVOICE_NUM
INVOICE_TYPE_LOOKUP_CODE
TERM_ID
CURRENCY_CODE
VENDOR_ID
VENDOR_SITE_ID
INVOICE_AMOUNT
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tutable that holds the header
tathe interface
r
S
AP_INVOICES_INTERFACE
is
u
s
i Import program to create
kOpen Interface
h
a
t
information for the Payables
h
t
e
n DebitusMemo etc.
a
standard, CredityMemo,
a e to
s
(
ta cens
r
u
k Payables
li Open Interface Import program validates your data, derives or
aThe
4 - 20
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
INVOICE_ID
INVOICE_LINE_ID
LINE_NUMBER
LINE_TYPE
Quantity ordered
AMOUNT
DESCRIPTION
CODE_COMBINATION_ID
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu table that holds the lines
ta isstheSinterface
r
AP_INVOICE_LINES_INTERFACE
u
i Import program to create lines
kOpen Interface
h
a
t
information for the Payables
h
t
e
n Credit
us Memo, Debit Memo etc.
a
for invoices like
standard,
y
o
t
a
(s nse
a
t
e Interface Import program validates your data, derives or
kurPayables
licOpen
aThe
4 - 21
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
Organization id (org_id)
Vendor name (vendor_name)
an
Vendor site code (vendor_site_code)
s
ha
An terms (terms_name)
)
m ide
o
c
h
T
n
Item number
aya
Invoice id
Line type lookup code
Tax code
PO Distributions
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Parameters
1 => Source
2 => Batch Name
Import Errors
For finding the errored records, we use
AP_INTERFACE_REJECTIONS table and the column we will
use to join with AP_INVOICE_LINES_INTERFACE is
INVOICE_ID
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 24
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
rta process:
S
Purchasing document open k
interface
u
s
hi program to validate the records
ha se tImport
t AutoInvoice
1. Launch n
the
u
ya in thetoReceivables
present
open interface table.
a
s
e
(
nsare any validation errors, AR_TRX_ERROR_GT table is
ta2. Ifcthere
r
e
u
k
li
populated.
a
h
T
4 - 25
n
aya
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
BATCH_SOURCE_NAME
LINE_TYPE
DESCRIPTION
CURRENCY_CODE
CONVERSION_TYPE
TERM_ID
CUST_TRX_TYPE_ID
Transactions type ID
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tutable that holds the header and
a interface
tthe
r
S
RA_INTERFACE_LINES_ALL
is
u
s
i
ak e thImport
lines information for the
AutoInvoice
program to create AR
h
t
s
n
u
Transactions. ya
o
t
a
s
( nse
a
t
r
ku AutoInvoice
lice Import program validates your data, derives or defaults
aThe
ORIG_SYSTEM_BILL_CUSTOMER_ID Customer Account ID
ORIG_SYSTEM_BILL_ADDRESS_ID
4 - 26
aya
h
T
n
additional information and writes an error message for every validation that
fails into the AR_TRX_ERROR_GT table.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
Customer name (customer_name)
s
ha
Customer site code (customer_site_code)
)
om uide
AR terms (terms_name) ilc
ma ent G
Tax name
g
@ (trx_num)
tud
a
t
Transaction
number
r
S
is
h
akutype
t
tInvoice
h
e
s
n
u
a
code combination
to
ay eReceivables
s
(
ta cens (accts_pay_code_combination_id)
r
u
li
Payment Term
ak
h
T
n
Code combination id
aya
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Parameters
1 => Number of Instances
2 => Organization
3 => Invoice Source
4 => Default Date
5 => Base Due Date on Trx Date
Import Errors
For finding the errored records, we use
AR_TRX_ERRORS_GT table and the column we will use to
join with RA_INTERFACE_LINES_ALL is
TRX_HEADER_ID
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 29
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
rta process:
S
Purchasing document open k
interface
u
s
thi
ha se Documents
t Purchasing
1. Launch n
the
Open Interface program, to
u
a
validate
to present in the Purchasing open interface table.
ay thee records
s
(
nsare any validation errors, PO_INTERFACE_ERRORS
ta2. Ifcthere
r
e
u
k
li is populated.
table
a
h
T
4 - 30
n
aya
Additional Information:
1. Launch Purge Purchasing Documents Open Interface Processed
Data program to purge PO interface data. This program removes
data that has been accepted or rejected, not data that is still
pending.
2. Launch Purchasing Interface Errors Report to view errors. If you
want to purge data from the Purchasing Interface Errors table, set
the Purge Data field to Yes.
3. Refer metalink note Doc ID: 252499.1 for mandatory column
information on Purchasing Interfaces.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
INTERFACE_HEADER_ID
PROCESS_CODE
ACTION
DOCUMENT_TYPE_CODE
BATCH_ID
VENDOR_ID
VENDOR_SITE_ID
SHIP_TO_LOCATION_ID
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tutable that holds the header
tathe interface
r
S
PO_HEADERS_INTERFACE
is
u
s
i standard/blanket purchase orders
k tothcreate
a
information for the PDOI
program
h
t
e
n us
a
and catalog quotations.
y
a e to
s
(
nsvalidates your data, derives or defaults additional
ta program
r
e
u
The
PDOI
c
li
ak
BILL_TO_LOCATION_ID
4 - 31
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
INTERFACE_LINE_ID
INTERFACE_HEADER_ID
ITEM_ID
QUANTITY
Quantity ordered
UNIT_PRICE
ITEM_ID
LINE_TYPE
NEED_BY_DATE
4 - 32
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuthat holds the lines information
a
tinterface
r
S
PO_LINES_INTERFACE is
the
table
u
s
k standard/blanket
acreate
thi
for the PDOI programtto
purchase orders and catalog
h
e
s
n
quotations.
ya to u
a
s
( nse
a
t
r
u PDOI program
The
ice validates your data, derives or defaults additional
k
l
a
Th information and writes an error message for every validation that fails into the
UNIT_OF_MEASURE
ya
Sa
Unit of Measure
PO_INTERFACE_ERRORS table.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
INTERFACE_HEADER_ID
INTERFACE_LINE_ID
CHARGE_ACCOUNT_ID
BUDGET_ACCOUNT_ID
ns
a
r
t
n-
no
a
VARIANCE_ACCOUNT_ID
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
ta isstheSinterface
r
PO_DISTRIBUTIONS_INTERFACE
table that holds the
u
i
kthe PDOI
h
a
t
distribution information
for
program
to
create
standard purchase
h
t
e
s
n
order.
ya to u
a
s
( nse
a
t
r
ku PDOI program
lice validates your data, derives or defaults additional
aThe
ACCRUAL_ACCOUNT_ID
4 - 33
Sa
ya
h
T
n
information and writes an error message for every validation that fails into the
PO_INTERFACE_ERRORS table.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
o
n
a
Authorization status
s
a
h
Preparer id or preparer name
)
m
e
o
d
i
Quantity
ilc t Gu
a
n
Charge account idgm
e
d
@
tuid or destination organization
taorganization
Destination
r
S
u
s
k thi
code
a
h
t
Deliverustoelocation id or deliver to location code
n
a
to
ay eDeliver
s
(
to requestor id or deliver to requestor name
ta cens
r
u
ak BaseliTables Affected
Destination type code
h
T
n
PO_REQUISITIONS_HEADERS_ALL
aya
PO_REQUISITION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Import Errors
For finding the errored records, we use
PO_INTERFACE_ERRORS table and the column we will use
to join with PO_REQUISITIONS_INTERFACE_ALL is
INTERFACE_TRANSACTION_ID
The PROCESS_FLAG column in the
PO_REQUISITIONS_INTERFACE_ALL table is updated as
ERROR
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 36
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
taprocess:
r
S
Order Management open interface
u
s
i
thprogram
hak Import
t Order
1. Launch n
the
to validate the records present in
e
s
u
a
y Management
the
open interface tables.
to
aOrder
s
e
(
s
table for any validation error in
nOE_UPGRADE_ERRORS
ta2. Check
r
e
u
c
i
k
l
the
Order
Management
open
interface
tables
a
4 - 37
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
HEADER_ID
ORDER_NUMBER
PRICE_LIST_ID
Price list
ORDER_TYPE_ID
Transaction type
TRANSACTIONAL_CURR_CODE
PAYMENT_TERM_ID
Payment term
SALESREP_ID
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tutable that holds the header
a interface
tthe
r
S
OE_HEADERS_IFACE_ALL
is
u
s
i to create standard, Credit Memo,
k program
h
a
t
information for the Order
Import
h
t
e
n us
a
Debit Memo etc.
y
a e to
s
(
ta cens
r
u
k Order Import
li program validates your data, derives or defaults additional
aThe
4 - 38
aya
h
T
n
information and writes an error message for every validation that fails into the
OE_UPGRADE_ERRORS table.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
DESCRIPTION
HEADER_ID
LINE_ID
LINE_NUMBER
Line Number
LINE_TYPE_ID
Transaction Type
INVENTORY_ITEM_ID
ORDERED_QUANTITY
Quantity ordered
ORDER_QUANTITY_UOM
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuthat holds the lines information
a
rtinterface
S
OE_LINES_IFACE_ALL iskthe
table
u
s
a toecreate
thilines for invoices like standard, Credit
for the Order Import program
h
t
anetc.to us
Memo, Debit Memo
y
a
(s nse
a
t
urOrder Import
ice program validates your data, derives or defaults additional
k
l
The
a
Th
4 - 39
n
aya
information and writes an error message for every validation that fails into the
OE_UPGRADE_ERRORS table.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
Transaction type
Sold to Org ID
an
Site use code
s
ha
Amount
)
m ide
o
c
Unit Price
il t Gu
a
Pricelist
gm den
@
ta s Stu
Ordered
Quantity
r
u
i
ak(Unite ofthMeasure)
tUOM
h
us Item ID
an Inventory
y
o
t
a
e
(s nsAffected
rtaBase Tables
e
lic OE_ORDER_HEADERS_ALL
aku
h
T
n
ya
Sa
OE_LINES_ALL
OE_LOT_SERIAL_NUMBERS
OE_SALES_CREDITS
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Parameters
1 => Validate Only
2 => Validate Descriptive Flexfield
Import Errors
For finding the errored records, we use
OE_UPGRADE_ERRORS table and the column we will use to
join with OE_HEADERS_IFACE_ALL is HEADER_ID
ns
a
r
t
n-
an
s
a
OE_HEADERS_IFACE_ALL ) h
m
e
o
d
i
OE_LINES_IFACE_ALL
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 42
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
What is Conversion
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 43
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Interfaces
Conversions
Frequency
Periodical process
One-time process
Occurrence
Executed during
production
Executed before
production
Batch
Cost intensive
Cost effective
Manner of execution
Maintenance
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 44
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Conversion Process
Perform Conversion
ns
a
r
t
n-
no
a
Production system
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu data.
ta stheSsource
r
1. Based on the requirements,
identify
u
k thi
a
h
t
2. Design the conversion
process
use by identifying the target tables and strategy
n
a
of validating
to the data.
ay and eloaing
s
(
3. Develop
conversion
programs, for example
ns
ta the
r
e
u
c
i
k
l
a
1. Using SQL* Loader, develop a loader program.
4 - 45
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Analyze the
requirements
Specify time
Constraints
Determine the
conversion
method
ns
a
r
t
n-
no
a
Deployment
Data mapping
Testing and Go
s
a
Live
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuneed to be converted.
tadecides what
r
S
This is where you have
to
u
k thi
a
h
t
Examine
the
business
use objectives and requirements to determine
n
a
atheydataeto tbeoconverted.
s
(
ns the time constraints for the conversion, especially for
ta cSpecify
r
e
u
litransaction data.
ak
4 - 46
aya
h
T
n
Install all the hardware and software required for the conversion
process.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 47
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Flat File
Source
System
SQL*
Loader
Staging
Table
ns
a
r
t
n-
no
a
Import
Open Interface
PL/SQL
s
Base
a
Tables
h
Tables
Program
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu system into a flat file.
tafromstheSsource
r
Data file is extracted
u
k thi
t haLoader
Usingn
SQL*
etool upload the data from flat file to staging
s
u
a
y
to
atable.
s
e
(
nsall the records are loaded successfully, execute PL/SQL
ta cWhen
r
e
u
liprogram to validate the records present in staging table and
ak
4 - 48
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 49
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Extract Data
file
RDBMS Temp
Table
Loading Data
to Interface
Table
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu is performed.
ta major
r
S
This is process in which
the
activity
u
s
k thi
a
h
t
Extract
and
format
usedata.
n
a
y temporary
to interface tables.
sa
Create
e
(
ns data into interface tables.
ta cPopulate
r
e
u
li
ak
Applications
Report
4 - 50
Sa
ya
h
T
n
Verification
Report
Migrating data
into Base Tables
ns
a
r
t
n-
Running import
Program
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 51
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Development Standards
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 52
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Development Standards
<Company Name>
-- |
<Location>
-- +====================================================+
-- | $Id:$
-- |Description:
-- |
-- |Change Record:
-- |===============
-- |Version
Date
Author Remarks
-- |=======
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tuSQL scripts, installation files
taprocedures,
r
S
-- |DRAFT 1B DD-MON-YYYY
-- |1.0
DD-MON-YYYY
-- +====================================================+
4 - 53
aya
h
T
n
code.
Draft 1B is released after changes are made in the code after the
review.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Development Standards
Naming standards
Prefix the database objects like custom table, package,
synonym, index, view, procedure, sequences, triggers,
concurrent program, profile option name etc with XX
Suffix the database objects with object type like for package
_PKG, staging table _STG, synonym _SYN etc.
Use database script file extension with respects to the object
type like for package file, file extension might be .PKB,
staging table, file extension might be .tab etc.
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
a
rtFiles
S
Naming Standardskfor
u
s
i
h
a
t
h
t
============================================
e
n us
a
y
aType e to
File
File Extensions
s
(
s
rta=============================================
en
u
c
i
k
l
a
ns
a
r
t
n-
4 - 54
Sa
ya
h
T
n
Package Specification
.PKS
Package Body
.PKB
Table Script
.TAB
Synonym Script
.SYN
Grant Script
.GRT
Sequence Script
.SEQ
Trigger Script
.TRG
Procedure Script
.PRC
Shell Script
.PROG
.INSTALL
.LDT
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Development Standards
SQL Standards
Alignment/Structuring
UPPER and lower case in SQL Statements
Alignment within SQL Statements
Alignment of Function calls in SQL Statements
Positioning of tables in FROM Clause
Positioning of Conditions in WHERE/HAVING Clause
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu we write any SQL query or
ta Whenever
r
S
Alignment/Structuring:
u
s
akthe escript
thishould be align vertically and
PL/SQLtscript,
h
an to us
horizontally.
y
a
(s UPPER
seand lower case in SQL Statements:
a
n
t
r
e
lic All standard keywords, standard or custom
aku
4 - 55
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
Examples: m
e
o
d
i
ilc t Gu
SELECT Statement
a
n invoice_number
gm
e
SELECT
RCT.trx_number
d
@
tu
ta ,sRCT.trx_date
r
S
u
invoice_date
k thi
a
h
t use , SUM(APS.amount_due_original)
n
a
ay e to invoice_amount
s
(
FROM
ra_customer_trx
RCT
ta cens
r
u
i
k
l
a
, ar_payment_schedules APS
ya
Sa
h
T
n
WHERE RCT.customer_trx_id
APS.customer_trx-_id
AND APS.class
AND RCT.completed_flag
=
= INV
= Y
ar_receivable_applications ARA
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
TO_DATE(10102002,DDMMYYYY)
a
h
DECODE(APS.class m)
e
o
d
i
ilc t Gu
,INV,
Invoice
a
gm denMemo)
,CM,Credit
@
tu
rtain FROM
S
u
Positioning ofktables
Clause
s
i
h
a
t
h
ein the FROM clause of SELECT statement
tThe tables
s
n
u
a
to be placed in the order in which system would
ay eshould
s
(
them, based on join and other selectivity
ta cens access
r
u
conditions
are provided.
li
ak
Examples
aya
h
T
n
Example: -
RCT
, ra_customer_trx_lines RCTL
, ar_payment schedules APS
, ra_customers
RCB
, ra_site_uses
RSUB
, ra_customers
RCS
, ra_site_uses
RSUS
, ar_customer_profiles ACP
- - (Note- Lookup type of tables)
, ar_terms
AT
, ra_cust_trx_types
RCTT
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Development Standards
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Variables Declaration:
u
k thi
t havariables
nThe
e should be declared at only one place per
s
u
a
to block, procedure, function or trigger.
ay anonymous
s
e
(
ta censThe variables are declared in the following sequence
r
u
li
ak
CONSTANT variables
4 - 59
ya
Sa
h
T
n
EXCEPTION Declarations
Scalar Variables
Defined in alphabetical order
Record and Table Datatype definitions along
with associated variables
Cursors along with associated record variables
The declaration of various kind of variables
should be done as per the following structure.
bl
a
r
fe
Examples
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
EXCEPTION;
l_variable1
[:= value];
datatype[(length)]
l_ variable2
[:= value];
datatype[(length)]
l_ variable3
<table.column>%TYPE;
lr_ variable4
user Datatype; -RECORD or TABLE or REF Cursor
ns
a
r
t
n-
Parameter Declaration:
no
a
s
a
h
Procedure
)
m
e
o
d
PROCEDURE/FUNCTION
name(
i
ilc t Gu
a
p_parameter1
n[DEFAULT value]
gm datatype
e
d
@
u [DEFAULT value]
, p_parameter2
ta s Stdatatype
r
u
k thi
)
a
h
t
e
s
an to uCursor
y
a
(s nse CURSOR c_cursor_name(
a
t
r lice
p_parameter1 Datatype
aku
Examples
aya
h
T
n
, p_parameter2 Datatype
)
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Development Standards
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 61
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
After completing this lesson, you should be able to understand:
Various Interface Options
Open Interface Model
API Diagram
Purchasing Open Interfaces
Payables Open Interfaces
Order Management Open Interfaces
Receivables Open Interfaces
Designing, Developing, and Performing Conversion
Process
Development standards for code
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
4 - 62
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Interfaces Deployment
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Copyright 2009, Oracle. All rights reserved.
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to do the
following:
Steps involved in Inbound Interface Deployment
Steps involved in Outbound Interface Deployment
Prepare Installation Pack
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5-2
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5-3
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu contains all the columns in the
taprepared
r
S
Convert
Sheet which contains data to be interfaced given by
y the Excel
to (Comma
auser
s
e
(
the
into
CSV
Separated Values) file format.
s
a
n
t
r
e
c file given by the user is in text format, open the file in Microsoft
aku Iflithe
5-4
aya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5-5
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Program -> Executable
ayon Concurrent
s
e
(
ta cens
r
u
li
ak
5-6
Sa
ya
h
T
n
Notes:
Enter the executable name without any spaces and prefixed with XX.
Enter the name of the csv file in the execution file name.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5-7
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Program -> Define
ayon Concurrent
s
e
(
ta cens
r
u
li
ak
5-8
Sa
ya
h
T
n
Notes:
Enter the program name prefixed with XX, followed by a colon(:) and
a meaningful description.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5-9
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Program -> Executable
ayon Concurrent
s
e
(
ta cens
r
u
li
ak
5 - 10
Sa
ya
h
T
n
Notes:
Enter the executable name without any spaces and prefixed with XX.
Enter the name of the validation procedure in the execution file name.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 11
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Program -> Define
ayon Concurrent
s
e
(
ta cens
r
u
li
ak
5 - 12
Sa
ya
h
T
n
Notes:
Enter the program name prefixed with XX, followed by a colon(:) and
a meaningful description.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 13
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Responsibility -> Define
ayon Security
s
e
(
ta cens
r
u
li
ak
5 - 14
Sa
ya
h
T
n
Notes:
Press F11 to search for the responsibility. For example, Enter General
Ledger% to search for General Ledger related responsibilities.
Note down the request group name. In this case, the request group
name is GL Concurrent Program Group
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 15
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Responsibility -> Request
ayon Security
s
e
(
ta cens
r
u
li
ak
5 - 16
Sa
ya
h
T
n
Notes:
Press F11 to search for the request group. For example, Enter GL
Concurrent Program Group to search for General Ledger request
group.
Click on the Requests panel and create a new row by clicking File ->
New.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 17
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stisua concurrent program that can
r
h
T
n
aya
Note:
Please ensure that the environment file is initialized to access
$FND_TOP. The environment file is present in the home directory of
the unix box with an extension of .env. For example, run . ./apps.env to
initialize the environment file for the instance.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 19
h
T
n
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Installation Pack
Transfer the files which are part of the installation pack into
a new folder in the unix box.
Create a tar file of the contents using the following
command
tar -cvf XXTESTPROG.tar .
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
u
tare
a which
tfiles
r
S
part of the installation pack of an
Following are the common
u
s
k thi
a
inbound interface
h
t use
n
a
Staging
o scripts
tcreation
ay table
s
e
(
scripts
ns for staging tables
ta Grant
r
e
u
c
li
creation scripts
ak Synonym
5 - 20
ya
Sa
h
T
n
Package specification
Package body
Installation scripts
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 21
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Program -> Executable
ayon Concurrent
s
e
(
ta cens
r
u
k
li
a
Notes:
h
T
5 - 22
ya
Sa
Enter the executable name without any spaces and prefixed with XX.
Specify the file creation path in the package body as mentioned in the
functional design document
Enter the name of the extract procedure in the execution file name.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 23
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Program -> Define
ayon Concurrent
s
e
(
ta cens
r
u
li
ak
5 - 24
Sa
ya
h
T
n
Notes:
Enter the program name prefixed with XX, followed by a colon(:) and
a meaningful description.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 25
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Responsibility -> Define
ayon Security
s
e
(
ta cens
r
u
li
ak
5 - 26
Sa
ya
h
T
n
Notes:
Press F11 to search for the responsibility. For example, Enter General
Ledger% to search for General Ledger related responsibilities.
Note down the request group name. In this case, the request group
name is GL Concurrent Program Group
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 27
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Navigation:
u
k thi
a
h
t
Select System
Administrator
use Responsibility
n
a
Click
to -> Responsibility -> Request
ayon Security
s
e
(
ta cens
r
u
li
ak
5 - 28
Sa
ya
h
T
n
Notes:
Press F11 to search for the request group. For example, Enter GL
Concurrent Program Group to search for General Ledger request
group.
Click on the Requests panel and create a new row by clicking File ->
New.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 29
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stisua concurrent program that can
r
h
T
n
aya
Note:
Please ensure that the environment file is initialized to access
$FND_TOP. The environment file is present in the home directory of
the unix box with an extension of .env. For example, run . ./apps.env to
initialize the environment file for the instance.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 31
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Installation Pack
Transfer the files which are part of the installation pack into
a new folder in the unix box.
Create a tar file of the contents using the following
command
tar -cvf XXTESTPROGEXTRACT.tar .
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
u
tare
a which
tfiles
r
S
part of the installation pack of an
Following are the common
u
s
k thi
a
outbound interface
h
t use
n
a
Package
to
ay specification
s
e
(
nsbody
ta Package
r
e
u
c
li program shell script
ak Extract
5 - 32
ya
Sa
h
T
n
Installation scripts
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
In this lesson, you should have learned to do the following:
Steps involved in Inbound Interface Deployment
Steps involved in Outbound Interface Deployment
Prepare Installation Pack
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
5 - 33
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Copyright 2009, Oracle. All rights reserved.
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to do the
following using Oracle Applications:
Create a Supplier
Enter a Purchase Requisition
Auto Create a Purchase Order
Receive Purchased Material
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6-2
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6-3
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6-4
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approve
Invoice
Enter
Invoice
Enter
Supplier
Match
PO
ns
a
r
t
n-
no
a
Create
s
a
Requisition
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Overview of Suppliers
u
k thi
t ha insthe
Set up n
suppliers
e Suppliers window to record information about
u
a
companies
and
from whom you purchase goods and
to individuals
ay eWhen
s
(
services.
you
enter
a
supplier that does business from multiple
s
a
n
t
r
e
you store supplier header information only once, and you
c
lilocations,
aku
Create
PO
6-5
Sa
ya
h
T
n
Create
Accounting
Entries
Pay
Invoice
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Define Suppliers
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. Navigate
to
thesPurchasing
Responsibility
e
u
n
a
2.
to Base->Suppliers to create a new supplier
aySelecteSupply
s
(
ta cens
r
u
li
ak
2
6-6
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Define Suppliers
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
t ha a snew
1. Forncreating
e supplier click on Create Supplier Button
u
a
2.
to an existing supplier, enter the search keyword and
ayFor searching
s
e
(
ns on Go Button.
ta ceclick
r
u
li
ak
6-7
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. Select
the
Standard
use template for creating the supplier
n
a
2.
ayEnterethetoSupplier information
s
(
ns on Apply button to create supplier header information
ta 3.ceClick
r
u
li
ak
3
6-8
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. After
creating
e Header information, enter the other
usSupplier
n
a
to for Supplier Sites
ayinformation
s
e
(
nscreating Supplier Site first create the site address, click on
ta 2.ceFor
r
u
li Address Book for creating the address
ak
6-9
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. Click
on
Address
useBook for creating the address for Supplier Site
n
a
2.
toexist then either use the existing address or create a
ayIf address
s
e
(
nsaddress for a different site.
ta cenew
r
u
li3. For creating a new site click on Create button.
ak
3
6 - 10
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. Enter
the
mandatory
use Address Information
n
a
2.
ayClickeontothe check boxes for Purchasing and Payables
s
(
ns on Continue Button
ta 3.ceClick
r
u
li
ak
3
6 - 11
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
2
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. Click
the
Check
useBox for Site Name.
n
a
2.
ayClickeontoApply Button.
s
(
ta cens
r
u
li
ak
6 - 12
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
o
n
a
2
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Define supplier
u
k thi
a
h
t
1. Enter
other
e information for Supplier Sites
mandatory
s
n
u
a
2.
ayWhenealltothe information for Supplier Sites are entered, click on
s
(
ns Button to apply the changes for Supplier Sites.
ta ceSave
r
u
li
ak
6 - 13
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 14
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 15
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
WIP
Order
Management
Import / Reschedule
requisitions
Internal
Requisition
Order
Management
ns
a
r
t
n-
no
a
s PO
Requisition
a
h
Pool
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Overview of Suppliers
u
k thi
a
h
t
Requisitions
represent
use demand for goods and services. Demand can
n
a
come
ato
variety of sources.
ay from
s
e
(
s variety of sources or by manually we can create
nthese
ta Using
r
e
u
c
liPurchase Requisitions
ak
Manual
Create
6 - 16
aya
h
T
n
Requisition
Approval
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Navigate
to
thesPurchasing
Responsibility
e
u
n
a
2.
Requisitions to enter a Purchase
to
aySelecteRequisitions->
s
(
s
n
rta liceRequisition
u
k
a
6 - 17
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
1
2
ns
a
r
t
n-
no
a
s
6
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Enter
Header
= XXPurchases
e
uDescription
s
n
a
2.
to Tab
aySelecteLines
s
(
ns Num = 10, Type = Goods, Item = CM12399, Rev = A,
ta 3.ceEnter
r
u
li Quantity = 10, Price = 100, Need by = Todays Date
ak
4
6 - 18
ya
Sa
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
2
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Click
the
check
e to Submit for Approval
usbox
n
a
2.
ayClickeOKtoButton to send the notifications to Supervisor for
s
(
ns
ta ceApproval
r
u
li
ak
6 - 19
ya
Sa
h
T
n
Note:
To see the status of the Purchase Requisition, Navigate to Purchasing
Responsibility-> Requisitions-> Requisition Summary, Now Query the
Purchase Requisition Number which is generated while creating the
Requisitions.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 20
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 21
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Demand
Inventory
Order
Management
WIP
Other
Systems
Import / Reschedule
requisitions
Internal
Requisition
Order
Management
ns
a
r
t
n-
no
a
s
Requisition
a
h
PO
Pool
)
m
e
o
ilc t Guid
a
gm den
@
ta s Stu
r
Purchase Orders
u
k thi
a
h
t
Demand
for
Goods
useor Services
n
a
torequisitions from demand generated in Demand using
ay Import
s
e
(
ta censInventory, Work-in-Process (WIP), Order Management or
r
u
other non-Oracle systems.
li
ak
Manual
Create
Requisition
6 - 22
aya
h
T
n
Approval
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Navigate
to
Purchasing
e Responsibility
u
s
n
a
2.
to
aySelecteAutoCreate
s
(
ta cens
r
u
li
ak
6 - 23
Sa
ya
h
T
n
Note:
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
2
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Enter
the
Purchase
use Requisition Number = 14297
n
a
2.
ayClickeontoFind Button to query the Purchase Requisitions for
s
(
Purchase Order.
ns
ta ceAutoCreate
r
u
i
k
l
a
6 - 24
ya
Sa
h
T
n
Note:
In the previous practice for Creating a Purchase Requisitions, we have
created a Purchase Requisition Number 14297. Use this Purchase
Requisition Number for AutoCreate Purchase Order.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Select
the
Purchase
use Requisitions.
n
a
2.
to Document Type, Grouping from the Options
aySelecteAction,
s
(
ns on Automatic Button to create the Purchase Order
ta 3.ceClick
r
u
li automatically based on Purchase Requisitions
ak
3
6 - 25
h
T
n
ya
Sa
Note:
In the previous practice for Creating a Purchase Requisitions, we have
created a Purchase Requisition Number 14297. Use this Purchase
Requisition Number for AutoCreate Purchase Order.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Enter
the
Supplier
use Name and Supplier Site Information
n
a
2.
to Information
ayEntereCurrency
s
(
ns on Create Button to create the Purchase Order
ta 3.ceClick
r
u
li automatically based on Purchase Requisitions
ak
6 - 26
h
T
n
ya
Sa
Note:
In the previous practice for Creating a Purchase Requisitions, we have
created a Purchase Requisition Number 14297. Use this Purchase
Requisition Number for AutoCreate Purchase Order.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Header
Information
use of Purchase Order will be created
n
a
to for Purchase Requisitions
ayautomatically
s
e
(
ns Information of Purchase Order will be created
ta 2.ceLines
r
u
li Automatically for Purchase Requisitions
ak
3
6 - 27
h
T
n
aya
Note:
In the previous practice for Creating a Purchase Requisitions, we have
created a Purchase Requisition Number 14297. Use this Purchase
Requisition Number for AutoCreate Purchase Order.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Agenda
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 28
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 29
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Navigate
to
Purchasing
e Responsibility
u
s
n
a
2.
-> Receipt
to
aySelecteReceiving
s
(
s
rta licen
u
k
a
6 - 30
Sa
ya
h
T
n
Note:
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Select
the
Organization
use for receiving the Purchase Order Items
n
a
ay e to
s
(
ta cens
Note:
r
u
li
ak
6 - 31
Sa
ya
h
T
n
When you first access the Receipts window, you will be forced to choose
an inventory organization from the list of values if you can process
receipts for more than one. You can change the organization manually if
you have access to the Change Organization window. Although it is not
always the case. When you create purchase orders, for example, you
specify goods to be shipped to specific inventory organizations. You will
only be able to view expected receipts (scheduled shipments for a
purchase order line item) for the inventory organization you choose. Use
the Organization Access form to limit access to the list of inventory
organizations for a specific responsibility.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Query
the
Purchase
use Order Number
n
a
2.
ayEnterethetoSupplier Name
s
(
ns on Find Button to search the Purchase Order for Receiving
ta 3.ceClick
r
u
li
ak
6 - 32
Sa
ya
h
T
n
Note:
In the previous practice for AutoCreate a Purchase Order, we have
created a Purchase Order Number 5964, Use this Purchase Order
Number to receive the Items from Supplier
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Receipt
Header
e
usInformation
n
a
o Information
2.
tLines
ayReceipt
s
e
(
ta cens
r
u
li
ak
6 - 33
Sa
ya
h
T
n
Note:
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
2
1
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
Create a Purchase Requisitions
u
k thi
a
h
t
1. Click
the
Check
useBox for Line Items (By default it will show Line
n
a
Order, If we are receiving less than the
tofrom Purchase
ayQuantity
s
e
(
Line
Quantity,
We
can
change
the value for Quantity)
s
a
n
t
r
e
li2.c Click on Save to generate the Receipt Number in Header Part
aku
6 - 34
h
T
n
aya
Note:
In the previous practice for AutoCreate a Purchase Order, we have
created a Purchase Order Number 5964, Use this Purchase Order
Number to receive the Items from Supplier
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
After completing this lesson, you should now be able to do the
following:
Create a Supplier
Enter a Purchase Requisition
Auto Create a Purchase Order
Receive Purchased Material
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
6 - 35
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
Use of eTRM
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Copyright 2009, Oracle. All rights reserved.
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to understand
How to use eTRM
Searching tables and APIs using eTRM
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
7-2
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
eTRM URL
1
2
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
a
rtbrowser
S
Open eTRM using k
web
u
s
i
h
a
t
h
t
1. Enter
https://metalink.oracle.com
in URL area of web
e
us
n
a
to
ay browser
s
e
(
s the login credential
ta ce2. nEnter
r
u
li 3. Click on Sign In button to login into the Metalink
ak
7-3
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Knowledge Tab
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
a
rtbrowser
S
Open eTRM using k
web
u
s
i
h
a
t
h
t
1. Click
on
Knowledge
tab
e
us
n
a
ay e to
s
(
ta cens
r
u
li
ak
7-4
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
eTRM Link
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
a
rtbrowser
S
Open eTRM using k
web
u
s
i
h
a
t
h
t
1. Scroll
down
the
web
browser
e
us
n
a
o Applications Electronic Technical Reference
ton
ay2. Click
s
e
(
s
(eTRM))
ta cenManuals
r
u
i
k
l
a
3. After click on eTRM a new web page will open for eTRM
7-5
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
eTRM Page
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
a
rtbrowser
S
Open eTRM using k
web
u
s
i
h
a
t
h
t
1. Select
the
Application
version.
e
us
n
a
o table or API name in the search field and then
tthe
ay2. Enter
s
e
(
s on Search Button
ta cenclick
r
u
li 3. All the database object related to the table \ API name will
ak
3
7-6
aya
h
T
n
be displayed.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
a
rtbrowser
S
Open eTRM using k
web
u
s
i
h
a
t
h
t
Search result
showing
e
n us
a
y
o
tname
a1. Table
s
e
(
s
ta ce2. nDescription
of the table
r
u
li
ak
7-7
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
a
rtbrowser
S
Open eTRM using k
web
u
s
i
h
a
t
h
t
1. Table
Indexes
e
n us
a
y
to descriptions.
a2. Column
s
e
(
ta cens
r
u
li
ak
7-8
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
After completing this lesson, you should be able to understand
How to use eTRM
Searching Tables and APIs using eTRM
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
7-9
h
T
n
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
R12 Interfaces
and
APIs - IBM
)
m
e
o uid
Graduate
ilc Program
a
m ent G
g
@Case Study
tud
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
D81888GC20
Edition 2.0
August 2013
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Disclaimer
This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy
and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any
way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print,
display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express
authorization of Oracle.
The information contained in this document is subject to change without notice. If you find any problems in the document, please
report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.
Restricted Rights Notice
If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United
States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS
The U.S. Governments rights to use, modify, reproduce, release, perform, display, or disclose these training materials are
restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract.
ns
a
r
t
n-
Trademark Notice
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
hasInvoices
Migration of)AP
using
m
e
Open iInterface
lco Guid
a
m ent
g
@Case Study
tud
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
bl
a
r
fe
Purpose ........................................................................................................ 1
Background ................................................................................................. 1
Scope and Application ................................................................................ 1
Audience ..................................................................................................... 2
Source system ............................................................................................. 2
Assumptions ................................................................................................ 2
Pre-Requisites ............................................................................................. 3
Data Dependencies...................................................................................... 3
Business Rules .......................................................................................... 3
Approach ..................................................................................................... 4
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
Module Lista
.......................................................................................................
5
h
t
e
n Concurrent
us Program ...................................................................... 9
a
Registering
y
o
t
a
(s nse
a
t
r licDownloading
e
Concurrent Program Script ...................................................... 18
aku
h
T
n
aya
Deployment ..................................................................................................... 19
Extract File Layout ......................................................................................... 20
Extract File Mapping to Staging Table Columns ........................................... 21
Calling Custom Concurrent Program.............................................................. 22
Calling Standard Import Concurrent Program ................................................ 23
Query interface records ................................................................................... 24
Error Handling ................................................................................................ 25
Open and Closed Issues for this Deliverable .................................................. 26
Open Issues ............................................................................................... 26
Closed Issues ............................................................................................. 26
Document Control
iii
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Introduction
The AP Invoice has been designed to assist the accounts payable department
in the organization of vendor invoices for approval and payment. It can be of
Standard, Credit Memo, and Debit Memo, PrePayment, Expense Report etc.
Use the Payables Invoice window to enter the standard invoices, debit memos,
credit memos, Expense Report etc. You can also query and update supplier
invoices in this window.
To enter or query an AP Invoices from front end navigate to Payables
Responsibility, Select Invoice -> Entry -> Invoices.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
This document describes the:
o
d
i
u
itolcdemonstrate
G
a
t
This case study is intended
the creation of Standard
m en
g
Invoices Using Oracle
@ Payables
tud Interface table.
a
t
r
S
u mapping
Detailed
is from the source system(s) to the Oracle
kdata
h
a
t
h
Applications
t useE-Business Suite (EBS) Payables (AP) Transactions
n
a
to
ay records
s
e
(
ta censFile layout to be used for interface.
r
u
li Approach and technical design for the interface
ak
Purpose
h
T
n
ya
Sa Background
This case study document is designed to demonstrate a practical scenario that
occurs during implementation of oracle Payables.
Scope and Application
The following boundaries are specific to the Interfaces of AP Invoices
using AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE
open interface table
bl
a
r
fe
This document demonstrates the use of open interface table for AP Invocies to
migrate AP Invoices from source system to Oracle Applications.
Introduction
1 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
Audience
a
h
)
m
e
o
d
This document is intended for the following
individuals:
i
ilc t Gu
a
This document should
be used e
forndemonstration purposes only.
gm
d
@
ta s Stu
r
u
k thi
a
h
Source system
t
use
n
a
y implementation
to
aThe
s
team studies the source system and understands the data
e
(
s
a
n
t
e to be migrated to Oracle Applications. This data is then extracted and
ur licrequired
k
cleansed
from the source system (this is done by IT team of source system) in
a
h
T
the format as agreed by the client, source system IT team and the
n
a
y
implementation team. The data mapping section describes the data format of
a
Assumptions
This case study document is based on the following assumptions:
Users have access to Oracle Applications for the following
responsibility.
Payable Manager
System Administrator
bl
a
r
fe
Introduction
2 of 26
All the functional setups and master data (as listed in pre-requisites) are
already completed in Oracle Applications.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
2. Payment Terms
3. Invoice Lookup Types
ns
a
r
t
n-
bl
a
r
fe
no
a
hasa distribution
5. Distribution Set Rules (Must be)setup
set for PUB)
m
e
o
ilc t Guid
6. Currency
a
gm den
@
tu for Oracle Payables
7. SystemrtProfile
a Options
S
u
s
k thi
a
h
t
8.
Tax
e and Rates
uCodes
s
n
a
ay e to
s
(
ta cens
r
Data Dependencies
u
k
li
a
h
T
n
a
AP Invoices
ay
4. Invoice Sources
Suppliers
Business Rules
Following business rules are applicable for the AP Invoices conversion
process.
N/A
Introduction
3 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approach
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e
uforsmigrating
TheaApproach
AP Invoices data from source system to Payables
n
y
o
t table
aopen interface
s
e
(
s
rta licen1. Extract the data file from source system
u
k
a
2. Load the data file into staging table
h
T
n
aya
Introduction
4 of 26
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: AP Invoices Interface Program includes the f ollowing
concurrent programs:
XX<EMPID>: AP Invoices Interface Program
The XX<EMPID>: AP Invoices Interface Program concurrent
program
is ba
sed on t
he s
tored pr
ocedure
XXINT_AP_INVOICE_PKG.main that i s r egistered as a P L/SQL
executable.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
u Program
ilc Loader
G
XX<EMPID>: AP Invoices Interface
a
t
gm den
@
tuInvoices Interface Loader Program
The XX<EMPID>:
ta s AP
r
S
u
iis based on t he S QL* L oader c ontrol f ile, t hat i s
kprogram
concurrent
h
a
t
h
t
e
registered
n asusa Loader executable.
a
y
a e to
s
(
above program loads data from the path specified as parameter
ta cens The
r
u
value
in loader concurrent program to the staging table.
li
ak
h
T
n
ya
Sa
NOTE:
1. Change the <EMPID> with your Employee ID,
2. Follow the steps for registering concurrent program from Registering
Concurrent Program section.
Stored Procedures
XXINT_AP_INVOICE_PKG
procedures:
package
XXINT_AP_INVOICE_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
XXINT_AP_INVOICE_PKG.validate
bl
a
r
fe
Module List
5 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
XXINT_AP_INVOICE_PKG.import
This proc edure l oads al l t he va lid data f rom t he st aging table to Oracle
Invoices
interface t
ables
AP_INVOICES_INTERFACE
and
AP_INVOICE_LINES_INTERFACE.
XXINT_AP_INVOICE_PKG.print_error
This procedure reports the errored records in the log file.
XXINT_AP_INVOICE_PKG.record_summary
This procedure will display the status of staging table records
ns
a
r
t
n-
bl
a
r
fe
NOTE: Please refer the attached documents for Package Specifications and
Package body. Kindly open the attached script in notepad.
an
s
ha
)
m ide
o
c
1. Package Specification:
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e
Body:
2. Package
s
n
u
a
ay e to
s
(
ta cens
r
u
li Staging Table
ak
h
T
n
aya
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.
Case Study: Migration of AP Invoices using Open Interface
Module List
6 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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
ns
a
r
t
n-
NOTE: Please refer the attached script for table and package synonym.
Kindly open the attached script in notepad.
an
s
ha
)
m ide
o
c
il t Gu
1. Package synonym script:ma
n
g
e
d
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
to script:
a2.yTableesynonym
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
Module List
7 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
1. Package Specification Script
2. Package Body Script
3. Staging Table Script
4. SQL* Loader Script
NOTE: Please refer the attached Install script for deployment of AP Invoices
object on Oracle Applications Server. Kindly open the attached script in
notepad.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm dIDenfor each object you create and deploy
Note: Please prefix your employee
@
tu
in Application Server
taand sDatabase.
r
S
u
i
kPackagethName
A.)
a
h
t
e
s Name
n B.) uTable
a
y
C.)
Synonym
Name
o
a et
s
(
Concurrent Program Executable.
ta cens D.)
r
u
E.)
Concurrent
Program Name.
li
ak
1. Install Script:
h
T
n
ya
Sa
bl
a
r
fe
Module List
8 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
9 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
ta s Registering
Executable
Form
r
S
u
i
k
a e th
h
t
3. Select
Concurrent
s -> Program -> Define
n
u
a
y
o
a et
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
10 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
11 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
Concurrent Program Parameters
Form
)
m
e
o
d
i
ilc t Gu
a
n
gm Program
e
Registering Interface Concurrent
d
@
tufor XX<EMPID>: AP Invoices Interface
ta program
To register a concurrent
r
S
u
s
i
k Applications
Program ina
Oracle
Navigate to System Administrator
h
t
h
t
e
Responsibility
an to us
y
a
(s 1. Select
seConcurrent -> Program -> Executable
a
n
t
r
e
lic
aku
h
T
n
ya
Sa
12 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
13 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e in the Concurrent Program Form
TheuFollowing
4. Enter
s
n
a
o
Name: Enter XX<EMPID>: AP Invoices Interface
ay ea. tProgram
s
(
s
rta licen b. Program
u
k
Short Name: Enter a unique concurrent program short name, for
a
h
T
n
aya
example: XXAPINVOICEMAIN
c. Application: Select the value from LOV, as we would be executing
this concurrent program from Payables Applications so select
Custom Development and add this concurrent program to the
Payables Request Group.
d. Description: Enter the description of this concurrent program.
e. Executable Name: Select the executable name from LOV, as we
have already registered an executable for loader program so select
XXAPINVOICEMAIN from LOV.
f. Executable Method: Executable method will be populated
automatically.
g. Parameters if any: Select the Parameter Button to specify the
parameter list. In our case there should be two parameters we
would be passing. A) Data File Path B) Data File Name
14 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
mForm ide
o
Concurrent Program
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
15 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
16 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
Request Group Form
i
ilc t Gu
a
gm den
@
tu in the Request Group and save the
ta s SProgram
3. Add an entry for Concurrent
r
u
k thi
work.
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
17 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
u
i0lYcDOWNLOAD
G
a
FNDLOAD apps/apps
t
gm den
$FND_TOP/patch/115/import/afcpprog.lct
XXAPINVOICELOAD.ldt
@
u
t
a
t
PROGRAM
CONCURRENT_PROGRAM_NAME
=
r is S
u
k
XXAPINVOICELOAD
a e th
h
t
h
T
n
aya
$FND_TOP/patch/115/import/afcpprog.lct XXAPINVOICEMAIN.ldt
PROGRAM CONCURRENT_PROGRAM_NAME =
XXAPINVOICEMAIN
18 of 26
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant
script, synonym script, concurrent program script and install script, please
follow the below steps
1.
2.
9.
cd XXAPINTOIT
bl
a
r
fe
ns
a
r
t
3. Create a Staging Directory [E.g. XXAPINTOIT] inntemporary
area on
o
n
Oracle Application Server.
a
s
a
4. mkdir -p XXAPINTOIT
) h e
m
o uid
ilcon the
5. Change the Permissions
Gtemp directory.
a
t
m
n
g
de
@
755
XXAPINTOIT
6. chmod
u
t
a
t
ur his S
k
a
FTP thetXXAPINTOIT.tar.gz file in BINARY mode to directory
th7. XXAPINTOIT
e
s
n
u
a
ay e to
s
(
ta cens 8. Change directory to XXAPINTOIT as given below
r
u
li
ak
h
T
n
ya
Sa
Deployment
19 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
20 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
Size
Invoice_type
Invoice_num
Curr_code
Vendor_number
Vendor_site
Payment_term
Line_number
Description
Header_amount
Line_amount
Source
Distribution_set_name
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Number
Number
Varchar2
Varchar2
50
20
20
30
30
10
10
250
Invoice_type
Invoice_num
Curr_code
Vendor_number
Vendor_site
Payment_term
Line_number
Description
Header_amount
Line_amount
Source
Distribution_set_name
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
100
100
ns
a
r
t
n-
bl
a
r
fe
h
T
n
ya
Sa
21 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
SRS Form
h
T
n
ya
Sa
22 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
an
s
ha
c. Base Due Date on Trx Date: m
No)
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
lice
aku
b. Default Date: Sysdate
ns
a
r
t
n-
bl
a
r
fe
h
T
n
ya
Sa
23 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
AP Transaction Form
r
u
li
ak
h
T
n
ya
Sa
24 of 26
Error Handling
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following error can occur while processing the AP Transaction data file?
1. During loading data into staging table.
o When error occurred while loading the data file using
SQL*Loader concurrent program it generates two files they are
ns
a
r
t
n-
no
a
SQL*Loader Log File:sDetailed information about
hloga file. Any errors found
the load is stored in the
)
m
during parsingcof
the control
o
idefile are stored in the log
u
l
i
file. The a
file also
Gidentifies the number of records
t
m log loaded.
n
g
successfully
e The log file must be available
d
@
u
t
a
entire run of the SQL*Loader. When loading
rt during
StheSQL*Loader,
u
s
i
k
data
with
nothing should be assumed
h
a
t
h
t
e
n us without reviewing the log files
a
y
to the records in staging table
a 2. Validating
s
e
(
ta cens
r
u
li
ak
o While validating the data in staging table it can complete with
h
T
n
aya
Error Handling
bl
a
r
fe
25 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
26 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
hasTransactions
Migration of)AR
m
e
o
d
i
usingilStandard
c Gu API
a
m ent
g
@Case Study
tud
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
bl
a
r
fe
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
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
Module Lista
.......................................................................................................
5
h
t
e
n Concurrent
us Program ...................................................................... 9
a
Registering
y
o
t
a
(s nse
a
t
r licDownloading
e
Concurrent Program Script ...................................................... 18
aku
h
T
n
aya
Deployment ..................................................................................................... 19
Extract File Layout ......................................................................................... 20
Extract File Mapping to Staging Table Columns ........................................... 21
Calling Custom Concurrent Program.............................................................. 22
Query interface records ................................................................................... 23
Error Handling ................................................................................................ 24
Open and Closed Issues for this Deliverable .................................................. 25
Open Issues ............................................................................................... 25
Closed Issues ............................................................................................. 25
Document Control
iii
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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 chargebacks in the Transactions
Summary window.
To enter or query an AR Transaction from front end navigate to Receivables
Responsibility, Select Transactions -> Transactions.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
c Gu
This document describes the: ail
m ent
g
This case study is
@intendedtutoddemonstrate the creation of Standard
a
t
r
S Debit Memo.
Invoice, Credit
Memo
u his and
k
a
t
th data
n
Detailed
mapping from the source system(s) to the Oracle
e
s
u E-Business Suite (EBS) Receivables (AR) Transactions
ya Applications
o
t
a
s
e
( nsrecords
a
t
r
e
lic File layout to be used for interface.
aku
Purpose
h
T
n
aya
Background
This case study document is designed to demonstrate a practical scenario that
occurs during implementation of oracle receivables.
bl
a
r
fe
Introduction
1 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
bl
a
r
3. As the API itself will populate the data from staging table
fe to
s
n
Receivables base tables so there is no ne ed of rrunning
t a Auto
Invoice Import program.
n
no
a
s
a
h
)
Audience
m
e
o
d
i
c Gindividuals:
u
ilfollowing
a
This document is intended for
the
t
gm den
@
u for demonstration purposes only.
This document
be tused
tashould
r
S
u
s
k thi
a
h
t
use
n
a
Source system
ay e to
s
(
s
nimplementation
ta cThe
team studies the source system and understands the data
r
e
u
i required to be migrated
k
l
to Oracle Applications. This data is then extracted and
a
h
T
cleansed from the source system (this is done by IT team of source system) in
n
a
y
the format as agreed by the client, source system IT team and the
a
implementation team. The data mapping section describes the data format of
source system to Oracle Applications.
Assumptions
This case study document is based on the following assumptions:
Users have access to Oracle Applications for the following
responsibility.
Receivables Manager
System Administrator
Introduction
2 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
All the functional setups and master data (as listed in pre-requisites) are
already completed in Oracle Applications.
The extract-file layout must be in the format as specified in the extract
file layout section
Pre-Requisites
Prerequisite set-ups are required for the interface. These setups include,
but are not limited to:
ns
a
r
t
n-
2. Payment Terms
bl
a
r
fe
no
a
s
a
h
4. Invoice Sources
)
m
e
o
d
i
u
ilc Rules
G
5. Invoicing and Accounting
a
t
gm den
@
tu
6. Standard
taMemos Lines
r
S
u
k thi
a
h
t
7.
Customer
use Profile Classes
n
a
o Profile Options for Oracle Receivables
ay e8. tSystem
s
(
ta cens
r
u
li
9. Tax Codes and Rates
ak
3. Transaction Types
h
T
n
ya
Sa
Data Dependencies
AR Invoices
In order to migrate AR Transactions the following entities must have been
migrated successfully:
Customers
Items
Introduction
3 of 25
Business Rules
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approach
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Introduction
4 of 25
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX-<EMPID>: AR Transactions Interface API Program includes the
following concurrent programs:
XX<EMPID>: AR Transactions Interface Program
The XX<EMPID>: AR Transactions Interface API Program
concurrent pr ogram i s ba sed on t
he
stored
procedure
XXAPI_AR_INVOICE_PKG.main that i s r egistered as a P L/SQL
executable.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
c Gu
ilInterface
XX<EMPID>: AR Transactions
a
m ent API Loader Program
g
@AR Transactions
tud
a
The XX<EMPID>:
Interface API Loader Program
t
r
S
u
s
i
k
concurrent
program
is
based
on
t
he
S
QL* L oader c ontrol f ile, t hat i s
h
a
t
h
t
e
registered
n asusa Loader executable.
a
y
a e to
s
(
above program loads data from the path specified as parameter
ta cens The
r
u
value
in loader concurrent program to the staging table.
li
ak
h
T
n
ya
Sa
NOTE:
1. Change the <EMPID> with your Employee ID,
2. Follow the steps for registering concurrent program from Registering
Concurrent Program section.
Stored Procedures
XXAPI_AR_INVOICE_PKG
procedures:
package
consist
XXAPI_AR_INVOICE_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
Case Study: Migration of AR Transactions using Standard API
bl
a
r
fe
Module List
5 of 25
XXAPI_AR_INVOICE_PKG.validate
This procedure performs the necessary validations on the staging tables.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
XXAPI_AR_INVOICE_PKG.import
This pr
ocedure w
ill c
all the
s
tandard
API
AR_INVOICE_API_PUB.create_single_invoice, which will cr eate the
records in Receivables base table for AR Transactions
XXAPI_AR_INVOICE_PKG.print_error
This procedure reports the errored records in the log file.
XXAPI_AR_INVOICE_PKG.record_summary
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
1. Package Specification:
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ns Body:
ta c2.ePackage
r
u
li
ak
NOTE: Please refer the attached documents for Package Specifications and
Package body. Kindly open the attached script in notepad.
h
T
n
ya
Sa
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.
Grant Script
If table and package are created in custom schema then grant the table and
package to APPS schema
Case Study: Migration of AR Transactions using Standard API
Module List
6 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
NOTE: Please refer the attached script for table and package granting. Kindly
open the attached script in notepad.
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
ta script:
r
S
1. Package synonym
u
s
k thi
a
h
t
use
n
a
ay e to
s
(
ns synonym script:
ta c2.eTable
r
u
li
ak
NOTE: Please refer the attached script for table and package synonym.
Kindly open the attached script in notepad.
h
T
n
ya
Sa
bl
a
r
fe
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
Module List
7 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
1. Package Specification Script
2. Package Body Script
3. Staging Table Script
4. SQL* Loader Script
NOTE: Please refer the attached Install script for deployment of AR
Transactions object on Oracle Applications Server. Kindly open the attached
script in notepad.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm dIDenfor each object you create and deploy
Note: Please prefix your employee
@
tu
in Application Server
taand sDatabase.
r
S
u
i
kPackagethName
A.)
a
h
t
e
s Name
n B.) uTable
a
y
C.)
Synonym
Name
o
a et
s
(
Concurrent Program Executable.
ta cens D.)
r
u
E.)
Concurrent
Program Name.
li
ak
1. Install Script:
h
T
n
ya
Sa
bl
a
r
fe
Module List
8 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
9 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to Executable Registering Form
s
(
ta cens
r
u
li 3. Select Concurrent -> Program -> Define
ak
h
T
n
ya
Sa
10 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
11 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
Concurrent Program Parameters
Form
)
m
e
o
d
i
ilc t Gu
a
n
gm Program
e
Registering Interface Concurrent
d
@
tufor XX<EMPID>: AR Transactions
ta program
To register a concurrent
r
S
u
s
kProgramthini Oracle Applications Navigate to System
Interface API
a
h
t
e
Responsibility
Administrator
s
n
u
a
ay e to
s
(
ns Concurrent -> Program -> Executable
ta c1.eSelect
r
u
li
ak
h
T
n
ya
Sa
12 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
13 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e in the Concurrent Program Form
TheuFollowing
4. Enter
s
n
a
o
Name: Enter XX<EMPID>: AR Transactions
ay ea. tProgram
s
(
s
API Program
rta licen b. Interface
u
k
Short
Name:
Enter a unique concurrent program short name, for
a
h
T
n
aya
example: XXAPIARINVOICEMAIN
c. Application: Select the value from LOV, as we would be executing
this concurrent program from Receivables Applications so select
Receivables.
d. Description: Enter the description of this concurrent program.
e. Executable Name: Select the executable name from LOV, as we
have already registered an executable for loader program so select
XXAPIARINVOICEMAIN from LOV.
f. Executable Method: Executable method will be populated
automatically.
g. Parameters if any: Select the Parameter Button to specify the
parameter list. In our case there should be two parameters we
would be passing. A) Data File Path B) Data File Name
14 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
mForm ide
o
Concurrent Program
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
15 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
16 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
c Gu
ilForm
a
Request Group
m ent
g
@ tud
a
t
r
S
uConcurrent
s
i
k
3. Add an entryafor
Program in the Request Group and save the
h
h se t
work. nt
ya to u
a
s
( nse
a
t
r
lice
aku
h
T
n
ya
Sa
17 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
u
i0lYcDOWNLOAD
G
a
FNDLOAD apps/apps
t
gm den
$FND_TOP/patch/115/import/afcpprog.lct
@
ta s Stu
XXAPIARINVOICELOAD.ldt
PROGRAM
r
u
i
k
CONCURRENT_PROGRAM_NAME
= XXAPIARINVOICELOAD
h
a
t
h
t
e
us
nTo
a
h
T
n
ya
Sa
18 of 25
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant
script, synonym script, concurrent program script and install script, please
follow the below steps
1.
2.
bl
a
r
3. Create a Staging Directory [E.g. XXAPIARINVOICE] in temporary
fe
s
n
area on Oracle Application Server.
tra
n
no
4. mkdir -p XXAPIARINVOICE
a
s
hadirectory.
5. Change the Permissions on the)temp
m
e
o
d
i
ilc t Gu
6. chmod 755 XXAPIARINVOICE
a
gm den
@
7. FTP tthe
file in BINARY mode to directory
tu
a XXAPIARINVOICE.tar.gz
r
S
XXAPIARINVOICE
u
s
k thi
a
h
t
e directory to XXAPIARINVOICE as given below
8. uChange
s
n
a
ay e to
s
(
ta cens 9. cd XXAPIARINVOICE
r
u
li
ak
h
T
n
ya
Sa
Deployment
19 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
20 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Size
Invoice_class
Trx_type
Trx_num
Curr_code
Customer_number
Location
Payment_term
Inventory_item
Line_number
Description
Uom
Amount
Price
Quantity
50
20
20
10
30
10
10
40
Invoice_class
Trx_type
Trx_num
Curr_code
Customer_number
Location
Payment_term
Inventory_item
Line_number
Description
Uom
Amount
Price
Quantity
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Number
Varchar2
Varchar2
Number
Number
Number
250
10
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
21 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
aya
SRS Form
1. Select the Concurrent Program name from LOV
2. Enter the parameter value for Data File Path and Data File Name.
3. Click on Submit Button to run the request.
22 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
AR Transaction Form
h
T
n
ya
Sa
23 of 25
Error Handling
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following error can occur while processing the AR Transaction data file?
1. During loading data into staging table.
o When error occurred while loading the data file using
SQL*Loader concurrent program it generates two files they are
ns
a
r
t
n-
no
a
SQL*Loader Log File:sDetailed information about
hloga file. Any errors found
the load is stored in the
)
m
during parsingcof
the control
o
idefile are stored in the log
u
l
i
file. The a
file also
Gidentifies the number of records
t
m log loaded.
n
g
successfully
e The log file must be available
d
@
u
t
a
entire run of the SQL*Loader. When loading
rt during
StheSQL*Loader,
u
s
i
k
data
with
nothing should be assumed
h
a
t
h
t
e
n us without reviewing the log files
a
y
to the records in staging table
a 2. Validating
s
e
(
ta cens
r
u
li
ak
o While validating the data in staging table it can complete with
h
T
n
aya
Error Handling
bl
a
r
fe
24 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
25 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
hasTransactions
Migration of)AR
m
e
o
d
i
usingilOpen
c GInterface
u
a
t
gm den
@
tu
ta Case
Study
r
S
u
s
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
bl
a
r
fe
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
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
Module Lista
.......................................................................................................
5
h
t
e
n Concurrent
us Program ...................................................................... 9
a
Registering
y
o
t
a
(s nse
a
t
r licDownloading
e
Concurrent Program Script ...................................................... 18
aku
h
T
n
aya
Deployment ..................................................................................................... 19
Extract File Layout ......................................................................................... 20
Extract File Mapping to Staging Table Columns ........................................... 21
Calling Custom Concurrent Program.............................................................. 22
Calling Standard Import Concurrent Program ................................................ 23
Query interface records ................................................................................... 24
Error Handling ................................................................................................ 25
Open and Closed Issues for this Deliverable .................................................. 26
Open Issues ............................................................................................... 26
Closed Issues ............................................................................................. 26
Document Control
iii
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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 chargebacks in the Transactions
Summary window.
To enter or query an AR Transaction from front end navigate to Receivables
Responsibility, Select Transactions -> Transactions.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
This document describes the:
gm den
@
tuto demonstrate the creation of Standard
tais intended
r
S
This case u
study
s
i and Debit Memo.
kCredit Memo
h
a
t
Invoice,
h
t
e
us
nDetailed
a
Purpose
h
T
n
aya
Background
This case study document is designed to demonstrate a practical scenario that
occurs during implementation of oracle receivables.
bl
a
r
fe
Introduction
1 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
Audience
a
h
)
m
e
o
d
This document is intended for the following
individuals:
i
ilc t Gu
a
This document should
be used e
forndemonstration purposes only.
gm
d
@
ta s Stu
r
u
k thi
a
h
Source system
t
use
n
a
y implementation
to
aThe
s
team studies the source system and understands the data
e
(
s
a
n
t
e to be migrated to Oracle Applications. This data is then extracted and
ur licrequired
k
cleansed
from the source system (this is done by IT team of source system) in
a
h
T
the format as agreed by the client, source system IT team and the
n
a
y
implementation team. The data mapping section describes the data format of
a
Assumptions
This case study document is based on the following assumptions:
Users have access to Oracle Applications for the following
responsibility.
Receivables Manager
System Administrator
bl
a
r
fe
Introduction
2 of 26
All the functional setups and master data (as listed in pre-requisites) are
already completed in Oracle Applications.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Pre-Requisites
Prerequisite set-ups are required for the interface. These setups include,
but are not limited to:
1. Receivables System Options
2. Payment Terms
3. Transaction Types
ns
a
r
t
n-
bl
a
r
fe
no
a
as
5. Invoicing and Accounting Rules) h
m
e
o
d
i
ilc t Gu
6. Standard Memo Lines
a
gm den
@
tu
7. Customer
Classes
taProfile
r
S
u
s
k thi
a
h
t
8.
System
useProfile Options for Oracle Receivables
n
a
o Codes and Rates
ay e9. tTax
s
(
ta cens
r
u
li
10. Batch Sources (Setup a batch source with name Test)
ak
4. Invoice Sources
h
T
n
ya
Sa Data Dependencies
AR Invoices
In order to migrate AR Transactions the following entities must have been
migrated successfully:
Customers
Items
Introduction
3 of 26
Business Rules
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approach
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Introduction
4 of 26
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: AR Transactions Interface Program includes the
following concurrent programs:
XX<EMPID>: AR Transactions Interface Program
The XX<EMPID>: AR Transactions Interface Program concurrent
program
is
based
on
the
stored
procedure
XXTEST_AR_INVOICE_PKG.main that is registered as a PL/SQL
executable.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
c Gu
ilInterface
XX<EMPID>: AR Transactions
a
m ent Loader Program
g
@ AR tTransactions
ud
a
The XX<EMPID>:
Interface Loader Program
t
r
S
u
s
i
k
concurrent
program
is
based
on
the
SQL*
Loader control file, that is
h
a
t
h
t
e
registered
n asusa Loader executable.
a
y
a e to
s
(
above program loads data from the path specified as parameter
ta cens The
r
u
value
in loader concurrent program to the staging table.
li
ak
h
T
n
ya
Sa
NOTE:
1. Change the <EMPID> with your Employee ID,
2. Follow the steps for registering concurrent program from Registering
Concurrent Program section.
Stored Procedures
XXTEST_AR_INVOICE_PKG package consist the following stored
procedures:
XXTEST_AR_INVOICE_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
Case Study: Migration of AR Transactions using Open Interface
bl
a
r
fe
Module List
5 of 26
XXTEST_AR_INVOICE_PKG.validate
This procedure performs the necessary validations on the staging tables.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
XXTEST_AR_INVOICE_PKG.import
This proc edure l oads al l t he va lid data f rom t he st aging table to Oracle
Receivables interface tables RA_INTERFACE_LINES_ALL
XXTEST_AR_INVOICE_PKG.print_error
This procedure reports the errored records in the log file.
XXTEST_AR_INVOICE_PKG.record_summary
bl
a
r
fe
ns
a
r
t
NOTE: Please refer the attached documents for Package Specifications
and
n
o
Package body. Kindly open the attached script in notepad.
an
s
ha
)
m ide
o
c
il t Gu
a
n
1. Package Specification: gm
e
d
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
o
tBody:
a2.yPackage
s
e
(
ta cens
r
u
li
ak
h
T
n
aya
Staging Table
XXAR_INVOICE_IFACE_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.
Grant Script
If table and package are created in custom schema then grant the table and
package to APPS schema
Case Study: Migration of AR Transactions using Open Interface
Module List
6 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
NOTE: Please refer the attached script for table and package granting. Kindly
open the attached script in notepad.
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
ta script:
r
S
1. Package synonym
u
s
k thi
a
h
t
use
n
a
ay e to
s
(
ns synonym script:
ta c2.eTable
r
u
li
ak
NOTE: Please refer the attached script for table and package synonym.
Kindly open the attached script in notepad.
h
T
n
ya
Sa
bl
a
r
fe
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
Module List
7 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
1. Package Specification Script
2. Package Body Script
3. Staging Table Script
4. SQL* Loader Script
NOTE: Please refer the attached Install script for deployment of AR
Transactions object on Oracle Applications Server. Kindly open the attached
script in notepad.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm dIDenfor each object you create and deploy
Note: Please prefix your empolyee
@
tu
in Application Server
taand sDatabase.
r
S
u
i
kPackagethName
A.)
a
h
t
e
s Name
n B.) uTable
a
y
C.)
Synonym
Name
o
a et
s
(
Concurrent Program Executable.
ta cens D.)
r
u
E.)
Concurrent
Program Name.
li
ak
1. Install Script:
h
T
n
ya
Sa
bl
a
r
fe
Module List
8 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
9 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to Executable Registering Form
s
(
ta cens
r
u
li 3. Select Concurrent -> Program -> Define
ak
h
T
n
ya
Sa
10 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
11 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
Concurrent Program Parameters
Form
)
m
e
o
d
i
ilc t Gu
a
n
gm Program
e
Registering Interface Concurrent
d
@
tufor XX<EMPID>: AR Transactions
ta program
To register a concurrent
r
S
u
s
i Applications Navigate to System Administrator
k in tOracle
Interface Program
h
a
h
t
e
Responsibility
n us
a
y
a e to
s
(
ns Concurrent -> Program -> Executable
ta c1.eSelect
r
u
li
ak
h
T
n
ya
Sa
12 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
13 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e in the Concurrent Program Form
TheuFollowing
4. Enter
s
n
a
o
Name: Enter XX<EMPID>: AR Transactions
ay ea. tProgram
s
(
s
Program
rta licen b. Interface
u
k
Short
Name:
Enter a unique concurrent program short name, for
a
h
T
n
aya
example: XXARINVOICEMAIN
c. Application: Select the value from LOV, as we would be executing
this concurrent program from Receivables Applications so select
Receivables.
d. Description: Enter the description of this concurrent program.
e. Executable Name: Select the executable name from LOV, as we
have already registered an executable for loader program so select
XXARINVOICEMAIN from LOV.
f. Executable Method: Executable method will be populated
automatically.
g. Parameters if any: Select the Parameter Button to specify the
parameter list. In our case there should be two parameters we
would be passing. A) Data File Path B) Data File Name
14 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
mForm ide
o
Concurrent Program
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
15 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
16 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
c Gu
ilForm
a
Request Group
m ent
g
@ tud
a
t
r
S
uConcurrent
s
i
k
3. Add an entryafor
Program in the Request Group and save the
h
h se t
work. nt
ya to u
a
s
( nse
a
t
r
lice
aku
h
T
n
ya
Sa
17 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
u
i0lYcDOWNLOAD
G
a
FNDLOAD apps/apps
t
gm den
$FND_TOP/patch/115/import/afcpprog.lct
XXARINVOICELOAD.ldt
@
u
t
a
t
PROGRAM
CONCURRENT_PROGRAM_NAME
=
r is S
u
k
XXARINVOICELOAD
a e th
h
t
h
T
n
ya
Sa
18 of 26
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant
script, synonym script, concurrent program script and install script, please
follow the below steps
1.
2.
9.
cd XXTESTARINTOIT
bl
a
r
fe
ns
a
r
t
- in temporary
3. Create a Staging Directory [E.g. XXTESTARINTOIT]
n
o
area on Oracle Application Server.
an
s
a
4. mkdir -p XXTESTARINTOIT ) h
m
e
o
d
i
u directory.
ilcon the
5. Change the Permissions
temp
G
a
t
gm den
@
6. chmod
tu
ta755 sXXTESTARINTOIT
r
S
u
i
kFTP thetXXTESTARINTOIT.tar.gz
h
a
7.
file in BINARY mode to
h
t
e
s
n
directory
XXTESTARINTOIT
ya to u
a
s
( nse 8. Change directory to XXTESTARINTOIT as given below
a
t
r
lice
aku
h
T
n
ya
Sa
Deployment
19 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
20 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Size
Invoice_class
Trx_type
Trx_num
Curr_code
Customer_number
Location
Payment_term
Inventory_item
Line_number
Description
Uom
Amount
Price
Quantity
50
20
20
10
30
10
10
40
Invoice_class
Trx_type
Trx_num
Curr_code
Customer_number
Location
Payment_term
Inventory_item
Line_number
Description
Uom
Amount
Price
Quantity
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Number
Varchar2
Varchar2
Number
Number
Number
250
10
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
21 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
SRS Form
h
T
n
ya
Sa
22 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
c. Base Due Date on Trx Date: No ha
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
23 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
AR Transaction Form
r
u
li
ak
h
T
n
ya
Sa
24 of 26
Error Handling
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following error can occur while processing the AR Transaction data file?
1. During loading data into staging table.
o When error occurred while loading the data file using
SQL*Loader concurrent program it generates two files they are
ns
a
r
t
n-
no
a
SQL*Loader Log File:sDetailed information about
hloga file. Any errors found
the load is stored in the
)
m
during parsingcof
the control
o
idefile are stored in the log
u
l
i
file. The a
file also
Gidentifies the number of records
t
m log loaded.
n
g
successfully
e The log file must be available
d
@
u
t
a
entire run of the SQL*Loader. When loading
rt during
StheSQL*Loader,
u
s
i
k
data
with
nothing should be assumed
h
a
t
h
t
e
n us without reviewing the log files
a
y
to the records in staging table
a 2. Validating
s
e
(
ta cens
r
u
li
ak
o While validating the data in staging table it can complete with
h
T
n
aya
Error Handling
bl
a
r
fe
25 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
26 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
has Outbound
Sales Order)Extract
m ide
o
c
il t Gu
a
Case
gmStudyden
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
bl
a
r
fe
Purpose ........................................................................................................ 1
Background ................................................................................................. 1
Scope and Application ................................................................................ 1
Audience ..................................................................................................... 2
Source system ............................................................................................. 2
Assumptions ................................................................................................ 2
Pre-Requisites ............................................................................................. 3
Business Rules ............................................................................................ 3
Approach ..................................................................................................... 3
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
Module List .......................................................................................................
4
ta s Stu
r
u
i
k
aConcurrent
thProgram ...................................................................... 7
h
t
Registering
e
an to us
y
a
(s Downloading
se Concurrent Program Script ...................................................... 13
a
n
t
r
e
licDeployment ..................................................................................................... 14
aku
h
T
n
ya
Sa
Case Study:
Document Control
iii
Introduction
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
This document describes the:
h
)
m
e
o
d
i
This case study is intended ito
u the extraction of data from
lcdemonstrate
G
a
t
Oracle Applications Sales
Order
for
legacy
system.
m en
g
@
ud
File layout to
be
used for tinterface.
a
t
r
S
is design for the interface
kuand technical
h
a
Approach
t
h
t use
n
a
ay e to
s
(
Background
ta cens
r
u
k
li
a
h
This case study document is designed to demonstrate a practical scenario that
T
n
occurs during the implementation of Oracle Order Management.
aya
Purpose
Case Study:
bl
a
r
fe
This document demonstrates the extract of sales order data for the previous
year.
Introduction
1 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Audience
This document is intended for the following individuals:
This document should be used for demonstration purposes only.
bl
a
r
fe
ns
a
r
t
- the data
n
The implementation team studies the source system and understands
o
n system. This data
required to be migrated from Oracle Applications to a
legacy
s
a
is then extracted and cleansed from the OraclehApplications
(this is done by IT
)
u
team and the implementation team.
ail nt G
m
g
de
@
u
t
a
t
ur his S
Assumptions
k
a
th se t
n
This
udocument is based on the following assumptions:
yacase study
o
t
a
s
e have access to Oracle Applications for the following
( n sUsers
a
t
r
e
ku
lic responsibility.
a
h
T
n
a
Order Management Super User
ay
Source system
System Administrator
Case Study:
Introduction
2 of 17
Pre-Requisites
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Business Rules
Following business rules are applicable for the Sales Order extract process.
Extract all the purchase order records for the previous year
Please refer Extract file layout for the columns to be extracted
from the sales order.
ns
a
r
t
n-
an
Approach
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
k
li
a
h
T
n
a
ay
The Approach for extracting the Sales Order data from Oracle Applications to
a data file is
1.
2.
3.
4.
5.
Case Study:
bl
a
r
fe
Introduction
3 of 17
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: Sales Order Extract Program
The XX<EMPID>: Sales Order Extract Program concurrent program is
based on the stored procedure XXOM_ORDER_OUT_PKG.main that is
registered as a PL/SQL executable.
The above program calls the stored procedures to create the data
file (Data file name and path passed as parameter values)
NOTE:
1. Change <EMPID> with your Employee ID,
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
Stored Proceduresta
tu
r
S
u
s
k thipackage consists of the following stored procedures:
a
XX_OM_ORDER_PKG
h
t
use
n
a
y
to
aXXOM_ORDER_OUT_PKG.main
s
e
(
s
ta cenThis
r
u
i s t he main procedure t hat cal ls t he cr eate_headers and create_lines
li
ak
2. Follow the steps provided in Registering Concurrent Program section
for registering the concurrent program.
h
T
n
ya
Sa
procedures.
XXOM_ORDER_OUT_PKG.create_headers
This procedure is used to create the header for the extract file.
XXOM_ORDER_OUT_PKG.create_lines
This procedure is used to create the lines for the extract file.
NOTE: Please refer the attached documents for package specification and
package body. Kindly open the attached script in notepad.
1. Package Specification:
Case Study:
bl
a
r
fe
Module List
4 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
2. Package Body:
Grant Script
If the table and package are created in custom schema, then grant the table and
package to APPS schema
NOTE: Please refer to the attached script for table and package granting.
Kindly open the attached script in notepad.
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
Synonym Script
m
e
o
d
i
c G
If table and package are created in
schema,
u then grant the package
ilcustom
a
t
and create synonym for table
n in APPS schema
gmand package
e
d
@
tuscript for table and package synonym.
rtathe attached
S
NOTE: Pleasekrefer
u
s
iscript in notepad.
h
a
t
Kindly open
the
attached
h
t
e
n us
a
y
a e to
s
(
ta cens
r
u
li
ak
h
T
n
aya
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
1. Package Specification Script
2. Package Body Script
NOTE: Please refer the attached Install script for deployment of OM Sales
Orders object on Oracle Applications Server. Kindly open the attached script
in notepad.
Install Script:
Case Study:
Module List
5 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please prefix your employee ID for each object you create and deploy
in Application Server and Database.
A. Package Name
B. Synonym Name
C. Concurrent Program Executable
D. Concurrent Program Name
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Case Study:
Module List
6 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
7 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
3. Select Concurrent -> Program ->oDefine
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Case Study:
8 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Case Study:
bl
a
r
fe
9 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
Registering Interface Concurrent Program
in
Request
Group
c Gu
l
i
a
To register a concurrent m
program XX<EMPID>:
Sales Order Extract
t
n
g
e
Program in Request
Group,
Navigate
to
System
Administrator
@ tud
a
t
Responsibility
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
lice
aku
Concurrent Program Parameters Form
h
T
n
ya
Sa
Case Study:
10 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
to Group (OM Concurrent Programs) and Applications
ay thee Request
2.sQuery
(
s
nManagement)
ta (Order
r
e
u
c
li
ak
h
T
n
ya
Sa
11 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
3. Add an entry for the concurrent program in the Request Group and save
the work.
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il Formt Gu
a
Request Group
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Case Study:
12 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
m) ide
o
FNDLOAD apps/apps 0 YcDOWNLOAD
il t Gu
$FND_TOP/patch/115/import/afcpprog.lct
a
XXOMORDEROUTMAIN.ldt
gm den PROGRAM
@
CONCURRENT_PROGRAM_NAME=XXOMORDEROUTMAIN
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Case Study:
13 of 17
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant script,
synonym script, concurrent program script and install script, please follow the below
steps
1.
2.
bl
a
r
3. Create a Staging Directory [Eg. XXOMORDEROUT] in temporary farea
e on
s
Oracle Application Server.
n
tra
n
mkdir -p XXOMORDEROUT
no
a
s
a
4. Change the Permissions on the temp h
directory.
)
m
e
o
d
i
chmod 755 XXOMORDEROUT
ilc t Gu
a
gm den
5. FTP the XXOMORDEROUT.tar.gz
file in BINARY mode to directory
@
u
t
a
t
XXOMORDEROUT
ur his S
k
a
t
th6. Change
directory to XXOMORDEROUTas given below
e
s
n
ya to u
a
s
( nse cd XXOMORDEROUT
a
t
r
lice
7. Uncompress XXOMORDEROUT.tar.gz as given below
aku
h
T
n
ya
Sa
gunzip XXOMORDEROUT.tar.gz
8.
sh XXOM_ORDER_OUT.install
11. Enter the apps schema user name password (apps/
Case Study:
Deployment
14 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
ORDER_NUMBER
LINE_NUMBER
CURRENCY
CUSTOMER
LOCATION
ORDER_TYPE
ORDER_CATEGORY
ITEM
DESCRIPTION
PAYMENT_TERM
QUANTITY
UNIT_OF_MEASURE
PRICE_LIST
SALESREP
STATUS
NUMBER
NUMBER
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
NUMBER
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
OE_ORDER_HEADERS_ALL
OE_ORDER_LINES_ALL
15
FND_CURRENCIES
360 HZ_PARTIES
240 HZ_CUST_SITE_USES_ALL
40
OE_TRANSACTION_TYPES
240 OE_TRANSACTION_TYPES_ALL
40
MTL_SYSTEM_ITEMS
240 MTL_SYSTEM_ITEMS
15
RA_TERMS
OE_ORDER_LINES_ALL
3
OE_ORDER_LINES_ALL
2000 QP_LIST_HEADERS
240 RA_SALESREPS_ALL
30
OE_ORDER_LINES_ALL
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
tu
rta extract
S
u
Please find thekattached
s
i file for Sales Order, which has been extracted
h
a
t
h
from Oracle
e
t Applications.
s
n
u
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Case Study:
15 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
Select View Menu -> Request, Submit a new request, and click on single
request and than click OK Button.
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
SRS Form
1. Select the Concurrent Program name from LOV
2. Enter the parameter value for Data File Path and Data File Name.
3. Click on Submit Button to run the request.
Case Study:
16 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
Case Study:
17 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
hasSales
Migration of)OM
Order
m
e
usingilStandard
co GuidAPI
a
m ent
g
@Case Study
tud
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
bl
a
r
fe
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
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
Module Lista
.......................................................................................................
5
h
t
e
n Concurrent
us Program ...................................................................... 9
a
Registering
y
o
t
a
(s nse
a
t
r licDownloading
Concurrent Program Script ...................................................... 18
e
aku
h
T
n
aya
Deployment ..................................................................................................... 19
Extract File Layout ......................................................................................... 20
Extract File Mapping to Staging Table Columns ........................................... 21
Calling Custom Concurrent Program.............................................................. 22
Query Interface Records ................................................................................. 23
Error Handling ................................................................................................ 24
Open and Closed Issues for this Deliverable .................................................. 25
Open Issues ............................................................................................... 25
Closed Issues ............................................................................................. 25
Document Control
iii
Introduction
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
This document describes the:
h
)
m
e
o
d
i
This case study is intended ito
u the creation of Standard
lcdemonstrate
G
a
t
Sales Order.
gm den
@
Detailed data
from
tu the source system(s) to the Oracle
a
tmapping
r
S
u
s
Applications
i Suite (EBS) Order Management (OM) Sales
k E-Business
h
a
t
h
t
Order
records
e
n us
a
y
to to be used for interface.
a File
layout
s
e
(
ta censApproach and technical design for the interface
r
u
li
ak
Purpose
h
T
n
ya
Sa Background
This case study document is designed to demonstrate a practical scenario that
occurs during the implementation of Oracle Order Management.
bl
a
r
fe
Introduction
1 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
bl
a
r
3. As the API itself will populate the data from staging table
fe to
s
n
the Order Management base tables, there is no rneed
of
ta
running Order Import program.
n
no
a
s
a
h
)
Audience
m
e
o
d
i
c Gindividuals:
u
ilfollowing
a
This document is intended for the
t
gm den
@
u for demonstration purposes only.
This document
be tused
tashould
r
S
u
s
k thi
a
h
t
use
n
a
Source system
ay e to
s
(
s
nimplementation
ta cThe
team studies the source system and understands the data
r
e
u
i required to be migrated
k
l
to Oracle Applications. This data is then extracted and
a
h
T
cleansed from the source system (this is done by IT team of source system) in
n
a
y
the format as agreed by the client, source system IT team and the
a
implementation team. The data mapping section describes the data format of
source system to Oracle Applications.
Assumptions
This case study document is based on the following assumptions:
Users have access to Oracle Applications for the following
responsibility.
System Administrator
Introduction
2 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
All the functional setups and master data (as listed in pre-requisites) are
already completed in Oracle Applications.
The extract-file layout must be in the format as specified in the extract
file layout section
Pre-Requisites
Prerequisite set-ups are required for the interface. These setups include,
but are not limited to:
1. Transaction Types
2. Customers
ns
a
r
t
n-
bl
a
r
fe
no
a
as
4. Items assigned to Price Lists ) h
m
e
o
d
i
lc ListsGu
iPrice
5. Discounts assigned to
a
m ent
g
@ tud
6. Salespersons
a
t
r
u his S
k
a
tand Tax Rates
7.thTax Codes
e
s
n
u
ya 8. tInvoicing
o
a
s
and Accounting Rules
( nse
a
t
r lice
9. Freight Carriers, Freight Terms, and FOB options
aku
3. Price Lists
h
T
n
ya
Sa
Data Dependencies
OM Sales Order
In order to migrate Sales Orders, the following entities must have been
migrated successfully:
Customers
Price Lists
Items
Introduction
3 of 25
Business Rules
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following business rules are applicable for the OM Sales Order conversion
process.
N/A
Approach
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
aya
The Approach for migrating OM Sales Order data from source system to
Order Management open interface table
1.
2.
3.
4.
Introduction
4 of 25
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: OM Sales Order Interface API Program includes the
following concurrent programs:
XX<EMPID>: OM Sales Order Interface API Program
The XX<EMPID>: OM Sales Order Interface API Program concurrent
program is based on the stored procedure XX_OM_ORDER_PKG.main
that is registered as a PL/SQL executable.
ns
a
r
t
n-
no
a
s
a
h
)
Program
m
e
XX<EMPID>: OM Sales Order Interface
API Loader
o
d
i
ilc t Gu
a
The XX<EMPID>: OM
n Interface API Loader Program
gmSalesdOrder
e
@
concurrent program
basedtu
ta is executable.
S on the SQL*Loader control file, that is
registered k
asuarLoaderis
a e th
h
t
h
T
n
ya
Sa
Stored Procedures
XX_OM_ORDER_PKG package consist the following stored procedures:
XX_OM_ORDER_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
XX_OM_ORDER_PKG.validate
This procedure performs the necessary validations on the staging tables.
Case Study: Migration of OM Sales Order using
bl
a
r
fe
Module List
5 of 25
XX_OM_ORDER_PKG.import
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
1. Package Specification:
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
2. Package Body:
r
u
k thi
a
h
t
use
n
a
y Table
to
aStaging
s
e
(
table is created in the database to store records
ns
ta cXXOM_ORDER_API_STG
r
e
u
li from source system data file.
ak
h
T
n
ya
Sa
NOTE: Please refer to the attached script for staging table creation. Kindly
open the attached script in notepad.
Grant Script
If the table and package are created in custom schema, then grant the table and
package to APPS schema
NOTE: Please refer to the attached script for table and package granting.
Kindly open the attached script in notepad.
bl
a
r
fe
NOTE: Please refer the attached documents for Package specifications and
Package body. Kindly open the attached script in notepad.
Module List
6 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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
ns
a
r
t
n-
NOTE: Please refer the attached script for table and package synonym.
Kindly open the attached script in notepad.
an
s
ha
)
m ide
o
c
il t Gu
1. Package synonym script:ma
n
g
e
d
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
to script:
a2.y Tablee synonym
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
SQL*Loader Script
SQL*Loader is controlled by its own data definition language, which is kept
in the control file. The control file describes the data to be loaded, the
destination tables of the data and describes the interdependency between the
data and the columns within the tables.
NOTE: Please refer the attached SQL* Loader script for loading data file into
staging table. Kindly open the attached script in notepad.
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Case Study: Migration of OM Sales Order using
bl
a
r
fe
Module List
7 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Install Script:
ns
a
r
t
n-
bl
a
r
fe
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
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Module List
8 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
9 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
Concurrent Program Executable Formnno
a
4. Select Concurrent -> Program -> Define as
) h e
m
o
ilc t Guid
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
bl
a
r
fe
h
T
n
ya
Sa
10 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
11 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
Registering Interface Concurrent Program
u
lcXX<EMPID>:
ifor
G
a
To register a concurrent program
OM Sales Order
t
m Applications
n
g
e
Interface API Program
in
Oracle
Navigate
to System
d
@
u
t
a
t
Administrator Responsibility
ur his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
lice
aku
Concurrent Program Parameters Form
h
T
n
ya
Sa
12 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li 2. Enter the following in the Concurrent Program Executable Form
ak
h
T
n
ya
Sa
13 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
14 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
Concurrent Program Definition Form
ak
h
T
n
ya
Sa
15 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
16 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
Request GrouplForm
i c t Gu
a
gm den
@
tuprograms in the Request Group and save
taconcurrent
r
S
3. Add an entry foruthe
s
i
h
the work. thak
t
e
n us
a
y
a e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
17 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
u
i0lYcDOWNLOAD
G
FNDLOAD apps/apps
a
t
gm den
$FND_TOP/patch/115/import/afcpprog.lct
@
XXOMORDERAPILOAD.ldt
PROGRAM
ta s Stu
r
u
CONCURRENT_PROGRAM_NAME=XXOMORDERAPILOAD
i
k
a e th
h
t
h
T
n
aya
$FND_TOP/patch/115/import/afcpprog.lct
XXOMORDERAPIMAIN.ldt PROGRAM
CONCURRENT_PROGRAM_NAME=XXOMORDERAPIMAIN
18 of 25
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant script,
synonym script, concurrent program script and install script, please follow the below
steps
1.
2.
bl
a
r
3. Create a Staging Directory [Eg. XXTESTOMINTAPI] in temporaryfarea
e on
s
Oracle Application Server.
n
tra
n
mkdir -p XXTESTOMINTAPI
no
a
s
a
4. Change the Permissions on the temp h
directory.
)
m
e
o
d
i
chmod 755 XXTESTOMINTAPI
ilc t Gu
a
gm den
5. FTP the XXTESTOMINTAPI.tar.gz
file in BINARY mode to directory
@
u
t
a
t
XXTESTOMINTAPI
ur his S
k
a
t
th6. Change
directory to XXTESTOMINTAPI as given below
e
s
n
ya to u
a
s
( nse cd XXTESTOMINTAPI
a
t
r
lice
7. Uncompress XXTESTOMINTAPI.tar.gz as given below
aku
h
T
n
ya
Sa
gunzip XXTESTOMINTAPI.tar.gz
8.
sh XX_OM_ORDER_API.install
11. Enter the apps schema user name password (apps/
Deployment
19 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
Below is the example of extract file for OM Sales Orders
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
20 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
version_number
order_type
ship_to_customer
price_list
transactional_curr_code
payment_term
organization
location
booked_flag
salesrep
line_number
line_type
order_quantity_uom
ordered_quantity
inventory_item
shipment_number
subinventory
NUMBER
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
NUMBER
VARCHAR2
VARCHAR2
NUMBER
VARCHAR2
NUMBER
VARCHAR2
version_number
40
order_type
360 ship_to_customer
240 price_list
15
transactional_curr_code
30
payment_term
240 organization
240 location
1
booked_flag
240 salesrep
line_number
30
line_type
3
order_quantity_uom
ordered_quantity
2000 inventory_item
shipment_number
10
subinventory
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
21 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
SRS Form
s
(
s
a
n
t
r lice
1. Select the Concurrent Program name from LOV
aku
h
T
n
aya
2. Enter the parameter value for Data File Path and Data File Name.
3. Click on Submit Button to run the request.
22 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
OM Sales Order Form
n
a
y
o
a et
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
23 of 25
Error Handling
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following errors can occur while processing the OM Sales Order data file:
1. During loading data into staging table.
o When error occurs while loading the data file using
SQL*Loader concurrent program, it generates two files.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
to the records in staging table
ay 2. Validating
s
e
(
ta cens
r
u
li
o While validating the data in staging table, it may result in error
ak
h
T
n
aya
Error Handling
bl
a
r
fe
24 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
25 of 25
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
hasSales
Migration of)OM
Order
m
e
usingilOpen
co GInterface
uid
a
m ent
g
@Case Study
tud
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
bl
a
r
fe
Purpose ........................................................................................................ 1
Background ................................................................................................. 1
Scope and Application ................................................................................ 1
Audience ..................................................................................................... 2
Source system ............................................................................................. 2
Assumptions ................................................................................................ 2
Pre-Requisites ............................................................................................. 3
Data Dependencies...................................................................................... 3
Business Rules ............................................................................................ 3
Approach ..................................................................................................... 4
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
Module Lista
.......................................................................................................
5
h
t
e
n Concurrent
us Program ...................................................................... 9
a
Registering
y
o
t
a
(s nse
a
t
r licDownloading
Concurrent Program Script ...................................................... 18
e
aku
h
T
n
aya
Deployment ..................................................................................................... 19
Extract File Layout ......................................................................................... 20
Extract File Mapping to Staging Table Columns ........................................... 21
Calling Custom Concurrent Program.............................................................. 22
Calling Standard Import Concurrent Program ................................................ 23
Query Interface Records ................................................................................. 24
Error Handling ................................................................................................ 25
Open and Closed Issues for this Deliverable .................................................. 26
Open Issues ............................................................................................... 26
Closed Issues ............................................................................................. 26
Document Control
iii
Introduction
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
This document describes the:
h
)
m
e
o
d
i
Detailed data mapping fromilthe
to the Oracle
c sourceGsystem(s)
u
a
t
Applications E-Business
Suite
(EBS)
Order
Management
(OM) Sales
m en
g
Order records @
tud
a
t
r
S
File layout
is for interface.
kuto betused
h
a
h
etechnical design for the interface
t uand
s
n
Approach
a
ay e to
s
(
ta cens
r
u
Backgroundk
li
a
h
T
n
This case study document is designed to demonstrate a practical scenario that
a
ay
Purpose
bl
a
r
fe
Introduction
1 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
has and
The implementation team studies the source) system
understands the data
m
e
required to be migrated to Oracle Applications.
This
data
is then extracted and
o uid
c
l
i
cleansed from the source systema(this is done
Gby IT team of source system) in
t
m source
n
the format as agreed by thegclient,
system
IT team and the
e
d
@
u
t
a
implementation team.
rt Theisdata
S mapping section describes the data format of
u
k
source system
to
Oracle
Applications.
a e th
h
t
an to us
y
a
(s nse
Assumptions
a
t
ur lice
k
a
h
This case study document is based on the following assumptions:
T
n
aya
Users have access to Oracle Applications for the following
Source system
responsibility.
System Administrator
Introduction
2 of 26
Pre-Requisites
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Prerequisite set-ups are required for the interface. These setups include,
but are not limited to:
1. Transaction Types
2. Customers
3. Price Lists
4. Items assigned to Price Lists
ns
a
r
t
n-
bl
a
r
fe
no
a
s
8. Invoicing and Accounting Rules ha
)
m
e
o
d
i
9. Freight Carriers, Freight
and
u FOB options
ilcTerms,
G
a
t
gm den
10. Shipping Warehouses
@
ta s Stu
r
u
k thi
a
h
t
use
n
Data Dependencies
a
ay e to
s
(
s Order
nSales
ta cOM
r
e
u
k
li
a
h
In order to migrate Sales Orders, the following entities must have been
T
n
a
migrated successfully:
ay
7. Tax Codes and Tax Rates
Customers
Price Lists
Items
Business Rules
Following business rules are applicable for the OM Sales Order conversion
process.
N/A
Introduction
3 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approach
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
The Approach for migrating
tuSales Order data from source system to
ta s OM
r
S
u
Order Management
iinterface table
k open
h
a
t
h
t
e
uthes data file from source system
1.nExtract
a
y
tothe data file into staging table
a 2. Load
s
e
(
ta cen3.sUsing PL/SQL write a package
r
u
li 4. Register the PL/SQL package as concurrent program in Oracle
ak
h
T
n
aya
Applications
5. Call the custom concurrent program to validate and load the records
available in staging table into open interface table
6. Call the standard import program, which creates the records in
OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL tables
based on the open interface records.
7. Query the records that are created from interface table and see the
result in Oracle Applications front end.
Introduction
4 of 26
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: OM Sales Order Interface Program includes the following
concurrent programs:
XX<EMPID>: OM Sales Order Interface Program
The XX<EMPID>: OM Sales Order Interface Program concurrent
program is based on the stored procedure XX_OM_ORDER_PKG.main
that is registered as a PL/SQL executable.
ns
a
r
t
n-
no
a
s
a
h
) Program
m
e
XX<EMPID>: OM Sales Order Interface
Loader
o
d
i
ilc t Gu
a
The XX<EMPID>: OM
n Interface Loader Program
gmSalesdOrder
e
@
concurrent program
basedtu
ta is executable.
S on the SQL*Loader control file, that is
registered k
asuarLoaderis
a e th
h
t
h
T
n
ya
Sa
Stored Procedures
XX_OM_ORDER_PKG package consist the following stored procedures:
XX_OM_ORDER_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
XX_OM_ORDER_PKG.validate
This procedure performs the necessary validations on the staging tables.
Case Study: Migration of OM Sales Order using Open Interface
bl
a
r
fe
Module List
5 of 26
XX_OM_ORDER_PKG.import
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
This procedure loads all the valid data from the staging table to Oracle
Order Management interface tables OE_HEADERS_IFACE_ALL and
OE_LINES_IFACE_ALL
XX_OM_ORDER_PKG.print_error
This procedure reports the errored records in the log file.
XX_OM_ORDER_PKG.record_summary
This procedure displays the status of the staging table records
ns
a
r
t
n-
no
a
s
a
h
1. Package Specification:
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
2. Package Body:
u
k thi
a
h
t
use
n
a
y
to
aStaging
s
e
(
Table
ns
ta cXXOM_ORDER_IFACE_STG
r
e
table is created in the database to store
u
li
ak
h
T
n
ya
Sa
NOTE: Please refer to the attached script for staging table creation. Kindly
open the attached script in notepad.
Grant Script
If the table and package are created in custom schema, then grant the table and
package to APPS schema
NOTE: Please refer to the attached script for table and package granting.
Kindly open the attached script in notepad.
Case Study: Migration of OM Sales Order using Open Interface
bl
a
r
fe
NOTE: Please refer the attached documents for Package specifications and
Package body. Kindly open the attached script in notepad.
Module List
6 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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
bl
a
r
NOTE: Please refer the attached script for table and package synonym.
fe
s
n
Kindly open the attached script in notepad.
tra
n
no
a
s
a
h
)
m
e
o
d
i
1. Package synonym script:
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e
synonym
2. Table
script:
s
n
u
a
ay e to
s
(
ns
ta cSQL*Loader
r
e
Script
u
li
ak
h
T
n
ya
Sa
NOTE: Please refer the attached SQL* Loader script for loading data file into
staging table. Kindly open the attached script in notepad.
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
Module List
7 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
1.
2.
3.
4.
NOTE: Please refer the attached Install script for deployment of OM Sales
Orders object on Oracle Applications Server. Kindly open the attached script
in notepad.
Install Script:
ns
a
r
t
n-
bl
a
r
fe
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
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Module List
8 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
9 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
Concurrent Program Executable Formnno
a
3. Select Concurrent -> Program -> Define as
) h e
m
o
ilc t Guid
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
bl
a
r
fe
h
T
n
ya
Sa
10 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
11 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
Registering Interface Concurrent Program
u
lcXX<EMPID>:
ifor
G
a
To register a concurrent program
OM Sales Order
t
m en
g
Interface Program in Oracle
tud Navigate to System Administrator
a@ SApplications
Responsibility urt
k this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Concurrent Program Parameters Form
h
T
n
ya
Sa
12 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li 2. Enter the following in the Concurrent Program Executable Form
ak
h
T
n
ya
Sa
13 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
14 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
Concurrent Program Definition Form
ak
h
T
n
ya
Sa
C
o
n
c
u
r
r
e
n
t
P
r
o
C
Concurrent Program Parameters Form
Case Study: Migration of OM Sales Order using Open Interface
15 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
16 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
Request GrouplForm
i c t Gu
a
gm den
@
tuprograms in the Request Group and save
taconcurrent
r
S
3. Add an entry foruthe
s
i
h
the work. thak
t
e
n us
a
y
a e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
17 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
m) ide
o
FNDLOAD apps/apps 0 YcDOWNLOAD
il t Gu XXOMORDERLOAD.ldt
$FND_TOP/patch/115/import/afcpprog.lct
a
n
PROGRAM gm
e
d
@
CONCURRENT_PROGRAM_NAME=XXOMORDERLOAD
ta s Stu
r
u
k thi
a
h
To
download
t
use the XX<EMPID>: OM Sales Order Interface Program
n
a
script,
enter the following command at unix/linux prompt.
y
o
t
a
s
( nse
a
t
FNDLOAD apps/apps 0 Y DOWNLOAD
r
e
u
c
i
k
l
$FND_TOP/patch/115/import/afcpprog.lct XXOMORDERMAIN.ldt
a
h
T
n
aya
PROGRAM
CONCURRENT_PROGRAM_NAME=XXOMORDERMAIN
18 of 26
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant script,
synonym script, concurrent program script and install script, please follow the below
steps
1.
2.
bl
a
r
3. Create a Staging Directory [Eg. XXTESTOMINTOIT] in temporaryfarea
e
s
on Oracle Application Server.
n
tra
n
mkdir -p XXTESTOMINTOIT
no
a
s
a
4. Change the Permissions on the temp h
directory.
)
m
e
o
d
i
chmod 755 XXTESTOMINTOIT
ilc t Gu
a
gm den
5. FTP the XXTESTARINTOIT.tar.gz
file in BINARY mode to directory
@
u
t
a
t
XXTESTOMINTOIT
ur his S
k
a
t
th6. Change
directory to XXTESTARINTOIT as given below
e
s
n
ya to u
a
s
( nse cd XXTESTOMINTOIT
a
t
r
lice
7. Uncompress XXTESTARINTOIT.tar.gz as given below
aku
h
T
n
ya
Sa
gunzip XXTESTOMINTOIT.tar.gz
8.
sh XX_OM_ORDER.install
11. Enter the apps schema user name password (apps/
Deployment
19 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
Below is the example of extract file for OM Sales Orders
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
20 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
version_number
order_type
ship_to_customer
price_list
transactional_curr_code
payment_term
organization
location
booked_flag
salesrep
line_number
line_type
order_quantity_uom
ordered_quantity
inventory_item
shipment_number
subinventory
NUMBER
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
NUMBER
VARCHAR2
VARCHAR2
NUMBER
VARCHAR2
NUMBER
VARCHAR2
version_number
40
order_type
360 ship_to_customer
240 price_list
15
transactional_curr_code
30
payment_term
240 organization
240 location
1
booked_flag
240 salesrep
line_number
30
line_type
3
order_quantity_uom
ordered_quantity
2000 inventory_item
shipment_number
10
subinventory
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
21 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
SRS Form
ay e to
s
(
s
rta licen 1. Select the Concurrent Program name from LOV
u
k
a
h
T
n
ya
Sa
2. Enter the parameter value for Data File Path and Data File Name.
3. Click on Submit Button to run the request.
22 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
a. Validate Only: No
b. Validate Descriptive Flexfield: Yes
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
23 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi OM Sales Order Form
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
24 of 26
Error Handling
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following errors can occur while processing the OM Sales Order data file:
1. During loading data into staging table.
o When error occurs while loading the data file using
SQL*Loader concurrent program, it generates two files.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
to the records in staging table
ay 2. Validating
s
e
(
ta cens
r
u
li
o While validating the data in staging table, it may result in error
ak
h
T
n
aya
Error Handling
bl
a
r
fe
25 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
26 of 26
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
has
Migration of)Purchase
Order data
m
e
usingilOpen
co GInterface
uid
a
m ent
g
@Case Study
tud
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
Module Lista
.......................................................................................................
6
h
t
e
n Concurrent
us Program .................................................................... 10
a
Registering
y
o
t
a
(s nse
a
t
r licDownloading
e
Concurrent Program Script ...................................................... 19
aku
h
T
n
aya
Deployment ..................................................................................................... 20
Extract File Layout ......................................................................................... 21
Extract File Mapping to Staging Table Columns ........................................... 22
Calling Custom Concurrent Program.............................................................. 23
Calling Standard Import Concurrent Program ................................................ 24
Query interface records ................................................................................... 25
Error Handling ................................................................................................ 26
Open and Closed Issues for this Deliverable .................................................. 27
Open Issues ............................................................................................... 27
Closed Issues ............................................................................................. 27
Document Control
iii
bl
a
r
fe
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 ..................................................................................................... 5
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Introduction
A purchase order (PO) is a commercial document issued by a buyer to
a supplier, indicating the type, quantities and agreed prices for products or
services the seller will provide to the buyer. It will specify payment terms,
delivery dates, item identification, quantities, shipping terms and all other
obligations and conditions.
Purchase orders are generally preprinted, numbered documents generated by
the retailer's financial management system, which shows that purchase details
have been recorded and payment will be made.
ns
a
r
t
n-
no
a
s
a
h
) interface
table for PO to migrate
m
This document demonstrates the use ofoopen
e
d
i
u Applications.
lc toG
Purchase Order data from source
Oracle
isystem
a
t
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
This
document
describes the:
y
o
t
a
s
e case study is intended to demonstrate the creation of Standard
( nsThis
a
t
r
e
lic Invoices Using Oracle Payables Interface table.
aku
To enter or query a Purchase Order from front end navigate to Purchasing
Responsibility, Select Purchase Orders -> Purchase Orders.
Purpose
h
T
n
aya
Background
This case study document is designed to demonstrate a practical scenario that
occurs during implementation of oracle Purchase Orders.
Introduction
1 of 27
bl
a
r
fe
Use the Purchase Order window to enter the standard purchase order, blanket
purchase order, planed purchase order, purchase requisitions etc. You can also
query and update purchase order in this window.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
Audience
gm den
@
tu
rta isforSthe
u
This documentkis
intended
following individuals:
h
a
t
h
e should be used for demonstration purposes only.
t document
s
n
This
u
a
ay e to
s
(
ta cens
r
u
Source system
k
li
a
h
T
n
The implementation team studies the source system and understands the data
a
ay
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
This case study document is based on the following assumptions:
Users have access to Oracle Applications for the following
responsibility.
System Administrator
Introduction
2 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Pre-Requisites
1. Purchasing Options
an
s
2. Receving Options
ha
)
m ide
o
3. Financial Options
c
il t Gu
a
n
gm
4. Document Type
Lookup
e
d
@
ta s Stu
r
u
i
5. Approval
k Setup
h
a
t
h
t
e
n6. Currency
us
a
y
o
t
a
(s nse
a
t
r lice 7. System Profile Options for Oracle Payables
aku
h
T
n
ns
a
r
t
n-
aya
Data Dependencies
Purchase Order
In order to migrate Purchase Order the following entities must have been
migrated successfully:
Suppliers
Inventory Items
Introduction
3 of 27
bl
a
r
fe
Prerequisite set-ups are required for the interface. These setups include,
but are not limited to:
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Business Rules
Following business rules are applicable for the Purchase Order conversion
process.
N/A
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Introduction
4 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approach
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
i Purchase Order data from source system to
kfor migrating
The Approach
h
a
t
h
t
e
Purchase
n Ordersusopen interface table
a
y
to the data file from source system
a 1. Extract
s
e
(
ta cen2.sLoad the data file into staging table
r
u
li 3. Using PL/SQL write a package
ak
h
T
n
aya
Introduction
5 of 27
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: Purchase Order Interface Program includes the
following concurrent programs:
XX<EMPID>: Purchase Order Interface Program
The XX<EMPID>: Purchase Order Interface Program concurrent
program
is
based
on
the
stored
procedure
XXPO_PURCHASE_ORDER_PKG.main that is registered as a
PL/SQL executable.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
c GLoader
u Program
ilInterface
XX<EMPID>: Purchase Order
a
t
gm den
@
tu Order Interface Loader Program
The XX<EMPID>:
ta sPurchase
r
S
u
iis based on the SQL* Loader control file, that is
kprogram
concurrent
h
a
t
h
t
e
registered
n asusa Loader executable.
a
y
o
a e tThe
s
(
program loads data from the path specified as parameter
ta cens valueabove
r
in
loader
concurrent program to the staging table.
u
li
ak
h
T
n
ya
Sa
NOTE:
1. Change the <EMPID> with your Employee ID,
2. Follow the steps for registering concurrent program from Registering
Concurrent Program section.
Stored Procedures
XXPO_PURCHASE_ORDER_PKG package consist the following stored
procedures:
XXPO_PURCHASE_ORDER_PKG.main
This is the main procedure that calls the load, validate, import, print_error
and record_summary procedures.
XXPO_PURCHASE_ORDER_PKG.validate
Case Study: Migration of Purchase Order data using Open Interface
Module List
6 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
XXPO_PURCHASE_ORDER_PKG.import
This pr ocedure l oads a ll t he va lid da ta f rom t he s taging table t o Oracle
Invoices i
nterface t
ables
PO_HEADERS_INTERFACE and
PO_LINES_INTERFACE.
XXPO_PURCHASE_ORDER_PKG.print_error
This procedure reports the errored records in the log file.
XXPO_PURCHASE_ORDER_PKG.record_summary
This procedure will display the status of staging table records
ns
a
r
t
n-
NOTE: Please refer the attached documents for Package Specifications and
Package body. Kindly open the attached script in notepad.
an
s
ha
)
m ide
o
c
1. Package Specification:
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e
Body:
2. Package
s
n
u
a
ay e to
s
(
ta cens
r
u
li Staging Table
ak
h
T
n
aya
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.
Case Study: Migration of Purchase Order data using Open Interface
Module List
7 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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
ns
a
r
t
n-
NOTE: Please refer the attached script for table and package synonym.
Kindly open the attached script in notepad.
an
s
ha
)
m ide
o
c
il t Gu
1. Package synonym script:ma
n
g
e
d
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
to script:
a2.yTableesynonym
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Module List
8 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
1. Package Specification Script
2. Package Body Script
3. Staging Table Script
4. SQL* Loader Script
NOTE: Please refer the attached Install script for deployment of Purchase
Order object on Oracle Applications Server. Kindly open the attached script in
notepad.
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm dIDenfor each object you create and deploy
Note: Please prefix your employee
@
tu
in Application Server
taand sDatabase.
r
S
u
i
kPackagethName
A.)
a
h
t
e
s Name
n B.) uTable
a
y
C.)
Synonym
Name
o
a et
s
(
Concurrent Program Executable.
ta cens D.)
r
u
E.)
Concurrent
Program Name.
li
ak
1. Install Script:
h
T
n
ya
Sa
Module List
9 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
10 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
tu
ta s Registering
Executable
Form
r
S
u
i
k
a e th
h
t
3. Select
Concurrent
s -> Program -> Define
n
u
a
y
o
a et
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
11 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
12 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
Concurrent Program Parameters
Form
)
m
e
o
d
i
ilc t Gu
a
n
gm Program
e
Registering Interface Concurrent
d
@
tufor XX<EMPID>: Purchase Order Interface
ta program
To register a concurrent
r
S
u
s
i
k Applications
Program ina
Oracle
Navigate to System Administrator
h
t
h
t
e
Responsibility
an to us
y
a
(s 1. Select
seConcurrent -> Program -> Executable
a
n
t
r
e
lic
aku
h
T
n
ya
Sa
13 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
14 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e in the Concurrent Program Form
TheuFollowing
4. Enter
s
n
a
o
Name: Enter XX<EMPID>: Purchase Order Interface
ay ea. tProgram
s
(
s
rta licen b. Program
u
k
Short Name: Enter a unique concurrent program short name, for
a
h
T
n
aya
example: XXPOPURCHASEORDERMAIN
c. Application: Select the value from LOV, as we would be executing
this concurrent program from Payables Applications so select
Custom Development and add this concurrent program in Purchase
Order Request Group.
d. Description: Enter the description of this concurrent program.
e. Executable Name: Select the executable name from LOV, as we
have already registered an executable for loader program so select
XXPOPURCHASEORDERMAIN from LOV.
f. Executable Method: Executable method will be populated
automatically.
g. Parameters if any: Select the Parameter Button to specify the
parameter list. In our case there should be two parameters we
would be passing. A) Data File Path B) Data File Name
15 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
mForm ide
o
Concurrent Program
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
16 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
17 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
Request Group Form
i
ilc t Gu
a
gm den
@
tu in the Request Group and save the
ta s SProgram
3. Add an entry for Concurrent
r
u
k thi
work.
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
18 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
For Example:
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
u
i0lYcDOWNLOAD
G
a
FNDLOAD apps/apps
t
gm den
$FND_TOP/patch/115/import/afcpprog.lct
@
ta s Stu
XXPURCHASEORDERLOAD.ldt
PROGRAM
r
u
i
k
CONCURRENT_PROGRAM_NAME
=
h
a
t
h
t
e
n XXPURCHASEORDERLOAD
us
a
y
o
t
a
e Download the XX<EMPID>: Purchase Order Interface
(s n sTo
a
t
r
e
lic Program script please enter the below command at unix/linux
aku
h
T
n
ya
Sa
prompt.
19 of 27
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant
script, synonym script, concurrent program script and install script, please
follow the below steps
1.
2.
9.
cd XXPOINTOIT
bl
a
r
fe
ns
a
r
t
3. Create a Staging Directory [E.g. XXPOINTOIT] inntemporary
area on
o
n
Oracle Application Server.
a
s
a
4. mkdir -p XXPOINTOIT
) h e
m
o uid
ilcon the
5. Change the Permissions
Gtemp directory.
a
t
m
n
g
de
@
755
XXPOINTOIT
6. chmod
u
t
a
t
ur his S
k
a
FTP thetXXPOINTOIT.tar.gz file in BINARY mode to directory
th7. XXPOINTOIT
e
s
n
u
a
ay e to
s
(
ta cens 8. Change directory to XXPOINTOIT as given below
r
u
li
ak
h
T
n
ya
Sa
Deployment
20 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Note: Please remove the header row before putting the same file on Oracle
Application Server for loading purpose.
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
21 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
Size
Vendor_number
Document_type_code
Agent_number
Bill_to_location
Ship_to_location
Curr_code
Inventory_item
Unit_of_measure
Unit_price
Quantity
Need_by_date
Line_number
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Varchar2
Number
Number
DATE
NUMBER
30
10
240
30
30
10
30
15
Vendor_number
Document_type_code
Agent_number
Bill_to_location
Ship_to_location
Curr_code
Inventory_item
Unit_of_measure
Unit_price
Quantity
Need_by_date
Line_number
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
22 of
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
SRS Form
h
T
n
ya
Sa
23 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
Call the Import Standard Purchase Orders Program with the following
Parameters
no
a
s
a
b. Create or Update Items: No
h
)
m
e
o
d
i
c. Apporval Status: INCOMPLETE
ilc t Gu
a
m staging
ntable for last run and paas it here
gthe
e
d. Batch Id: Query
d
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
a. Default Buyer: Stock, Ms. Pat ( For Operations User)
h
T
n
ya
Sa
24 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
Purchase Orders Form
r
u
li
ak
h
T
n
ya
Sa
25 of 27
Error Handling
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Following error can occur while processing the AP Transaction data file?
1. During loading data into staging table.
o When error occurred while loading the data file using
SQL*Loader concurrent program it generates two files they are
ns
a
r
t
n-
no
a
SQL*Loader Log File:sDetailed information about
hloga file. Any errors found
the load is stored in the
)
m
during parsingcof
the control
o
idefile are stored in the log
u
l
i
file. The a
file also
Gidentifies the number of records
t
m log loaded.
n
g
successfully
e The log file must be available
d
@
u
t
a
entire run of the SQL*Loader. When loading
rt during
StheSQL*Loader,
u
s
i
k
data
with
nothing should be assumed
h
a
t
h
t
e
n us without reviewing the log files
a
y
to the records in staging table
a 2. Validating
s
e
(
ta cens
r
u
li
ak
o While validating the data in staging table it can complete with
h
T
n
aya
Error Handling
26 of 27
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
27 of 27
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
s
a
h
Purchase Order
) Extract
m
e
o
d
i
Outbound
ilc t Gu
a
gm den
@
tu
ta Case
Study
r
S
u
s
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
ns
a
r
t
n-
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
Module List .......................................................................................................
5
ta s Stu
r
u
i
k
aConcurrent
thProgram ...................................................................... 8
h
t
Registering
e
an to us
y
a
(s Downloading
se Concurrent Program Script ...................................................... 14
a
n
t
r
e
licDeployment ..................................................................................................... 15
aku
h
T
n
ya
Sa
Document Control
iii
bl
a
r
fe
Purpose ........................................................................................................ 1
Background ................................................................................................. 1
Scope and Application ................................................................................ 1
Audience ..................................................................................................... 2
Source system ............................................................................................. 2
Assumptions ................................................................................................ 2
Pre-Requisites ............................................................................................. 3
Business Rules .......................................................................................... 3
Approach ..................................................................................................... 4
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Introduction
A purchase order (PO) is a commercial document issued by a buyer to
a supplier, indicating the type, quantities and agreed prices for products or
services the seller will provide to the buyer. It will specify payment terms,
delivery dates, item identification, quantities, shipping terms and all other
obligations and conditions.
Purchase orders are generally preprinted, numbered documents generated by
the retailer's financial management system, which shows that purchase details
have been recorded and payment will be made.
ns
a
r
t
n-
no
a
s
a
h
)
data, which is
m
This document demonstrates the extract
of purchase
order
e
o
d
i
approved and received.
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
This
document
describes the:
y
o
t
a
s
e case study is intended to demonstrate the extraction of data from
( nsThis
a
t
r
e
lic Oracle Applications Purchase Order for legacy system.
aku
To enter or query a Purchase Order from front end navigate to Purchasing
Responsibility, Select Purchase Orders -> Purchase Orders.
Purpose
h
T
n
aya
Background
This case study document is designed to demonstrate a practical scenario that
occurs during implementation of oracle Purchase Orders.
Introduction
1 of 18
bl
a
r
fe
Use the Purchase Order window to enter the standard purchase order, blanket
purchase order, planed purchase order, purchase requisitions etc. You can also
query and update purchase order in this window.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
Audience
no
a
s
a
h
)
This document should be used for demonstration
purposes only.
m
e
o
d
i
ilc t Gu
a
gm den
Source system
@
ta s Stu
r
u
i studies the source system and understands the data
k team
The implementation
h
a
t
h
t
e
to be migrated
required
s from Oracle Applications to legacy system. This data
nextracted
u
a
y
is
then
and cleansed from the Oracle Applications (this is done by IT
o
t system)
ateam ofesource
s
(
in the format as agreed by the client, source system IT
s
nand
ta cteam
r
e
the
implementation
team.
u
k
li
a
h
T
n
a
ayAssumptions
This document is intended for the following individuals:
System Administrator
Introduction
2 of 18
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Pre-Requisites
Approved and Received Purchase order records should be available in
Oracle Applications
Business Rules
ns
a
r
t
n-
Following business rules are applicable for the Purchase Order extract
process.
bl
a
r
fe
no
a
s which are approved and
Extract all the purchase order records
a
h
)
received
m
e
o
d
i
u the columns to be extract for
lclayoutGfor
ifile
Please refer Extract
a
t
the purchase order.
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Introduction
3 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Approach
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
The Approach for extracting Purchase Order
data
Oracle Applications to
) from
m
e
o
a data file is
ilc t Guid
a
1. Login to the OraclegApplications
m en
@
2. Using PL/SQL
write
a package
tud
a
t
r
S
3. Use UTL_FILE
in PL/SQL package to create the data file
iscreated
kuwouldthbeutility
a
h
4. Data
file
by custom concurrent program
t
e
s
n
ya5. UsetoanyuFTP utility to transfer the extract data file into legacy system.
a
s
( nse
a
t
r
lice
aku
h
T
n
ya
Sa
Introduction
4 of 18
Module List
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Concurrent Programs
XX<EMPID>: Purchase Order Extract Program
The XX<EMPID>: Purchase Order Extract Program c oncurrent
program
is ba
sed on t
he s
tored pr
ocedure
XXPO_PURCHASE_OUTBOUND_PKG.main that is registered as a
PL/SQL executable.
ns
a
r
t
n-
NOTE:
no
a
s program from Registering
a
2. Follow the steps for registering concurrent
h
)
h
T
n
ya
Sa
1. Package Specification:
Case Study: Purchase Order Extract Outbound
Module List
5 of 18
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
2. Package Body:
Grant Script
If package is created in custom schema then grant the package to APPS
schema
NOTE: Please refer the attached script for table and package granting. Kindly
open the attached script in notepad.
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
Synonym Script
o
d
i
c G
u then grant the package and
ilcustom
If table and package are createdain
schema
t
n APPS schema
gmpackage
create synonym for table and
in
e
d
@
ta s Stu
r
u
i
krefer thethattached
NOTE: Please
script for table and package synonym.
a
h
t
e
theuattached
Kindly
script in notepad.
s
nopen
a
y
o
a et
s
(
ta cens
r
u
li
ak
h
T
n
aya
Install Script
Install script contains UNIX Shell Script and will be used to deploy the
objects attached to this document on Oracle Applications Server.
Following are the object to be deployed on server.
1. Package Specification Script
2. Package Body Script
NOTE: Please refer the attached Install script for deployment of Purchase
Order object on Oracle Applications Server. Kindly open the attached script in
notepad.
1. Install Script:
Module List
6 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
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.
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Module List
7 of 18
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
8 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
bl
a
r
fe
9 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
e in the Concurrent Program Form
TheuFollowing
4. Enter
s
n
a
o
Name: Enter XX<EMPID>: Purchase Order Extract
ay ea. tProgram
s
(
s
rta licen b. Program
u
k
Short Name: Enter a unique concurrent program short name, for
a
h
T
n
aya
example: XXPOOUTBOUNDMAIN
c. Application: Select the value from LOV, as we would be executing
this concurrent program from Payables Applications so select
Custom Development and add this concurrent program in Purchase
Order Request Group.
d. Description: Enter the description of this concurrent program.
e. Executable Name: Select the executable name from LOV, as we
have already registered an executable for loader program so select
XXPOOUTBOUNDMAIN from LOV.
f. Executable Method: Executable method will be populated
automatically.
g. Parameters if any: Select the Parameter Button to specify the
parameter list. In our case there should be two parameters we
would be passing. A) Data File Path B) Data File Name
10 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
mForm ide
o
Concurrent Program
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
11 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
12 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
Request Group Form
i
ilc t Gu
a
gm den
@
tu in the Request Group and save the
ta s SProgram
3. Add an entry for Concurrent
r
u
k thi
work.
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
13 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
For Example:
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)
m
e
o
d
i
u
i0lYcDOWNLOAD
G
a
FNDLOAD apps/apps
t
gm den
$FND_TOP/patch/115/import/afcpprog.lct
@
ta s Stu
XXPURCHASEORDERLOAD.ldt
PROGRAM
r
u
i
k
CONCURRENT_PROGRAM_NAME
= XXPOOUTBOUNDMAIN
h
a
t
h
t
e
n us
a
y
a e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
14 of 18
Deployment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
To deploy the attached zip file which contains package, table scripts, grant
script, synonym script, concurrent program script and install script, please
follow the below steps
1.
2.
9.
cd XXPOOUTBOUND
bl
a
r
fe
ns
a
r
t
- in temporary
3. Create a Staging Directory [E.g. XXPOOUTBOUND]
n
o
area on Oracle Application Server.
an
s
a
4. mkdir -p XXPOOUTBOUND ) h
m
e
o
d
i
u directory.
ilcon the
5. Change the Permissions
temp
G
a
t
gm den
@
6. chmod
tu
ta755 sXXPOOUTBOUND
r
S
u
i
kFTP thetXXPOOUTBOUND.tar.gz
h
a
7.
file in BINARY mode to directory
h
t
e
s
n
XXPOOUTBOUND
ya to u
a
s
( nse 8. Change directory to XXPOOUTBOUND as given below
a
t
r
lice
aku
h
T
n
ya
Sa
Deployment
15 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
PO_NUMBER
PO_TYPE
AGENT_NAME
VENDOR_NAME
VENDOR_SITE
PAYMENT_TERM
CURR_CODE
AUTH_STATUS
LINE_NUM
INVENTORY_ITEM
ITEM_DESCRIPTION
UOM
UNIT_PRICE
LINE_QUANTITY
RECEIPT_NUM
QUANTITY_RECEIVED
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
VARCHAR2
NUMBER
VARCHAR2
VARCHAR2
VARCHAR2
NUMBER
NUMBER
VARCHAR2
NUMBER
30
25
240
240
15
30
30
25
1
30
250
25
PO_HEADERS_ALL
PO_HEADERS_ALL
PER_ALL_PEOPLE_F
AP_SUPPLIERS
AP_SUPPLIER_SITES_ALL
AP_TERMS_TL
PO_HEADERS_ALL
PO_HEADERS_ALL
PO_LINES_ALL
MTL_SYSTEM_ITEMS
MTL_SYSTEM_ITEMS
MTL_SYSTEM_ITEMS
PO_LINES_ALL
PO_LINES_ALL
RCV_SHIPMENT_HEADERS
RCV_SHIPMENT_LINES
ns
a
r
t
n-
no
a
s
a
h
)
30
m
e
o
d
i
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
y findtthe
o attached extract file for Purchase Order, which has been
aPlease
s
e
(
ns from Oracle Applications.
ta cextracted,
r
e
u
li
ak
h
T
n
ya
Sa
16 of 18
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
Select View Menu -> Request, Submit a new request, and click on single
request and than click OK Button.
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
SRS Form
1. Select the Concurrent Program name from LOV
2. Enter the parameter value for Data File Path and Data File Name.
3. Click on Submit Button to run the request.
17 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ns
a
r
t
n-
no
a
s
a
h
ID
Issue
Resolution
Responsibility
Target Date
)
m
co Guide
l
i
ma ent
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
n
aya
bl
a
r
fe
Impact Date
18 of 18
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
CASE STUDY
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Sa
ya
h
T
n
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
no
a
has
3. Problem statement / Technical doc :( Purchase Order) Interface)
m idecolumn mapping of Flat
o
Understand of Purchase Order Flat file from Source
System and
c
u
il tabletand
G
a
File to identify the column requirement for staging
m en create the staging table.
g
@ involved.
tud
a
Create a Technical Speciation ofrprocess
t
S
ku this
a
h
Understand SQL*Loader
eFile) to Load data from flat file to staging table.
t (Control
s
n
u
a
to table to Migrate Purchase Order from Source System and
ay Interface
s
Identify the(Open
e
s table.
nstaging
ta cwith
r
theirumapping
e
k
li
a
h
n T Write suitable scripts to load into staging table and use PL/SQL procedure to perform
ya
Sa
pre validate of records and update flag of staging table in case of error record.
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Purchasing Sample
Data File.csv
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
(Screenta
Shot of Flat
nsFile: Sample data)
r
e
u
c
li
ak
Sa
ya
h
T
n
ns
a
r
t
n-
Datatype
Size
Vendor_number
Varchar2
30
Vendor_number
Document_type_code Varchar2
10
Document_type_code
Agent_number
Varchar2
240
Agent_number
Bill_to_location
Varchar2
30
Bill_to_location
Ship_to_location
Varchar2
30
Ship_to_location
Curr_code
Varchar2
10
Curr_code
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Datatype
Size
Inventory_item
Varchar2
30
Inventory_item
Unit_of_measure
Varchar2
15
Unit_of_measure
Unit_price
Number
Unit_price
Quantity
Number
Quantity
Need_by_date
DATE
Need_by_date
Line_number
NUMBER
Line_number
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
h
)Program.
us Purpose
an: fortoHistory
y
Who Columns
a
(s nse
a
t
r oliccreated_by
e
aku
Hints : While we creating staging table please create few extra column i.e.
h
T
n
aya
o creation_date
o last_updated_by
o last_updated_date
o last_updated_login
Understand SQL*Loader (Control File) to Load data from flat file to staging table.
Identify the Open Interface table to Migrate Purchase Order from Source System and
their mapping with staging table.
Hints:
PO_HEADERS_INTERFACE
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
PO_LINES_INTERFACE
PO_DISTRIBUTION_INTERFACE
ns
a
r
t
n-
no
a
sdata into interface table
Validation on the performed on input transaction before inserting
a
h
)
m
e
o
d
o Supplier Validations reference table AP_SUPPLIERS
i
ilc t Gu
a
n
o Supplier Site Validations reference
table AP_SUPPLIER_SITES_ALL
gm
e
d
@
tu
a
treference
r
S
u
o Operating Unit Validation
table
HR_OPERATING_UNITS or take the
s
k thi
a
h
value from Profile
e
t FND_PROFILE.VALUE(ORG_ID)
s
n
u
a
y to Organization
to
aShip
o Validate
reference table MTL_PARAMETERS
s
e
(
s
a
n
t
r liceitems reference table MTL_SYSTEM_ITEMS_B
akuo Validate
ya
Sa
h
T
n
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Write suitable scripts to load into staging table and use PL/SQL procedure to perform
pre validate of records and update flag of staging table in case of error record.
BEGIN
SELECT PAPF.person_id
INTO l_agent_id
FROM per_all_people_f PAPF
WHERE employee_number = <Value from Cursor>
AND SYSDATE BETWEEN EFFECTIVE_START_DATE AND
EFFECTIVE_END_DATE
AND PAPF.BUSINESS_GROUP_ID = (select
BUSINESS_GROUP_ID
from hr_operating_units
where organization_id = gn_org_id);
EXCEPTION WHEN NO_DATA_FOUND THEN
FND_FILE.PUT_LINE(FND_FILE.LOG,'Agent Number does
not exist'||<from Cursor>);
l_error_flag :=1;
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Hint : Use concurrent program to move data into Base application tables.
Call the Import Standard Purchase Orders Program with the
following Parameters
a. Default Buyer: Stock, Ms. Pat ( For Operations User)
b. Create or Update Items: No
c. Apporval Status: INCOMPLETE
d. Batch Id: Query the staging table for last run and pass it
here
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
Sa
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
4. Unit test:
gm den
@
Appropriate unit testing of has to be performed.
tu specification section with has to
ta sTheStechnical
r
u
be updated.
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens Condition Description
Programkur Condition
Expected /ActualResults
li
a
h
T
Sql Loader
n
a
y
test
XX<EMPID>:
Purchase
Order
Interface
Loader
Program
XX<EMPID>:
Purchase
Order
Interface
Loader
Program
Run With
Parameter:
Data File
Name
No
Paramaeter
Login TO EBS
1. Navigate to Purchasing Responsibility
2. Navigate to Requests
3. Select Request " XX<EMPID>: Purchase
Order Interface Loader Program "
4. Parameters : NA
5. Submit
6. View Output
<Records should be
inserted into Open Interface
PO_HEADERS_INTERFAC
E and
PO_LINES_INTERFACE.
And see the View ouput for
any validation failure>
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Program
Standard
import test
Import
Standard
Purchase
Orders
Condition
Condition Description
Expected /ActualResults
Login TO EBS
1. Navigate to Purchasing Responsibility
2. Navigate to Requests
3. Select Request " Import Standard
Purchase Order "
4. Parameters :
Default Buyer : Default Value
Create or Update Items : No
Approval Status : Incomplete
Batch ID : <Select from LOV>
5. Submit
6. View Output
<Records should be
transferred from interface
table to base table
PO_Headers_all,PO_LINES
_ALL,POLINE_LOCATIONS_ALL
and
PO_DISTRIBUTIONS_ALL.
In case of error see open
Interface error table
PO_INTERFACE_ERROR
S. Correct those records
and rerun the standard
Purchase Order
Programs.>
The developed program
should log and provided
appropriate output for error
correction.
ns
a
r
t
n-
no
a
s
a
h
Re-submit above program
)
Modify
m
e
o
d
transaction
i
ilc t Gu
a
in flat file to
gm den
test above
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
5. Schedule: ay
to
s
e
(
ta cens
r
u
k
li
a
h
This
case
study
is expected to be performed in five days. The estimated schedule is as
T
n
follows:
ya
Sa
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
CASE STUDY
1.
The Workshop The application programming interface (API) takes the student to
evaluate the knowledge on
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Understanding the usage of Oracle EBS Public API and its implementation.
Identification and understanding the interface process using API.
Understanding the process of using SQL loader technique.
Understanding the validation technique towards inbound API transactions.
Understanding the implementation of file processing.
Understanding the API debugging process and generation of error log file.
Analysing the error log and implement the required correction technique.
bl
a
r
fe
1. Business Scenario:
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
It is assumed Items and customer information are set up manually at the headquarters and
only the sales order along with relevant details are sent to Headquarters towards interfacing
the sales order to Oracle EBS.
no
a
sdescribes the approach,
a
As a technical developer you are expected design a solution which
h
)
the appropriate API,
create & identify the appropriate table, and develop scripts
which use
m
e
o
d
i
register in Oracle EBS environment and test the solution.
ilc t Gu
a
gm den
@
tu
ta API):
r
S
2. Problem Statement (OrderuImport
s
k thi
a
h
t
use
n
a
to
ay specification.
Creation of(technical
s
e
ta cens
r
u
Understand
&
k
li create the flat file requirement towards API interface.
a
h
n T Create relevant staging custom stage table.
ya
Sa
Create scripts / plsql packages to validate record and call relevant API for integration.
Create appropriate scripts, packages and registration process to test the solution
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
an
s
ha
)
m ide
o
c
il t Gu
a
n
The structure of order line table will be like
oe_order_pub.line_tbl_type.
gm
e
d
@
XXCUSTOM_ORDER_LINES_STG
ta s Stu
r
u
For Populating Lines Information
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li & create SQL loader program.
ako Understand
h
T
n
aya
bl
a
r
fe
Write sql loader program .ctl file to load order header and line records from flat
file to staging tables.
Create scripts / PL/SQL packages to validate record and call relevant API for integration.
a. Prepare the PL/SQL store program with pre validation for input records. The
following pre validation can be considered.
The customer, ship to and bill to address validation with reference of
HZ_LOCATIONS, HZ_PARTY_SITES, HZ_CUST_ACCT_SITES_ALL,
HZ_CUST_SITES_USES_ALL tables.
The operation unit validation (org_id) with reference of
HR_OPERATIONG_UNITS.
The ship to, invoice to organization supplied with reference of
MTL_PARAMETERS.
The order type and line type validation with reference of mtl_parameters
table.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Validate the item with respect to master and shipping Org with reference
with MTL_SYSTEM_ITEMS_B and MTL_PARAMETERS tables.
ya
Sa
bl
a
r
fe
ns
a
r
t
In case if any error occurred, go through the log details and check the errornmessage.
If
o
nout exact error
it reflects validation error search the same in pl/sql package to find
a
s
location verify the sql query to find out the root cause of error.
ha
)
m
e error data from
o
Once cause of error derived reprocess the flat fileafter
deletingid
the
c
u
l
i
staging table.
ma ent G
g
@ tud
a
t
r
u his S
k
a
th se t
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
Th
2.1
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Column Description
Data type
ORIG_SYS_DOCUMEN
T_REF
VARCHAR2(50
)
ORDER_CATEGORY
Order category
ORDER_TYPE
Order type
VARCHAR2(30
)
VARCHAR2(40
)
SOLD_TO_ORG_ID
Number
Sa
Number
ORDER_CATEGO
RY
ORDER_TYPE
bl
a
r
fe
ns
a
r
t
n
SOLD_TO_ORG_I
o
a nD
s
a
h
)
m
e
o
d
i
INVOICE_TO_ORG_ID
Number
ilc t Gu
a
gm den
@
tu Number
taid represents
SHIP_FROM_ORG_ID
Ship from org
r
S
u
s
k thi
the warehouse
a
h
t
use
n
a
ORG_ID
the
Number
tidorepresents
ay Org
s
e
(
operating
unit.
ta censOrdered date
r
ORDERED_DATE
Date
u
k
li
a
h
T
n
a
y
SHIP_TO_ORG_ID
Staging Table
Columns
ORIG_SYS_DOCU
MENT_REF
SHIP_TO_ORG_ID
INVOICE_TO_OR
G_ID
SHIP_FROM_ORG
_ID
ORG_ID
ORDERED_DATE
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Column Description
Data type
Column Name
ORIG_SYS_DOCUMEN
T_REF
VARCHAR2(50)
ORIG_SYS_DOCU
MENT_REF
ORDERED_ITEM
Inventory Item
VARCHAR2(200
0)
ORDERED_ITEM
LINE_CATEGORY_COD
E
VARCHAR2(30)
LINE_CATEGORY
_CODE
ORDERED_QUANTITY
Number
ORDERED_QUAN
TITY
ns
a
r
t
n-
Sa
o
nORDER_QUANTITY
a
s _UOM
a
h
)
m
e
o
d
i
LINE_TYPE
Line type.
Varchar2(240)
LINE_TYPE
ilc t Gu
a
gm den
@
ta s Stu
r
u
k thi
The sample data file is attached here.
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
k
li
a
h
T click to open in notepad.
Double
n
a
y
ORDER_QUANTITY_UOM Unit of measure of ordered
item.
Varchar2(3)
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
(Note - Perform unit test and provide the details in technical specification
documents)
Unit Test Steps Condition
Condition Description
Expected/Actual result
1. Design the
control files to
load data into
sales order
header and line
tables.
2. Run the
concurrent
Program request
Set XXCustom
Order Import
Process from OM
responsibility and
verify the status.
ns
a
r
t
n-
bl
a
r
fe
no
a
sconcurrent program request
a
h
If
) setecompleted
m
successfully verify
o
d
i
c Guthe order number
l
log and
i
a nt query the same infrom
order
m
g
de
management module.
@
u
t
a
t
r
S
ku this
a
h
t use
n
a
ay e to
s
(
ta cens
r
u
3. Modify the data
k
li
a
h
file with some
T
Re-submit concurrent program.
The developed program should
n
wrong
value in
a
y
log and provide appropriate
a field and run
Sdata
output for error correction.
the concurrent
program request
set XXCustom
Order Import
Process. Verify
the log for
validation error.
1. Login to ebs
2. Navigate to Order
Management Responsibility.
3. Select Request set and
submit the requestset
XXCustomOrder Import
program
4. Parameters: NA
5. Submit
6. View output
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Schedule:
This case study is expected to be completed perform in 5 days. The details about the
estimate have given below.
Create associated sales order data similar to flat file load into staging table.
Create / develop program and process the imported records through OM API to import it
into OM base table.
Create technical specification.
no
a
s
a
h
) intoestaging
table.
Create associated item transaction similar to flat file and
load
m
o
d
i
c Gu
ailrecords
Create / develop programs to process the m
Items
t through Item API and import to
n
g
e
EBS inventory table.
@ tud
a
t
r
u his S
k
a
th1 Day.se t
Evaluation Duration
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
Th
ya
Sa
ns
a
r
t
n-
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
IBM GH Program
Technical Specification For Extension
<Some Name>
Version
Creation Date
an
s
Last Print Date
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
k
li
a
h
T
n
a
ay
Last Update Date
ns
a
r
t
n-
1.0
bl
a
r
fe
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Contents
Document Control ......................................................................................................................... 3
Change Record ........................................................................................................................... 3
Object Information ......................................................................................................................... 4
Technical Overview ........................................................................................................................ 5
Overview ................................................................................................................................... 5
Description ................................................................................................................................. 5
Approach ................................................................................................................................... 5
Assumptions ............................................................................................................................... 5
Module list ................................................................................................................................. 5
Document References ................................................................................................................... 6
ns
a
r
t
n-
bl
a
r
fe
no
a
PL/SQL Program Design .................................................................................................................
8
s
a
h
Program Elements ........................................................................................................................
8
)
m
e
Program Flow Diagram ..................................................................................................................
9
co Guid
l
Pseudo-Code ............................................................................................................................
10
i
a nt
Error Handling ...........................................................................................................................
10
m
g
e
Table and View Usage .................................................................................................................
10
d
@
u
t
a
t
ur his S
k
Application Set up .......................................................................................................................
11
a
t
h
t
New/Updated Seed Data ..............................................................................................................
11
e
us
n
a
Descriptive Flexfield ....................................................................................................................
11
y
o
t
a
Value Sets ...............................................................................................................................
11
s
( n.....................................................................................................
se
a
Concurrent Program
Executable
11
t
r
e
u
c
i
Concurrent Program
Definition
....................................................................................................... 11
k
l
ha
T
n Design ......................................................................................................................... 13
Database
aya
14
14
14
14
Performance Considerations.......................................................................................................... 15
Volume Consideration ................................................................................................................. 15
Installation Requirements.............................................................................................................. 16
Issue Log................................................................................................................................... 17
Open Issues ............................................................................................................................. 17
Closed Issues ........................................................................................................................... 17
Page 2 of 17
Document Control
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Change Record
Date
Author
Version
Change Reference
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 3 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Object Information
Project Name
Build Name
Functional Spec Reference
Primary RICE Group
Functional Area
Technology Area
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 4 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Technical Overview
Overview
< Give a brief overview of the functional requirement >
Description
Approach
< The Case Study (Case Study name )> will cover the following:
Step 1
Step 2
ns
a
r
t
n-
bl
a
r
fe
an
..
s
ha
)
Step n
m ide
o
c
il t Gu
a
gm den
@
Assumptions
ta s Stu
r
u
k thi
The following are the <Case Study Name >a
assumptions:
h
t
n use
< Assumptions if any > ya
a e to
s
(
ta cens
r
u
k
li
a
h
ModuleT
list
n
a
y
Sa
Table
1. List All Custom Table names here
PL/SQL
1. List all PL/SQL package/procedure names here
Page 5 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Document References
< List the name of the FS provided >
Document
Version
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 6 of 17
Technical Specification
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Program Flow
< Provide a BLOCK DIAGRAM of the proposed solution >
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 7 of 17
Program Elements
Script Name / Package / Procedure / Function Name
Description
Name
Type
Type (
package/Procedure/Function
etc)
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 8 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Start
Step 1
Step 2
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
Step 3
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
Step
n
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
End
Page 9 of 17
Pseudo-Code
Example:
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Begin Program;
Read Data file;
Insert Into Staging Table;
..
..
..
Begin Validation Program
ns
a
r
t
n-
an
End Insert Routine
s
ha
)
Call Interface Program
m ide
o
c
Name
Type
Is New?
bl
a
r
fe
Functional
Area
SELECT
INSERT
UPDA
TE
DELETE
Page 10 of 17
Application Set up
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Application
Code
Meaning
Access Level
Descriptive Flexfield
N/A
Application
Form Name
Segment Name
Window Prompt
Column
Title
Base Table
Value Set
Displayed
Enabled
ns
a
r
t
n-
no
a
s
a
h
Value Sets
)
m
e
o
d
i
Existing seeded value sets are used.
ilc t Gu
a
gm den
@
Value Set Name
De List Secu Format
ta sMaxStuPre Num Upperc Right
r
u
scri Ty
rity k Type i Size
cisi bers
ase
Justif
a e th
ptio pe th
Type
on
Only
Only
y
s
n
n
ya to u
a
s
( nse
a
t
r
u
ice
k
l
a
h
T
an
y
a
S Concurrent Program Executable
Executable
Short Name
Application
Description
Execution
Method
Min
Valu
e
bl
a
r
fe
Ma
x
Val
ue
Valid
ation
Type
Execution File
Name
Program
Short
Name
Application
Description
Executable
Name
Method
Output
Format
Page 11 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Program
Short
Name
Application
Description
Executable
Name
Method
Output
Format
Incompatibilities
Application
Name
Scope
Type
Parameters Display
Seq
Parameter
Description
Enabled
Display
Size
Concatenated
Description
no
a
s
a
h
)
m
e
o
d
i
ilc t Gu
a
Parameters Validation
gm den
@
ta s Stu
r
u
k thi Default Value
Seq Value Set
Defaulta
Type
Range
h
t
e
an to us
y
a
(s nse
a
t
ur lice
k
a
h
T
yan
a
S
ns
a
r
t
nPrompt
Req
.
bl
a
r
fe
Token
Enable
Security
Group
Application
Code
Description
Request Type
Name
Application
Page 12 of 17
Database Design
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 13 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Condition
Condition Description
Expected Results
Pre-Requisites
ns
a
r
t
n-
bl
a
r
fe
no
a
s
a
FYI
Provide information on any pre requisite functional or technical setups
in this section.
h
)
m
e
o
d
i
ilc t Gu
a
Submission/Launching
gm den
@
ta s Stu
r
u
i
k thmethods
a
FYI
Provide information on different
submission
possible for this object. (eg: SRS, Workflow, form,
h
t
e
Page 14 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Performance Considerations
For the time being cost very low, no any full table scan are there.
Volume Consideration
TBD
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 15 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Installation Requirements
FYI
Provide information regarding the installation procedure in this section. The section should detail out the
installation steps if any, to be performed, any special procedures to be performed or provide reference to
promotion packs/installation documents etc.
ns
a
r
t
n-
bl
a
r
fe
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
h
T
n
ya
Sa
Page 16 of 17
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Issue Log
Open Issues
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ID
an
s
ha
)
m ide
o
c
il t Gu
a
gm den
@
ta s Stu
r
u
k thi
a
h
t
use
n
a
ay e to
s
(
ta cens
r
u
li
ak
Issue
Resolution
Responsibility
ns
a
r
t
n-
Target Date
bl
a
r
fe
Impact Date
h
T
n
ya
Sa
Page 17 of 17