Professional Documents
Culture Documents
1
AGENDA
2
ATTENTION – AUDIO Options
You can
• either listen the audio broadcast on your computer
• or join teleconference (dial in)
3
Voice Streaming – Audio Broadcast
4
ATTENTION – AUDIO INFORMATION
VOICESTREAMING IS AVAILABLE
Teleconference Connect details:
1. Conference ID: <11768816>
2. US / Canada Toll-Free : 1866 230 1938
3. International Dial In - +44 (0) 1452 562 665 (UK Dial In)
4. List with national toll free numbers is available in
note <1361242.1>
You can view this info anytime during the conference using
Communicate > Teleconference > Join Teleconference
from your WebEx menu
5
<Insert Picture Here>
6
AGENDA
7
AUDIO INFO - Teleconference
VOICESTREAMING IS AVAILABLE
Teleconference Connect details:
1. Conference ID: <11768816>
2. US / Canada Toll-Free : 1866 230 1938
3. International Dial In - +44 (0) 1452 562 665 (UK Dial In)
4. List with national toll free numbers is available in
note <1361242.1>
You can view this info anytime during the conference using
Communicate > Teleconference > Join Teleconference
from your WebEx menu
8
3
Send your question
2
Who to ask?
Q&A panel
1
type your question here
9
your question pop-up here
10
Safe Harbor Statement
12
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
13
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
14
Purchasing Document Open Interface
What are the basic steps for the import process :
• Insert data into interface table
• Run import program to insert data into base tables <Insert Picture Here>
Database
15
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
16
Requisition import
• This interface lets you integrate Oracle Purchasing quickly with new or existing
applications such as material requirements planning, inventory management, and
production control systems and also helps to enter requisitions from external sources.
The diagram above shows the inputs and outputs that comprise the interface process.
17
Requisition import
• Flow
import
Error
Success
Query PO_REQUISITION_HEADERS_ALL
18
Requisition import
• You identify the set of rows you want to import with each other by setting the
INTERFACE_SOURCE_CODE and BATCH_ID columns appropriately in the
PO_REQUISITIONS_INTERFACE_ALL table. You then pass these values as
parameters to the Requisition Import program. If you do not specify any values for these
parameters, the program imports all the requisition lines in the
PO_REQUISITIONS_INTERFACE_ALL table.
19
Requisition import
20
Requisition import
21
Requisition import
Phase 1 :
In the first phase, the program validates your data and derives or defaults
additional information. The program generates an error message for every
validation that fails and accordingly, it will create a row in the
PO_INTERFACE_ERRORS table with detailed information about each error.
Program will check for the column MULTI_DISTRIBUTIONS in the
PO_REQUISITIONS_INTERFACE_ALL table, if it is set to yes ( Y ) , Requisition
Import will then check for corresponding distributions in the
PO_REQ_DIST_INTERFACE_ALL table and if it did not find any corresponding
distribution information, it will loads these as errors in the
PO_INTERFACE_ERRORS table.
22
Requisition import
Running Requisition Import concurrent request : -- Cont.
Phase 2 :
• In the second phase, the program groups and numbers the validated
requisition lines according to the following criteria:
• If you provide a value in the GROUP_CODE column, all lines with the same value in this column
are grouped together under a requisition header.
• If you do not provide values in either of these columns, the Requisition Import program uses the
Group By parameter to group lines together.
• If you do not provide a value for this parameter, the program uses the default Group By that
you set up to group requisition lines.
23
Requisition import
Running Requisition Import concurrent request : -- Cont.
Phase 3 :
• In the third phase, the program deletes all the successfully processed rows in
the interface tables, and creates an output which lists the following :
This output can be viewed by choosing View Output for the Requisition Import
concurrent Request ID in the Requests window.
24
Requisition import
• If you are using requisition encumbrance, approved requisitions that you import
automatically become pre-approved.
• In case there are some records not imported appears in the output from the
report, then you can launch the Requisition Import Exceptions Report to view
the rows that were not imported by the Requisition Import program along with
the failure reason(s) for each row.
25
Requisition import
Screen shot for requisition import program
26
Requisition import
Common Questions
You submit a request to run the Requisition Import and when you try to
select from the list of values in the parameter field for Import Source, you
do not find any value and you receive the error message:
FRM-41830 List of Values contains No Entries
Cause :
The List of Values for the Import Source parameter is dynamically
determined by the INTERFACE_SOURCE_CODE column value in the
PO_REQUISITIONS_INTERFACE_ALL table, So that if there are no
values for the LOV, then there are no records in the table for the
current organization.
• Please ensure that there are records in the interface and that the
field INTERFACE_SOURCE_CODE is already populated.
27
Requisition import
Common Questions
How the Initiate Approval After Requisition Import parameter works ?
and what is the relationship between it and AUTHORIZATION_STATUS field
Answer :
The following table will illustrate how it works and the relationship between it and
AUTHORIZATION_STATUS value in interface table :
28
Requisition import
Successful import will results in an output from the
concurrent request like the following :
29
Requisition import
Unsuccessful import will results in an output similar
to the following one :
30
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
31
Requisition import
• You can use the Requisition Import Exceptions report to review all rows that
failed validation as it will list all the columns that failed validation along with
the reason for the failure.
32
Requisition import
Checking Failed Transactions - directly from tables
• Example :
• Then use the following SQL to query the Interface Errors table and
show the error details similar to what you got from exception report
(using the transaction id obtained from previous SQL statement
as shown above) :
SQL> Select *
From PO_INTERFACE_ERRORS
Where INTERFACE_TRANSACTION_ID =„&Trans_ID_from_previous_SQL';
33
Requisition import
Screen shot for Requisition Import Exceptions Report
34
Requisition import
35
Demo for diagnostics <Insert Picture Here>
36
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
37
Standard Purchase Order import
Success
Process
Tables Tables
Error
38
Standard Purchase Order import
• Once the data has been inserted into the interface tables, a queries
like the following can be used to review the information before running
the import program :
39
Standard Purchase Order import
40
Standard Purchase Order import
41
Standard Purchase Order import
• Distributions information
SQL> INSERT INTO po.po_distributions_interface
(interface_header_id,
interface_line_id,
interface_distribution_id,
distribution_num,
quantity_ordered,
charge_account_id)
VALUES
(po_headers_interface_s.CURRVAL,
po.po_lines_interface_s.CURRVAL,
po.po_distributions_interface_s.NEXTVAL,
1, -- Distribution number
10, -- Quantity Ordered
13401) ;-- Your Charge Account Id
After making sure that data are ok, please do not forget to issue a commit statement
42
Standard Purchase Order import
• Once the data has been reviewed and committed, the Import Standard Purchase
Orders program can now be run. The following screenshot shows the concurrent
program being submitted :
Default Buyer (Optional)
Enter the default buyer name to be associated with the
incoming documents that are not assigned to a buyer..
IfCreate
a defaultorbuyerUpdate
is not Item (Required)
specified and the imported
purchase order also does not have buyer information, the
The valid
program response
Approval
will use the is
StatusYes or
normal No.
(Required)
Purchasing defaulting
mechanism to generate buyer
any ofinformation.
in the If
Yes : You
the program will create items themaster
item buyer
must choose the following values :
name
from provided
those buyer in the
partinterface
numbersisin not valid,
the then the
interface datarecord
where
will error out
Approved and the default buyer
there is no corresponding item master entry.name will not be
supplemented.
Batch ID program
(Optional)
Incomplete
No : the will not create new item master entries.
Enter a valid batch
Initiate ID, that(To
Approval is ainitiate
uniqueapproval
identifierworkflow
for the )
group of documents in this submission. If you don‟t enter a
Batch ID, Theoneimpact of this parameter
is generated for you when on the
the import
process logic will be
runs.
explained in next slide
43
Standard Purchase Order import
The impact of Approval Status parameter on the import logic is explained in the below
table :
Incomplete
Null Incomplete
Approved
Approved Approved
Approved
Approved Initiate Approval
44
Standard Purchase Order import
Important to know :
• If the records got imported successfully without issues, the records will stay
in the interface tables which is different than what happens for requisition
import and the PROCESS_CODE will show the status “ACCEPTED”
45
Standard Purchase Order import
46
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
47
Standard Purchase Order import
How to Diagnose PO import data issues
• Error Processing :
• If the program gets an error while processing a record, the program writes the
error details to the PO_INTERFACE_ERRORS table and increments the
record's error counter.
48
Standard Purchase Order import
How to Diagnose PO import data issues
• If no processing errors are found during processing, the header record and
all successfully submitted child records are loaded into Purchasing, and
then flagged as processed by setting the PROCESS_CODE column to
ACCEPTED.
Here the PO header has been processedHere the PO header has been processed Heresuccessfully
the PO header
without
did not pass validation
successfully without errors and so are errors but one of its lines ( line 2 ) ended
and with
has got
error.
some
However
errorsthe so that it has been
subsequent lines so that it has been PO has been accepted and moved to rejected
base tables
along
with
with
theallfirst
related lines and
accepted and moved to base table. line that passed validation. Second line distribution
will show without
in errorseventable.processing them.
49
Standard Purchase Order import
How to Diagnose PO import data issues
• To check for records in error, the Purchasing Interface Errors Report can be run to provide
information as to the cause of the error. The following screenshot shows the concurrent program
being submitted :
Purge Data
Source Program (Optional)
Yes : to purge
This the data in the Purchasing Interface Errorswhose
parameter helps us to select the program
table after errors
the report runs. The errors you see in the report
we want to review.
will not reappear the next time you run it. Only the data for
the SourceWe Program youPurchasing
will select chose will beDocuments
deleted. Open Interface ,
that will show us what errors occurred when the Import
No : to keep the errors in the table
Orderand in the ran.
report, listed
Standard Purchase program
along with any new errors.
50
Standard Purchase Order import
51
Standard Purchase Order import
How to Diagnose PO import data issues
• Diagnostic test :
• There is also a diagnostic test available for Purchase Order similar to what
we used with requisition.
• The following are the notes for Diagnostic test in both 11i and R12 :
• Note 224887.1 11i : Oracle Purchasing Purchasing Documents Open Interface Data Collection Test
• Note 732177.1 R12.0.6+ : Purchasing Purchasing Documents Open Interface Activity Test
52
Standard Purchase Order import
• Sample output from Purchasing Documents Open Interface Activity Diagnostic Test
53
PDOI general questions
Common Questions
Could not find Manufacturing APIs and Open Interfaces Manual Release
version for R12
Answer :
There is no version of the Manufacturing APIs and Open Interfaces
Manual Release for R12. You should use 11i users guide along with
Note 437587.1 for information on changes made to the import process
in Release 12.
54
PDOI general questions
Common Questions
I filled all the required interface data and run the import program. The import
program completed successfully but did not pick any record from the
interface and PROCESS_FLAG still set to null, neither accepted nor
rejected. Could not able to figure out what is wrong since there is no error
message. What could be the reason for that ?
Answer :
This will happen if you are running the concurrent request from a
responsibility that do not have access to the Organization defined in
the interface. Please double check the ORG_ID you populated and
make sure it is the one you should use.
55
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
56
Purchasing Documents Open Interface Table Descriptions
PO_REQUISITIONS_INTERFACE_ALL Interface table This is the main Requisition Import interface table
57
Purchasing Documents Open Interface Table Descriptions
58
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
59
Diagnosing problems with the import process itself
Some times the import concurrent request ends in error and in this
case, it will not be something related to data but could be something
related to the code. To check this, we will have to trace the code.
There are multiple ways to trace the code like :
• FND log
How to enable and retrieve FND debug log messages (Doc ID 433199.1)
In the next slides, we will show the steps to collect the raw trace file
along with TKPROF in another way other than traditional way.
60
Collecting the trace for a concurrent request
61
Collecting the trace for a concurrent request
62
Collecting the trace for a concurrent request
63
Collecting the trace for a concurrent request
64
Collecting the trace for a concurrent request
65
Collecting the trace for a concurrent request
This is the location on the database server where the trace files are located. The trace
filename will have the concurrent request id along with the username for the user
that submitted the request.
66
How to get the TKPROF from the trace file
TKPROF Function:
TKPROF accepts the raw trace file as input, and produces a formatted output file
that is most readable than raw trace file.
After collecting the trace file and TKPROF, please send it to Support engineer to help you
identify the problem with the concurrent process.
67
Agenda
• Overview of Purchasing Document Open Interfaces
• What are basic steps to use PDOI
• Demo
• Q&A
68
D E M O N S T R A T I O N
Note # Title
224025.1 Frequently Asked Questions: Requisition Import
944140.1 Vision Demo - How To Create Requisitions Using Requisition Import?
224031.1 FAQ: Purchasing Documents Open Interface
Vision Demo - How To Import Standard Purchase Orders Using the
1054004.1
Purchase Document Open Interface PDOI
1052184.6 Requisition Import Parameter "Import Source LOV" Contains NO Values.
367983.1 Requisition Import Basic Functionality
453527.1 How To Trace a Concurrent Request And Generate TKPROF File
…. ….
70
71
3
Send your question
2
Who to ask?
Q&A panel
1
type your question here
72
Further Info & Help
73
Upcoming Webcasts