Om API
Om API
Om API
April 2007
Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide, Release 12
Contributing Author: Alok Singh, Pravin Nair, Rakesh Moharana, Sasi Erla, Anjana Ramachandran
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or
decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
The Programs may provide links to Web sites and access to content, products, and services from third parties.
Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all
risks associated with the use of such content. If you choose to purchase any products or services from a third
party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality
of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party,
including delivery of products or services and warranty obligations related to purchased products or services.
Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third
party.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
Contents
Preface
iii
Business Object for Pricing Formulas Application Program Interface..................................2-87
Functional Overview......................................................................................................... 2-87
Setting Up and Parameter Descriptions............................................................................. 2-88
Validation of Business Object for Pricing Formulas API....................................................2-99
Example of Pricing Formulas API...................................................................................... 2-99
Business Object for Pricing Limits Application Program Interface.................................... 2-100
Functional Overview....................................................................................................... 2-100
Setting Up and Parameter Descriptions........................................................................... 2-101
Validation of Limits Public API....................................................................................... 2-118
Example of Limits Public API.......................................................................................... 2-119
Create Publish Price Book Application Program Interface.................................................. 2-119
Functional Overview....................................................................................................... 2-119
Setting Up and Parameter Descriptions........................................................................... 2-120
Validation of Create Publish Price Book API................................................................... 2-123
Examples of Create_Publish_Price_Book API.................................................................. 2-126
Get Currency Application Program Interface....................................................................... 2-126
Functional Overview....................................................................................................... 2-126
Setting Up and Parameter Descriptions........................................................................... 2-126
Validation of Get_Currency API...................................................................................... 2-127
Get Custom Price Application Program Interface................................................................ 2-128
Functional Overview....................................................................................................... 2-128
Setting Up and Parameter Descriptions........................................................................... 2-128
Validation of Get Custom Price API................................................................................ 2-130
Get Price Book Application Program Interface ................................................................... 2-133
Functional Overview....................................................................................................... 2-133
Setting Up and Parameter Descriptions .......................................................................... 2-134
Validation of Get Price Book API..................................................................................... 2-144
Examples of Get_Price_Book API.................................................................................... 2-145
Get Price List Application Program Interface.......................................................................2-145
Functional Overview....................................................................................................... 2-145
Setting Up and Parameter Descriptions........................................................................... 2-146
Validation of Get_Price_List API..................................................................................... 2-147
Multi-Currency Conversion Setup Application Program Interface.....................................2-147
Functional Overview....................................................................................................... 2-147
Setting Up and Parameter Descriptions........................................................................... 2-148
Validation of Multi-Currency Conversion API................................................................ 2-156
Example of Multi-Currency Conversion API................................................................... 2-157
Price List Setup Application Program Interface................................................................... 2-157
Functional Overview....................................................................................................... 2-157
Setting Up and Parameter Descriptions........................................................................... 2-159
Validation of Price List Setup API....................................................................................2-178
iv
Example of Price List Setup API...................................................................................... 2-178
Price List Setup Group Application Program Interface....................................................... 2-179
Functional Overview....................................................................................................... 2-179
Setting Up and Parameter Descriptions........................................................................... 2-180
Validation of Price List Group API.................................................................................. 2-199
Price Request Application Program Interface...................................................................... 2-200
Functional Overview....................................................................................................... 2-201
Setting Up and Parameter Descriptions........................................................................... 2-202
Validation of Price Request API....................................................................................... 2-260
Example of Price Request Application Program Interface............................................... 2-260
Pricing Data Bulk Loader API............................................................................................... 2-263
Functional Overview .......................................................................................................2-263
Setting Up and Parameter Descriptions........................................................................... 2-264
Validation of Pricing Data Bulk Loader .......................................................................... 2-265
Examples of Pricing Data Bulk Loader API..................................................................... 2-267
Pricing Object Security - Check Function API..................................................................... 2-275
Functional Overview....................................................................................................... 2-276
Setting Up and Parameter Descriptions........................................................................... 2-276
Validation of Pricing Object Security API........................................................................ 2-278
Pricing Attributes Application Program Interface............................................................... 2-278
Functional Overview....................................................................................................... 2-278
Attribute Mapping Application Program Interface............................................................. 2-291
Functional Overview....................................................................................................... 2-291
Setting Up and Parameter Descriptions........................................................................... 2-291
Validation of Attribute Mapping API.............................................................................. 2-297
Qualifiers Application Program Interface............................................................................ 2-297
Functional Overview....................................................................................................... 2-297
Setting Up and Parameter Descriptions .......................................................................... 2-298
Validation of Qualifiers API.............................................................................................2-315
Example of Qualifiers API............................................................................................... 2-315
Reverse Limits Application Program Interface.................................................................... 2-315
Functional Overview....................................................................................................... 2-316
Setting Up and Parameter Descriptions........................................................................... 2-316
Validation of Reverse Limits API..................................................................................... 2-321
Example of Reverse Limits API........................................................................................2-322
Round Price Application Program Interface........................................................................ 2-323
Functional Overview....................................................................................................... 2-323
Setting Up and Parameter Descriptions........................................................................... 2-324
Validation of Round Price API......................................................................................... 2-325
Validate Price List with Currency Code Application Program Interface............................ 2-325
Functional Overview....................................................................................................... 2-326
v
Setting Up and Parameter Descriptions........................................................................... 2-326
Validation of Validate Price List with Currency Code API.............................................. 2-326
vi
User Procedures............................................................................................................... 4-100
vii
9 Oracle Release Management XML Transactions
Overview of Oracle Release Management XML...................................................................... 9-1
Planning Schedule Transaction................................................................................................ 9-3
Sample Document Type Definition (DTD) and XML for Planning Schedule.......................9-4
Planning Schedule XML to Database Mapping................................................................... 9-9
Shipping Schedule Transaction.............................................................................................. 9-18
Sample Document Type Definition (DTD) and XML for Shipment Schedule....................9-20
Shipping Schedule XML to Database Mapping................................................................. 9-23
viii
Deliveries Public Application Program Interface................................................................ 12-59
Create_Update_Delivery API Features............................................................................ 12-59
Functional Overview................................................................................................. 12-59
Delivery_Action API Features......................................................................................... 12-70
Functional Overview................................................................................................. 12-70
Generate_Documents API Features................................................................................. 12-76
Functional Overview................................................................................................. 12-76
Setting Up the Generate_Documents API........................................................................ 12-77
Exceptions Application Program Interface........................................................................... 12-78
Exception_Action API Features....................................................................................... 12-78
Functional Overview................................................................................................. 12-78
Setting Up the Exception_Actions API............................................................................ 12-79
Get_Exceptions API Features........................................................................................... 12-87
Functional Overview................................................................................................. 12-87
Setting Up the Get_Exceptions API..................................................................................12-87
Delivery Details Public Application Program Interface...................................................... 12-89
Detail_To_Delivery API Features.................................................................................... 12-90
Functional Overview................................................................................................. 12-90
Split_Line API Features................................................................................................... 12-92
Functional Overview................................................................................................. 12-92
Update_Shipping_Attributes API Features..................................................................... 12-95
Functional Overview................................................................................................. 12-95
Autocreate_Deliveries API Features.............................................................................. 12-107
Autocreate_Del_Trip API Features................................................................................ 12-109
Get_Detail_Status API Features..................................................................................... 12-111
Functional Overview............................................................................................... 12-111
Update_Shipping_Attributes (overloaded version) API................................................ 12-113
Functional Overview............................................................................................... 12-113
Init_Changed_Attribute_Rec API Features.................................................................... 12-125
Functional Overview............................................................................................... 12-125
AUTOCREATE_DEL_TRIP (overloaded version) API Features.................................... 12-136
Functional Overview............................................................................................... 12-136
Container Public Application Program Interface............................................................... 12-138
Create_Containers API Features.................................................................................... 12-139
Functional Overview............................................................................................... 12-139
Update Container API Features..................................................................................... 12-142
Functional Overview............................................................................................... 12-142
Auto_Pack API Features................................................................................................ 12-149
Functional Overview............................................................................................... 12-149
Container_Actions API Features.................................................................................... 12-152
Functional Overview............................................................................................... 12-152
ix
Freight Costs Public Application Program Interface..........................................................12-155
Create_Update_Freight_Costs API Features.................................................................. 12-155
Functional Overview............................................................................................... 12-155
Validate_Freight_Cost_Type API Features.................................................................... 12-161
Delete_Freight_Costs API Features................................................................................ 12-162
Functional Overview............................................................................................... 12-162
Pick Release Application Program Interface...................................................................... 12-167
Create_Batch API Features.............................................................................................12-168
Functional Overview............................................................................................... 12-168
Release_Batch API Features........................................................................................... 12-179
Functional Overview............................................................................................... 12-179
Get_Batch_Record API Features.................................................................................... 12-181
Functional Overview............................................................................................... 12-181
Document Public Application Program Interface.............................................................. 12-193
Functional Overview..................................................................................................... 12-193
Custom Public Application Program Interface.................................................................. 12-199
UI_Location_Code API Features.................................................................................... 12-199
Functional Overview............................................................................................... 12-199
Calculate_TP_Dates API Features.................................................................................. 12-203
Functional Overview............................................................................................... 12-203
Example of API Packages and Procedures.......................................................................... 12-204
x
Sample XML Transactions for Third Party Warehousing................................................ 13-98
Using XML Messaging with International Trade Management........................................ 13-176
ItemSynchronization Request Transaction for ITM....................................................... 13-176
PartySynchronization Request Transaction for ITM...................................................... 13-177
OrderCompliance Request for ITM................................................................................13-177
DeliveryCompliance Request Transaction for ITM........................................................ 13-177
ExportCompliance Response Transaction for ITM........................................................ 13-178
Overview of XML and DTD for ITM............................................................................. 13-179
ITM DTDs...................................................................................................................... 13-179
Sample ITM XML Transactions......................................................................................13-187
xi
Send Us Your Comments
Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide, Release 12
Part No. B31585-01
Oracle welcomes customers' comments and suggestions on the quality and usefulness of this document.
Your feedback is important, and helps us to best meet your needs as a user of our products. For example:
• Are the implementation steps correct and complete?
• Did you understand the context of the procedures?
• Did you find any errors in the information?
• Does the structure of the information help you with your tasks?
• Do you need different information or graphics? If so, where, and in what format?
• Are the examples correct? Do you need more examples?
If you find any errors or have any other suggestions for improvement, then please tell us your name, the
name of the company who has licensed our products, the title and part number of the documentation and
the chapter, section, and page number (if available).
Note: Before sending us your comments, you might like to check that you have the latest version of the
document and if any concerns are already addressed. To do this, access the new Applications Release
Online Documentation CD available on Oracle MetaLink and www.oracle.com. It contains the most
current Documentation Library plus all documents revised or released recently.
Send your comments to us using the electronic mail address: appsdoc_us@oracle.com
Please give your name, address, electronic mail address, and telephone number (optional).
If you need assistance with Oracle software, then please contact your support representative or Oracle
Support Services.
If you require training or instruction in using Oracle software, then please contact your Oracle local office
and inquire about our Oracle University offerings. A list of Oracle offices is available on our Web site at
www.oracle.com.
xiii
Preface
Intended Audience
Welcome to Release 12 of the Oracle Order Management Open Interfaces, API, & Electronic
Messaging Guide.
This guide assumes you have a working knowledge of the following:
• The principles and customary practices of your business area.
• The Oracle Applications graphical user interface. To learn more about the Oracle
Applications graphical user interface, read the Oracle Applications User's Guide.
See Other Information Sources for more information about Oracle Applications product
information.
See Related Information Sources on page xvi for more Oracle Applications product
information.
Documentation Accessibility
Our goal is to make Oracle products, services, and supporting documentation
accessible, with good usability, to the disabled community. To that end, our
documentation includes features that make information available to users of assistive
technology. This documentation is available in HTML format, and contains markup to
facilitate access by the disabled community. Accessibility standards will continue to
evolve over time, and Oracle is actively engaged with other market-leading technology
xv
vendors to address technical obstacles so that our documentation can be accessible to all
of our customers. For more information, visit the Oracle Accessibility Program Web site
at http://www.oracle.com/accessibility/ .
Structure
1 Integrating Your Systems
2 Oracle Advanced Pricing Open Interfaces and APIs
3 Oracle Advanced Pricing XML Transactions
4 Oracle Order Management XML Transactions: Implementation Considerations
5 Oracle Order Management XML Transactions
6 Oracle Order Management EDI Transactions
7 Oracle Order Management Open Interfaces and APIs
8 Oracle Order Management: Integration with Other Products
9 Oracle Release Management XML Transactions
10 Oracle Release Management EDI Transactions
11 Oracle Release Management Open Interfaces and APIs
12 Oracle Shipping Execution Open Interfaces and APIs
13 Oracle Shipping Execution XML Transactions
14 Oracle Shipping Execution EDI Transactions
A Oracle Order Management Error and Information Messages
xvi
Oracle Configure to Order Process Guide
Oracle Shipping Execution User's Guide
Oracle Advanced Pricing Implementation Manual
Oracle Advanced Pricing User's Guide
Oracle Release Management Implementation Manual
Oracle Release Management User's Guide
Oracle Applications Multiple Organizations Implementation Guide
Integration Repository
The Oracle Integration Repository is a compilation of information about the service
endpoints exposed by the Oracle E-Business Suite of applications. It provides a
complete catalog of Oracle E-Business Suite's business service interfaces. The tool lets
users easily discover and deploy the appropriate business service interface for
integration with any system, application, or business partner.
The Oracle Integration Repository is shipped as part of the E-Business Suite. As your
instance is patched, the repository is automatically updated with content appropriate
for the precise revisions of interfaces in your environment.
xvii
1
Integrating Your Systems
• Connect to external systems such as the customer's purchasing system and the
supplier's order entry system to better integrate the supply chain via electronic
commerce.
Interface Tables
Interface tables in Oracle Order Management applications provide a temporary storage
area for loading information from an external source. After the information is loaded,
concurrent programs are executed to validate the information and then apply the
information to the base product tables.
The benefit of an interface table is that it provides a repository where records can be
processed and if errors are found, you can edit the records and resubmit them.
In the Oracle Order Management family of applications you should never write directly
to the product tables. An Oracle Applications validation step is always required. You
may achieve this either by loading information into the interface tables and submitting
a provided concurrent program to validate and process the information or by using a
function call to a programmatic interface.
1-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Interface Views (Business Views)
Views simplify the data relationships for easier processing, whether for reporting or
data export. Oracle Order Management products have defined business views that
identify areas of key business interest. You can access this data using a tool of your
choice. The OE_ORDER_HEADERS_BV is an example of a key business view.
Table Key
Key Description
Interface/API Data Flow Table, View, Iface Man TRM Table, View,
Name Direction Process, or Module
Procedure Name, or
Procedure
Name
OE_LINES_IF
ACE_ALL
OE_RESERV
TNS_IFACE_
ALL
OE_CREDITS
_IFACE_ALL
OE_PRICE_A
DJS_IFACE_
ALL
OE_LOTSERI
ALS_IFACE_
ALL
OE_ACTION
S_IFACE_AL
L
QP QP QP QP QP QP
1-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Interface/API Data Flow Table, View, Iface Man TRM Table, View,
Name Direction Process, or Module
Procedure Name, or
Procedure
Name
OE_PRICING
_CONT_PUB.
LOCK_AGRE
EMENT
QP_MODIFI
ERS_PUB.LO
CK_MODIFI
ERS
QP_PRICE_F
ORMULA_P
UB.GET_PRI
CE_FORMUL
A
QP_LIMITS_
PUB.LOCK_L
IMITS
1-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Interface/API Data Flow Table, View, Iface Man TRM Table, View,
Name Direction Process, or Module
Procedure Name, or
Procedure
Name
QP_PRICE_L
IST_PUB.GET
_PRICE_LIST
QP_PRICE_L
IST_PUB.LO
CK_PRICE_L
IST
1-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Interface/API Data Flow Table, View, Iface Man TRM Table, View,
Name Direction Process, or Module
Procedure Name, or
Procedure
Name
QP_QUALIFI
ER_RULES_P
UB.LOCK_Q
UALIFIER_R
ULES
QP_QUALIFI
ER_RULES_P
UB.GET_QU
ALIFIER_RU
LES
QP_QUALIFI
ER_RULES_P
UB.COPY_Q
UALIFIER_R
ULES
1-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Interface/API Data Flow Table, View, Iface Man TRM Table, View,
Name Direction Process, or Module
Procedure Name, or
Procedure
Name
1-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Components of an Open Interface
The components described below are common to most open interfaces. Please note that
the component may be implemented slightly differently than described below.
Source Application
A source application may be an external system or another module in the e-Business
Suite. Data may be processed and stored in a source application.
Destination Application
A destination application may be an external system or another module in the
e-Business Suite. You send data to a destination application so that the application can
perform further processing and storage.
Interface Table
For inbound interfaces, the interface table is the intermediary table where the data from
Control Columns
Control columns track the status of each row in the interface table as it is inserted,
validated, processed with or without errors, and ultimately deleted. Additional control
columns identify who last updated the row and the last update date.
Data Columns
Data columns store the specific attributes that the source application is sending to the
Oracle Order Management products.
Required Columns
Required columns store the minimum information needed by the Oracle Order
Management products to successfully process the interface row.
Some columns are conditionally required based on the specifics of the interface.
Derived Columns
Derived columns are created by the destination application from information in the
required columns. Derived columns are usually required columns that need to contain a
value so that processing may continue.
Optional Columns
The data in optional columns is not mandatory for transaction processing to take place,
however the optional columns may be useful for storing additional information.
Errors Table
For inbound interfaces, the errors table stores all errors generated by the validation and
processing functions. You can either handle multiple error rows or single rows to
resolve the errors.
Database View
Database views are database objects that enable users of destination applications to look
1-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
at source application data.
Oracle Order Management products provide predefined views of key data that is likely
to be used by destination applications.
For example, Oracle Cost Management provides work in process valuation and
transaction distribution database views for use by other cost reporting destination
products.
Load Function
For inbound interfaces, the load function is the set of programs that selects and
accumulates data from the source application and inserts it into Oracle Order
Management interface tables. The programming languages and tools used in the load
function are highly dependent on the hardware and system software of the source
application.
For example, if you are passing data between an Oracle based source application and an
Oracle destination application, you would likely use a tool such as Pro*C or PL/SQL
since these tools work in both environments. If you are bringing data from a non-Oracle
based application into a product interface table, you would likely use a procedural
language available on the source application to select the data and convert it into an
ASCII file. Then you could use SQL*Loader to insert that file into the destination
product's interface table.
For outbound interfaces, the load function is the SQL that creates the database view.
Validate Function
The validate function is the set of programs that Oracle Applications destination
products use to ensure the integrity of inbound data. In the source application, you can
typically validate data upon entry using techniques such as forms triggers, not null
columns, data types, and so on. However, since Oracle Applications products may not
be the source of this data, validation programs ensure data integrity.
In addition, the validate function can derive additional columns based on the required
columns and foreign key relationships with data elsewhere in the Oracle destination
application.
The validation programs check the interface table for rows requiring validation, and the
programs validate and update each row indicating whether validation is complete or if
errors were found. If errors were found, validation programs need to write errors to the
error table of the destination application.
When the source application is a product in the e-Business Suite, the destination
application should provide the validate function.
Process Function
The process function is a set of programs that processes the data from the interface table
Maintain Function
The maintain function is generally accomplished from a window within an Oracle
application. Most of these windows allow you to query, update, and resubmit interface
records that have failed validation. In general you can use these windows to query
unprocessed or unvalidated rows to check their current status.
When the maintain function is not called explicitly, you can use SQL*Plus to query and
update the interface table rows that are in error.
When the source application is a product in the e-Business Suite, the destination
application should provide the maintain function.
1-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
2
Oracle Advanced Pricing Open Interfaces
and APIs
Drv Derived
Req Required
Functional Overview
Process_Agreement processes inserts, updates, and deletes records related to
agreements.
2-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PROCESS_AGREEMENT
The following table shows the parameters for this structure.
PROCESS_AGREEMENT Parameters
p_api_version_n IN Number No No
umber
p_init_msg_list IN Varchar2 No No
p_return_values IN Varchar2 No No
p_commit IN Varchar2 No No
p_Agreement_re IN Agreement_Rec_ No No
c Type
p_Agreement_va IN Agreement_Val_ No No
lue_rec Rec_Type
p_Price_LHeade IN QP_Price_List_P No No
r_rec UB.Price_List_Re
c_Type
p_Price_LHeade IN QP_Price_List_P No No
r_val_rec UB.Price_List_V
al_Rec_Type
p_Price_LLine_t IN QP_Price_List_P No No
bl UB.Price_List_Li
ne_Tbl_Type
p_Price_LLine_v IN QP_Price_List_P No No
al_tbl UB.Price_List_V
al_Tbl_Type
p_Pricing_Attr_t IN QP_Price_List_P No No
bl UB.Pricing_Attr_
Tbl_Type
p_Pricing_Attr_v IN QP_Price_List_P No No
al_tbl UB.Pricing_Attr_
Val_Tbl_Type
AGREEMENT_REC_TYPE
The following table shows the parameters for this structure.
2-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
REC_TYPE
2-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
orig_system_agr_id
The following table describes notations listed in the preceding table:
2-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Notations
Note Description
AGREEMENT_TBL_TYPE
The following table shows the parameters for this structure.
AGREEMENT_TBL_TYPE Parameters
AGREEMENT_VAL_REC_TYPE
The following table shows the parameters for this structure.
AGREEMENT_VAL_REC_TYPE Parameters
AGREEMENT_VAL_TBL_TYPE
The following table shows the parameters for this structure.
AGREEMENT_VAL_TBL_TYPE Parameters
PRICE_LIST_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_REC_TYPE Parameters
2-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Note: This API will initialize MOAC if it is not initialized prior. On the
price_list_rec, if the global_flag is passed as FND_API.G_MISS_CHAR,
the API will default the global_flag as Y. If global_flag is passed as N
and if org_id is not null, the API will create the modifier list for that
operating unit (OU). If global_flag is passed as "N" and if org_id is not
passed, the API will derive the org_id from the org context if set; if not
set, use the default OU for that responsibility. The API validates the
Org_id to verify if the Org_Id corresponds to one of the OUs for that
responsibility and raises an error if the org_id is not valid.
PRICE_LIST_TBL_TYPE Parameters
PRICE_LIST_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_REC_TYPE Parameters
PRICE_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
2-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICE_LIST_VAL_TBL_TYPE Parameters
PRICE_LIST_LINE_REC_TYPE
The following table shows the parameters for this structure:
PRICE_LIST_LINE_REC_TYPE Parameters
2-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICE_LIST_LINE_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_LINE_TBL_TYPE Parameters
PRICE_LIST_LINE_VAL_REC_TYPE
The following table shows the parameters for this structure.
2-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICE_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_TBL_TYPE Parameters
PRICING_ATTR_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_REC_TYPE Parameters
2-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICING_ATTR_TBL_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_TBL_TYPE Parameters
PRICING_ATTR_VAL_REC_TYPE
The following table shows the parameters for this structure.
2-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICING_ATTR_VAL_REC_TYPE Parameters
PRICE_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_TBL_TYPE Parameters
Note: This API will initialize MOAC if it has not been initialized prior.
For more information, see the Oracle Multi-Organization Reference
Manual.
Error Handling
Success 5 null
2-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• QP_ATTR_MAP_PUB
• QP_ATTRIBUTES_PUB
• QP_ATTR_MAPPING_PUB
Functional Overview
The Public package QP_ATTR_MAP_PUB is a Business Object API, based on the
following tables:
• QP_LOOKUPS (Type : QP_PTE_TYPE)
• QP_PTE_SOURCE_SYSTEMS
• QP_PTE_REQUEST_TYPES_B/TL
• QP_PTE_SEGMENTS
• QP_ATTRIBUTE_SOURCING
• QP_SOURCESYSTEM_FNAREA_MAP
The QP_ATTR_MAP_PUB model and its object name is Attr_Map and the relationship
of the tables is shown below. The package QP_ATTR_MAP_PUB contains the following
APIs and record type definitions:
Note: The API processes one record with each call. The calling
application must populate the global records that referenced in the
attribute mapping rules. The output of the API is a PL/SQL table with
each record having the context name, attribute name, and attribute
value.
• Pte_Val_Rec_Type
• Pte_Val_Rec_Type
• Rqt_Rec_Type
• Rqt_Tbl_Type
• Rqt_Val_Rec_Type
• Ssc_Rec_Type
• Ssc_Tbl_Type
• Psg_Rec_Type
• Psg_Val_Rec_Type
• Sou_Rec_Type
• Sou_Val_Rec_Type
• Fna_Rec_Type
• Fna_ValRec_Type
• PROCEDURE Process_Attr_Mapping
• PROCEDURE Lock_Attr_Mapping
• PROCEDURE Get_Attr_Mapping
Procedure PROCESS_ATTR_MAPPING
The following table shows the parameters for this structure. This API will add, update
or delete a Source System, Request type, PTE-Attribute link, Attribute Mapping rules
depending on the input parameter.
PROCESS_ATTR_MAPPING Parameters
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
2-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_PTE_rec In Pte_Val_Rec_Ty No No
pe
p_PTE_val_rec In Pte_Val_Rec_Ty No No
pe
p_RQT_tbl In Rqt_Tbl_Type No No
p_RQT_val_tbl In Rqt_Val_Tbl_Ty No No
pe
p_SSC_tbl In Ssc_Tbl_Type No No
p_SSC_val_tbl In Ssc_Val_Tbl_Typ No No
e
p_PSG_tbl In Psg_Tbl_Type No No
p_PSG_val_tbl In Psg_Val_Tbl_Ty No No
pe
p_SOU_tbl In Sou_Tbl_Type No No
p_SOU_val_tbl In Sou_Val_Tbl_Ty No No
pe
p_FNA_tbl In Fna_Tbl_Type No No
p_FNA_val_tbl In Fna_Val_Tbl_Ty No No
pe
p_api_version_number
This the version number of the API.
P_PTE_REC
The following table shows the parameters for this structure.
P_PTE_REC Parameters
2-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
P_PTE_VAL_REC
The following table shows the parameters for this structure.
P_PTE_VAL_REC Parameters
The following table shows the parameters for the tables and their structures.
X_PTE_REC_TYPE
The following table shows the parameters for this structure.
X_PTE_REC_TYPE Parameters
X_PTE_VAL_REC
The following table shows the parameters for this structure.
2-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
X_PTE_VAL_REC Parameters
The following table shows the parameters for the following table structures (no
parameters are used for the following):
Table Parameters
P_RQT_REC
The following table shows the parameters for this structure.
P_RQT_REC Parameters
P_RQT_VAL_REC
The following table shows the parameters for this structure.
2-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
P_RQT_VAL_REC Parameters
P_SSC_REC
The following table shows the parameters for this structure.
P_SSC_REC Parameters
P_SSC_VAL_REC
The following table shows the parameters for this structure.
P_SSC_VAL_REC Parameters
P_PSG_REC
The following table shows the parameters for this structure.
P_PSG_REC Parameters
P_PSG_VAL_REC
The following table shows the parameters for this structure.
2-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
P_PSG_VAL_REC Parameters
P_SOU_REC
The following table shows the parameters for this structure.
P_SOU_REC Parameters
P_SOU_VAL_REC
The following table shows the parameters for this structure.
P_SOU_VAL_REC Parameters
P_FNA_REC
The following table shows the parameters for this structure.
P_FNA_REC Parameters
2-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
P_FNA_VAL_REC
The following table shows the parameters for this structure.
P_FNA_VAL_REC Parameters
Procedure LOCK_ATTR_MAPPING
The following table shows the parameters for this structure. User can use this API to
lock PTE-Attribute link and all its Attribute Mapping rules from getting updated by a
different user concurrently.
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_PTE_rec In Pte_Val_Rec_Ty No No
pe
p_PTE_val_rec In Pte_Val_Rec_Ty No No
pe
p_RQT_tbl In Rqt_Tbl_Type No No
p_RQT_val_tbl In Rqt_Val_Tbl_Ty No No
pe
p_SSC_tbl In Ssc_Tbl_Type No No
p_SSC_val_tbl In Ssc_Val_Tbl_Typ No No
e
p_PSG_tbl In Psg_Tbl_Type No No
p_PSG_val_tbl In Psg_Val_Tbl_Ty No No
pe
p_SOU_tbl In Sou_Tbl_Type No No
p_SOU_val_tbl In Sou_Val_Tbl_Ty No No
pe
2-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_FNA_tbl In Fna_Tbl_Type No No
p_FNA_val_tbl In Fna_Val_Tbl_Ty No No
pe
p_api_version_number
This the version number of the API.
P_PTE_REC_TYPE
The following table shows the parameters for this structure.
P_PTE_VAL_REC
The following table shows the parameters for this structure.
P_PTE_VAL_REC Parameters
The following table shows the parameters for the following table structures:
2-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Table Name Usage Type
X_PTE_REC_TYPE
The following table shows the parameters for this structure.
X_PTE_REC_TYPE Parameters
X_PTE_VAL_REC Parameters
The following table shows the parameters for the following table structures:
Procedure GET_ATTR_MAPPING
The following table shows the parameters for this structure. This API will fetch the
records for an Source System, Request Type, PTE_Attribute link, Attribute Mapping
2-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
rules given the input parameter.
GET_ATTR_MAPPING Parameters
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_lookup_code In Varchar2 No No
p_lookup In Varchar2 No No
p_api_version_number
This the version number of the API.
p_lookup_code
This is the code for the Pricing Transaction Entity; for example, ORDFUL for Order
Fulfillment, DEMAND for Demand Planning etc.
p_lookup
This is the type of the Pricing Lookups. For Pricing Transaction Entities, it is
QP_PTE_TYPE.
X_PTE_REC_TYPE
The following table shows the parameters for this structure.
X_PTE_REC_TYPE Parameters
2-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
X_PTE_VAL_REC
The following table shows the parameters for this structure.
X_PTE_VAL_REC Parameters
The following table shows the parameters for the following table structures:
Functional Overview
The package QP_Modifiers_PUB.Process Modifiers contains the following public record
type and table of records entities:
• Process_Modifiers: QP_Modifiers_PUB.Process_Modifiers is a Public API. It takes
two record types and six table types as input parameters. Use this API to insert,
update and delete modifiers or to set up a modifier list header for a given
p_MODIFIER_ LIST_rec record structure.
You can:
• Set up multiple modifier lines by giving multiple modifier definitions in the p_
MODIFIERS_tbl table structure.
• Attach multiple qualifiers either at the header level (modifier list) or at the line level
(modifier) by giving multiple qualifiers in the p_QUALIFIERS_tbl table structure.
• Attach multiple pricing attributes to modifier lines by giving the pricing attributes
in the p_PRICING_ATTR_tbl table structure.
• Modifier_List_Tbl_Type
2-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Modifier_List_Val_Rec_Type: Corresponds to the columns in the modifier header
table QP_LIST_HEADERS_B.
• Modifier_List_Val_Tbl_Type
• Modifiers_Tbl_Type
• Modifiers_Val_Tbl_Type
• Qualifiers_Tbl_Type
• Qualifiers_Val_Tbl_Type
• Pricing_Attr_Tbl_Type
• Pricing_Attr_Val_Tbl_Type
Dates and date times are stored in the following default canonical
formats--use these formats to pass any Dates or Datetime fields to the
API:
• Date: YYYY/MM/DD
These formats should also be used for pricing and qualifier attribute
values with the datatype of Date or DateTimes.
PROCESS_MODIFIERS
The following table shows the parameters for this structure.
PROCESS_MODIFIERS Parameters
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
2-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_MODIFIER_LI In Modifier_List_ No No
ST_rec Rec_Type
p_MODIFIER_LI In Modifier_List_ No No
ST_val_ rec Val_Rec_Type
p_MODIFIERS_t In Modifiers_Tbl_ No No
bl Type
p_MODIFIERS_ In Modifiers_Val_ No No
val_tbl Tbl_Type
p_QUALIFIERS_ In Qualifiers_Tbl_ No No
tbl Type
p_QUALIFIERS_ In Qualifiers_Val_ No No
val_tbl Tbl_Type
p_PRICING_AT In Pricing_Attr_ No No
TR_tbl Tbl_Type
p_PRICING_AT In Pricing_Attr_Val No No
TR_val_tbl _ Tbl_Type
p_init_sg_list
Default Value: FND_API.G_FALSE
p_return_values
Default Value: FND_API.G_FALSE
p_commit
Default Value: FND_API.G_FALSE
p_MODIFIER_LIST_rec
Default Value: G_MISS_MODIFIER_LIST_REC
p_MODIFIER_LIST_val_rec
Default Value: G_MISS_MODIFIER_LIST_VAL_REC
p_MODIFIERS_tbl
Default Value: G_MISS_MODIFIERS_TBL
p_MODIFIERS_val_tbl
Default Value: G_MISS_MODIFIERS_VAL_TBL
p_QUALIFIERS_tbl
Default Value: G_MISS_QUALIFIERS_TBL
p_QUALIFIERS_val_tbl
Default Value: G_MISS_QUALIFIERS_VAL_TBL
p_PRICING_ATTR_tbl
Default Value: G_MISS_PRICING_ATTR_TBL
p_PRICING_ATTR_val_tbl
Default Value: G_MISS_PRICING_ATTR_VAL_TBL
MODIFIER_LIST_REC_TYPE
The following table shows the parameters for this structure.
2-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Note: For the structure MODIFIER_LIST_REC_TYPE, the ask_for_flag
is only populated for modifier lists of type Promotion and Deal. This is
not supported for Discount List, Surcharge List, or Freight and Special
Charges modifier lists.
MODIFIER_LIST_REC_TYPE Parameters
2-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
attribute1-15
Default Value: FND_API.G_MISS_CHAR
automatic_flag
Default Value: FND_API.G_MISS_CHAR
comments
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
created_by
Default Value: FND_API.G_MISS_NUM
creation_date
Default Value: FND_API.G_MISS_DATE
2-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
currency_code
Default Value: FND_API.G_MISS_CHAR
discount_lines_flag
Default Value: FND_API.G_MISS_CHAR
end_date_active
Default Value: FND_API.G_MISS_DATE
freight_terms_code
Default Value: FND_API.G_MISS_CHAR
gsa_indicator
Default Value: FND_API.G_MISS_CHAR
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
Default Value: FND_API.G_MISS_NUM
list_header_id
Default Value: FND_API.G_MISS_NUM
list_type_code
Default Value: FND_API.G_MISS_CHAR
program_application_id
Default Value: FND_API.G_MISS_NUM
program_id
Default Value: FND_API.G_MISS_NUM
program_update_date
Default Value: FND_API.G_MISS_DATE
prorate_flag
Default Value: FND_API.G_MISS_CHAR
request_id
Default Value: FND_API.G_MISS_NUM
rounding_factor
Default Value: FND_API.G_MISS_NUM
2-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
name
Default Value: FND_API.G_MISS_CHAR
description
Default Value: FND_API.G_MISS_CHAR
List_Source_code
Default Value: FND_API.G_MISS_CHAR
Orig_System_Header_Ref
Default Value: FND_API.G_MISS_CHAR
Shareable_flag
Default Value: FND_API.G_MISS_CHAR
Global_flag
Default Value: Y
Org_Id
Default Value: FND_API.G_MISS_NUM
Note: This API will initialize MOAC if it is not initialized prior. On the
modifier_list_rec, if the global_flag is passed as
FND_API.G_MISS_CHAR, the API will default the global_flag as 'Y'. If
global_flag is passed as 'N' and if org_id is not null, the API will create
the modifier list for that operating unit (OU). If global_flag is passed as
"N" and if org_id is not passed, the API will derive the org_id from the
org context if set; if not, use the default OU for that responsibility. The
API will validate the Org_id to check if the Org_Id corresponds to one
of the OUs for that responsibility and raise an error if org_id is not
valid.
MODIFIER_LIST_TBL_TYPE
The following table shows the parameters for this structure.
MODIFIER_LIST_TBL_TYPE Parameters
MODIFIER_LIST_VAL_REC_TYPE Parameters
automatic
Default Value: FND_API.G_MISS_CHAR
currency
Default Value: FND_API.G_MISS_CHAR
discount_lines
Default Value: FND_API.G_MISS_CHAR
freight_terms
Default Value: FND_API.G_MISS_CHAR
list_header
Default Value: FND_API.G_MISS_CHAR
list_type
2-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Default Value: FND_API.G_MISS_CHAR
prorate
Default Value: FND_API.G_MISS_CHAR
ship_method
Default Value: FND_API.G_MISS_CHAR
terms
Default Value: FND_API.G_MISS_CHAR
List_Source_code
Default Value: FND_API.G_MISS_CHAR
MODIFIER_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
MODIFIER_LIST_VAL_TBL_TYPE Parameters
MODIFIERS_REC_TYPE
The following table shows the parameters for this structure:
MODIFIERS_REC_TYPE Parameters
2-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
arithmetic_operator
Default Value: FND_API.G_MISS_CHAR
attribute1-15
Default Value: FND_API.G_MISS_CHAR
automatic_flag
Default Value: FND_API.G_MISS_CHAR
comments
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
created_by
Default Value: FND_API.G_MISS_NUM
2-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
creation_date
Default Value: FND_API.G_MISS_DATE
effective_period_uom
Default Value: FND_API.G_MISS_CHAR
end_date_active
Default Value: FND_API.G_MISS_DATE
estim_accrual_rate
Default Value: FND_API.G_MISS_NUM
generate_using_formula_id
Default Value: FND_API.G_MISS_NUM
inventory_item_id
Default Value: FND_API.G_MISS_NUM
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
Default Value: FND_API.G_MISS_NUM
list_header_id
Default Value: FND_API.G_MISS_NUM
list_line_id
Default Value: FND_API.G_MISS_NUM
list_line_type_code
Default Value: FND_API.G_MISS_CHAR
list_price
Default Value: FND_API.G_MISS_NUM
modifier_level_code
Default Value: FND_API.G_MISS_CHAR
number_effective_periods
Default Value: FND_API.G_MISS_NUM
operand
Default Value: FND_API.G_MISS_NUM
2-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
revision_date
Default Value: FND_API.G_MISS_DATE
revision_reason_code
Default Value: FND_API.G_MISS_CHAR
start_date_active
Default Value: FND_API.G_MISS_DATE
substitution_attribute
Default Value: FND_API.G_MISS_CHAR
substitution_context
Default Value: FND_API.G_MISS_CHAR
substitution_value
Default Value: FND_API.G_MISS_CHAR
accrual_flag
Default Value: FND_API.G_MISS_CHAR
pricing_group_sequence
Default Value: FND_API.G_MISS_NUM
incompatibility_grp_code
Default Value: FND_API.G_MISS_CHAR
list_line_no
Default Value: FND_API.G_MISS_CHAR
from_rltd_modifier_id
Default Value: FND_API.G_MISS_NUM
to_rltd_modifier_id
Default Value: FND_API.G_MISS_NUM
rltd_modifier_grp_no
Default Value: FND_API.G_MISS_NUM
rltd_modifier_grp_type
Default Value: FND_API.G_MISS_CHAR
pricing_phase_id
Default Value: FND_API.G_MISS_NUM
product_precedence
Default Value: FND_API.G_MISS_NUM
2-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
MODIFIERS_TBL_TYPE
The following table shows the parameters for this structure.
MODIFIERS_TBL_TYPE Parameters
MODIFIERS_VAL_REC_TYPE
The following table shows the parameters for this structure.
MODIFIERS_VAL_REC_TYPE Parameters
accrual_type
Default Value: FND_API.G_MISS_CHAR
accrual_uom
Default Value: FND_API.G_MISS_CHAR
automatic
Default Value: FND_API.G_MISS_CHAR
generate_using_formula
Default Value: FND_API.G_MISS_CHAR
gl_class
Default Value: FND_API.G_MISS_CHAR
inventory_item
Default Value: FND_API.G_MISS_CHAR
2-72 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
list_header
Default Value: FND_API.G_MISS_CHAR
list_line
Default Value: FND_API.G_MISS_CHAR
list_line_type
Default Value: FND_API.G_MISS_CHAR
list_price_uom
Default Value: FND_API.G_MISS_CHAR
modifier_level
Default Value: FND_API.G_MISS_CHAR
organization
Default Value: FND_API.G_MISS_CHAR
override
Default Value: FND_API.G_MISS_CHAR
price_break_type
Default Value: FND_API.G_MISS_CHAR
price_by_formula
Default Value: FND_API.G_MISS_CHAR
primary_uom
Default Value: FND_API.G_MISS_CHAR
print_on_invoice
Default Value: FND_API.G_MISS_CHAR
rebate_subtype
Default Value: FND_API.G_MISS_CHAR
rebate_transaction_type
Default Value: FND_API.G_MISS_CHAR
related_item
Default Value: FND_API.G_MISS_CHAR
relationship_type
Default Value: FND_API.G_MISS_CHAR
reprice
Default Value: FND_API.G_MISS_CHAR
MODIFIERS_VAL_TBL_TYPE Parameters
QUALIFIERS_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_REC_TYPE Parameters
2-74 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
attribute1-15
Default Value: FND_API.G_MISS_CHAR
comparison_operator_code
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
created_by
2-76 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Default Value: FND_API.G_MISS_NUM
created_from_rule_id
Default Value: FND_API.G_MISS_NUM
creation_date
Default Value: FND_API.G_MISS_DATE
end_date_active
Default Value: FND_API.G_MISS_DATE
excluder_flag
Default Value: FND_API.G_MISS_CHAR
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
Default Value: FND_API.G_MISS_NUM
list_header_id
Default Value: FND_API.G_MISS_NUM
list_line_id
Default Value: FND_API.G_MISS_NUM
program_application_id
Default Value: FND_API.G_MISS_NUM
program_id
Default Value: FND_API.G_MISS_NUM
program_update_date
Default Value: FND_API.G_MISS_DATE
qualifier_attribute
Default Value: FND_API.G_MISS_CHAR
qualifier_attr_value
Default Value: FND_API.G_MISS_CHAR
qualifier_context
Default Value: FND_API.G_MISS_CHAR
qualifier_grouping_no
QUALIFIERS_TBL_TYPE Parameters
QUALIFIERS_VAL_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_VAL_REC_TYPE Parameters
2-78 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
comparison_operator
Default Value: FND_API.G_MISS_CHAR
created_from_rule
Default Value: FND_API.G_MISS_CHAR
excluder
Default Value: FND_API.G_MISS_CHAR
list_header
Default Value: FND_API.G_MISS_CHAR
list_line
Default Value: FND_API.G_MISS_CHAR
qualifier
Default Value: FND_API.G_MISS_CHAR
qualifier_rule
Default Value: FND_API.G_MISS_CHAR
QUALIFIERS_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_REC_TYPE Parameters
2-80 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
accumulate_flag
2-82 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Default Value: FND_API.G_MISS_CHAR
attribute1-15
Default Value: FND_API.G_MISS_CHAR
attribute_grouping_no
Default Value: FND_API.G_MISS_NUM
context
Default Value: FND_API.G_MISS_CHAR
created_by
Default Value: FND_API.G_MISS_NUM
creation_date
Default Value: FND_API.G_MISS_DATE
excluder_flag
Default Value: FND_API.G_MISS_CHAR
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
Default Value: FND_API.G_MISS_NUM
list_line_id
Default Value: FND_API.G_MISS_NUM
pricing_attribute
Default Value: FND_API.G_MISS_CHAR
pricing_attribute_context
Default Value: FND_API.G_MISS_CHAR
pricing_attribute_id
Default Value: FND_API.G_MISS_NUM
pricing_attr_value_from
Default Value: FND_API.G_MISS_CHAR
pricing_attr_value_to
Default Value: FND_API.G_MISS_CHAR
product_attribute
2-84 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICING_ATTR_TBL_TYPE Parameters
PRICING_ATTR_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_VAL_REC_TYPE Parameters
accumulate
Default Value: FND_API.G_MISS_CHAR
excluder
Default Value: FND_API.G_MISS_CHAR
list_line
Default Value: FND_API.G_MISS_CHAR
pricing_attribute
Default Value: FND_API.G_MISS_CHAR
product_uom
Default Value: FND_API.G_MISS_CHAR
PRICING_ATTR_VAL_TBL_TYPE
The following table shows the parameters for this structure.
Error Handling
Success 5 null
• QPXEXDS2.sql: This script provides an 8% discount when you buy more than 5
quantities of item 62081.
• QPXEXDS3.sql: This script provides a 10% discount when customer "1000" buys
more than 2 units of item 62081.
2-86 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• QPXEXTSN.sql: This script provides Payment Terms of 2/10 NET 30 if customer
"1000" buys more than 2 units of item 62081.
• QPXEXOID.sql: This script provides an other item discount: buy 1 of item 62081,
get 1 free
• QPXEXPRG.sql: This script provides a promotional good: buy 1 of item 45, and 1 of
item 63, then get 1 item 62081 at 20% discount.
• QPXEXCIE.sql: This script provides a coupon issue: buy 2 of item 45, get coupon for
20% discount.
• QPXEXPBH.sql: This script provides a price break: buy 1-100 of item 45, get 20%
discount.
Functional Overview
The Formulas window is based on the following APIs. However, the modal Formula
Factors window is based on the Modifiers public API
QP_Modifiers_PUB.Process_Modifiers.
The package QP_Price_Formula_PUB contains the following public record type and
table of records definitions:
• Formula_Rec_Type: A record type corresponding to the columns in the Formula
Headers view (QP_PRICE_FORMULAS_VL).
• Formula_Tbl_Type
• Formula_Val_Tbl_Type
• Formula_Lines_Tbl_Type
Dates and date times are stored in the following default canonical
formats--use these formats to pass any Dates or Datetime fields to the
API:
• Date: YYYY/MM/DD
These formats should also be used for pricing and qualifier attribute
values with the datatype of Date or DateTimes.
QP_PRICE_FORMULA.PROCESS_PRICE_FORMULA
The following table shows the parameters for this structure.
QP_PRICE_FORMULA.PROCESS_PRICE_FORMULA Parameters
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
2-88 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_commit In Varchar2 No No
p_FORMULA_re In Formula_Rec_ No No
c Type
p_FORMULA_v In Formula_Val_ No No
al_rec Rec_Type
p_FORMULA_L In Formula_Lines_ No No
INES_tbl Tbl_Type
p_FORMULA_L In Formula_Lines_ No No
INES_ val_tbl Val_Tbl_Type
p_init_msg_list
Default Value: FND_API.G_FALSE
p_return_values
Default Value: FND_API.G_FALSE
p_commit
Default Value: FND_API.G_FALSE
p_FORMULA_rec
FORMULA_REC_TYPE Parameters
2-90 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
attribute1-15
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
2-92 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
FORMULA_TBL_TYPE Parameters
FORMULA_VAL_REC_TYPE
The following table shows the parameters for this structure.
FORMULA_VAL_REC_TYPE Parameters
price formula
Default Value: FND_API.G_MISS_CHAR
FORMULA_VAL_TBL_TYPE
The following table shows the parameters for this structure.
FORMULA_VAL_TBL_TYPE Parameters
FORMULA_LINES_REC_TYPE
The following table shows the parameters for this structure.
FORMULA_LINES_REC_TYPE Parameters
2-94 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Note Description
attribute1-15
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
created_by
Default Value: FND_API.G_MISS_NUM
creation_date
Default Value: FND_API.G_MISS_DATE
end_date_active
Default Value: FND_API.G_MISS_DATE
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
Default Value: FND_API.G_MISS_NUM
numeric_constant
Default Value: FND_API.G_MISS_NUM
2-96 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
price_formula_id
Default Value: FND_API.G_MISS_NUM
price_formula_line_id
Default Value: Comes for the sequence QP_PRICE_FORMULA_LINES_S
formula_line_type_code
Default Value: FND_API.G_MISS_CHAR
price_list_line_id
Default Value: FND_API.G_MISS_NUM
price_modifier_list_id
Default Value: FND_API.G_MISS_NUM
pricing_attribute
Default Value: FND_API.G_MISS_CHAR
pricing_attribute_context
Default Value: FND_API.G_MISS_CHAR
start_date_active
Default Value: FND_API.G_MISS_DATE
step_number
Default Value: FND_API.G_MISS_NUM
reqd_flag
Default Value: FND_API.G_MISS_CHAR
retun_status
Default Value: FND_API.G_MISS_CHAR
db_flag
Default Value: FND_API.G_MISS_CHAR
operation
Default Value: FND_API.G_MISS_CHAR
FORMULA_LINES_TBL_TYPE
The following table shows the parameters for this structure.
FORMULA_LINES_VAL_REC_TYPE
The following table shows the parameters for this structure.
FORMULA_LINES_VAL_REC_TYPE Parameters
price_formula
Default Value: FND_API.G_MISS_CHAR
price_formula_line
Default Value: FND_API.G_MISS_CHAR
price_formula_line_type
Default Value: FND_API.G_MISS_CHAR
price_list_line
Default Value: FND_API.G_MISS_CHAR
price_modifier_list
Default Value: FND_API.G_MISS_CHAR
2-98 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
FORMULA_LINES_VAL_TBL_TYPE
The following table shows the parameters for this structure.
FORMULA_LINES_VAL_TBL_TYPE Parameters
Error Handling
Success 5 null
Functional Overview
The Limits window is based on the following APIs:
The package QP_Limits_PUB contains the following public record type and table of
records definitions:
• Limits_Rec_Type: A record type corresponding to the columns in the Pricing Limits
view (QP_LIMITS).
• Limits_Tbl_Type
• Limits_Val_Tbl_Type
• Limit_Attrs_Tbl_Type
• Limit_Attrs_Val_Tbl_Type
2-100 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Limit_Balances_Tbl_Type
• Limit_Balances_Val_Tbl_Type
Dates and date times are stored in the following default canonical
formats--use these formats to pass any Dates or Datetime fields to the
API:
• Date: YYYY/MM/DD
These formats should also be used for pricing and qualifier attribute
values with the datatype of Date or DateTimes.
PROCEDURE Process_Limits
Additional information on these parameters follows.
QP_LIMITS_PUB.PROCESS_LIMITS Parameters
p_api_version_numb IN Number
er
PROCEDURE Lock_Limits
The following chart describes all parameters used by the public API
QP_LIMITS_PUB.LOCK_LIMITS. All of the inbound and outbound parameters are
2-102 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
listed. Additional information on these parameters follows.
QP_LIMITS_PUB.LOCK_LIMITS Parameters
p_api_version_numb IN Number
er
PROCEDURE Get_Limits
The following chart describes all parameters used by the public API
QP_LIMITS_PUB.GET_LIMITS. All of the inbound and outbound parameters are listed.
Additional information on these parameters follows.
QP_LIMITS_PUB.GET_LIMITS Parameters
2-104 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Default
Limits_Rec_Type
For column descriptions, please refer to the Oracle Pricing TRM for the table
QP_LIMITS.
The Derived value for the following parameters is Null.
2-106 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Default
2-108 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Default
Limits_Tbl_Type
The following table shows the parameters for this structure:
Limits_Tbl_Type
Limits_Rec_Type Record
Limits_Val_Rec_Type
The following table shows the parameters for this structure:
Limits_Val_Rec_Type
Limits_Val_Tbl_Type
The following table shows the parameters for this structure:
Limits_Val_Tbl_Type
Limits_Val_Rec_ Record
Type
Limit_Attrs_Rec_Type
For column descriptions, please refer to the Oracle Pricing TRM for the table
QP_LIMIT_ATTRIBUTES.
Limit_Attrs_Rec_Type
2-110 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Default
2-112 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Default
Limit_Attrs_Tbl_Type
The following table shows the parameters for this structure:
Limit_Attrs_Tbl_Type
Limit_Attrs_Rec Record
_Type
Limit_Attrs_Val_Rec_Type
The following table shows the parameters for this structure:
Limit_Attrs_Val_Rec_Type
Limit_Attrs_Val_Tbl_Type
The following table shows the parameters for this structure:
Limit_Attrs_Val_Tbl_Type
Limit_Attrs_Val_ Record
Rec_Type
Limit_Balances_Rec_Type
The following table shows the parameters for this structure. For column descriptions,
see the Oracle Pricing e-TRM for the table QP_LIMIT_BALANCES.
Limit_Balances_Rec_Type
2-114 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Default
2-116 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Default
Limit_Balances_Tbl_Type
The following table shows the parameters for this structure:
Limit_Balances_ Record
Rec_Type
Limit_Balances_Val_Rec_Type
The following table shows the parameters for this structure:
Limit_Balances_Val_Rec_Type
Limit_Balances_Val_Tbl_Type
The following table shows the parameters for this structure:
Limit_Balances_Val_Tbl_Type
Limit_Balances_ Record
Val_Rec_Type
2-118 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Public API processes the rows and reports the values in the following table for every
record.
Error Handling
Success 5 Null
Functional Overview
The Create_Publish_Price_Book PL/SQL API can be used by applications integrating
with Oracle Advanced Pricing to initiate a Concurrent Request to create and publish a
new price book or to publish an existing price book. The concurrent program name is
QP: Price Book Generate and Publish. The request id of the concurrent request
submitted is available in the output parameter x_request_id of this API. You can use the
request id to monitor the concurrent request status either from the price book user
interface (UI), the View Concurrent Requests UI, or programmatically using the Oracle
Application Object Library (FND) API FND_CONCURRENT.GET_REQUEST_STATUS
(For more information on this FND API, see: Oracle Applications Coding Standards
Guide).
The package QP_PRICE_BOOK_PUB contains the Procedure
Create_Publish_Price_Book. The package specification QP_PRICE_BOOK_PUB contains
the following public record type and table of records type definitions used in the
Create_Publish_Price_Book API:
Procedure CREATE_PUBLISH_PRICE_BOOK
The following table lists the parameters for this Procedure
p_pb_input_hea In Pb_input_header No No
der_rec _rec
p_pb_input_line In Pb_input_lines_t No No
s_tbl bl
Type PB_INPUT_HEADER_REC
The following table lists the parameters in this structure:
2-120 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Type PB_INPUT_LINES_REC
The following table lists the parameters in this structure
2-122 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Type PB_INPUT_LINES_TBL
The following table lists the record type of which this structure is a plsql table:
For more information, see: Oracle eTRM (eTechnical Reference Manual) available on
OracleMetaLink.
Other Validation
Oracle Advanced Pricing validates each field against a valid set of values in the
2-124 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Create_Publish_Price_Book API. The valid set of values is the same as the set of values
one that can be selected from the price book UI. Additionally, all flags –
publish_existing_pb_flag, overwrite_existing_price_book_flag, dlv_email_flag,
dlv_printer_flag, dlv_xml_flag – can be Y or N (null defaults to N) only. A
price_book_name, customer_attr_value and price_book_type_code combination is
unique. You can overwrite an existing combination by specifying
overwrite_existing_pb_flag = Y. A validation error is raised if this flag is N and the price
book already exists.
Publish_existing_pb_flag indicates that an existing price book is to be published. A
validation error occurs is if the price book to be published does not already exist. For
Basic Pricing users, generating and publishing a delta price book and publishing an
XML Message is not supported. A validation error is raised if price_book_type_code is
D or dlv_xml_flag = Y.
An external user can only generate or publish a price book with customer_attr_value
that matches the Customer_Id of the user or matches a parent organization of the
Customer_id of the user. If the Customer party associated with the user is a Person
party who belongs to an Organization party (a record exists in the Trading Community
Architecture (TCA) table hz_relationships with a party_type
of'PARTY_RELATIONSHIP for the Customer party of the user and the Object
(object_id) of the relationship is an Organization party), then the Person can create a
price book for himself or for the Organization to which he belongs, but not for any other
customer.
An external user cannot create or publish a price book using the Purchasing pricing
perspective. An internal user can create or publish a price book with pricing perspective
Purchasing, but cannot use the "Send XML message" publishing option for such price
books. While creating or publishing a price book from the Purchasing pricing
perspective, the value -1 must be passed for the input parameter
p_pb_input_header_rec.customer_attr_value and null must be passed for the
input parameter p_pb_input_header_rec.cust_account_id. While creating a
price book with Purchasing pricing perspective, the input parameter
p_pb_input_header_rec.price_based_on can be PRICE_LIST (or null) but not
AGREEMENT or BSA.
Error Handling
The output parameter x_return_status can have the values - fnd_api.g_ret_sts_success
(S) or fnd_api.g_ret_sts_error (E) – indicating Success or Error respectively. The
parameter x_return_status is E when either validation fails or if the concurrent request
submission failed (such as x_request_id = 0). The output parameter x_request_id, if 0,
indicates that the concurrent request submission failed to generate a Request Id.
Similarly, output parameter x_retcode can have values 0 (success), 1 (warning) or 2
(error) indicating the status of concurrent request submission and x_err_buf contains
any corresponding message. The output parameter x_price_book_messages_tbl
contains any validation error messages associated with the price book create or publish
request.
• QPPBXMP2.sql: Create and Publish (print, e-mail, and view document) a price
book.
Functional Overview
While processing an order using a particular price list, Order Management (OM)
displays a valid set of currency codes when the list of values (LOV) is selected. OM calls
this API to get the valid currency codes for the given price list and pricing effective
date. If pricing effective date is not passed by calling application, the current date
defaults. If the profile options QP: Multi Currency Installed and QP: Multi Currency
Usage are set to Y (Yes), then currency codes are retrieved by joining the view
fnd_currencies_vl, table qp_list_headers_b and table qp_currency_details for the passed
price list id; otherwise, all the effective currencies are retrieved from view
fnd_currencies_vl.
Get_Currency
l_pricing_effecti IN Date No No
ve_date
2-126 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CURRENCY_REC
The following table shows the parameters for this structure.
CURRENCY_REC
CURRENCY_CODE_TBL
The following table shows the parameters for this structure.
CURRENCY_CODE_TBL
Note: The Package Specification and Body files are QPXRTCNS.pls and
QPXRTCNB.pls and are available under the source control directory
$QP_TOP/patch/115/sql.
Note: The Get Custom Price API can be customized by adding custom
code.
Functional Overview
The package specification QP_CUSTOM contains the specification for the
Get_Custom_Price API. The package body/function body is not shipped with Oracle
Advanced Pricing. The user must create the Package Body for QP_CUSTOM containing
the function body for Get_Custom_Price which must adhere to the Function
specification (in terms of parameters and return value) provided in the QP_CUSTOM
package specification. For the engine to make a call to Get_Custom_Price API, set the
profile QP: Get Custom Price Customized at the site level to Yes. The Pricing engine
displays an error if this profile is set and QP_CUSTOM. Get_Custom_Price is not
created in the database in the applications schema:
• API to all procedures within and outside of this package
2-128 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Get_Custom_Price
p_list_price In Number No No
REQ_LINE_ATTRS_TBL
The following table shows the parameters for this structure.
REQ_LINE_ATTRS_TBL
REQ_LINE_ATTRS_REC
The following table shows the parameters for this structure.
REQ_LINE_ATTRS_REC
• Step 2 corresponds to a formula line of type Function. This means the value
returned by the QP_CUSTOM.Get_Custom_Price function will be used as the value
for this step.
To evaluate the Formula, the pricing engine first obtains the value of each step and
substitutes the step with its value in the expression. So step 1 is substituted by the value
2-130 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
which is 200. Step 2 is substituted with the value returned by Get_Custom_Price which
must be customized by the user (the Profile Option mentioned earlier must also be set
to Yes to use this Get_Custom_Price functionality.
If Get_Custom_Price is customized as below:
RETURN NUMBER IS
v_requested_item VARCHAR2(240);
v_weight NUMBER;
BEGIN
IF p_price_formula_id = 1726 -- Assume this is the internal Id/primary
key for
the sample Formula 1*2
THEN
--Loop through the PL/SQL table of records passed by the Engine as
an input parameter and
--containing Pricing Attributes and Product Attributes of the Price
List
Line or Modifier Line to which
-- the current formula is attached.
FOR i IN 1..p_req_line_attrs_tbl.count LOOP
IF p_req_line_attrs_tbl(i).attribute_type = 'PRODUCT'
AND
p_req_line_attrs_tbl(i).attribute = 'PRICING_ATTRIBUTE1'
THEN
-- For this combination of Product Context and Attribute, the
Attribute Value is the Inventory Item Id
2-132 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
v_requested_item := p_req_line_attrs_tbl(i).value;
END IF;
IF p_req_line_attrs_tbl(i).attribute_type = 'PRICING'
AND /*Attribute Type is Pricing*/
p_req_line_attrs_tbl(i).context = 'MIXED'
AND
p_req_line_attrs_tbl(i).attribute = 'PRICING_ATTRIBUTE4'
THEN
--For this combination of Pricing Context and Attribute, let's
say, the
Attribute Value is the Weight of
--the item to which the formula is attached.
v_weight := p_req_line_attrs_tbl(i).value;
END IF;
END LOOP; /*For Loop*/
RETURN v_weight;
EXCEPTION
RETURN NULL;
END Get_Custom_Price;
END QP_CUSTOM;
Then if v_weight has a value '1.2' then Get_Custom_Price returns a value
of'1.2'
Therefore,the pricing engine evaluates the formula as 200*1.2 = 240.
Functional Overview
The Get_Price_Book PL/SQL API can be used by applications integrating with Oracle
Advanced Pricing to query an existing price book. This API maybe used to query a
price book that has been created from the price book user interface (UI), the
Create_Publish_Price_Book public API, or from a Get_Catalog Inbound XML Message.
Before querying a price book, ensure that the concurrent request generating the price
book has completed successfully.
The package QP_PRICE_BOOK_PUB contains the Procedure Get_Price_Book and a
version of Get_Price_Book with an additional output parameter x_documents_rec. The
package specification QP_PRICE_BOOK_PUB contains the following public record type
and table of records type definitions used in the Get_Price_Book API:
• price_book_header_rec: record type corresponding to the view–
QP_PRICE_BOOK_HEADERS_V
Procedure GET_PRICE_BOOK
The following table lists the parameters for this procedure:
2-134 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Type PRICE_BOOK_HEADER_REC
The following table lists the parameters in this structure:
2-136 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Type PRICE_BOOK_LINES_REC
The following table lists the parameters in this structure
2-138 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Type PRICE_BOOK_LINES_TBL
The following table lists the record type of which this structure is a plsql table:
Type PRICE_BOOK_LINE_DETAILS_REC
The following table lists the parameters in this structure:
Type PRICE_BOOK_LINE_DETAILS_TBL
The following table lists the record type of which this structure is a plsql table
2-140 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Type PRICE_BOOK_ATTRIBUTES_REC
The following table lists the parameters in this structure
Type PRICE_BOOK_ATTRIBUTES_TBL
The following table lists the record type of which this structure is a plsql table:
Type PRICE_BOOK_BREAK_LINES_REC
The following table lists the parameters in this structure
2-142 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Type PRICE_BOOK_BREAK_LINES_TBL
The following table lists the record type of which this structure is a plsql table:
Type PRICE_BOOK_MESSAGES_TBL
The following table lists the record type of which this structure is a plsql table:
Type PRICE_BOOK_MESSAGES_TBL
Type DOCUMENTS_REC
The following table lists the parameters in this structure:
2-144 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Other Validation
Oracle Advanced Pricing ensures that an external user can only query a price book
whose customer id matches the customer id of the user or the parent organization of the
customer id of the user. If the Customer party associated with the user is a Person party
who belongs to an Organization party (for example, a record exists in the Trading
Community Architecture (TCA) table hz_relationships with a party_type of
PARTY_RELATIONSHIP for the Customer party of the user and the Object (object_id)
of the relationship is an Organization party), then the Person can query a price book
created for himself or for the Organization to which he belongs, but not for any other
customer.
An external user cannot query a price book with the pricing perspective Purchasing. An
internal user can query a price book with the pricing perspective Purchasing. However,
these price books have a customer_id of -1. So the internal user must pass -1 for the
input parameter p_customer_id while calling the Get_Price_Book API.
Error Handling
If any validation of the input parameters fails, the API returns error status to the calling
module from the output parameter x_return_status. Possible values are S or E for
Success and Error respectively. Validation error messages are returned in the output
parameter x_query_messages. Note that the output parameter
x_price_book_messages_tbl contains error messages associated with the generation of
the price book.
Functional Overview
While processing an order using a particular currency code and/or agreement id, the
OM displays a valid set of price lists when the LOV is activated. The OM calls this API
to get the valid price lists for the given currency code, and/or agreement id and pricing
Get_Price_List
l_pricing_effecti IN Date No No
ve_date
l_agreement_id IN Number No No
PRICE_LIST_REC
The following table shows the parameters for this structure.
PRICE_LIST_REC
PRICE_LIST_TBL
The following table shows the parameters for this structure.
2-146 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICE_LIST_TBL
Note: The Package Specification and Body files are QPXRTCNS.pls and
QPXRTCNB.pls and are available under the source control directory
$QP_TOP/patch/115/sql.
Functional Overview
The Multi-Currency Conversion Setup package QP_Currency_PUB. Process_Currency
contains the following public record type and table of records entities:
• Process_Currency: QP_Currency_PUB.Process_Currency: Takes two record types
and two table types as input parameters. Use this API to insert, and update
Multi-Currency Conversion and to set up a Multi-Currency Conversion for a given
p_CURR_LISTS_rec record structure. The Multi-Currency Conversion can not be
deleted but it can be inactivated by setting the effective dates.
You can:
PROCESS_CURRENCY
The following table shows the parameters for this structure.
PROCESS_CURRENCY
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
2-148 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_CURR_LISTS_ In Curr_Lists_Rec_ No No
rec Type
p_CURR_LISTS_ In Curr_Lists_Val_ No No
val_rec Rec_Type
p_CURR_DETAI In Curr_Details_Tbl No No
LS_tbl _Type
p_CURR_DETAI In Curr_Details_Va No No
LS_val_tbl l_Tbl_Type
CURR_LISTS_REC_TYPE
The following table shows the parameters for this structure.
CURR_LISTS_REC_TYPE
2-150 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
CURR_LISTS_TBL_TYPE
CURR_LISTS_VAL_REC_TYPE
The following table shows the parameters for this structure.
CURR_LISTS_VAL_REC_TYPE
CURR_LISTS_VAL_TBL_TYPE
The following table shows the parameters for this structure.
CURR_LISTS_VAL_TBL_TYPE
CURR_DETAILS_REC_TYPE
The following table shows the parameters for this structure.
2-152 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CURR_DETAILS_REC_TYPE
2-154 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
CURR_DETAILS_TBL_TYPE
The following table shows the parameters for this structure.
CURR_DETAILS_TBL_TYPE
CURR_DETAILS_VAL_REC_TYPE
CURR_DETAILS_VAL_REC_TYPE
CURR_DETAILS_VAL_TBL_TYPE
The following table shows the parameters for this structure.
CURR_DETAILS_VAL_TBL_TYPE
2-156 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Error Handling
Success 5 null
Functional Overview
The Price List Setup package QP_Price_List_PUB.Process_Price_List contains the
following public record type and table of records entities:
• Process_Price_List: QP_Price_List_PUB.Process_Price_List: Takes two record types
and six table types as input parameters. Use this API to insert, update, and delete
You can:
• Set up multiple price list lines by giving multiple price list line definitions in the p_
PRICE_LIST_LINE_tbl table structure.
• Attach multiple qualifiers at the price list header level by giving multiple qualifiers
in the p_QUALIFIERS_tbl table structure.
• Attach multiple pricing attributes to price list lines by giving the pricing attributes
in the p_PRICING_ATTR_tbl table structure.
2-158 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Pricing_Attr_Val_Tbl_Type: Table of Pricing_Attr_Val_Rec_Type.
PROCESS_PRICE_LIST
The following table shows the parameters for this structure.
PROCESS_PRICE_LIST
p_api_version_number In Number No No
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
p_PRICE_LIST_rec In Price_List_Re No No
c_ Type
p_PRICE_LIST_val_rec In Price_List_V No No
al_ Rec_Type
p_PRICE_LIST_tbl In Price_List_Li No No
ne_ tbl_type
p_PRICE_LIST_val_tbl In Price_List_Li No No
ne_Val_tbl_t
ype
p_QUALIFIERS_tbl In QP_Qualifier No No
_ Rules_
PUB.Qualifie
rs_ tbl_Type
p_QUALIFIERS_val_tbl In QP_Qualifier No No
_ Rules_
PUB.Qualifie
rs_
val_tbl_Type
p_PRICING_ATTR_tbl In Pricing_Attr_ No No
tbl_ type
p_PRICING_ATTR_val_tbl In Pricing_Attr_ No No
val_ tbl_type
2-160 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
x_PRICING_ATTR_val_tbl In Pricing_Attr_ No No
val_ tbl_type
p_check_duplicate_lines* In VARCHAR2 No No
*Note: p_check_duplicate_lines: This parameter controls the duplicate check for price
list lines through QP_Price_List_PUB.Process_Price_list and the
OE_Pricing_Cont_PUB.Process_Agreement API. The parameter is optional and the
default value is set to NULL meaning the API does the duplicate check. For any
parameter value other than N (No), then the API checks for duplicate lines. The global
variable G_CHECK_DUP_PRICELIST_LINES defined in package QP_GLOBALS holds
the passed parameter value for the session.
PRICE_LIST_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_REC_TYPE
2-162 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
Note: This API will initialize MOAC if it is not initialized prior. On the
price_list_rec, if the global_flag is passed as FND_API.G_MISS_CHAR,
the API will default the global_flag as "Y." If global_flag is passed as
"N" and if org_id is not null, the API will create the modifier list for that
operating unit (OU). If global_flag is passed as "N" and org_id is not
passed, the API will derive the org_id from the org context if set; if not,
use the default OU for that responsibility. The API will validate the
Org_id to check if the Org_Id corresponds to one of the OUs for that
responsibility and raise an error if org_id is not valid.
PRICE_LIST_TBL_TYPE
The following table shows the parameters for this structure.
2-164 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICE_LIST_TBL_TYPE
PRICE_LIST_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_REC_TYPE
PRICE_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_LINE_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_LINE_REC_TYPE
2-166 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-168 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICE_LIST_LINE_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_LINE_TBL_TYPE
PRICE_LIST_LINE_VAL_REC_TYPE
The following table shows the parameters for this structure.
2-170 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICE_LIST_LINE_VAL_REC_TYPE
PRICE_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_TBL_TYPE
QUALIFIERS_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_REC_TYPE
2-172 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
QUALIFIERS_TBL_TYPE
QUALIFIERS_VAL_REC_TYPE
Note: For setting up a Secondary Price List, create a qualifier with the
following parameters:
• QUALIFIER_CONTEXT: MODLIST
• COMPARISON_OPERATOR_CODE: =
PRICING_ATTR_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_REC_TYPE
2-174 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-176 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICING_ATTR_TBL_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_TBL_TYPE
PRICING_ATTR_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_VAL_REC_TYPE
PRICING_ATTR_VAL_TBL_TYPE
The following table shows the parameters for this structure.
Error Handling
Success 5 null
• QPPLXMP2.sql: This sample script inserts three price list lines into a price list and
the product information for each of the lines (product information is stored in
pricing attributes table in product attribute columns); one secondary price list; two
price list qualifiers (only header level qualifiers supported for price lists); and two
2-178 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
non-product pricing attributes per price list line.
• QPPLXMP3.sql: This script inserts one price list line into a price list with product
information for this line (product Information is stored in pricing attributes table in
product attribute columns); one non-product pricing attribute for the price list line;
and one price list qualifier (only header level qualifiers supported for price lists).
• QPPLXMP4.sql: This script inserts one price list line of type PBH (price break
header) into a price list and the product information for this line (product
information is stored in pricing attributes table in product attribute columns); a
regular pricing attribute (non product) and a price break child line. To create a price
break child line, you must create a combination of a list line and a pricing attribute
where the pricing attribute can only have the Volume pricing context and Pricing
Attribute of Item Quantity.
• QPPLXMP5.sql: This script inserts the list price on a price list line. This script must
be modified by the user such that the qpr_list_line_ tbl(K).list_line_id
column is populated with a valid list_line_id from the instance where this script is
run.
Functional Overview
The Price List Setup package QP_Price_List_GRP.Process_Price_List contains the
following public record type and table of records entities:
• Process_Price_List: QP_Price_List_GRP.Process_Price_List:Takes two record types
and six table types as input parameters. Use this API to insert, update, and delete
price lists and to set up a price list for a given p_PRICE_LIST_rec record structure.
You can:
• Set up multiple price list lines by giving multiple price list line definitions in the p_
PRICE_LIST_LINE_tbl table structure.
• Attach multiple qualifiers at the price list header level by giving multiple qualifiers
in the p_QUALIFIERS_tbl table structure.
• Attach multiple pricing attributes to price list lines by giving the pricing attributes
in the p_PRICING_ATTR_tbl table structure.
PROCESS_PRICE_LIST
The following table shows the parameters for this structure.
2-180 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PROCESS_PRICE_LIST
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
p_PRICE_LIST_r In Price_List_Rec_ No No
ec Type
p_PRICE_LIST_ In Price_List_Val_ No No
val_rec Rec_Type
p_PRICE_LIST_t In Price_List_Line_ No No
bl tbl_type
p_PRICE_LIST_ In Price_List_Line_ No No
val_tbl Val_tbl_type
p_QUALIFIERS_ In QP_Qualifier_Ru No No
tbl les_PUB.Qualifie
rs_tbl_Type
p_QUALIFIERS_ In QP_Qualifier_Ru No No
val_tbl les_PUB.Qualifie
rs_val_tbl_Type
p_PRICING_AT In Pricing_Attr_tbl_ No No
TR_tbl type
p_PRICING_AT In Pricing_Attr_val No No
TR_val_tbl _tbl_type
x_ Out Price_List_Val_R No No
PRICE_LIST_val ec_Type
_rec
A key of the short names and definitions used in the API tables are provided in the
following table:
Drv Derived
2-182 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Short name Definition
Req Required
PRICE_LIST_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_REC_TYPE
2-184 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICE_LIST_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_TBL_TYPE
2-186 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICE_LIST_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_REC_TYPE
PRICE_LIST_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_VAL_TBL_TYPE
PRICE_LIST_LINE_REC_TYPE
The following table shows the parameters for this structure.
2-188 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-190 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICE_LIST_LINE_TBL_TYPE
PRICE_LIST_LINE_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_LINE_VAL_REC_TYPE
2-192 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICE_LIST_LINE_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICE_LIST_LINE_VAL_TBL_TYPE
QUALIFIERS_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_TBL_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_TBL_TYPE
QUALIFIERS_VAL_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_VAL_REC_TYPE
2-194 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
QUALIFIERS_VAL_TBL_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_VAL_TBL_TYPE
• QUALIFIER_ATTRIBUTE: QUALIFIER_ATTRIBUTE4
• COMPARISON_OPERATOR_CODE: =
PRICING_ATTR_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_REC_TYPE
2-196 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICING_ATTR_TBL_TYPE
The following table shows the parameters for this structure:
PRICING_ATTR_TBL_TYPE
PRICING_ATTR_VAL_REC_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_VAL_REC_TYPE
2-198 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
PRICING_ATTR_VAL_TBL_TYPE
The following table shows the parameters for this structure.
PRICING_ATTR_VAL_TBL_TYPE
Success 5 null
For each pricing phase the search engine executes the following functions:
• Selects eligible price list lines and modifier list lines using predefined pricing rules.
• Resolve incompatibilities among eligible benefits.
• Calculation engine: For each pricing request line and its associated pricing request
2-200 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
line details, calculates the base price, adjusted price, and extended price.
You can call one or both of the engines by setting the calculate flag on the control
record.
Functional Overview
The Price Request public API QP_PREQ_PUB contains the following entities:
• CONTROL_RECORD_TYPE: Parameters which control the behavior of the pricing
engine.
• SERVICE_LINE: Relates an order line for a service item and its parent, the
serviceable item. The pricing engine needs to know this relationship when it must
price service items based on a percent of the serviceable item price.
Insert_Lines2
This API takes the request line information and does a bulk insert into the pricing
temporary table which holds the request lines, qp_preq_lines_tmp. Each of the input
parameter is a pl/sql table to enable the bulk insert. If an error occurs, this API returns
x_return_status as FND_API.G_RET_STS_ERROR.
QP_PREQ_GRP.INSERT_LINES2
QP_PREQ_GRP.INSERT_LINES2
p_LINE_INDEX In QP_PREQ_GRP.PLS_INTEGER_TYPE,
p_LINE_TYPE_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICING_EFFECTIVE_DATE In QP_PREQ_GRP.DATE_TYPE
p_ACTIVE_DATE_FIRST In QP_PREQ_GRP.DATE_TYPE
p_ACTIVE_DATE_FIRST_TYPE In QP_PREQ_GRP.VARCHAR_TYPE,
p_ACTIVE_DATE_SECOND In QP_PREQ_GRP.DATE_TYPE
p_ACTIVE_DATE_SECOND_TYPE In QP_PREQ_GRP.VARCHAR_TYPE ,
p_LINE_QUANTITY In QP_PREQ_GRP.NUMBER_TYPE ,
2-202 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usag Type
e
p_LINE_UOM_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_REQUEST_TYPE_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICED_QUANTITY In QP_PREQ_GRP.NUMBER_TYPE,
p_PRICED_UOM_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_CURRENCY_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_UNIT_PRICE In QP_PREQ_GRP.NUMBER_TYPE,
p_PERCENT_PRICE In QP_PREQ_GRP.NUMBER_TYPE,
p_UOM_QUANTITY In QP_PREQ_GRP.NUMBER_TYPE,
p_ADJUSTED_UNIT_PRICE In QP_PREQ_GRP.NUMBER_TYPE,
p_UPD_ADJUSTED_UNIT_PRICE In QP_PREQ_GRP.NUMBER_TYPE,
p_PROCESSED_FLAG In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICE_FLAG In QP_PREQ_GRP.VARCHAR_TYPE,
p_LINE_ID In QP_PREQ_GRP.NUMBER_TYPE,
p_PROCESSING_ORDER In QP_PREQ_GRP.PLS_INTEGER_TYPE,
p_PRICING_STATUS_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICING_STATUS_TEXT In QP_PREQ_GRP.VARCHAR_TYPE,
p_ROUNDING_FLAG In QP_PREQ_GRP.FLAG_TYPE,
p_ROUNDING_FACTOR In QP_PREQ_GRP.PLS_INTEGER_TYPE,
p_QUALIFIERS_EXIST_FLAG In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICING_ATTRS_EXIST_FLAG In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICE_LIST_ID In QP_PREQ_GRP.NUMBER_TYPE,
p_VALIDATED_FLAG In QP_PREQ_GRP.VARCHAR_TYPE,
p_PRICE_REQUEST_CODE In QP_PREQ_GRP.VARCHAR_TYPE,
p_USAGE_PRICING_TYPE In QP_PREQ_GRP.VARCHAR_TYPE,
p_LINE_CATEGORY In QP_PREQ_GRP.VARCHAR_TYPE :=
QP_PREQ_GRP.G_LINE_CATEGORY_DEF_TB
L
For information on each of these parameters, refer the LINE_REC_TYPE defined in this
manual under the price_request API.
Insert_Line_Attrs2
This API takes the attribute information and does a bulk insert into the pricing
temporary table which holds the request line attributes, qp_preq_line_attrs_tmp. Each
of the input parameter is a pl/sql table to enable the bulk insert. In case there is an error,
this API returns x_return_status as FND_API.G_RET_STS_ERROR.
QP_PREQ_GRP.INSERT_LINE_ATTRS2
Parameter Type
p_LINE_INDEX_tbl QP_PREQ_GRP.pls_integer_type
p_LINE_DETAIL_INDEX_tbl QP_PREQ_GRP.pls_integer_type
p_ATTRIBUTE_LEVEL_tbl QP_PREQ_GRP.varchar_type
p_ATTRIBUTE_TYPE_tbl QP_PREQ_GRP.varchar_type
p_LIST_HEADER_ID_tbl QP_PREQ_GRP.number_type
2-204 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type
p_LIST_LINE_ID_tbl QP_PREQ_GRP.number_type
p_CONTEXT_tbl QP_PREQ_GRP.varchar_type
p_ATTRIBUTE_tbl QP_PREQ_GRP.varchar_type
p_VALUE_FROM_tbl QP_PREQ_GRP.varchar_type
p_SETUP_VALUE_FROM_tbl QP_PREQ_GRP.varchar_type
p_VALUE_TO_tbl QP_PREQ_GRP.varchar_type
p_SETUP_VALUE_TO_tbl QP_PREQ_GRP.varchar_type
p_GROUPING_NUMBER_tbl QP_PREQ_GRP.pls_integer_type
p_NO_QUALIFIERS_IN_GRP_tbl QP_PREQ_GRP.pls_integer_type
p_COMPARISON_OPERATOR_TYPE_tbl QP_PREQ_GRP.varchar_type
p_VALIDATED_FLAG_tbl QP_PREQ_GRP.varchar_type
p_APPLIED_FLAG_tbl QP_PREQ_GRP.varchar_type
p_PRICING_STATUS_CODE_tbl QP_PREQ_GRP.varchar_type
p_PRICING_STATUS_TEXT_tbl QP_PREQ_GRP.varchar_type
p_QUALIFIER_PRECEDENCE_tbl QP_PREQ_GRP.pls_integer_type
p_DATATYPE_tbl QP_PREQ_GRP.varchar_type
p_PRICING_ATTR_FLAG_tbl QP_PREQ_GRP.varchar_type
p_QUALIFIER_TYPE_tbl QP_PREQ_GRP.varchar_type
p_PRODUCT_UOM_CODE_TBL QP_PREQ_GRP.varchar_type
p_EXCLUDER_FLAG_TBL QP_PREQ_GRP.varchar_type
p_PRICING_PHASE_ID_TBL QP_PREQ_GRP.pls_integer_type
p_INCOMPATABILITY_GRP_CODE_TBL QP_PREQ_GRP.varchar_type
p_LINE_DETAIL_TYPE_CODE_TBL QP_PREQ_GRP.varchar_type
p_MODIFIER_LEVEL_CODE_TBL QP_PREQ_GRP.varchar_type
p_PRIMARY_UOM_FLAG_TBL QP_PREQ_GRP.varchar_type
For more information on each of these input parameters, refer to the line_attr_rec_type
in the price_request API.
PRICE_REQUEST
The Derived value for each parameter is Null.
PRICE_REQUEST
p_line_attr_tbl In LINE_ATTR_ No
TBL_TYPE
p_line_detail_tbl In LINE_DETAIL_ No
TBL_TYPE
p_line_detail_qual_tb In LINE_DETAIL_ No
l QUAL_TBL_ TYPE
p_line_detail_attr_tbl In LINE_DETAIL_ No
ATTR_TBL_ TYPE
2-206 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req
PRICE_REQUEST (Overloaded)
This API has been overloaded for performance features. The request line and attributes
are inserted into the pricing temporary tables prior to calling this API. Please refer to
the performance features section under this API for more details regarding this call.
CONTROL_REC_TYPE
The Derived value for each parameter is Null.
CONTROL_REC_TYPE
2-208 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Usage
QP_PREQ_GRP.
G_SEARCH_ONLY:
Search engine: If you
do not want the
engine to calculate
the selling price.
QP_PREQ_GRP.G_C
ALCUL_ATE_ONLY:
Calculate engine: If
you are passing the
adjustment records to
the engine and you
want the engine to
recalculate the selling
price, without
retrieving new
adjustments.
QP_PREQ_GRP.
G_SEARCH_N_CAL
CULATE: Both the
calculate and search
engines: Regular
engine call. Retrieves
new adjustments and
calculates the selling
price
N: unrounded figures
would be returned
2-210 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Usage
N: unrounded figures
are returned
2-212 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Usage
Y: Indicates to the
pricing engine to
source the order
amount. It means the
calling application
will provide the order
amount
Y: Indicates that to
access the calling
applications data, the
source system uses
the view provided by
calling application.
It indicates database
view id, which the
source system uses to
access the calling
application's data.
2-214 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Usage
Note: The pricing engine will set the policy context to Single Org to the
Org_Id passed on the control record. If Org_Id is not passed, the
pricing engine will derive the Org_Id from the Org context if it is set;
otherwise use the default Org_Id for the responsibility. If the Org_Id is
not passed to the pricing engine on the control record, and the pricing
engine is not able to derive an Org_Id, it will return prices from global
price lists and modifiers only. If the Build_Contexts API has been called
prior to calling the Price_Request API, the Org Context may have been
set by the Build Contexts API.
The pricing event determines the pricing phases to be run during the call to pricing
engine. If you create your own pricing phase, associate the pricing events to phases
using screen setup _ event phases. Each modifier is associated to one pricing phase.
Pricing engine looks only at those modifiers associated with the phases defined for the
pricing event passed.
LINE_REC_TYPE
The following table shows the parameters for this structure:
2-216 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
LINE_REC_TYPE
• ORDE
R
• LINE
2-218 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
2-220 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
2-222 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
If the caller
does not pass
this field, the
pricing
engine will
populate the
rounding
factor from
the qualified
price list into
this field and
use it for
rounding. If
multi-currenc
y is installed
and used, the
pricing
engine will
populate the
selling
rounding
factor of the
matching
currency
from the
attached
multi-currenc
y list
(currency
conversion
criteria) of the
qualified
price list into
this field and
use it for
rounding
2-224 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
Y (Calculate
Price): Apply
all prices and
modifiers to
the request
line.
N (Freeze
Price): Do not
apply any
prices or
modifiers to
the request
line. Consider
the volume of
the request
line when
processing
LINEGROUP
modifiers for
other lines.
P (Partial
Price):, Apply
prices and
modifiers in
phases whose
freeze
override flag
is Y.
2-226 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
N: New
record
created(All
'N' records
are returned
back from the
pricing
engine.These
are success
records)
X:
Unchanged(D
efault status
when the line
is passed to
the pricing
engine for
processing)
U: Updated
IPL: Invalid
price
list(When
passed in
price list is
not found ,
then an error
is given)
GSA: GSA
violation
FER: Error
processing
formula
OER: Other
error
CALC: Error
in calculation
engine
UOM: Failed
to price using
unit of
measure
INVALID_U
OM: Invalid
unit of
measure
DUPLICATE
_PRICE_LIST
: Duplicate
price list
INVALID_U
OM_CONV:
Unit of
measure
conversion
not found
INVALID_IN
COMP:
Could not
resolve
incompatibilit
y
INVALID_BE
ST_PRICE:
Could not
resolve best
price
2-228 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
REGULAR –
Regular
pricing
AUTHORIN
G–
Authoring
call
BILLING –
Billing call
RETURN –
Returned line
CANCEL –
Cancelled
line
NULL –
Regular line
2-230 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Req Drv Type Usage
• Summary Line where line_type_code = ORDER which is the summary line for the
whole Sales Order. This line has all the order level attributes attached to it. This line
is required to be passed to the pricing engine to get any Order Level Discounts
based on the attributes or qualifiers that are attached to this Line.
• Lines that are generated or derived by the pricing engine , in case of discounts like
Promotional Good , where in a new order line is created. This line would have the
processed code as ENGINE. The relationship between the new line and the original
request line is stored in the Relationship record structure
RELATED_LINES_REC_TYPE. So, if the pricing engine returns a free good (PRG
Modifier), it generates a new request line.
LINE_DETAIL_REC_TYPE
2-232 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
LINE_DETAIL_REC_TYPE
2-234 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
Adjustment
percent(for
discounts)
Adjustment
amount (for
discounts)
Adjustment
NewPrice(for
discounts)
UNIT_PRICE
(for price
lists)
PERCENT_P
RICE(for
price lists)
POINT ,
RANGE ,
RECURRING
2-236 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
Yes:
Applicable
when the
attribute
context is a
list or list line
No:
Applicable
when the
attribute
context is a
list or list line
Null
2-238 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
N: New
record
created(All
'N' records
are returned
back from the
pricing
engine.These
are success
records)
UPDATED:
Indicates
Success status
and that the
record is
Updated
record and is
not new.
X: Indicates
Success status
and that the
record is
Unchanged
BACK_CALC
ULATION_E
RROR :
Indicates that
there were no
qualified
manual
overrideable
adjustments
to adjust the
price.
D : Deleted.
This indicates
Failure.
D_PBH :
deleted in
PBH
processing
2-240 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
2-242 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
Default
Value: 100
2-244 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
2-246 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
• EXCE
EDED
• ADJU
STED
• CONS
UME
D
BACK_CALC
ULATE :
Indicates that
this
adjustment is
a back
calculated
adjustment
and it got
applied to
adjust the
overridden
selling price.
This is related
to the field
updated_adju
sted_unit_pri
ce on
line_rec_type.
2-248 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Req Drv Type Usage
Inserting Lines into Temporary Tables: The pricing engine takes in the input data,
processes and inserts to the temporary table. By inserting the request lines, passed in
attributes, qualifiers and modifiers directly to the temporary tables, pricing engine
performance is improved. The caller can indicate to the pricing engine that the data is
inserted to the temporary tables by passing a value of "No" to the
TEMP_TABLE_INSERT_FLAG on the control record. The following procedures enable
bulk inserts to the pricing temporary tables:
• The procedure INSERT_LINES2 in the pricing engine API QP_PREQ_GRP inserts
the request lines to the temporary table. This procedure does a bulk insert to the
temporary tables, so you need to load the request line details PL/SQL table of
records to individual PL/SQL tables one for each column. The temporary table for
request lines QP_PREQ_LINES_TMP has columns that map to the columns of the
P_LINE_TBL PL/SQL table.
• The manual modifiers that need to be applied can be inserted into the temporary
table for modifiers QP_PREQ_LDETS_TMP.
2-250 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• The build sourcing API has been modified to insert into the temporary tables
directly. The procedure BUILD_CONTEXTS in the QP_ATTR_MAPPING_PUB API
populates the temporary tables directly. This can be called to source the necessary
attributes.
• The procedure to make the pricing engine call, PRICE_REQUEST in the pricing
engine API QP_PREQ_PUB, has been overloaded to pass only the control record.
• The output of the pricing engine exists in the temporary tables and the caller can
process the data from the pricing temporary tables.
This is the process to insert records into the temporary tables and this will enhance the
performance of the pricing engine. There is a example script to demonstrate the direct
insertion. Please refer to the example scripts mentioned in this document.
• Other Item Discount (OID) processing: For OID processing, two request lines need
to be passed to the pricing engine; for example, Buy A get 10% of B.
In the above example A and B need to be ordered on two order lines, so two request
lines are passed to the pricing engine. When the engine does the OID processing, it
creates a discount line for 10% on the 2nd request line, which applies the 10%
discount to the 2nd request line. Also a relationship record is created in the
RELATED_LINES_REC_TYPE record structure. Line Detail Index 8 is the actual
Discount Line which is the OID line and Line Detail Index 9 is the actual benefit line
which is 10% off line. So, the relationship is as follows:
Line Index Line Detail Related Line Related Line Relation Ship
Index Index Detail Index Type
2. A new relationship between the Item A line and Item B line is created ,in the
RELATED_LINES_REC_TYPE record structure. It is a Line-Line
relationship(Line Index 1 - Line Index 2).
3. A new Price List Line is created for the new request line in the
LINE_DETAIL_REC_TYPE record structure.(Line Index 2 - Line Detail Index 3).
4. A new adjustment line for 100% discount is created for the new request line in
the LINE_DETAIL_REC_TYPE record structure.(Line Index 2 - Line Detail
Index 4).
5. A new relationship line between the original PRG Line Detail Line and the new
100% off line detail is created in the RELATED_LINES_REC_TYPE record
structure .(Line Detail Index 1 - Line Detail Index 4).
2-252 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• SUBSTITUTION ATTRIBUTE
• SUBSTITUTION TO
• Freight Charge
Freight Charges Processing: All the freight charge discounts do not affect the selling
price. The pricing engine calculates the adjustment amount for the freight charge
discounts but, this does not effect the selling price.
• The selling price can be overridden by passing the new selling price in the
line_detail_rec_type.updated_adjusted_unit_price. The engine will then pick up
a suitable manual overrideable modifier that is qualified and back calculate the
adjustment amount and operand to match the new selling price. In this case the
pricing engine will pass back this manual modifier with calculation_code as
BACK_CALCULATE, updated_flag = Y and applied_flag = Y.
Example: Three order lines are passed to the pricing engine: the unit selling
price on the second order line is $80 and the unit list price is $100 and you want
to override the selling price to $90. In this case, you must pass 80 in the column
UPDATE_ADJUSTED_UNIT_PRICE on the request line in the record
corresponding to the second order line in the LINE_TBL.
Then the pricing engine selects all the qualifying manual overrideable
adjustments, decides whether it needs to apply a discount or a surcharge. It
prefers a manual overrideable adjustment that has been applied already. If
2-254 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Example
List Line Parent/Chil Price Break Price Break Value Break Type
Type Code d From To
The Adjustment Amount and Line Quantity Fields exactly tell how and which child
line has been used in deriving the break . For example, if the ordered Quantity is
350, then the record structure will have the following information:
The relationship between the Parent and Child Records are stored in the
RELATED_LINES_REC_TYPE record structure. The relationship type is
PBH_LINE.
RELATED_LINES_REC_TYPE
Line Index Line Detail Related Line Related Line Relation Ship
Index Index Detail Index Type
• RELATED_ITEM_ID
• QUAL_REC_TYPE
The Required and Derived values for the following parameters are Null.
2-256 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
QUAL_REC_TYPE
LINE_ATTR_REC_TYPE
The Required and Derived values for the following parameters are Null.
LINE_ATTR_REC_TYPE
2-258 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Type Usage
RELATED_LINES_REC_TYPE
The Required and Derived values for the following parameters are Null.
RELATED_LINES_REC_TYPE
Error Handling
Success 5 Null
2-260 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• qp_manual_adjustments (Apply manual adjustments)
These scripts help you set up data and make a call to the pricing engine to return the
price and any related discounts. The scripts are located in the following area:
$QP_TOP/patch/115/sql.
The setup involves passing information to the pricing engine using the following:
1. Control Record Information: The Control Record has parameters which control the
behavior of the pricing engine. Please refer to the example script for more details.
2. Request/Order Line Information: Request Line has information that contains the
elements in the calling application that require a base and adjusted price. It may
equate to a transaction line or transaction header record in the calling application.
Refer to qp_engine_testing.sql for information on setting up the request line data.
LINE_REC_TYPE is the record structure that needs to be completed when passing
information related to a request line.
• PRICING_ATTRIBUTE
• PRICING_ATTR_VALUE_FROM
• QUALIFIER_ATTRIBUTE
• QUALIFIER_ATTR_VALUE_FROM
Any attribute for example Item, Price List Id, Customer Name, Order Type etc. will
have a mapping to give the Context, Attribute, Value_Id (will be the actual value). For
more information on seeded attributes, see: Oracle Advanced Pricing User's Guide. Please
refer to the following examples:
• Price List/Discount Related Information: The output request line detail record
would have the price list line and modifier list line detail information like the
unit_price value, discount percentage etc. The columns of the output record
structure are described further in this document.
• Qualifiers and Pricing Attributes: The output qualifier and pricing attribute records
2-262 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
would have the qualifiers and pricing attributes which qualified the price list line or
modifier list line. The columns of the output record structure are described further
in this document.
• Related Lines Information: This record structure has information related to Service
Lines Relationship , Price Break Lines Relationship, OID Modifier Line relationship,
PRG Modifier Line Relationship and Order To Line Relationship (Type -
ORDER_TO_LINE) which tells an Order Level Discount was applied to which
Lines.
Note: Currently, only the price list data is uploaded by the API.
Functional Overview
Using the Pricing Data Bulk Loader API, you can:
• Use the same interface program and tables for updating the pricing data.
• Delete or update pricing attributes, qualifiers, breaks, and so on, using the interface
tables.
• Store the interface program id in the main pricing tables so that user knows which
request id has updated the records.
• Mark the record as being processed so that multiple processes do not pick up the
same record.
• Provide all validation error messages in the same run for unloaded records instead
of returning errors one after another.
The pricing data is retrieved from four interface tables to populate the core pricing
tables. The data model and validations should be considered while populating the
interface tables.
Output table
• QP_INTERFACE_ERRORS: This table stores errors encountered during the bulk
import process. The QP core tables are also populated during the bulk import
process.
• Entity Name: Specifies the name of the pricing entity to be processed, for example,
price list name is Corporate. A null value means that all the available entities of that
Entity type in the interface tables should be processed.
• Process ID: This corresponds to the process_id in the interface tables. The Process
ID groups data in the interface table and can be specified by the user as the criteria
to pick up records for processing. A null value for this parameter means all
available records for processing should be considered subject to restrictions
imposed by the value of parameter p_entity_name.
• Turn Debug On: Valid values are Yes or No. If Yes, detailed debug messages are
written to the concurrent program log file. As debug messages add to the
performance overhead, selecting No results in quicker completion of the concurrent
request.
2-264 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Enable Duplicate Check: Has two valid values:
• Yes: Does a duplicate check on the entered lines and gives an error if a
duplicate line is found.
• No: Does not do a duplicate check on the entered lines and, therefore, gives
better performance.
P_entity In Varchar2 No No
P_entity_name In Varchar2 No No
P_process_id In Number No No
P_process_type In Varchar2 No No
P_no_of_threads In Number No No
P_spawned_req In Varchar2 No No
uest
P_request_id In Number No No
P_Debug_On In Varchar2 No
• If list line type is Price List Line then values for operand, price by formula id,
generate using formula id, cannot all be null.
• If both start date and end date are filled, then start date should be before the end
date.
• If list line type is Price Break Header then price break type code and
RLTD_MODIFIER_GRP_CODE cannot be null.
• If block pricing and price break type code is Point then there should not be any
child lines with unit price or recurring value filled.
• If the price list line and price break header is not NULL then both line and child line
should have unit price or line and the child line should have block pricing. For
break unit price, the parent line should be block price and break type code should
be range.
All the standard price list validations are done. Some fields like
SHIP_METHOD_CODE, FREIGHT_TERMS_CODE, TERMS_ID, and
CURRENCY_HEADER_ID in the QP_INTERFACE_LIST_HEADERS table and
PRICE_BY_FORMULA, GENERATE_USING_FORMULA fields in the
QP_INTERFACE_LIST_LINES are populated with the internal code value. To ease this,
one extra field for each field is provided where the description/name of the code can be
populated and the code field can be left empty during the loading of the interface
tables. During the loading process the appropriate code would be fetched and
populated in the live tables. For more information, see: Oracle eTRM (eTechnical
Reference Manual) available on OracleMetaLink.
Other Validation
The following specific user interface (UI) validations are also handled:
• The Pricing attribute context for a PBH (price break header) child line must be
VOLUME.
• For each line record inserted, there must be one pricing attribute record, with null
pricing context/attribute/value.
• Application method of the PBH child line must be compatible with application
method of parent PBH line.
• All the pricing attribute records of the same parent price list line must have same
product context/attribute/value.
Result
Once the concurrent program runs, the following attributes in the table can be checked
to find the status.
• Process_Status_Flag: The process status of the record. The following table outlines
2-266 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
the status values and their meaning:
P Ready to be picked.
I Successfully interfaced.
The records in the interface tables which are successfully copied to the live tables get
deleted from the interface tables. So if a record is not in the interface table after the
program executes, then it indicates that the record has migrated successfully to the live
tables.
Error Handling
If any validation failure occurs for the record, the process_status_flag value is set to
NULL and the corresponding error message is inserted in the qp_interface_errors table
along with request_id and orig_sys_reference. The error messages are also sent to the
output log (when concurrent program is run).
Correct any errors in the interface tables in the QP_INTERFACE_ERROR and then reset
PROCESS_STATUS_FLAG value to "P." The REQUEST_ID should also to be reset to
NULL to resubmit the records for next upload. (Alternatively, you can give the Name of
the price list that failed as an input so that it is not necessary to reset the values.)
Periodically, the QP_INTERFACE_ERRORS table needs to be purged of error messages
from prior requests to maintain effective performance. If a child record needs to be
corrected and resubmitted when the parent (and grandparent if applicable) record was
successfully interfaced and deleted by the previous run of the program, you need to
repopulate the parent (and grandparent if applicable) record with a
process_status_flag= I in the interface table.
• QPBLKEX2.sql: Script to insert price list header and price list line and pricing
• QPBLKEX3.sql: Script to insert price list header and price break line.
• QPBLKEX5.sql: Script to attach secondary price lists to the primary price list.
QP_INTERFACE_LIST_HEADERS
Parameter Value
LIST_TYPE_CODE PRL
name CATALOG_PRICE_LIST1
currency_code USD
active_flag Y
process_flag Y
orig_sys_header_ref CPL00001
Interface_action_code INSERT
Language US
source_lang US
rounding_factor -2
PROCESS_STATUS_FLAG P
2-268 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Example: Inserting the preceding price list as a secondary price list to the
Corporate price list
QP_INTERFACE_QUALIFIERS
Parameter Value
ORIG_SYS_QUALIFIER_R OSQR0001
EF
QUALIFIER_GROUPING_ -1
NO
QUALIFIER_CONTEXT MODLIST
QUALIFIER_ATTRIBUTE PRICE_LIST
_CODE
QUALIFIER_ATTR_VAL Corporate
UE_CODE
ORIG_SYS_HEADER_REF CPL00001
PROCESS_FLAG Y
INTERFACE_ACTION_C INSERT
ODE
COMPARISON_OPERAT =
OR_CODE
QUALIFIER_PRECEDEN 10
CE
PROCESS_STATUS_FLAG P
QP_INTERFACE_LIST_LINES
Parameter Value
ORIG_SYS_LINE_REF OSLR0001
orig_sys_header_ref CPL00001
list_line_type_code PLL
arithmetic_operator UNIT_PRICE
OPERAND 999
PRIMARY_UOM_FLAG Y
PROCESS_FLAG Y
INTERFACE_ACTION_C INSERT
ODE
PROCESS_STATUS_FLAG P
QP_INTERFACE_PRICING_ATTRIBS
Parameter Value
ORIG_SYS_PRICING_AT OSPAR0001
TR_REF
ORIG_SYS_LINE_REF OSLR0001
ORIG_SYS_HEADER_REF CPL00001
PRODUCT_ATTRIBUTE_ ITEM
CONTEXT
PRODUCT_ATTR_CODE INVENTORY_ITEM_ID
PRODUCT_ATTR_VAL_D AS54888
ISP
PROCESS_FLAG Y
2-270 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Value
INTERFACE_ACTION_C INSERT
ODE
PRODUCT_UOM_CODE Ea
PROCESS_STATUS_FLAG P
QP_INTERFACE_LIST_LINES
Parameter Value
ORIG_SYS_LINE_REF OSLR0002
orig_sys_header_ref CPL00001
list_line_type_code PBH
arithmetic_operator POINT
OPERAND UNIT_PRICE
PROCESS_FLAG Y
INTERFACE_ACTION_C INSERT
ODE
PROCESS_STATUS_FLAG P
QP INTERFACE_PRICING_ATTRIBS
Parameter Value
ORIG_SYS_PRICING_ATT OSPAR0002
R_REF
ORIG_SYS_LINE_REF OSLR0002
ORIG_SYS_HEADER_REF CPL00001
PRODUCT_ATTRIBUTE_C ITEM
ONTEXT
PRODUCT_ATTR_CODE INVENTORY_ITEM_ID
PRODUCT_ATTR_VAL_DI CM13139
SP
PROCESS_FLAG Y
INTERFACE_ACTION_CO INSERT
DE
PRODUCT_UOM_CODE Ea
PROCESS_STATUS_FLAG P
QP_INTERFACE_LIST_LINES
Parameter Value
ORIG_SYS_LINE_REF OSLR0003
orig_sys_header_ref CPL00001
list_line_type_code PLL
arithmetic_operator UNIT_PRICE
PRICE_BREAK_TYPE_CO POINT
DE
OPERAND 420
PRICE_BREAK_HEADER OSLR0002
_REF
2-272 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Value
PROCESS_FLAG Y
INTERFACE_ACTION_C INSERT
ODE
PROCESS_STATUS_FLAG P
QP_INTERFACE_PRICING_ATTRIBS
Parameter Value
ORIG_SYS_PRICING_AT OSPAR0003
TR_REF
ORIG_SYS_LINE_REF OSLR0003
ORIG_SYS_HEADER_REF CPL00001
EXCLUDER FLAG Y
PRODUCT_ATTRIBUTE_ ITEM
CONTEXT
PRODUCT_ATTR_CODE INVENTORY_ITEM_ID
PRODUCT_ATTR_VAL_D CM13139
ISP
PRICING_ATTRIBUTE_C VOLUME
ONTEXT
PRICING_ATTR_CODE ITEM_QUANTITY
PRICING_ATTR_VALUE_ 25
FROM_DISP
PRICING_ATTR_VALUE_ 35
TO_DISP
COMPARISON_OPERAT BETWEEN
OR_CODE
PROCESS_FLAG Y
INTERFACE_ACTION_C INSERT
ODE
PRODUCT_UOM_CODE Ea
PROCESS_STATUS_FLAG P
QP_INTERFACE_QUALIFIERS
Parameter Value
ORIG_SYS_QUALIFIER_R OSQR0002
EF
QUALIFIER_GROUPING_ -1
NO
QUALIFIER_CONTEXT ORDER
QUALIFIER_ATTRIBUTE SHIPPED_FLAG
_CODE
QUALIFIER_ATTR_VAL NO
UE_CODE
ORIG_SYS_HEADER_REF CPL00001
PROCESS_FLAG Y
2-274 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Value
INTERFACE_ACTION_C INSERT
ODE
COMPARISON_OPERAT =
OR_CODE
PROCESS_STATUS_FLAG P
QP_INTERFACE_LIST_LINES
Parameter Value
ORIG_SYS_LINE_REF OSLR0001
ORIG_SYS_HEADER_REF CPL00001
PROCESS_FLAG Y
INTERFACE_ACTION_C DELETE
ODE
PROCESS_STATUS_FLAG P
Related Topics
Oracle Advanced Pricing Implementation Manual, Pricing Data Bulk Loader chapter
• QP_SECU_UPDATE
The parameter p_instance_type is required and can take three different values:
• PRL: For type of standard price list.
2-276 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CHECK_FUNCTION
p_instance_pk2 In Number No No
p_instance_pk3 In Number No No
A key of the short names and definitions used in the API tables are provided in the
following table:
Drv Derived
Req Required
Error Handling
Success T or F
Functional Overview
The Pricing Attributes API (QP_ATTRIBUTES_PUB) is a Business Object API that is
based on the following tables:
• QP_PRC_CONTEXTS_B/TL
• QP_SEGMENTS_B/TL
This API does all the transaction processing for all the data that is inserted, updated, or
deleted from contexts and attributes. The Business API Model is shown below. The
Object Name is Attributes and the object code is ATR.
Procedure PROCESS_ATTRIBUTES
The following table shows the parameters for this structure. This procedure is used to
add, update, or delete contexts and attributes.
2-278 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PROCESS_ATTRIBUTES
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
p_CON_rec In Con_Rec_Type No No
p_CON_val_rec In Con_Val_Rec_Ty No No
pe
p_SEG_tbl In Con_Tbl_Type No No
p_SEG_val_tbl In Con_Val_Tbl_Ty No No
pe
p_api_version_number
This the version number of the API.
P_CON_REC
P_CON_REC
P_CON_VAL_REC
The following table shows the parameters for this structure.
2-280 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
P_CON_VAL_REC
P_SEG_TBL
The following table shows the parameters for this structure.
P_SEG_TBL
P_SEG_VAL_TBL
The following table shows the parameters for this structure.
P_SEG_VAL_TBL
X_CON_REC
The following table shows the parameters for this structure.
X_CON_VAL_REC
The following table shows the parameters for this structure.
2-282 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
X_CON_VAL_REC
X_SEG_TBL
The following table shows the parameters for this structure.
X_SEG_TBL
- Null TABLE OF No No
Seg_Rec_Type
X_SEG_VAL_TBL
The following table shows the parameters for this structure.
X_SEG_VAL_TBL
- Null TABLE OF No No
Seg_Val_Rec_Ty
pe
Procedure LOCK_ATTRIBUTES
The following table shows the parameters for this structure. Users can use this
procedure to lock a context row and its attributes from getting updated by another user
concurrently.
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_CON_rec In Con_Rec_Type No No
p_CON_val_rec In Con_Val_Rec_Ty No No
pe
p_SEG_tbl In Con_Tbl_Type No No
p_SEG_val_tbl In Con_Val_Tbl_Ty No No
pe
p_api_version_number
This the version number of the API.
P_CON_REC
The following table shows the parameters for this structure.
2-284 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
P_CON_REC
P_CON_VAL_REC
The following table shows the parameters for this structure.
The following table shows the parameters for these table structures:
Parameters
X_CON_REC
The following table shows the parameters for this structure.
X_CON_REC
2-286 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
X_CON_VAL_REC
The following table shows the parameters for this structure.
X_CON_VAL_REC
X_SEG_TBL
The following table shows the parameters for this structure.
X_SEG_VAL_TBL
The following table shows the parameters for this structure.
X_SEG_VAL_TBL
Procedure GET_ATTRIBUTES
The following table shows the parameters for this structure. This procedure fetches the
context and all its attributes, when prc_context_id is provided.
GET_ATTRIBUTES
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_prc_context_id In Number No No
2-288 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_prc_context In Varchar2 No No
p_api_version_number
This the version number of the API.
p_prc_context_id
This the primary key for a given context. The API will fetch all the context and all the
attributes for this value.
p_prc_context
This the unique code for a given context. The API will fetch all the context and all the
attributes for this value.
X_CON_REC
The following table shows the parameters for this structure.
X_CON_REC
X_CON_VAL_REC
The following table shows the parameters for this structure.
X_CON_VAL_REC
X_SEG_TBL
The following table shows the parameters for this structure.
2-290 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
X_SEG_TBL
X_SEG_VAL_TBL
The following table shows the parameters for this structure.
X_SEG_VAL_TBL
Functional Overview
The build_contexts API calls QP_BUILD_SOURCING_PVT, which contains sourcing
calls to build attribute mapping rules for attributes. This API is called from the Oracle
Order Management (OM) pricing integration. OM passes the request_type_code and
pricing_type and this API builds the attribute mapping rules of the attributes used in
the setup that can be sourced at run time. Attribute mapping rules thus built are
returned in the PL/SQL table structures x_price_contexts_result_tbl and
x_qual_contexts_result_tbl.
p_request_type_code
An allowable value from the QP_PRICING_REQ_SOURCES table. This is different from
source system code; groups of source system codes form a request type.
For example, CRM request type code can have the I-marketing and I-store source
system codes associated with it (using QP_PRICING_REQ_SOURCES). When you call
Build_ Contexts with the CRM request type, the process sources all contexts for both
I-marketing and I-store source systems.
p_pricing_type
Indicates the sourcing rules to use when building the attributes. Allowable values are:
• L (Line): The process builds the pricing contexts based on the rules associated with
the line pricing attributes entity and builds the qualifier contexts based on the rules
associated with the line qualifier attribute
• H (Header): The process builds the pricing contexts based on the rules associated
with the header pricing attributes entity and builds the qualifier contexts based on
the rules associated with the header qualifier attributes.
p_org_id
Indicates the Org_id (Operating Unit) of the transaction. This parameter is added for
MOAC compliance. The Build_context API can source the attributes for that OU
context. In case the p_org_id is not passed, the API would derive the value from the OU
context if set, and if OU context is not set, the API will use the Default OU for the
responsibility.
2-292 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Note: The Build_Contexts API will set the policy_context to single Org
to the Org_Id passed to the API. If Org_Id was not passed to the
Build_Contexts API , the API will check if Org Context has been set; if
Org Context is not set, the policy context will be set to Single Org with
the default Org for that responsibility.
CONTEXTS_RESULT_TBL_TYPE
The following table shows the parameters for this structure.
CONTEXTS_RESULT_TBL_TYPE
CONTEXTS_RESULT_REC_TYPE
The following table shows the parameters for this structure.
CONTEXTS_RESULT_REC_TYPE
p_request_type_code
An allowable value from the QP_PRICING_REQ_SOURCES table. This is different from
source system code; groups of source system codes form a request type.
For example, CRM request type code can have the I-marketing and I-store source
system codes associated with it (using QP_PRICING_REQ_SOURCES). When you call
Build_ Contexts with the CRM request type, the process sources all contexts for both
I-marketing and I-store source systems.
P_line_index
Unique identifier for line in the table qp_preq_lines_tmp.
p_pricing_type
Indicates the sourcing rules to use when building the attributes. Allowable values are:
• L (Line): The process builds the pricing contexts based on the rules associated with
the line pricing attributes entity and builds the qualifier contexts based on the rules
associated with the line qualifier attribute
• H (Header): The process builds the pricing contexts based on the rules associated
with the header pricing attributes entity and builds the qualifier contexts based on
the rules associated with the header qualifier attributes.
p_org_id
Indicates the Org_id (Operating Unit) of the transaction. This parameter is added for
the MOAC compliance. The Build_context API can source the attributes for that OU
context. In case the p_org_id is not passed, the API would derive the value from the OU
context if set, and if OU context is not set, the API will use the Default OU for the
responsibility.
2-294 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Note: The Build_Contexts API will set the policy_context to single Org
to the Org_Id passed to the API. If Org_Id was not passed to the
Build_Contexts API , the API will check if Org Context has been set, if
Org Context is not set, it will set the policy context to Single Org with
the default Org for that responsibility.
Procedure Get_User_Item_Pricing_Contexts
This API returns the pricing contexts whose sourcing method is USER ENTERED.This
API is called from the OM pricing integration. OM passes request_type_code and this
API returns the pricing contexts whose sourcing method is USER ENTERED in the
PLSQL table structure p_user_attribs_tbl.
The following table shows the parameters for this structure.
Get_User_Item_Pricing_Contexts
p_request_type_code
An allowable value from the QP_PRICING_REQ_SOURCES table. This is different from
source system code; groups of source system codes form a request type.
For example, CRM request type code can have the I-marketing and I-store source
system codes associated with it (using QP_PRICING_REQ_SOURCES). When you call
Build_ Contexts with the CRM request type, the process sources all contexts for both
I-marketing and I-store source systems.
USER_ATTRIBUTE_TBL_TYPE
The following table shows the parameters for this structure.
USER_ATTRIBUTE_REC_TYPE
The following table shows the parameters for this structure.
USER_ATTRIBUTE_REC_TYPE
Function Is_attribute_used
This API is used to find out whether pricing attribute is used in the pricing setup. This
API is called by the pricing engine. The pricing engine passes context and pricing
attribute to this function and this API returns the attribute used flag (Y/N).
The following table shows the parameters for this structure.
Is_attribute_used
p_attribute_cont In Varchar2 No No
ext
p_attribute_code In Varchar2 No No
p_attribute_context
A context name set up in the context definition table, for example, item, customer, or
volume.
p_attribute_code
Name of the attribute for the sourcing rule, for example, PRICING_ATTRIBUTE1,
2-296 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PRICING_ATTRIBUTE2, or QUALIFIER_ATTRIBUTE1.
Error Handling
Success 5 Null
Functional Overview
The Qualifiers package QP_QUALIFIERS_RULES_PUB contains the following APIs and
record type definitions:
• Qualifier_Rules_Rec_Type
• Qualifier_Rules_Tbl_Type
• Qualifier_Rules_Val_Rec_Type
• Qualifier_Rules_Val_Tbl_Type
• Qualifiers_Rec_Type
• Qualifiers_Tbl_Type
• Qualifiers_Val_Tbl_Type
• Get_Qualifier_Rules: Retrieves the qualifier rule and qualifiers for a given qualifier
rule ID or qualifier rule name.
PROCESS_QUALIFIER_RULES
The following table shows the parameters for this structure.
PROCESS_QUALIFIER_RULES
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
2-298 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_QUALIFIER_ In Qualifier_Rules_ No No
RULES_ rec Rec_Type
p_QUALIFIER_ In Qualifier_Rules_ No No
RULES_ val_rec Val_Rec_Type
p_QUALIFIERS_ In Qualifiers_Tbl_ No No
tbl Type
p_QUALIFIERS_ In Qualifiers_Val_ No No
val_tbl Tbl_Type
p_init_msg_list
Default Value: FND_API.G_FALSE
p_return_values
Default Value: FND_API.G_FALSE
p_commit
Default Value: FND_API.G_FALSE
p_QUALIFIER_RULES_rec
In this procedure, P_QUALIFIER_RULES_rec.operation states the operation that the
process should perform. Allowable values of P_QUALIFIER_RULES_rec.operation are:
• QP_GLOBALS.G_OPR_CREATE
• QP_GLOBALS.G_OPR_DELETE
• QP_GLOBALS.G_OPR_LOCK
• QP_GLOBALS.G_OPR_NONE
QUALIFIER_RULES_REC_TYPE
2-300 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
attribute1-15
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
created_by
Default Value: FND_API.G_MISS_NUM
creation_date
Default Value: FND_API.G_MISS_DATE
description
Default Value: FND_API.G_MISS_CHAR
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
Default Value: FND_API.G_MISS_NUM
name
Default Value: FND_API.G_MISS_CHAR
program_application_id
Default Value: FND_API.G_MISS_NUM
program_id
Default Value: FND_API.G_MISS_NUM
program_update_date
Default Value: FND_API.G_MISS_DATE
qualifier_rule_id
Default Value: Comes from the sequence QP_QUALIFIER_RULES_S
2-302 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
request_id
Default Value: FND_API.G_MISS_NUM
return_status
Default Value: FND_API.G_MISS_CHAR
db_flag
Default Value: FND_API.G_MISS_CHAR
operation
Default Value: FND_API.G_MISS_CHAR
QUALIFIER_RULES_TBL_TYPE
The following table shows the parameters for this structure.
QUALIFIER_RULES_TBL_TYPE
QUALIFIER_RULES_VAL_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIER_RULES_VAL_REC_TYPE
qualifier_rule
Default Value: FND_API.G_MISS_CHAR
QUALIFIER_RULES_VAL_TBL_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_REC_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_REC_TYPE Parameters
2-304 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
2-306 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
attribute1–15
Default Value: FND_API.G_MISS_CHAR
comparison_operator_code
Default Value: FND_API.G_MISS_CHAR
context
Default Value: FND_API.G_MISS_CHAR
created_by
Default Value: FND_API.G_MISS_NUM
created_from_rule_id
Default Value: FND_API.G_MISS_NUM
creation_date
Default Value: FND_API.G_MISS_DATE
end_date_active
Default Value: FND_API.G_MISS_DATE
excluder_flag
Default Value: 'N'
last_updated_by
Default Value: FND_API.G_MISS_NUM
last_update_date
Default Value: FND_API.G_MISS_DATE
last_update_login
2-308 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Default Value: FND_API.G_MISS_DATE
qual_attr_value_from_number
Default Value: FND_API.G_MISS_NUM
qual_attr_value_to_number
Default Value: FND_API.G_MISS_NUM
active_flag
Default Value: FND_API.G_MISS_CHAR
search_ind
Default Value: FND_API.G_MISS_NUM
qualifier_group_cnt
Default Value: FND_API.G_MISS_NUM
header_quals_exist_flag
Default Value: FND_API.G_MISS_CHAR
distinct_row_count
Default Value: FND_API.G_MISS_NUM
return_status
Default Value: FND_API.G_MISS_CHAR
db_flag
Default Value: FND_API.G_MISS_CHAR
operation
Default Value: FND_API.G_MISS_CHAR
qualify_hier_descendent_flag
Default Value: FND_API.G_MISS_CHAR
QUALIFIERS_TBL_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_TBL_TYPE Parameters
QUALIFIER_VAL_REC_TYPE
QUALIFIER_VAL_REC_TYPE
created_from_rule
Default Value: FND_API.G_MISS_CHAR
list_header
Default Value: FND_API.G_MISS_CHAR
list_line
Default Value: FND_API.G_MISS_CHAR
qualifier_rule
Default Value: FND_API.G_MISS_CHAR
qualifier_attribute_desc
Default Value: FND_API.G_MISS_CHAR
qualifier_attr_value_desc
Default Value: FND_API.G_MISS_CHAR
qualifier_rule_value_to_desc
Default Value: FND_API.G_MISS_CHAR
2-310 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
QUALIFIERS_VAL_TBL_TYPE
The following table shows the parameters for this structure.
QUALIFIERS_VAL_TBL_TYPE Parameters
LOCK_QUALIFIER_RULES
The following table shows the parameters for this structure.
LOCK_QUALIFIER_RULES Parameters
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_QUALIFIER_ In Qualifier_Rules_ No No
RULES_ rec Rec_Type
p_QUALIFIER_ In Qualifier_Rules_ No No
RULES_ val_rec Val_Rec_Type
p_QUALIFIERS_ In Qualifiers_Tbl_ No No
tbl Type
p_QUALIFIERS_ In Qualifiers_Val_ No No
val_tbl Tbl_Type
p_init_msg_list
Default Value: FND_API.G_FALSE
p_return_values
Default Value: FND_API.G_FALSE
p_QUALIFIER_RULES_rec
Default Value: G_MISS_QUALIFIER_RULES_REC
p_QUALIFIER_RULES_val_rec
Default Value: G_MISS_QUALIFIER_RULES_VAL_REC
p_QUALIFIERS_tbl
Default Value: G_MISS_QUALIFIERS_TBL
p_QUALIFIERS_val_tbl
Default Value: G_MISS_QUALIFIERS_VAL_TBL
GET_QUALIFIER_RULES
The following table shows the parameters for this structure.
GET_QUALIFIER_RULES Parameters
p_api_version_n In Number No No
umber
2-312 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_qualifier_rule_ In Number No No
id
p_qualifier_rule In Varchar2 No No
p_init_msg_list
Default Value: FND_API.G_FALSE
p_return_values
Default Value: FND_API.G_FALSE
p_qualifier_rule_id
Default Value: FND_API.G_MISS_NUM
p_qualifier_rule
Default Value: FND_API.G_MISS_CHAR
COPY_QUALIFIER_RULES
The following table shows the parameters for this structure.
p_api_version_n In Number No No
umber
p_init_msg_list In Varchar2 No No
p_return_values In Varchar2 No No
p_commit In Varchar2 No No
p_qualifier_rule_ In Number No No
id
p_qualifier_rule In Varchar2 No No
p_to_qualifier_r In Varchar2 No No
ule
p_to_description In Varchar2 No No
p_init_msg_list
Default Value: FND_API.G_FALSE
p_return_values
Default Value: FND_API.G_FALSE
p_commit
Default Value: FND_API.G_FALSE
p_qualifier_rule_id
Default Value: FND_API.G_MISS_NUM
2-314 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_qualifier_rule
Default Value: FND_API.G_MISS_CHAR
p_to_description
Default Value: FND_API.G_MISS_CHAR
Error Handling
Success 5 null
Functional Overview
When an item is ordered in OM, a call is made to the pricing engine to price the item
and to determine the promotions that are to be given away for the ordered item. If
promotional limits have been set up for the promotions, then the promotions that are
given away are consumed from this limit.
However, when the order line is either cancelled, amended or returned without making
a pricing engine call (since there was no need to calculate the price of return), the
promotional limits that were consumed do not get reversed.
To reverse the consumed limit when such a return, amend or cancellation occurs, OM
must call this API with the right parameters to increment the available limit balance(s).
REVERSE_LIMITS
The following table shows the parameters for this structure:
Reverse_Limits Parameters
2-316 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Description
• If the
p_action_co
de is
RETURN,
then the
price_reques
t_code of
the order
line that is
referenced
by the
returned
line must be
passed to
this
parameter.
• If the
p_action_co
de is
CANCEL,
then to this
parameter
must be
passed the
price_reques
t_code of
the order
line/order
that is being
cancelled.
• If the
p_action_co
de is
AMEND,
then to this
parameter
must be
passed the
price_reques
t_code of
the order
line that is
being
amended
2-318 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Description
• If the
p_action_co
de is
'RETURN',
then to this
parameter
must be
passed the
priced
quantity of
the order
line that is
referenced
by the
returned
line.
• If the
p_action_co
de is
AMEND,
then to this
parameter
must be
passed the
originally
priced
quantity of
the order
line that is
being
amended.
The following table describes the notations listed in the preceding table:
Notations
Note Description
2-320 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Note Description
Error Handling
Note: The Package Specification and Body files are QPXRTCNS.pls and
QPXRTCNB.pls and are available under the source control directory
$qp/patch/115/sql.
Additional Notes
• When an order line is cancelled, amended or returned, this API may be used to only
reverse limits on order-line level Discounts but not order-level discounts.
• Order Cancellations are supported by this API. To achieve this, the calling
application (OM) must call this API for each order line on the order to be cancelled
and once with the Order's price_request_code. Number of times to call the API = no.
of order lines on the order to be cancelled + 1.
2. With the pro-rated approach, the new benefit consumption against the limit would
be calculated as follows:
(amended_qty/original_ordered_qty) * original consumed amount
(5/10) * $20 (lumpsum benefit) = $10 (new lumpsum) which is the same as the
benefit(discount) calculated in a) above.
2-322 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
discount (for example, 30/100 x $1000= $300), then the actual revenue is $1000- $300
= $700 which is a selling price of $70 ($700/10) per unit of the item effectively.
If the priced quantity is amended to 6 from 10, then the selling price must be fixed
at $70 (since there is no repricing), and the new total should be 6 x $70 = $420. This
is effectively a discount of $180 (6x $100 - $420) which is an 18% percent discount
consumption ($180/$1000)
2. With the pro-rated approach, the new benefit consumption against the limit would
be:
(amended_qty/original_ordered_qty) * original consumed amount
(6/10) * 30 (discount%) = 18 (new discount%) which is the same as the benefit
(discount %) calculated in a) above.
So pro-rating the original consumption correctly evaluates the new consumption
against a limit when the quantity is amended.
Functional Overview
This API is called by pricing engine as well as directly from OM.
When it is called from pricing engine, the pricing engine passes the rounding factor and
the operand (i.e. the price of an item) and so this API just uses the round() function and
return the rounded operand.
But when this API is called directly from OM (while re-pricing an item), it passes the
price_list_id and the operand. In this case, this API finds the rounding factor associated
with price list, round the passed operand and then return the rounded operand.
The parameter p_operand_type can take 3 different values–A, S, or R, with the default
value S. When R is passed for p_operand_type then rounding_factor is returned in the
out parameter p_rounded_operand, else rounded value (after applying rounding factor)
of p_operand is returned.
The rounded operand / rounding factor is returned only if one of the following
conditions is met :
• p_operand_type = A and profile "QP: Selling Price Rounding Options" =
'ROUND_ADJ'
• p_operand_type = R
• profile OE_UNIT_PRICE_ROUNDING = Y
When profile options QP: Multi Currency Installed and QP: Multi Currency Usage are
set to Y (Yes), then the rounding factor is retrieved by joining the tables
qp_list_headers_b and qp_currency_details for the passed values of price list id,
currency code and effective date; otherwise, the rounding factor is retrieved from table
qp_list_headers_b for the price list id (regardless of currency or effective date).
round_price Parameters
p_rounding_fact IN Number No No
or
p_use_multi_cur IN Varchar2 No No
rency
p_price_list_id IN Number No No
p_currency_code IN Varchar2 No No
p_pricing_effecti IN Date No No
ve_date
2-324 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Req Drv
p_operand_type IN Varchar2 No No
Status Code
Condition x_status_code
Success FND_API.G_RET_STS_SUCCES
Note: The Package Specification and Body files are QPXRTCNS.pls and
QPXRTCNB.pls and are available under the source control directory
$QP_TOP/patch/115/sql.
Validate_Price_list_Curr_code parameters
l_pricing_effecti IN Date No No
ve_date
Note: The package specification and body files are QPXRTCNS.pls and
QPXRTCNB.pls and are available under the source control directory
2-326 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
$QP_TOP/patch/115/sql.
Direction Inbound
(Internal) Transaction QP
Type
Standard OAG
Release 7.2
Format DTD
Abbreviation Meaning
HB QP_PB_INPUT_HEADERS_B
HTL QP_PB_INPUT_HEADERS_TL
L QP_PB_INPUT_LINES
3-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle QP Required
Table
Column*
</BSR> -- -- Yes
<LANGUAGE ISO language in which the text fields are Oracle XML Yes
/> transmitted, for example, US. Gateway
tables
<CODEPAGE/ Character set used in this XML doc, for Oracle XML Yes
> example, UTF8. Gateway
tables
</SENDER> -- -- Yes
<DATETIME/ Creation date and time of the XML Oracle XML Yes
> document in OAG date format. Gateway
tables
<DATETIME/ Pricing effective date and time in OAG date HB.EFFECTIV Yes
> format. E_DATE
3-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle QP Required
Table
Column*
<ITEMQUAN Item quantity to be used for all items in the HB.ITEM_QU No, defaulted
TITY/> price book. ANTITY
<PBTYPECOD Price book type. Valid values are F and D. HB.PRICE_BO No, defaulted
E/> OK_TYPE_CO
DE
<GENTIMEC Dictates whether the price book will be HB.GENERAT No, defaulted
ODE/> generated immediately or at a specific time. ION_TIME_C
Valid values are IMMEDIATE and ODE
SCHEDULE.
</GENDATE -- N/A No
TIME>
3-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle QP Required
Table
Column*
</PBATTR> -- N/A No
</USERAREA -- N/A No
>
</PARTNER> -- N/A No
HB.REQUEST_ORIGIN XML
ATION_CODE
HB.CUSTOMER_CON CUSTOMER
TEXT
HB.CUSTOMER_ATTR QUALIFIER_ATTRIBUTE2
IBUTE
HB.GENERATION_TI IMMEDIATE
ME_CODE
HB.ITEM_QUANTITY 1
HB.OVERWRITE_EXIS N
TING_PB_FLAG
HB.PRICE_BOOK_TYP F
E_CODE
HB.PRODUCT_CONTE ITEM
XT
HB.PUBLISH_EXISTIN N
G_PB_FLAG
HB.DLV_XML_FLAG Y
HB.CREATED_BY FND_GLOBAL.USER_ID
HB.CREATION_DATE SYSDATE
3-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Oracle QP Table Derivation
Column
HB.LAST_UPDATED_ FND_GLOBAL.USER_ID
BY
HB.LAST_UPDATE_D SYSDATE
ATE
HB.LAST_UPDATE_L FND_GLOBAL.LOGIN_ID
OGIN
L.CREATED_BY FND_GLOBAL.USER_ID
L.CREATION_DATE SYSDATE
L.LAST_UPDATED_BY FND_GLOBAL.USER_ID
L.LAST_UPDATE_DA SYSDATE
TE
L.LAST_UPDATE_LO FND_GLOBAL.LOGIN_ID
GIN
L.PB_INPUT_HEADER HB.PB_INPUT_HEADER_ID
_ID
The following code shows the structure of the GET_CATALOG message. Although not
all tags will be necessary to construct a valid message, you must preserve the order of
the tag structure.
3-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<GET_CATALOG_002>
<CNTROLAREA>
<BSR>
<VERB value="GET"/>
<NOUN value="CATALOG"/>
<REVISION value="002"/>
</BSR>
<SENDER>
<LOGICALID/>
<COMPONENT/>
<TASK/>
<REFERENCEID/>
<CONFIRMATION/>
<LANGUAGE/>
<CODEPAGE/>
<AUTHID/>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<GET_CATALOG>
<CATALOG returndata="1">
<DATETIME qualifier="EFFECTIVE">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<CATALGNAME/>
<USERAREA>
<CURRENCYCODE/>
<ITEMQUANTITY/>
<PUBLISHEXISTINGPBFLAG/>
<OVERWRITEEXISTINGPBFLAG/>
<PBTYPECODE/>
<LIMITPRODUCTSBYCODE/>
<PRICEBASEDONCODE/>
<PRICELIST/>
<PRICELISTID/>
<AGREEMENT/>
<AGREEMENTID/>
<BSA/>
<BSAID/>
<ITEM/>
<ITEMX/>
<ITEMID/>
<ITEMCATEGORY/>
<ITEMCATEGORYID/>
3-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Oracle XML Gateway Transaction Monitor and/or Oracle Workflow Status Monitor. For
more information, please refer to the documentation for these modules. Note that when
appropriate, error messages may refer to the table column names, and not the
corresponding tag names.
• The price book is based on price list Computer Desktops and Accessories.
• The payment terms is passed with value 2 Net. Since the attribute code is known,
the requestor has specified the ATTRCODE as QUALIFIER_ATTRIBUTE1.
3-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0000</TIMEZONE>
</DATETIME>
</GENDATETIME>
<PBATTR>
<CTXTCODE>ORDER</CTXTCODE>
<ATTR>Order Category</ATTR>
<ATTRVALUE>ORDER</ATTRVALUE>
<ATTRTYPE>QUALIFIER</ATTRTYPE>
</PBATTR>
<PBATTR>
<CTXTCODE>TERMS</CTXTCODE>
<ATTRCODE>QUALIFIER_ATTRIBUTE1</ATTRCODE>
<ATTRVALUE>2 Net</ATTRVALUE>
<ATTRTYPE>QUALIFIER</ATTRTYPE>
</PBATTR>
</USERAREA>
</CATALOG>
</GET_CATALOG>
</DATAAREA>
</GET_CATALOG_002>
Note: The Effective Date that is used in a Delta Price Book request can
be different from (typically later than) the pricing effective date of the
corresponding full price book with the same price book name and
customer.
3-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<GET_CATALOG_002>
<CNTROLAREA>
<BSR>
<VERB value="GET"/>
<NOUN value="CATALOG"/>
<REVISION value="002"/>
</BSR>
<SENDER>
<LOGICALID>ORACLE</LOGICALID>
<COMPONENT>QP</COMPONENT>
<TASK>CATGI</TASK>
<REFERENCEID>112233</REFERENCEID>
<CONFIRMATION>1</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2000</YEAR>
<MONTH>10</MONTH>
<DAY>15</DAY>
<HOUR>16</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<GET_CATALOG>
<CATALOG returndata="1">
<DATETIME qualifier="EFFECTIVE">
<YEAR>2006</YEAR>
<MONTH>10</MONTH>
<DAY>04</DAY>
<HOUR>15</HOUR>
<MINUTE>30</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0000</TIMEZONE>
</DATETIME>
<CATALGNAME>2006 - AS54999</CATALGNAME>
<USERAREA>
<PUBLISHEXISTINGPBFLAG>N</PUBLISHEXISTINGPBFLAG>
<OVERWRITEEXISTINGPBFLAG>N</OVERWRITEEXISTINGPBFLAG>
<PBTYPECODE>D</PBTYPECODE>
</USERAREA>
</CATALOG>
</GET_CATALOG>
</DATAAREA>
</GET_CATALOG_002>
Direction Outbound
Standard OAG
Release 7.2
Format DTD
Abbreviation Meaning
IHV QP_PB_INPUT_HEADERS_V
IHTL QP_PB_INPUT_HEADERS_TL
3-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Abbreviation Meaning
ILV QP_PB_INPUT_LINES_V
PBHV QP_PRICE_BOOK_HEADERS_V
PBMV QP_PRICE_BOOK_MESSAGES_V
PBLV QP_PRICE_BOOK_LINES_V
PBAV QP_PRICE_BOOK_ATTRIBUTES_V
PBLDV QP_PRICE_BOOK_LINE_DETAILS_V
PBBLV QP_PRICE_BOOK_BREAK_LINES_V
</BSR> -- --
</SENDER> -- --
</CNTROLAREA> -- N/A
3-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle QP Table.View
Column*
</PBATTR> -- N/A
</PBHEADERMSG> -- N/A
3-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle QP Table.View
Column*
</USERAREA> -- --
</PARTNER> -- N/A
</ITEMCAT> -- N/A
</PBLINEMSG> -- N/A
3-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle QP Table.View
Column*
</PBLINEATTR> -- N/A
</PBLINEBRK> -- N/A
</PBLINEDETAIL> -- N/A
</USERAREA> -- N/A
</CATITEM> -- --
</CATALOG> -- N/A
</GET_CATALOG> -- N/A
</DATAAREA> -- N/A
3-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SYNC_CATALOG_003>
<CNTROLAREA>
<BSR>
<VERB value="SYNC"/>
<NOUN value="CATALOG"/>
<REVISION value="003"/>
</BSR>
<SENDER>
<LOGICALID>ORACLE</LOGICALID>
<COMPONENT>QP</COMPONENT>
<TASK>CATSO</TASK>
<REFERENCEID/>
<CONFIRMATION/>
<LANGUAGE/>
<CODEPAGE/>
<AUTHID/>
</SENDER>
<DATETIME qualifier="CREATION" type="T" index="1">
<YEAR>2005</YEAR>
<MONTH>12</MONTH>
<DAY>13</DAY>
<HOUR>16</HOUR>
<MINUTE>35</MINUTE>
<SECOND>49</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SYNC_CATALOG>
<CATALOG>
<DATETIME qualifier="EFFECTIVE" type="T" index="1">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<CATALGNAME/>
<SYNCIND/>
<CATALOGRV/>
<CLSSSCHMID/>
<DESCRIPTN/>
<USERAREA>
<PBTYPECODE/>
<CURRENCYCODE/>
<ITEMQUANTITY/>
<LIMITPRODUCTSBYCODE/>
<ITEM/>
<ITEMCATEGORY/>
<PRICELIST/>
<PRICEBASEDONCODE/>
<AGREEMENT/>
<BSA/>
<PBATTR>
<CTXT/>
<ATTR/>
<ATTRVALUE/>
3-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</CATITEM>
</CATALOG>
</GET_CATALOG>
</DATAAREA>
</SYNC_CATALOG_003>
• The price book is based on price list "Computer Desktops and Accessories."
• The item "AS54999" has a list price of $100 and a net price of $75.
3-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<ATTRTYPE>QUALIFIER</ATTRTYPE>
</PBATTR>
<PBATTR>
<CTXT>Terms</CTXT>
<ATTR>Payment Terms</ATTR>
<ATTRVALUE>2 Net</ATTRVALUE>
<ATTRTYPE>QUALIFIER</ATTRTYPE>
</PBATTR>
</USERAREA>
<PARTNER>
<NAME index="1">Business World</NAME>
<PARTNRID>4429</PARTNRID>
<PARTNRTYPE/>
<PARTNRIDX/>
<USERAREA>
<CUSTACCT/>
</USERAREA>
</PARTNER>
<CATITEM>
<ITEM>2155</ITEM>
<SYNCIND/>
<DESCRIPTN>Sentinel Standard Desktop-Rugged</DESCRIPTN>
<USERAREA>
<LISTPRICE>100</LISTPRICE>
<UOMCODE>Ea</UOMCODE>
<NETPRICE>75</NETPRICE>
<LINESTATUSCODE/>
<ITEMCAT>
<ITEMCATEGORY>MISC.MISC.</ITEMCATEGORY>
</ITEMCAT>
<ITEMCAT>
<ITEMCATEGORY>COMPUTER.DESKTOP</ITEMCATEGORY>
</ITEMCAT>
<ITEMCAT>
<ITEMCATEGORY>Computer/Hardware/Desktop</ITEMCATEGORY>
</ITEMCAT>
<PBLINEDETAIL>
<DETAILTYPE>Price List Line</DETAILTYPE>
<BREAKTYPE/>
<LISTPRICE>100</LISTPRICE>
<LISTNAME>Computer Desktops and Accessories</LISTNAME>
<MODLINENO/>
<MODOPERAND/>
<MODAPPMETHOD>UNIT_PRICE</MODAPPMETHOD>
<ADJAMT/>
<CNETPRICE>100</CNETPRICE>
</PBLINEDETAIL>
<PBLINEDETAIL>
<DETAILTYPE>Discount</DETAILTYPE>
<BREAKTYPE/>
<LISTPRICE/>
<LISTNAME>F06-1</LISTNAME>
<MODLINENO>609637</MODLINENO>
<MODOPERAND>10</MODOPERAND>
<MODAPPMETHOD>AMT</MODAPPMETHOD>
<ADJAMT>-10</ADJAMT>
<CNETPRICE>90</CNETPRICE>
</PBLINEDETAIL>
<PBLINEDETAIL>
<DETAILTYPE>Discount</DETAILTYPE>
<BREAKTYPE/>
• The delta price book contains only one item AS54999 whose price has changed
when compared with the full price book.
• The item AS54999 has a list price of $100 and a net price of $65.
3-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SYNC_CATALOG_003>
<CNTROLAREA>
<BSR>
<VERB value="SYNC"/>
<NOUN value="CATALOG"/>
<REVISION value="003"/>
</BSR>
<SENDER>
<LOGICALID>ORACLE</LOGICALID>
<COMPONENT>QP</COMPONENT>
<TASK>CATSO</TASK>
<REFERENCEID/>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION" type="T" index="1">
<YEAR>2006</YEAR>
<MONTH>02</MONTH>
<DAY>24</DAY>
<HOUR>15</HOUR>
<MINUTE>50</MINUTE>
<SECOND>23</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SYNC_CATALOG>
<CATALOG>
<DATETIME qualifier="EFFECTIVE" type="T" index="1">
<YEAR>2007</YEAR>
<MONTH>01</MONTH>
<DAY>04</DAY>
<HOUR>15</HOUR>
<MINUTE>30</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<CATALGNAME>2006 – AS54999</CATALGNAME>
<SYNCIND/>
<CATALOGRV/>
<CLSSSCHMID/>
<DESCRIPTN/>
<USERAREA>
<PBTYPECODE>D</PBTYPECODE>
<CURRENCYCODE>USD</CURRENCYCODE>
<ITEMQUANTITY>5</ITEMQUANTITY>
<LIMITPRODUCTSBYCODE>ITEM</LIMITPRODUCTSBYCODE>
<ITEM>AS54999</ITEM>
<ITEMCATEGORY/>
<PRICELIST>Computer Desktops and Accessories</PRICELIST>
<PRICEBASEDONCODE>PRICE_LIST</PRICEBASEDONCODE>
<AGREEMENT/>
<BSA/>
<PBATTR>
<CTXT>Order</CTXT>
<ATTR>Order Category</ATTR>
<ATTRVALUE>ORDER</ATTRVALUE>
3-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<PBLINEDETAIL>
<DETAILTYPE>Discount</DETAILTYPE>
<BREAKTYPE/>
<LISTPRICE/>
<LISTNAME>W06-1</LISTNAME>
<MODLINENO>610643</MODLINENO>
<MODOPERAND>10</MODOPERAND>
<MODAPPMETHOD>%</MODAPPMETHOD>
<ADJAMT>-10</ADJAMT>
<CNETPRICE>80</CNETPRICE>
</PBLINEDETAIL>
<PBLINEDETAIL>
<DETAILTYPE>Discount</DETAILTYPE>
<BREAKTYPE/>
<LISTPRICE/>
<LISTNAME>F06-1</LISTNAME>
<MODLINENO>607635</MODLINENO>
<MODOPERAND>15</MODOPERAND>
<MODAPPMETHOD>%</MODAPPMETHOD>
<ADJAMT>-15</ADJAMT>
<CNETPRICE>65</CNETPRICE>
</PBLINEDETAIL>
</USERAREA>
</CATITEM>
</CATALOG>
</SYNC_CATALOG>
</DATAAREA>
</SYNC_CATALOG_003>
Process_PO
Step Description
1 Define Transactions
Define Transactions
Use Oracle XML Gateway to define a cross reference between the Oracle transaction
name and the external transaction name. The external transaction name will be based on
what is meaningful per the XML standard used by the recipient. The external
transaction name will appear on the message envelope to support message transport.
4-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Define Trading Partner/Hub
e-Business can be conducted directly with a business partner commonly known as a
trading partner or by means of a hub such as Oracle Exchange where many buyers and
sellers converge to conduct electronic commerce.
With Oracle XML Gateway, you can define the hub or the actual business partner as a
trading partner. If you define the hub as the trading partner, you can identify all the
buyers and sellers who are conducting business on the hub as trading partners to the
hub.
Included in the trading partner/hub definition are the following:
• Trading partner/hub name
• Message enabled
• Identify the communications protocol and address for a message. Optionally, the
user can be selected from a hub.
3. Select values in the Trading Partner and the Trading Partner Site fields.
4-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Define Code Conversion
With Oracle XML Gateway, you can identify the cross reference of an Oracle code to
something that is meaningful to the recipient or vice versa. Common examples of
Oracle e-Business Suite codes requiring code conversion are units of measure and
currency code.
Code conversion values can be defined to be applied universally for all trading partners
and all messages. Additionally, code conversion values can be defined for a specific
XML standard or specific to a trading partner.
The Oracle XML Gateway code conversion function provides a method to cross–
reference the codes defined in Oracle Applications to codes used by trading partners,
the XML standard, or other standard codes in the transactions.
The Code Conversion Standard code determines to which transaction standard these
values are applied. A standard code of UNIVERSAL applies these values across all
standards. In this case use the Code Conversion window from the Navigator Setup
menu.
Define the Subscribing System for the Event Subscription for the Event
'oracle.apps.ont.oi.po_inbound.create'
Subscriber: System - This will usually be the local system, the system where the
subscription code is to run.
Note: This data will be available as the initial setup, and comes as an
XML file and will be loaded to the customer system. The user of the
The XML Gateway Execution Engine interfaces with Oracle Workflow to actively notify
the XML Gateway system administrator regarding system or process errors, or the
trading partner contact for data errors.
The XML Gateway system administrator has the option to "retry" failed outbound
processes, or "reprocess" failed inbound processes.
The following function is internal to the XML Gateway Execution Engine:
Validate Trading Partner/Hub
Verify that the trading partner is defined and the required documents are enabled.
Message Set Up
To implement a message with a trading partner, use XML Gateway message set up to
define the trading partner or hub, code conversion values, and internal to external
transaction name cross references. In addition, you can identify the XML Gateway
system administrator to notify for system or process errors.
Installation
This functionality is available as part of Oracle Order Management.
4-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
of the schema, they are loaded by the driver.
Integrations
• Oracle XML Gateway
• Oracle Workflow
4-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Sample Business Flow for 3A4 Process PO/3A4 Acknowledge PO
Trading Partner setup completed for Oracle Order Management using XML Gateway
forms
4-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Profile Option 'OM: Run Order Import for XML' set to 'SYNCHRONOUS' at site-level
4-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Open Interface Tracking Details Main Tab
4-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Seeded inbound workflow is automatically triggered and runs Order Import
4-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Corresponding XML Sales Order is created Lines
Seeded outbound workflow is automatically triggered. This flow generates and sends
Acknowledge PO to the buyer
4-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Transaction Monitor
4-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Results Summary Outbound Message Details
Message Map
4-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Location (e.g. Q7Q-1A1). Save your work. When provided on the inbound XML
document, this information will be used to denote a particular customer site and also to
determine the destination of the acknowledgment.
Before performing these Order Management Suite XML setup steps, check the
documentation for the following areas and verify that you have performed their set up:
• The Oracle Applications with which this transaction deals
• Oracle Workflow
Setup Steps
Define Transactions
Use Oracle XML Gateway to define a cross reference between the Oracle transaction
name and the external transaction name. The external transaction name will be based on
what is meaningful per the XML standard used by the recipient. The external
transaction name will appear on the message envelope to support message transport.
• Message enabled
• Transport protocol - SMTP, HTTP, or HTTPS with credential and username and
password as necessary
4-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Define Code Conversion
With Oracle XML Gateway, you may identify the cross reference of an Oracle code to
something that is meaningful to the recipient or vice versa. Common examples of
Oracle e-Business Suite codes requiring code conversion are units of measure and
currency code.
Code conversion values may be defined to be applied universally for all trading
partners and all messages. Additionally, code conversion values may be defined for a
specific XML standard or specific to a trading partner.
Message Set Up
To implement a message with a trading partner, use XML Gateway message set up to
define the trading partner or hub, code conversion values, and internal to external
transaction name cross references. In addition, you may identify the XML Gateway
system administrator to notify for system or process errors.
The XML Gateway Execution Engine interfaces with Oracle Workflow to actively notify
the XML Gateway system administrator regarding system or process errors, or the
trading partner contact for data errors.
The XML Gateway system administrator has the option to "retry" failed outbound
processes, or "reprocess" failed inbound processes.
The raising of this event can done, as part of the new workflow added for the Order
Import Inbound flow. After Order Import (Run Order Import), finish with status
Detail Value
Direction: Outbound
Standard: OAG
Release: 7.2
Format: DTD
USERAREAs
This table explains the data in the USERAREAs.
4-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
USERAREA Data
• UOM
• POType
• AckCode
• Termid
• Line Status
Show_SalesOrder
Setup
Setup Steps
Step Description
1 Define Transactions
4-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Step Description
5 Setting Up Constraints
Define Transactions
Use Oracle XML Gateway to define a cross reference between the Oracle transaction
name and the external transaction name. The external transaction name will be based on
what is meaningful per the XML standard used by the recipient. The external
transaction name will appear on the message envelope to support message transport.
• Message enabled
Workflow Support
The raising of this event can be done, as part of the any existing workflow available for
Order Header (OEOH) or/and Order Line (OEOL) flow. The following example shows
one of the positions where the raise event process can be inserted for sending the 3A6 in
OEOH flow (after Booking), the process should be copied (or created same way) from
the new workflow (OESO).
Note: This is currently only supported for the OEOH flow (Pack J onwards).
The Raise Show Sales Order Event Sub Process will check if the Sold To customer on the
order is set up as a Trading Partner. If the customer is enabled for 3A6 Show SO, the
sub-process will raise the event oracle.apps.ont.oi.show_so.create to generate and send
the 3A6 Show SO XML document for XML orders.
In addition, the event oracle.apps.ont.oi.xml_int.status will be also be raised (for both
XML and non-XML orders).
4-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Workflow for The Raise Event
ON Demand
ON Demand generation of the Show_SalesOrder, can be achieved by running the
concurrent program on an as needed basis (this means run the concurrent program to
send the Show_SalesOrder).
Attribute Change
No User setup is required for the Show_SalesOrder in event of following attributes
change:
• Unit selling Price
• Ordered Qty
• Shipped Qty
Any time any of these attributes change for an order (after the order has been booked)
Order Management will generate the Show_Salesorder message.
Status Change
No User setup is required for the Show_SalesOrder in event of following status change:
• Booking the order
• Shipping
• Scheduling of lines
User Procedures
Defining Trading Partners
The Trading Partner Setup window is used to:
• Enable messages for the trading partner by identifying the internal and external
transaction type and transaction subtype codes, and the XML standard associated
with the message.
• Identify the communications protocol and address for a message. Optionally, the
user can be selected from a hub.
4-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
2. Enter the Trading Partner Type, Customer.
2. Create the constraint. Query the constraints for the Application 'Oracle Order
Management' and the Entity 'Order Header.'
3. Navigate to the Constraints section of the window and enter a new constraint with
the following specifications:
Operation =>'UPDATE' (this field specifies which operation will fire your constraint…
i.e. INSERT, UPDATE, or DELETE)
Attribute =>'Salesperon' (this field restricts your constraint to fire when the operation
occurs on a particular attribute)
User Action =>'Raise Integration Event' (this field specifies what will happen if your
constraint is fired)
Enabled =>checked
4-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Once this constraint has been saved, any updates to the Header-level Salesperson on an
order will raise an integration event.
The constraints framework also provides the flexibility to restrict this behavior to orders
that satisfy particular conditions. For instance, you could set up your constraint so you
only raise integration events for Salesperson changes for the customer "Computer
Service and Rentals." To do this you would need to define a condition on your
constraint and, consequently, an appropriate validation template.
To create the necessary validation template:
1. Navigate to the Validation Templates window (Setup => Rules => Security =>
Validation Templates). Then create a new template with the following
specifications:
4-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
1. After saving the validation template, you must run the Generate Constraints
Validation Packages concurrent program to make your validation template
available in the Constraints window (Setup => Rules => Security => Generate
Constraints Validation Packages).
After the concurrent process has completed successfully, navigate back to the
Constraints window and query your Salesperson constraint. To add a Condition that
utilizes your newly created validation template by entering the following information:
Group => '101'
After this condition is saved, only updates to the Salesperson on orders for Computer
Service and Rentals will raise an integration event. If you wanted to add another
restriction, for instance that the raise only occur after booking, you would simply add
another condition. A seeded validation template called 'Booked' already exists and can
be used for this purpose. Note that the Group # of the additional condition should be
the same as the Group # of the previously added template. This will cause the
conditions to be evaluated together as an AND condition. Differing Group #s would
cause the conditions to be treated separately as an OR condition.
4-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Once the new condition is saved, integration events will only be raised for updates to
the salesperson on booked orders for Computer Service and Rentals.
Change_SalesOrder
Setup
Customer Setup
Setup Steps
Step Description
1 Define Transaction
2 Message Setup
Define Transaction
Use Oracle XML Gateway to define a cross reference between the Oracle transaction
name and the external transaction name. The external transaction name will base on
what is meaningful per the XML standard used by the recipient. The external
transaction name will appear on the message envelope to support message transport.
Message Setup
To implement a message with a Trading Partner, use the XML Gateway message set up
to define the Trading Partner or hub, code conversion values, and internal to external
transaction name cross references. In addition, you may identify the XML Gateway
system administrator to notify for system or process errors. Assign the Notify PO
Update transaction to the trading partner.
• Message enabled
4-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Transport protocol - SMTP, HTTP, HTTPS with credential and username/password
as necessary
Please refer to the Oracle XML Gateway documentation for further details.
To define a trading partner:
1. Navigate to the Define Trading Partner Setup window from the XML Gateway
Responsibility. Setup > Define Trading Partners.
Profile Options
ONT_XML_ACCEPT_STATE OM: Order Accept State for Determines the order Accept
XML status for outbound XML
messages
The following table determines the status send on the Outbound Acknowledgment.
4-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Status Send on the Outbound Acknowledgement
Setup Steps
Step Description
4 Message Set Up
4-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
the message.
Access the Trading Partner Code Conversion form.
Select a message map for the trading partner.
Identify the communications protocol and address for a message. Optionally, the user
can be selected from a hub.
Navigate to the Define Trading Partner Setup window from the XML Gateway
Responsibility by selecting Setup DB password:Port mymap.xgm DB password:Port
mapname Define XML Standards.
Included in the trading partner/hub definition are the following:
• Trading Partner/Hub name
• Enable messages for the trading partner by identifying the internal and external
transaction type and transaction subtype codes, and the XML standard associated
with the message.
Define the Subscribing System for the event subscription for event
'oracle.apps.ont.oi.po_inbound.create'
Subscriber: System - This will usually be the local system, the system on which the
The directories listed in the above profiles should also be mentioned in the utl_file_dir
parameter in init.ora
Please refer to the Oracle XML Gateway User's Guide for the setup information.
Message Set Up
To implement a message with a trading partner, use XML Gateway message set up to
define the trading partner or hub, code conversion values, and internal to external
4-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
transaction name cross references. In addition, you may identify the XML Gateway
system administrator to notify for system or process errors.
Implementation Considerations
Message Map
Most data values in the message map are seeded.
Note: Maps and DTD's must be kept in sync between the Message
Designer and the XML Gateway repository. When in doubt, always
reload the map and DTD as a pair.
4-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Mapping the Document to the Order Management Table
OE_LIN
ES_INT
ERFAC
E (L)
<POHEADER
>
PHA.SEGM
ENT1
OE_LIN
ES_INT
ERFAC
E (L)
H.OPER Y 'UPD
ATION_ ATE'
CODE
</USERARE
A>
ORACLE.CH H.CHA
ANGESEQU NGE_SE
ENCE QUENC
E
4-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
ORACLE.BO H.BOOK
OKEDFLAG ED_FLA
G
MSGTYPE H.RESP
ONSE_F
LAG
ORACLE.SU H.ORIG
PPLIERDOC _SYS_D
REF OCUME
NT_REF
</USERARE
A>
<PARTNER>
(Supplier)
NAME PO_ECX_H
EADER_AR
CH_V.supp
_org_name
PO_VENDO
RS.VENDO
R_NAME
OE_LIN
ES_INT
ERFAC
E (L)
ONETIME PO_ECX_H
EADER_AR
CH_V.supp
_otf
DECODE
(PO_VEND
ORS.ONE_
TIME_FLA
G,'N','0','1')
PARTNRID PO_ECX_H
EADER_AR
CH_V.suppl
ier_partner_
id
PO_VENDO
RS.SEGME
NT1
PARTNRTYP
E
CURRENCY PO_ECX_H
EADER_AR
CH_V.supp
_Currency
PO_VENDO
RS.PAYME
NT_CURRE
NCY_CODE
4-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
PO_ECX_H
PARTNRIDX EADER_AR
CH_V.suppl
ier_partner_
id_x
NVL(PO_V
ENDOR_SIT
ES_ALL_EC
E_TP_LOC
ATIN_COD
E,PHA.VEN
DOR_ID
ADDRESS1
ADDRESS2
ADDRESS3
ADDRESS4
CITY
COUNTY
POSTALCOD
E
STATEPROV
N
</PARTNER>
OE_LIN
ES_INT
ERFAC
E (L)
<PARTNER> Y
(SoldTo)
NAME PO_ECX_H
EADER_AR
CH_V.buyin
g_org_name
HR_ALL_O
RGANIZAT
ION_UNITS
_TL .NAME
ONETIME PO_ECX_H
EADER_AR
CH_V.buyin
g_
org_otf '0
PARTNRID
PARTNRTYP
E
4-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
CURRENCY PO_ECX_H
EADER_AR
CH_V.buyin
g_org_curre
ncy
GL_SETS_O
F_BOOKS.C
URRENCY_
CODE
ADDRESS1 HR_ORGA
NIZATION
_UNITS_
V.ADDRESS
_LINE_1-3
ADDRESS2
ADDRESS3
ADDRESS4
OE_LIN
ES_INT
ERFAC
E (L)
CITY HR_ORGA
NIZATION
_UNITS_
V.TOWN_O
R_CI T Y
COUNTRY PO_ECX_H
EADER_AR
CH_V.buyin
g_
org_country
COUNTY
POSTALCOD HR_ORGA
E NIZATION
_UNITS_
V.POS TAL
_CODE
STATEPROV HR_ORGA
N NIZATION
_UNITS_
V.RE GI
ON2
TELEPHONE HR_ORGA
NIZATION
_UNITS_
4-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
V.TELEPHO
NE_NUMB
ER_1-3
/PARTNER
/PARTNER
<PARTNER>
(BillTo)
NAME PO_ECX_H
EADER_AR
CH_V.buyin
g_org_name
HR_ALL_O
RGANIZAT
ION_UNITS
_TL .NAME
ONETIME PO_ECX_H
EADER_AR
CH_V.billto
_
org_otf '0
PARTNRID PO_ECX_H
EADER_AR
CH_V.partn
er_id
PHA.ORG_I
D
OE_LIN
ES_INT
ERFAC
E (L)
PARTNRTYP
E
CURRENCY FINANCIA
LS_SYSTEM
_PARAMS_
ALL.PAYM
ENT_CURR
ENCY_COD
E
LINE_1-3
ADDRESS2 H.INVO
ICE_AD
DRESS2
ADDRESS3 H.INVO
ICE_AD
DRESS3
ADDRESS4
4-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
COUNTY H.INVO
ICE_CO
UNTY
TELEPHONE HR_LOCAT
IONS_ALL.
TELEPHON
E_
NUMBER_1
-3
</PARTNER>
<PARTNER>
(ShipTo)
OE_LIN
ES_INT
ERFAC
E (L)
NAME
ONETIME
PARTNRID
PARTNRTYP
E
CURRENCY
ADDRESS1 H.SHIP_
TO_AD
DRESS1
ADDRESS2 H.SHIP_
TO_AD
DRESS2
ADDRESS3 H.SHIP_
TO_AD
DRESS3
ADDRESS4
4-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
CITY H.SHIP_
TO_CIT
Y
COUNTY H.SHIP_
TO_CO
UNTY
POSTALCOD H.SHIP_
E TO_POS
TAL_CO
DE
STATEPROV H.SHIP_
N TO_STA
TE
</PARTNER>
<POTERM>
DESCRIPTN PO_ECX_H
EADER_AR
CH_V.paym
et_terms_de
scription
AP_TERMS.
DESCRIPTI
N
OE_LIN
ES_INT
ERFAC
E (L)
DAYSNUM No mapping
provided by
PO although
generated
XML has
these
elements.
</POTERM>
/POHEADER
<POLINE>
4-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
CURRENCY PO_ECX_H
EADER_AR
CH_V.po_c
urrency
PHA.CURR
ENCY_COD
E
UOMVALUE
OE_LIN
ES_INT
ERFAC
E (L)
UOMNUMD
EC
UOM
</OPERAMT
>
<QUANTITY
qualifier="
ORDERED">
VALUE PO_ECX_LI
NE_ARCH_
V.quantity
PO_LINES_
ARCHIVE_
ALL.QUAN
TITY
</QUANTIT
Y>
REASONCO PO_LINES_
DE ARCHIVE_
ALL.LINE_
NUM
4-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
L. Y PO_ECX_LI
POLINENU CUSTO NE_ARCH_
M MER_LI V.line_num
NE_NU
MBER
OE_LIN
ES_INT
ERFAC
E (L)
DESCRIPTN PO_ECX_LI
NE_ARCH_
V.descriptio
n
ITEMRV PO_ECX_LI
NE_ARCH_
V.itemrv
PO_LINES_
ARCHIVE_
ALL.ITEM_
REVISION
KFV.SEGM
ENT1
4-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
ITEMX PO_ECX_LI
NE_ARCH_
V.itemx
PO_LINES_
ARCHIVE_
ALL.VEND
OR_PRODU
CT_NUM
PO_LINES_
ARCHIVE_
ALL.NOTE_
TO_VENDO
R
<USERAREA
>
ORACLE.SU H.ORIG
PPLIERLINE _SYS_LI
REF NE_REF
</USERARE
A>
<SCHEDULE
>
OE_LIN
ES_INT
ERFAC
E (L)
PO_LINE_L
OCATIONS
_ARCHIVE_
ALL.NEED_
BY_DATE
4-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
</DATETIME
>
(PO_LINE_
LOCATION
S_ARCHIV
E_ALL.QU
ANTITY
-PO_LINE_
LOCATION
S_ARCHIV
E_ALL.QU
ANTITY_C
ANCELLED
)
Convert from
NUMOFDEC OAG quantity
OE_LIN
ES_INT
ERFAC
E (L)
</QUANTIT
Y>
L.CUST Y
PSCLINENU OMER_
M SHIPME
NT_NU
MBER
<USERAREA
>
PARTNER
(BillTo)
NAME
ONETIME
PARTNRID Execute
Procedure Call
PARTNRTY
PE
CURRENCY
4-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
ADDRESS1 L.INVOI
CE_AD
DRESS1
ADDRESS2 L.INVOI
CE_AD
DRESS2
ADDRESS3 L.INVOI
CE_AD
DRESS3
ADDRESS4
CITY L.INVOI
CE_CIT
Y
COUNTRY L.INVOI
CE_CO
UNTRY
COUNTY L.INVOI
CE_CO
UNTY
OE_LIN
ES_INT
ERFAC
E (L)
POSTAL L.INVOI
CE_POS
CODE TALCO
DE
STATE L.INVOI
CE_STA
PROVN TE
</PARTNER>
<PARTNER>
(ShipTo)
NAME PO_ECX_LI
NE_LOC_A
RCH_V.Shi
pto_org_na
me
HR__ORGA
NIZATION
_UNITS_V
.NAME
ONETIME
4-72 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
PARTNRID PO_ECX_LI
NE_LOC_A
RCH_V.part
ner_id
PO_LINE_L
OCATIONS
_ARCHIVE_
ALL.ORG_I
D
PARTNRTY PO_ECX_LI
NE_LOC_A
PE RCH_V.ship
to_org_part
ner_type
'ShipTo'
CURRENCY
ADDRESS2 L.SHIP_
TO_AD
DRESS2
OE_LIN
ES_INT
ERFAC
E (L)
ADDRESS3 L.SHIP_
TO_AD
DRESS3
ADDRESS4
COUNTY L.SHIP_
TO_CO
UNTY
TELEPHONE HR_LOCAT
IONS_ALL.
TELEPHON
E_NUMBER
1,2,3
4-74 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Source Target Re Code Derivati Defaul Action PO
q. Catego on Rule t Mapping
CHANGE_P OE_HE ry Value
O ADERS
_INTER
FACE
(H)
OE_LIN
ES_INT
ERFAC
E (L)
</PARTNER>
ORACLE.SU L.ORIG_
PPLIERSHIP SYS_SHI
MENTREF PMENT
_REF
</USERARE
A>
</SCHEDUL
E>
</POLINE>
4-76 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Step Buyer System E.G. Oracle Oracle Order Management
Purchasing
4-78 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Order Management receives the Purchase Order electronically as a Process PO XML
document and a corresponding sales order is created.
After booking the order, the seller modifies the ordered quantity on one of the lines.
4-80 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
The order line goes on hold.
4-82 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Buyer sends a 3A8 Change PO response acknowledging the changes.
4-84 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
3A8 Change PO response is processed successfully and the hold on the sales order line
removed.
Setup Steps
Step Description
1 Define Transactions
4-86 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Step Description
Define Transactions
Use Oracle XML Gateway to define a cross reference between the Oracle transaction
name and the external transaction name. The external transaction name will be based on
what is meaningful per the XML standard used by the recipient. The external
transaction name will appear on the message envelope to support message transport.
• Enable messages for the trading partner by identifying the internal and external
transaction type and transaction subtype codes, and the XML standard associated
with the message.
Profile Options
The directories listed in the above profiles should also be mentioned in the utl_file_dir
parameter in init.ora
4-88 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Please refer to the Oracle XML Gateway User's Guide for the setup information.
Message Set Up
To implement a message with a trading partner, use XML Gateway message set up to
define the trading partner or hub, code conversion values, and internal to external
transaction name cross references. In addition, you may identify the XML Gateway
system administrator to notify for system or process errors.
If the incoming document does not contain this tag, then the message map defaults the
cancelled code to 'Not provided,' that corresponds to the meaning: 'No reason
provided.'
Implementation Considerations
2. Set the profile option OM: Electronic Message Integration Event Sources. This
profile indicates the level at which electronic messages are tracked and has the
values XML, EDI & XML and All (if the value is NULL, this is treated as XML). If
the profile option is set to XML, this feature will track only orders with an order
source of XML. Similarly, if the profile option is set to EDI & XML, only orders with
order source of EDI or XML will be tracked.
Note: Order Management enables users to extract EDI 855 and 865
Acknowledgment data for orders with order source Online. To
enable these orders for tracking, the value of the profile option
must be set to All; setting the profile to EDI & XML will not track
these orders.
3. Set the user access to the form. To allow the form to link to the OA Framework
pages for Oracle Workflow and XML Gateway Transaction monitor, ensure that the
responsibility with the Open Interface Tracking form has access to the form
functions WF_G_DIAGRAM and TXMONITORRESULTSPG – these functions are
part of the responsibility Workflow Administrator Web Applications, but you may
need to add them to a menu within the responsibility containing the form.
4-90 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
4. Schedule the WF_DEFERRED Agent Listener.
5. Schedule the Workflow Background Process for Item Type OM: Open Interface
Tracking.
3. By inserting the workflow sub-process 'Raise Show Sales Order Event Sub Process'
from the item type 'OM Show Sales Order' (OESO) in an Order Header (OEOH)
workflow process. This method can be used, for example, to raise an event when an
order is booked.
The following tables summarize the event parameters that are supported by the
integration event. Note that not every parameter will be populated in all cases, as
described in subsequent sections.
The event oracle.apps.ont.oi.xml_int.status will contain the following parameters:
TRADING_PARTNER_TYPE 'C'
TRADING_PARTNER_ID TP Party ID
ORG_ID Organization ID
4-92 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name Parameter Description Comments
SOLD_TO_ORG_ID Customer ID
'OUTBOUND_SENT'.
4-94 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name INBOUND MESSAGES OUTBOUND MESSAGES
* The EDI support is only active when the 11.5.10/Pack J EDI workflow is being used
The following table maps the value of the event parameter PROCESSING_STAGE to the
message text for that stage:
"Change PO -
Buyer response
contained one or
more rejected
lines which were
not processed by
Order
Management"
4-96 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
XML EDI Order Import Processing Sample
Stage Message Text
Description
(CODE)
"Process PO –
Order Import
will be run in
Synchronous
mode"
"Acknowledge
PO – Setup
validation failed"
"855 POAO
message has
been sent"
Note that for Outbound_Setup, the EDI support is only active when the 11.5.10/Pack J
EDI workflow is being used
DOCUMENT_NO Y
ORG_ID Y
PARTNER_DOCUMENT_NO Y
DOCUMENT_REVISION_NO Y
ORDER_SOURCE_ID Y
4-98 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name Parameter Populated (Electronic Message
Types)
SOLD_TO_ORG_ID Y
HEADER_ID Y
SUBSCRIBER_LIST Y ('DEFAULT')
LINE_IDS Y
DOCUMENT_NO Y
ORG_ID Y
PARTNER_DOCUMENT_NO Y
DOCUMENT_REVISION_NO Y
ORDER_SOURCE_ID Y
SOLD_TO_ORG_ID Y
ORDER_TYPE_ID Y
HEADER_ID Y
SUBSCRIBER_LIST Y ('DEFAULT')
LINE_IDS Y ('ALL')
User Procedures
To query electronic messages:
1. Navigate to the Access the Open Interface Tracking Find window.
3. To view all the electronic messages for a particular order, select that message and
click Details.
4-100 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
To view workflow, XML, and delete records:
1. Navigate to the Access the Open Interface Tracking Find window and query your
records.
2. To view the workflow or XML for a particular electronic message, click Details.
3. To view all the electronic messages for a particular order, select that message and
click Details.
To purge records:
1. Navigate to the Concurrent Program Manager.
2. Choose the Purge Open Interface Data concurrent program. This concurrent
program can also be used to purge the Interface and Acknowledgment tables.
To purge workflows:
Each Open Interface Tracking event is consumed with corresponding information being
stored in the OE_EM_INFORMATION_ALL table using the Write History Entry
process of the Item Type OM: Open Interface Tracking. Once the workflow for an event
completes, the Workflow can be safely purged.
OR
• Manually disable the seeded event subscription to the event
oracle.apps.ont.oi.xml_int.status owned by Supply Chain Trading Connector
(CLN), if the customer is not using the CLN product. The issue with this event
subscription has been resolved in CLN patchset B.
4-102 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
5
Oracle Order Management XML
Transactions
What is RosettaNet?
RosettaNet is a consortium of more than 400 of the world's leading Electronic
Components (EC), Information Technology (IT), Semiconductor Manufacturing (SM),
and Solution Provider (SP) companies. It is a self-funded, non-profit organization
dedicated to creating, implementing and promoting open e-business standards. These
PIP 3A4 -Purchase Order Process_PO New purchase order from the
Request buyer to the seller
PIP 3A6 - Distribute Order Show_Salesorder Sales order status sent to the
Status buyer from the seller.
The following diagram describes how Oracle Order Management supports Rosettanet
transactions in conjunction with B2B server.
5-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Changes in Order Management for RosettaNet Native Payloads
Supply Chain Trading Connector (CLN) has included 3 transaction sub-types for
Process PO Acknowledgement, Change PO Acknowledgement, and Cancel PO
Acknowledgement.
The change enables the workflow to trigger a new event, in case user chooses
ROSETTANET as the protocol in the payload. Existing user of OAG doesn't have any
impact. The pre-condition is that if a customer uses either OAG or ROSETTANET for all
three messages.
if (l_standard_code = 'OAG')
then
-- Reached Here. Successful execution.
x_resultout := 'OAG';
else
x_resultout := 'RN';
end if;
Supply Chain Trading Connector (CLN) adds a deferred subscription to the event, so
that Order Management will not have any dependency on CLN code. In the deferred
subscription, CLN writes a workflow, which generates the appropriate
acknowledgement for 3A4, 3A8 and 3A9. After "Raise Rosettanet OM Ack" activity,
Generate XML Integration event is raised so that Order Managements XML Message
monitoring system can display appropriate status.
Process_PO
Process_PO is used between seller and buyer to exchange information including
pricing, availability and status of the order. Process_PO consists of the Inbound PO
request and the outbound Acknowledge PO message, which reports the status of the
order to the buyer. Typical users of this collaboration are high order volume industries,
such as high tech and electronics.
5-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Major Features
Oracle Order Management supports the Process_PO transaction for Open Applications
Group (OAG) XML standard. The Process_PO transaction is between the buyer and
seller. The buyer can send a new purchase order using this transaction. The following
are the major features of this transaction within Oracle Order Management:
Error Handling
This diagram outlines the error handling process:
2. Failed processing: This status is occurs when there are validation errors or data
setup errors. The acknowledgment is sent to the sender with the Reject status. The
Order Import Concurrent program will complete normally.
5-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CONFIRM BOD
Upon successful receipt of an inbound XML document such as a Process_PO or
Cancel_PO, Oracle Order Management will send the outbound OAG Confirm BOD
message.
The major features of Confirm BOD are:
• This message contains information about the inbound XML message received, as
well as the status and description of the inbound message received.
• Unlike the Acknowledge PO message, the Confirm BOD message is sent before the
Order Import process is run. This is only a confirmation message.
Name Description
Direction: Inbound
Standard: OAG
Release: 7.2
Format: DTD
5-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Columns Enabled for Code Conversion
Defaulted Columns
H.ORDER_SOURCE_ID 20
H.ORDER_TYPE Standard
H.XML_TRANSACTION_TYPE_CODE POI
L.ORDER_SOURCE_ID 20
L.ORIG_SYS_DOCUMENT_REF H.ORIG_SYS_DOCUMENT_REF
L.XML_TRANSACTION_TYPE_CODE POI
Derived Columns
H.CREATED_BY FND_GLOBAL.USER_ID
H.CREATION_DATE SYSDATE
H.LAST_UPDATED_BY FND_GLOBAL.LOGIN_ID
H.LAST_UPDATE_DATE SYSDATE
H.LAST_UPDATE_LOGIN FND_GLOBAL.USER_ID
L.CREATED_BY FND_GLOBAL.USER_ID
L.CREATION_DATE SYSDATE
L.LAST_UPDATED_BY FND_GLOBAL.LOGIN_ID
L.LAST_UPDATE_DATE SYSDATE
L.LAST_UPDATE_LOGIN FND_GLOBAL.LOGIN_ID
Detail Value
5-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Detail Value
Subscription R_OEOI_ORDER_IMPORT
5-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
0 - Not Required
2 – Required
5-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
Order Management
Pcard Number
<USERAREA>Continue
d..
5-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
5-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
PARTNER-SoldTo Y
Sold to name.
5-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
5-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
CONTACT N
5-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
(CREATION)>
5-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
<USERAREA>
5-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
(CREATION)>
(CREATION)>
5-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
<ADDRLINE1 - is ShipTo. N
ADDRLINE9> Preferred operating currency of N
<CITY> Partner.
5-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
(CREATION)>
5-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description/Comment Oracle OM OAG
Table/Column Requir
ed
CONTACT N
• oagis_resources.dtd
• oagis_fields.dtd
• oagis_extensions.dtd
• oagis_entity_extensions.dtd
All the DTDs will be checked in ONT source area under $ont/xml/oag72
The targets for the Inbound XML Message are the Oracle Order Management Open
Interface tables OE_HEADERS_INTERFACE &OE_LINES_INTERFACE.
The PROCESS_PO DTD is a three level hierarchy with order lines split into one or more
shipment lines. The Oracle Order Management architecture, however, is a two level
hierarchy with Order Header and one or more Lines. The message map collapses the
three level XML Message into a two level structure when the data is inserted in the
Oracle Order Management Open Interface tables.
Please refer to the table Process_PO Message Map for a detailed analysis of the elements
mapped, actions, and derivation rules used by the Message Map.
Both the message maps created using the Message Designer and their associated DTDs
are stored in the database. The following Java programs are available to Load/Delete
Maps or Load/Delete DTD's into/from the XML Gateway repository. Please refer to the
Oracle XML Gateway User's Guide for more information.
Note: Keep maps and DTDs in sync between the Message Designer
and the XML Gateway repository. When required, always reload
the map and DTD as a pair.
5-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Extension Tags
Oracle Order Management adds the following tags as extensions on the Process_PO
XML documents sent to Oracle Order Management:
$ont/xml/oag72/oagis_extensions.dtd
• <!ELEMENT FTTERM (DESCRIPTN?, TERMID?)>
<!ELEMENT FOB (DESCRIPTN?, TERMID?)>
<!ELEMENT USERITEMDESCRIPTN %STRDOM;>
The following changes are made by Procurement as extensions to the XML
documents sent to Oracle Order Management. As a result, Oracle Order
Management must also modify the same OAG DTDs to prevent parse errors at the
XML gateway:
$ont/xml/oag72/oagis_entity_extensions.dtd
• Add the following tags:
<!ENTITY % DATETIME.EXCHRATEDATE "DATETIME">
Change <!ENTITY % SEG_DATETIME_QUALIFIERS_EXTENSION "OTHER"> to
<!ENTITY % SEG_DATETIME_QUALIFIERS_EXTENSION "OTHER |
EXCHRATEDATE">
$ont/xml/oag72/oagis_extensions.dtd
• Add the following tags:
<!ELEMENT PAYMMETHOD (DESCRIPTN?, TERMID?)>
<!ELEMENT CREDTCRD (CARDID?,NAME?,(%DATETIME.EXPIRATION;)?)>
<!ELEMENT STARTACTIVEDATE %STRDOM;>
<!ELEMENT ENDACTIVEDATE %STRDOM;>
<!ELEMENT CATEGORYID %STRDOM;>
<!ELEMENT REVISIONNUM %STRDOM;>
<!ELEMENT ATTACHMENT (TEXT?)>
<!ELEMENT EXCHRATE %STRDOM;>
<!ELEMENT CONFIRM %STRDOM;>
<!ELEMENT PCARDHDR
(MEMBERNAME?,PCARDNUM?,(%DATETIME.EXPIRATION;)?,PCARDBRAND
?)>
<!ELEMENT MEMBERNAME %STRDOM;>
<!ELEMENT PCARDNUM %STRDOM;>
5-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT DFFVENDOR
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT DFFLINE
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT DFFITEM
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT KFFITEM
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?,ATTRIBUTE17?,ATTRIBUTE18?,ATTRIBUTE19?,ATTRIBUTE20?)>
<!ELEMENT DFFDISTRIBUTN
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT ATTRIBUTE1 %STRDOM;>
<!ELEMENT ATTRIBUTE2 %STRDOM;>
<!ELEMENT ATTRIBUTE3 %STRDOM;>
<!ELEMENT ATTRIBUTE4 %STRDOM;>
<!ELEMENT ATTRIBUTE5 %STRDOM;>
<!ELEMENT ATTRIBUTE6 %STRDOM;>
<!ELEMENT ATTRIBUTE7 %STRDOM;>
<!ELEMENT ATTRIBUTE8 %STRDOM;>
<!ELEMENT ATTRIBUTE9 %STRDOM;>
5-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<!ELEMENT PSCLNSTATUS %STRDOM;>
<!ELEMENT JOBTITLE %STRDOM;> -- HR Job title
<!ELEMENT CONTRACTORFIRSTNAME %STRDOM;> -- Contractor first name
<!ELEMENT CONTRACTORLASTNAME %STRDOM;> -- Contractor last name
<!ELEMENT PRICEDIFFERENTIAL
(NUMBER?,ENTITYTYPE?,MULTIPLIER?,PRICETYPE?)>
--repeatable segment
<!ELEMENT NUMBER %STRDOM;> --price differential line num
<!ELEMENT ENTITYTYPE %STRDOM;> -- Entity type
<!ELEMENT MULTIPLIER %STRDOM;> -- multiplier for the standard PO line
Acknowledge_PO
Overview
Oracle Order Management supports the Acknowledge_PO transaction for the OAG
XML standard.
Oracle Order Management generates the Acknowledge_PO message upon consuming
the Process_PO inbound message and sends an Acknowledge_PO message to the
buyer. The Acknowledge_PO message is sent in both the Synchronous and
Asynchronous processing of the incoming orders.
This outbound message carries the status of the order received via the inbound
Purchase Order request to the buyer. The message also contains the reason code for the
rejected orders.
Major Features
Major features of this transaction are as follows:
Generate and Send Acknowledge_PO Message Out
Oracle Order Management generates the Acknowledge_PO message upon consuming
the Process_PO inbound message (by triggering the Order Import and entering the
order in Order Management tables). At this point Order Management must trigger the
workflow to send an Acknowledge_PO message to the buyer. This message should be
generated within the timeframe agreed upon in the Trading Partner Agreement.
The Acknowledge_PO message is generated in both the Synchronous and
Asynchronous processing of the incoming orders.
Acknowledge_PO message is populated with the information about the incoming
Process_PO request. The message ID of the incoming Purchase Order is stored and
retrieved later during the creation of the Acknowledge_PO.
Message Map
Message Map
Name Description
Direction Outbound
5-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Name Description
Standard OAG
Release 7.2
Format DTD
Detail Value
Subscription R_OEOA_SEND_ACKNOWLEDGMENT
<ACKNOWLEDGE_
PO_008>
<CNTROLAREA>
<BSR>
<VERB>ACKNOWLE XMLG Y
DGE</VERB>
<NOUN>PO</NOUN XMLG Y
>
<REVISION>007</RE XMLG Y
VISION>
</BSR>
<SENDER>
<LOGICALID>CPAG XMLG Y
<LOGICALID>
<COMPONENT>OR XMLG Y
DERMGMT<COMPO
NENT>
<TASK>ACKPO<TAS XMLG Y
K>
<REFERENCEID>CP XMLG Y
AGPOBERLIN02<RE
FERENCEID>
<CONFIRMATION>0 XMLG Y
</CONFIRMATION>
5-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<LANGUAGE>ENG< XMLG Y
/LANGUAGE>
<CODEPAGE>CP000 XMLG Y
111</CODEPAGE>
<AUTHID>RSCHUL XMLG Y
TE</AUTHID>
<SENDER>
<DATETIME XMLG Y
qualifier="CREATIO
N">
<YEAR>1996</YEAR XMLG Y
>
<MONTH>06</MON XMLG Y
TH>
<DAY>30</DAY> XMLG Y
<HOUR>23</HOUR> XMLG Y
<MINUTE>59</MIN XMLG Y
UTE>
<SECOND>59</SECO XMLG Y
ND>
<SUBSECOND>0000< XMLG Y
/SUBSECOND>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<ACKNOWLEDGE_
PO>
<POORDERHDR>
<YEAR>1996</YEAR Y
>
<MONTH>06</MON Y
TH>
<DAY>30</DAY> Y
<HOUR>23</HOUR> Y
<MINUTE>59</MIN Y
UTE>
<SECOND>59</SECO Y
ND>
<TIMEZONE>+0100</ Y
TIMEZONE>
<SUBSECOND>0000< Y
/SUBSECOND>
</DATETIME>
5-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<SIGN>+</SIGN> A + or - Y
indicates
whether the
amount is
positive or
negative.
<UOMNUMDEC>0</ Represents Y
UOMNUMDEC> number of
decimals in the
UOMVALUE
field.
<UOM>EACH</UO Unit of Y
M> Measure
indicates the
units of the
quantitative
amount.
</OPERAMT> Y
<POTYPE>224</POT 'STANDARD' Y
YPE>
Indicates the
type of the PO.
At the moment
only Standard
PO will be the
only type
supported. The
Order Type on
Process
Purchase Order
will no longer
automatically
be set to
Standard.
5-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<PORELEASE>1</PO PO release N
RELEASE> number. Is not
populated by
OM.
Purchasing will
split the Po
release number
from the PO
number which
has a format of
PO Number
release number
*See Notes
<ACKHEADER>
</SENDER>
</ACKHEADER> N
<PARTNER> N
<ONETIME>0</ONE 0
TIME>
5-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<PARTNERIDX>A12 Unique
3></PARTNERIDX> identifier for
the sold to
partner.
Value should
be EDI Location
code for the
sold-to partner.
Derived from
OE_XML_PRO
CESS_UTIL.GE
T_SOLD_TO_E
DI_LOC.
</PARTNER>
<PARTNER> N
<ONETIME>0</ONE 0
TIME>
<PARTNERIDX>A12 Unique
3></PARTNERIDX> identifier for
the supplier.
EDI location
code for the
supplier. Setup
in
Inventory/setup
/Org/Location.
This code is
used by the
buyer (PO) to
identify the
supplier.
</PARTNER>
<POTERM> N
<DESCRIPTN>XXX</ Description of N
DESCRIPTION> the payment
term
</POTERM>
</POORDERHDR>
<POORDERLIN>
5-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<VALUE>1</VALUE Y
>
<NUMOFDEC>0</N Y
UMOFDEC>
<SIGN>+</SIGN> Y
<UOM>EACH</UO Y
M>
</QUANTITY> Y
<VALUE>6500000</V Y
ALUE>
<NUMOFDEC>2</N Y
UMOFDEC>
<SIGN>+</SIGN> Y
<CURRENCY>USD</ Y
CURRENCY>
<UOMVALUE>1</U Y
OMVALUE>
<UOMNUMDEC>0</ Y
UOMNUMDEC>
<UOM>EACH</UO Y
M>
</OPERAMT>
5-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<USERAREA>
<USERITEMDESCRI L.USER_ITEM_
PTN>item desc DESCRIPTION
</USERITEMDESCRI
PTN>
</USERAREA>
<ACKLINE>
</ACKLINE>
<POLINESCHD>
PO. Required
by OAG and
will be ignored
by Purchasing.
This should be
mapped to the
request date in
OM. Derived
using Convert
To OAG
Datetime.
<YEAR>1996</YEAR Y
>
<MONTH>07</MON Y
TH>
<DAY>01</DAY> Y
<HOUR>23</HOUR> Y
<MINUTE>59</MIN Y
UTE>
<SECOND>59</SECO Y
ND>
<SUBSECOND>0000< Y
/SUBSECOND>
</DATETIME>
5-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
<VALUE>1</VALUE Y
>
<NUMOFDEC>0</N Y
UMOFDEC>
<SIGN>+</SIGN> Y
<UOM>EACH</UO Y Y
M>
</QUANTITY>
</USERAREA>
<ACKCODE>X</AC L.FIRST_ACK_ N
KCODE> CODE
<YEAR>1996</YEAR Y
>
<MONTH>07</MON Y
TH>
<DAY>01</DAY> Y
<HOUR>23</HOUR> Y
<MINUTE>59</MIN Y
UTE>
<SECOND>59</SECO Y
ND>
<SUBSECOND>0000< Y
/SUBSECOND>
</DATETIME>
See Notes.
</USERAREA>
</POLINESCHD>
5-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Req Y/N Code
/Comment Table /Column Conversion
Needed?
</POORDERLIN>
</ACKNOWLEDGE_
PO>
</DATAAREA>
</ACKNOWLEDGE_
PO_008>
** XMLG – XML
gateway
Name Description
• 0- Accepted
• 2- Reject
Accept or Reject
• 2- Reject
5-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Message Designer tool. Please refer to Table, "Message Map" for the detailed map
analysis.
The source DTD used is 004_acknowledge_po_008.dtd, revision 7.2.1 of the Open
Application Group. The other associated external reference DTD files are;
• oagis_domains.dtd
oagis_resources.dtd
oagis_fields.dtd
oagis_segments.dtd
All the DTD's will be checked in ONT source area under $ont/xml/oag72
The target for the Outbound XML Message are the Order Management
Acknowledgment tables OE_HEADER_ACKS & OE_LINE_ACKS.
The ACKNOWLEDGE_PO_008 DTD is a three level hierarchy with Order Lines split
into one or more Shipment Lines. The Order Management architecture is however a two
level one with the order header and one or more lines. The message map will expand
the two level structure of the Order Management tables to three level XML Message.
Please refer to Table, "Message Map" for a detail analysis of the elements mapped,
actions and derivation rules used by the Message Map.
Both the message map created using the Message Designer and its associated DTD's are
stored in the database. The following Java programs are available to Load/Delete Maps
or Load/Delete DTD's into/from the XML Gateway repository. Please refer to the Oracle
XML Gateway User's Guidefor more information.
Note: Maps and DTD's must be kept in sync between the Message
Seeded Workflow
Send XML PO Acknowledgment
Show_SalesOrder
The Show_SalesOrder message is used by the seller to send order status information, by
line item for an order to a buyer. This outbound message carries the status of the order
line.
Periodical
The Show_salesorder message can be sent periodically depending on the period set in
the trading partner agreement between the buyer and the seller. Examples of this would
be daily, weekly, or at a particular time of the day.
Order Management provides the concurrent program called by the triggering
mechanism, scheduling the process of the concurrent program to generate the
show_salesorder message. This API has following parameters:
1. Trading partner ID (EDI Location code) – Order Management created the
Show_salesorder message for this trading partner.
2. Open Orders Only – This is the order status that Order Management creates the
show_salesorder message for. The API chooses between open or closed orders. If
Open Orders Only is set to Yes, only open orders will be picked up. If Open Orders
5-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Only is set to No, only closed orders will be picked up.
3. Closed for Days – Order Management is currently not supporting the use of this
parameter. This would be number of days. Order Management would create a
show_salesorder message for all closed orders, which are closed within last 'N'
number of days.
Order Changes
Changes in the attributes of the order that occur during order processing. This could be
shipping or scheduling for example. If changes to any of these attributes occur in a
booked order, the Show Sales Order message is sent.
Changes in following attributes are supported at this point:
• Unit selling Price,
• Ordered Qty
• Shipped Qty
Any time any of these attributes change for a booked order Order Management
generates a Show_Salesorder message.
Adding a new line to a booked order also generates a Show_Salesorder message.
Consequently, splitting a line also generates a Show_Salesorder message, due to the
quantity change and the generation of the new line.
• Status change due to business events – Booking the order, shipping, or scheduling
of lines - the Show_SalesOrder is generated when the order is booked. It will also,
due to detection of the corresponding attribute changes, be generated for
scheduling and shipping of lines.
2. If the Unit selling price, Schedule delivery date, or ordered quantity changed
systematically (for booked orders)
<SHOW_SALESORDER_006>
<CNTROLAREA> Y
<BSR>
<VERB>SHOW</VERB> XMLG
<NOUN>SALESORDER</NOUN XMLG
>
5-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Desc/Comment Oracle OM O Code
Table/Column A Conv
G ersio
re n
qd Need
Y/ ed
N Y/N
<REVISION>006</REVISION> XMLG
</BSR>
<SENDER> N
<LOGICALID>XGRB1109</LOGI XMLG
CALID>
<COMPONENT>OM</COMPON XMLG
ENT>
<TASK>SO</TASK> XMLG
<REFERENCEID>9534223449</RE XMLG
FERENCEID>
<CONFIRMATION>1</CONFIR XMLG
MATION>
<LANGUAGE>ENG</LANGUAG XMLG
E>
<CODEPAGE>CP001001</CODEP XMLG
AGE>
<AUTHID>SMITHJ</AUTHID> XMLG
</SENDER>
<DATETIME XMLG Y
qualifier="CREATION">
<YEAR>1998</YEAR>
<MONTH>12</MONTH>
<DAY>29</DAY>
<HOUR>00</HOUR>
<MINUTE>25</MINUTE>
<SECOND>45</SECOND>
<SUBSECOND>0000</SUBSECO
ND>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SHOW_SALESORDER>
<SOHEADER>
<MONTH>12</MONTH>
<DAY>29</DAY>
<HOUR>00</HOUR>
<MINUTE>25</MINUTE>
5-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Desc/Comment Oracle OM O Code
Table/Column A Conv
G ersio
re n
qd Need
Y/ ed
N Y/N
<SECOND>45</SECOND>
<SUBSECOND>0000</SUBSECO
ND>
</DATETIME>
<PARTNER> N
<ONETIME>0</ONETIME> 0
</PARTNER>
<PARTNER> N
<ONETIME>0</ONETIME> 0
</PARTNER>
5-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Desc/Comment Oracle OM O Code
Table/Column A Conv
G ersio
re n
qd Need
Y/ ed
N Y/N
<SALESINFO> N
</SALESINFO>
</SOHEADER>
<USERAREA>
< /USERAREA>
</SOHEADER>
<SOLINE>
<VALUE>6500000</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY
>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUM
DEC>
<UOM>EACH</UOM>
5-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Desc/Comment Oracle OM O Code
Table/Column A Conv
G ersio
re n
qd Need
Y/ ed
N Y/N
</OPERAMT>
<USERAREA>
<USERITEMDESCRIPTN>itemdes L.USER_ITEM_DE
c</USERITEMDESCRIPTN> SCRIPTION
</USERAREA>
<SOLINE>
<VALUE>6500000</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY
>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUM
DEC>
<UOM>EACH</UOM>
</OPERAMT>
<USERAREA>
<USERITEMDESCRIPTN>itemdes L.USER_ITEM_DE
c</USERITEMDESCRIPTN> SCRIPTION
</USERAREA>
<SOSCHEDULE>
<VALUE>1</VALUE>
<NUMOFDEC>0</NUMOFDEC>
<SIGN>+</SIGN>
5-72 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Desc/Comment Oracle OM O Code
Table/Column A Conv
G ersio
re n
qd Need
Y/ ed
N Y/N
<UOM>EACH</UOM>
</QUANTITY> Y
<MONTH>12</MONTH>
<DAY>29</DAY>
<HOUR>00</HOUR>
<MINUTE>25</MINUTE>
<SECOND>45</SECOND>
<SUBSECOND>0000</SUBSECO
ND>
</DATETIME>
<MONTH>12</MONTH>
<DAY>29</DAY>
<HOUR>00</HOUR>
<MINUTE>25</MINUTE>
<SECOND>45</SECOND>
<SUBSECOND>0000</SUBSECO
ND>
</DATETIME>
<USERAREA>
</ORACLE.SUPPLIERSHIPMENT
REF>
</USERAREA>
</SOSCHEDULE>
</SOLINE>
</SHOW_SALESORDER>
5-74 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Desc/Comment Oracle OM O Code
Table/Column A Conv
G ersio
re n
qd Need
Y/ ed
N Y/N
</DATAAREA>
</SHOW_SALESORDER_006>
Open- Any status other than the following Open- Any status other than the following
ones in Order Management. ones in Order Management.
Message Map
Name Description
Direction: Outbound
Standard: OAG
Release: 7.2
Format: DTD
Detail Value
Subscription R_SHOW_SALES_ORDER
Message Set Up
To implement a message with a trading partner, use the XML Gateway message set up
to define the trading partner or hub, code conversion values, and internal to external
transaction name cross references. In addition, you may identify the XML Gateway
system administrator to relate system or process errors.
5-76 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
analysis.
The source DTD used is 091_show_salesorder_006.dtd, revision 7.2.1 of the Open
Application Group. The other associated external reference DTD files are:
• oagis_domains.dtd
• oagis_resources.dtd
• oagis_fields.dtd
• oagis_segments.dtd
All the DTD's are checked in ONT source area under $ont/xml/oag72.
The Source for the Outbound XML Show SO Message is the Order Management
Acknowledgment tables OE_HEADER_ACKS & OE_LINE_ACKS.
The 091_show_salesorder_006 DTD is a three level hierarchy with order lines split into
one or more shipment lines. The Order Management architecture is however a two level
one with the order header and one or more lines. The message map will expand the two
level structure of the Order Management tables to a three level XML Message.
Please refer to Table, "Message Map" for a detail analysis of the elements mapped,
actions and derivation rules used by the Message Map.
Both the message map created using the Message Designer and its associated DTD's are
stored in the database. The following Java programs are available to Load/Delete Maps
or Load/Delete DTD's into/from the XML Gateway repository. Make sure you change
your environment to your development environment and execute "source
/ecxdev/ecx/utils/ javaenv_wfidc.sh" to set up your Java environment.
The Message Map is a .xgm file which will be stored in the Order Management Source
area under $ont/patch/115/map/ ONT_3A6_OAG72_OUT_SSO.xgm
Note: Maps and DTD's must be kept in sync between the Message
Seeded Workflow
The figure below displays the Show_SalesOrder Workflow:
Change_salesorder
Overview
Using the Change_salesorder, the seller can:
• Acknowledge acceptance of a pending purchase order line
You can set up a requirement for a response document for seller-initiated changes
within the Trading Partner Agreement. For example, the buyer must respond with
5-78 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PIP3A8, Request Purchase Order Change, to accept the proposed changes. If the
changes are not accepted, PIP3A9, request Purchase Order Cancel must be sent by the
buyer.
Both Order Import of closed orders and HVOP are currently not supported for XML
orders.
• If purchasing rejects the 3A7 proposed changes, then purchasing sends a Request
Purchase Order Cancel (3A9) transaction, canceling the original purchase order.
Order Management receives and consumes the Request Purchase Order Cancel
(3A9) and cancels the purchase order within Order Management.
If Cancel PO is received for the lines on hold the lines are removed from hold and
cancelled.
If Oracle Purchasing rejects the 3A7 proposed changes, then Purchasing can also send
back a 3A8 Response using the ACKCODE tag with a value of 2 to communicate Reject.
Note that no value or a value of 0 in this tag implies Accept.
If the ACKCODE tag has a value of 2 at either Line or Shipment level for a Change PO
Response, Order Management does not consume that line. However, Order
Management does process the Accepted lines (i.e. ACKCODE tag has no value or a
value of 2).
If the ACKCODE tag has a value of 2 at Header level, Order Management doesn't
consume the entire document.
This feature of Accepting and Rejecting changes is not required - if the ACKCODE tag is
not populated, Order Management will automatically process every line to check if the
attributes match the values currently on the Sales Order.
For the implementations where the seller chooses not to require a response for 3A7
there is a setup to state that the response is not required for the 3A7 created by the
seller. In this case the order is put on hold. A profile option OM: Change SO Response
Required controls the response at site level with values Y or N.
Ability to Match Incoming Change_PO (3A8) or Cancel_PO (3A9) to The Original Change_salesorder (3A7)
Order Management must be able to match the incoming 3A8 (which can be a response
to the 3A7 originated by Order Management) or 3A9. The match can be done using the
following two criteria together:
• Customer purchase order number + Trading partner (buyer)id
• Inbound 3A8 will have a flag, that indicates if the specific 3A8 is a response (to 3A7)
or is a new request. This flag separates the responses from the independent 3A8
that may occur for the same order for which 3A7 was generated.
• 3A9 is processed and results in the removal of the hold and cancellation (partial or
5-80 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
full) of the lines.
• One or more buyer rejected lines are received in the 3A8 Change PO response to an
earlier 3A7 Change Sales Order message.
• 3A8 Change PO response to an earlier 3A7 Change Sales Order message is rejected
by the buyer at the header level.
Message Map
Note: Maps and DTD's must be kept in sync between the Message
Transaction
The following is the seeded data for the 3A7 transaction:
• Transaction Type – ONT
ONT_3A7_OAG72_OUT_SO
<CHANGE_SALES
ORDER_008>
<CNTROLAREA> Y
<BSR> Y
<VERB>CHANGE< Y
/VERB>
<NOUN>SALESOR Y
DER</NOUN>
<REVISION>008</R Y
EVISION>
</BSR> Y
<SENDER> Y
<LOGICALID>XGR XMLG Y
B1109</LOGICALI
D>
5-82 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Descrip OAG Reqd Y/N OM table/Column
tion
<COMPONENT>S XMLG Y
ALES</COMPONE
NT>
<TASK>OM</TAS XMLG Y
K>
<REFERENCEID>9 XMLG Y
534223449</REFER
ENCEID>
<CONFIRMATION XMLG Y
>1</CONFIRMATI
ON>
<LANGUAGE>EN XMLG Y
G</LANGUAGE>
<CODEPAGE>CP0 XMLG Y
01001</CODEPAG
E>
<AUTHID>SMITHJ XMLG Y
</AUTHID>
</SENDER> Y
<DATETIME XMLG Y
qualifier="CREATI
ON">
<YEAR>1998</YEA Y
R>
<MONTH>11</MO Y
NTH>
<DAY>21</DAY> Y
<HOUR>00</HOU Y
R>
<MINUTE>25</MI Y
NUTE>
<SECOND>45</SE Y
COND>
<SUBSECOND>000 Y
0</SUBSECOND>
<TIMEZONE>-0600 Y
</TIMEZONE>
</DATETIME> Y
</CNTROLAREA> Y
<DATAAREA> Y
<CHANGE_SALES Y
ORDER>
<SOHEADER> Y
5-84 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Descrip OAG Reqd Y/N OM table/Column
tion
<USERAREA> N
<REVISIONNUM> PO revision N
2</REVISIONNUM number. No map to
> OM column
</USERAREA> N
<PARTNER> N
<ONETIME>0</ON Y
ETIME>
<PARTNRTYPE>So Y
ldTo</PARTNRTY
PE>
</PARTNER>
<PARTNER>
<ONETIME>0</ON N
ETIME>
5-86 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Descrip OAG Reqd Y/N OM table/Column
tion
<PARTNRTYPE>S Y
UPPLIER</PARTN
RTYPE>
</PARTNER> Y
</SOHEADER> Y
<SOLINE> Y
<VALUE>1</VALU N
E>
<NUMOFDEC>0</ N
NUMOFDEC>
<SIGN>+</SIGN> N
<CURRENCY>USD
</CURRENCY>
<UOMVALUE>1</
UOMVALUE>
<UOMNUMDEC>0 N
</UOMNUMDEC>
<UOM>EACH</UO Y
M>
</OPERAMT> Y
<VALUE>1</VALU Y
E>
<NUMOFDEC>0</ Y
NUMOFDEC>
<SIGN>+</SIGN> Y
<UOM>EACH</UO Y
M>
</QUANTITY> Y
<USERAREA>
5-88 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Descrip OAG Reqd Y/N OM table/Column
tion
</USERAREA>
<SOSCHEDULE> N
<YEAR>1998</YEA N
R>
<MONTH>11</MO N
NTH>
<DAY>21</DAY>
<HOUR>00</HOU
R>
<MINUTE>25</MI
NUTE>
<SECOND>45</SE
COND>
<SUBSECOND>000 Y
0</SUBSECOND>
<TIMEZONE>-0600 Y
</TIMEZONE>
</DATETIME>
<YEAR>1998</YEA
R>
<MONTH>11</MO N
NTH>
<DAY>21</DAY> Y
<HOUR>00</HOU Y
R>
<MINUTE>25</MI Y
NUTE>
<SECOND>45</SE Y
COND>
<SUBSECOND>000
0</SUBSECOND>
<TIMEZONE>-0600 Y
</TIMEZONE>
</DATETIME> N
<VALUE>1</VALU Y
E>
<NUMOFDEC>0</ Y
NUMOFDEC>
<SIGN>+</SIGN> Y
<UOM>EACH</UO Y
M>
5-90 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Descrip OAG Reqd Y/N OM table/Column
tion
</QUANTITY>
<USERAREA>
</ORACLE.SUPPLI
ERSHIPMENTREF
>
<ORACLE.SPLITFR
OMLINEREF>
<YEAR>1998</YEA N
R>
<MONTH>11</MO N
NTH>
<DAY>21</DAY> N
<HOUR>00</HOU N
R>
<MINUTE>25</MI N
NUTE>
<SECOND>45</SE N
COND>
<SUBSECOND>000 N
0</SUBSECOND>
<TIMEZONE>-0600 N
</TIMEZONE>
</DATETIME> N
</USERAREA>
</SOSCHEDULE>
</SOLINE>
</CHANGE_SALE
SORDER>
Status Description
5-92 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
So Line Status Open- Any status other than the following
ones in Order Management. On Hold – Line is
on 3A7 Change Notification Hold Cancelled-
Cancelled status in Order Management
NOTES (Header and Line level) The Notes can be used in case of 3A7 being
sent in order to change Pending status to
either Accept or Reject. In case of Reject it is
necessary to populate this element. Possible
values - Accepted
Seeded Workflow
Message Details
This table describes the data types and fields in the DTD used by the message map. The
message map may remove used fields so that empty data tags are neither generated for
outbound transactions nor examined by inbound transactions.
Direction: OUT
Standard: OAG
Release: 7.2
Format: DTD
Detail Value
5-94 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Detail Value
Subscription R_SHOW_SALES_ORDER
Workflow (oexwfoa.wft)
See figure. Process R_SHOW_SALES_ORDER
Lookups
Lookups
Overview
The Inbound Change PO Request enables a buyer to change a purchase order and the
seller to acknowledge if the changes are accepted, rejected, or pending. Depending on
the response, the trading partner can do the following:
• Change purchase orders
• Acknowledge whether the buyer accepts the changes made by the seller
Major Features
Redistribution - Before
1 1 5
1 2 5
5-96 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Line Shipment Qty
1 3 5
1 1 7
1 2 8
1 3 0
Cancellation of a Shipment
1 1 6
1 2 5
1 3 5
1 3 0
Changes supported
Change PO supports change in the following elements:
• Bill to location
• Price
• Payment terms
• Before running Order Import (if Order Import is going to be run immediately)
OR
• If Order Import is not going to be run and is going to be run in batch mode later on
5-98 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Support For Split Lines
Order Management supports splitting of lines for multiple reasons. When the line is
split, new shipment information is created for the line and stored in Order
Management. In this case the 3A7 is sent to the buyer notifying of this change. Upon
receiving the information about the new line buyer's system sends the
acknowledgement either accepting or rejecting this new line. If the new line is accepted
by the buyer, the buyer sends the 3A8 (change PO) as a response with the new buyer
information as well as the reference for the new line sent by the seller.
If the line is rejected by the buyer, 3A8 can be sent by the buyer to cancel the split or
original line.
Error Handling
The error handling process deals with three possible types of outcomes that occur after
the order import process is run:
• Successful processing - In this case the confirmation API is called to send the
Acknowledgment out to the sender with the Accept status.
• Failed processing - This is the status when there are validation errors or data setup
errors. In this case the confirmation API is called to send the acknowledgment out
to the sender with the Reject Status.
ONT_3A8R_OAG72_IN.xgm
<CHANGE_PO_006>
<CNTROLAREA>
<BSR> Y
<VERB value=" Y
CHANGE">CHANGE
</VERB>
<NOUN value="PO"> Y
PO</NOUN>
<REVISION value=" Y
006">006</REVISION>
</BSR> Y
5-100 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
<SENDER> Y
<LOGICALID> Y
XX141HG09
</LOGICALID>
<COMPONENT>PUR Y
</COMPONENT>
<TASK>MAINT Y
</TASK>
<REFERENCEID> Y
95129945823449
</REFERENCEID>
<CONFIRMATION>1 Y
</CONFIRMATION>
<LANGUAGE>ENG Y
</LANGUAGE>
<CODEPAGE>test Y
</CODEPAGE>
<AUTHID>CMKURT< Y
/AUTHID>
</SENDER>
<YEAR>1998</YEAR> Y
<MONTH>11 Y
</MONTH>
<DAY>20</DAY> Y
<HOUR>17</HOUR> Y
<MINUTE>06 Y
</MINUTE>
<SECOND>45 Y
</SECOND>
<SUBSECOND>0000 Y
</SUBSECOND>
<TIMEZONE>-0 Y
600</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<CHANGE_PO>
<POHEADER>
Releases, it should be
Sales Agreement
PO#-Release#.
< N
NOTES>Notes</NOTE
S>
5-102 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
<USERAREA>
</USERAREA>
<PARTNER> Supplier Y
PO_VENDOR
S.VENDOR_N
AME
TIME_FLAG,'
N','0','1')
5-104 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
PO_VENDOR
S.SEGMENT1
<PARTNRTYPE> Y
Supplier
</PARTNRTYPE>
PO_VENDOR
S.PAYMENT_
CURRENCY_
CODE
V.supplier_pa
rtner_id_x
NVL(PO_VE
NDOR_SITES
_ALL_ECE_T
P_LOCATIN_
CODE,PHA.V
ENDOR_ID
<ADDRLINE index="1
">a</ADDRLINE>
<CITY>a</CITY>
<COUNTRY>a
</COUNTRY>
<DESCRIPTN>a
</DESCRIPTN>
<FAX index="1">a
</FAX>
<POSTALCODE>a
</POSTALCODE>
<STATEPROVN>a
</STATEPROVN>
<TELEPHONE index="
1">a</TELEPHONE>
</ADDRESS>
</PARTNER>
<PARTNER> Sold To Y
HR_ALL_OR
GANIZATIO
N_UNITS_TL
.NAME
5-106 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
<PARTNRTYPE>Sold Sold To
To</PARTNRTYPE>
GL_SETS_OF_
BOOKS.CURR
ENCY_
CODE
HR_LOCATI
ONS_ALL.EC
E_TP_LOCAT
ION_CODE
V.ADDRESS_
LINE_1-3
<CITY>a</CITY> HR_ORGANI
ZATION_UNI
TS_
V.TOWN_OR
_CI T Y
<COUNTRY>a PO_ECX_HE
</COUNTRY> ADER_ARCH
_V.buying_
org_country
<COUNTY>a OE_HEADER
</COUNTY> S_INTERFAC
E.INVOICE_C
OUNTY
<POSTALCODE>a HR_ORGANI
</POSTALCODE> ZATION_UNI
TS_
V.POS TAL
_CODE
<STATEPROVN>a HR_ORGANI
</STATEPROVN> ZATION_UNI
TS_
V.RE GI ON2
V.TELEPHON
E_NUMBER_
1-3
5-108 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
</ADDRESS>
</PARTNER>
HR_ALL_OR
GANIZATIO
N_UNITS_TL
.NAME
<ONETIME>a PO_ECX_HE
</ONETIME> ADER_ARCH
_V.billto_
org_otf '0
<PARTNRID>a PO_ECX_HE
</PARTNRID> ADER_ARCH
_V.partner_id
PHA.ORG_ID
<PARTNRTYPE>Bill
to</PARTNRTYPE>
<CURRENCY>a</CUR FINANCIALS
RENCY> _SYSTEM_PA
RAMS_
ALL.PAYME
NT_CURREN
CY_CODE
<COUNTY>a OE_HEADER
</COUNTY> S_INTERFAC
E.SHIP_TO_C
OUNTY
5-110 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
NUMBER_1-3
</ADDRESS>
</PARTNER>
<ONETIME>a
</ONETIME>
<PARTNRID>a
</PARTNRID>
<PARTNRTYPE>Ship
To</PARTNRTYPE>
<CURRENCY>a</CUR
RENCY>
<PARTNRIDX>a OE_HEADE
</PARTNRIDX> RS_INTERF
ACE.ship_to
_org_id
<CITY>a</CITY> OE_HEADE
RS_INTERF
ACE.SHIP_T
O_CITY
<COUNTRY>a OE_HEADE
</COUNTRY> RS_INTERF
ACE.SHIP_T
O_COUNTR
Y
<POSTALCODE>a OE_HEADE
</POSTALCODE> RS_INTERF
ACE.SHIP_T
O_POSTAL_
CODE
<STATEPROVN>a OE_HEADE
</STATEPROVN> RS_INTERF
ACE.SHIP_T
O_STATE
<TELEPHONE index="
1">a</TELEPHONE>
</ADDRESS>
5-112 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
<ONETIME>aONETI
ME>a>
<PARTNRID>aPARTN OE_HEADE
RID>a> RS_INTERF
ACE.END_C
USTOMER_
NUMBER
<PARTNRTYPE>EndP
ARTNRTYPE>End>
<CURRENCY>aCURR
ENCY>a>
<PARTNRIDX>aPART
NRIDX>a>
<ADDRESS>
<ADDRLINE OE_HEADE
index="1">aADDRLIN RS_INTERF
E index="1">a> ACE.END_C
USTOMER_
ADDRESS1-
4
<CITY>a</CITY> OE_HEADE
RS_INTERF
ACE.
END_CUST
OMER
_CITY
<COUNTRY>a</COU OE_HEADE
NTRY> RS_INTERF
ACE.
END_CUST
OMER_COU
NTRY
<COUNTY>a</COUN OE_HEADE
TY> RS_INTERF
ACE.
END_CUST
OMER_COU
NTY
<POSTALCODE>a</P OE_HEADE
OSTALCODE> RS_INTERF
ACE.
END_CUST
OMER_POS
TAL_CODE
<STATEPROVN>a</ST OE_HEADE
ATEPROVN> RS_INTERF
ACE.
END_CUST
OMER
STATE
<TELEPHONE
index="1">a</TELEPH
ONE>
</ADDRESS>
<CONTACT>
<NAME> OE_HEADE
RS_INTERF
ACE.END_C
USTOMER_
CONTACT
5-114 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
</CONTACT>
</PARTNER>
AP_TERMS.D
ESCRIPTIN
<DAYSNUM>a No mapping
</DAYSNUM> provided by
PO although
genrated XML
has these
elements.
</POTERM>
</POHEADER>
PO_LINES_A
RCHIVE_ALL
.UNIT_PRICE
<NUMOFDEC>a
</NUMOFDEC>
<SIGN>a</SIGN>
PHA.CURRE
NCY_CODE
<UOMVALUE>a</UO
MVALUE>
<UOMNUMDEC>a
</UOMNUMDEC>
<UOM>a</UOM>
</OPERAMT>
5-116 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
PO_LINES_A
RCHIVE_
ALL.QUANTI
TY
<NUMOFDEC>a
</NUMOFDEC>
<SIGN>a</SIGN>
<UOM>a</UOM>
</QUANTITY>
PO_LINES_A
RCHIVE_ALL
.ITEM_DESC
RIPTION
PO_LINES_A
RCHIVE_ALL
.ITEM_REVISI
ON
KFV.SEGME
NT1
PO_LINES_A
RCHIVE_
ALL.VENDO
R_PRODUCT
_NUM
<ITEMTYPE>a
</ITEMTYPE>
5-118 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
<USERAREA>
</USERAREA>
<SCHEDULE>
<USERAREA>
<ONETIME>a
</ONETIME>
<PARTNRID>a
</PARTNRID>
<PARTNRTYPE>Bill
to</PARTNRTYPE>
<CURRENCY>a</CUR
RENCY>
<PARTNRIDX>a OE_LINES_I
</PARTNRIDX> NTERFACE.
invoice_to_o
rg_id
<CITY>a</CITY> OE_LINES_I
NTERFACE.
INVOICE_T
O_CITY
<COUNTRY>a OE_LINES_I
</COUNTRY> NTERFACE.
INVOICE_T
O_COUNTR
Y
<COUNTY>a OE_LINES_I
</COUNTY> NTERFACE.
INVOICE_T
O_COUNTY
<POSTALCODE>a OE_LINES_I
</POSTALCODE> NTERFACE.
INVOICE_T
O_POSTAL_
CODE
5-120 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
<STATEPROVN>a OE_LINES_I
</STATEPROVN> NTERFACE.
INVOICE_T
O_STATE
<TELEPHONE index="
1">a</TELEPHONE>
</ADDRESS>
HR__ORGAN
IZATION_UN
ITS_V .NAME
<ONETIME>a
</ONETIME>
<PARTNRID>a PO_ECX_LIN
</PARTNRID> E_LOC_ARC
H_V.partner_i
d
PO_LINE_LO
CATIONS_A
RCHIVE_ALL
.ORG_ID
<CURRENCY>a</CUR
RENCY>
<ADDRESS>
<COUNTY>a OE_LINES_I
</COUNTY> NTERFACE.
SHIP_TO_C
OUNTY
5-122 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
</ADDRESS>
</PARTNER>
</USERAREA>
PO_LINE_LO
CATIONS_A
RCHIVE_ALL
.NEED_BY_D
ATE
<YEAR>1998</YEAR>
<MONTH>11
</MONTH>
<DAY>01</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINU
TE>
<SECOND>00</SECO
ND>
<SUBSECOND>0000
</SUBSECOND>
<TIMEZONE>-0600
</TIMEZONE>
</DATETIME>
5-124 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Comment/Desc Reqd Y/N Oracle OM Oracle PO
Table/Colu Table
mn /Column
OE_LINES_I (PO_LINE_LO
NTERFACE. CATIONS_A
order_quanti RCHIVE_ALL
ty_uom .QUANTITY
-PO_LINE_LO
CATIONS_A
RCHIVE_ALL
.QUANTITY_
CANCELLED
)
<VALUE>a</VALUE>
<NUMOFDEC>a
</NUMOFDEC>
<SIGN>a</SIGN>
<UOM>a</UOM>
</QUANTITY>
<DESCRIPTN>
</SCHEDULE>
</POLINE>
</CHANGE_PO>
</DATAAREA>
</CHANGE_PO_006>
5-126 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Order Import Flow - Generic
Message Details
This table describes the data types and fields in the DTD used by the message map. The
message map may remove used fields so that empty data tags are neither generated for
outbound transactions nor examined by inbound transactions.
ONT_3A8R_OAG72_IN.xgm
Direction: Inbound
5-128 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
(Internal) Transaction Subtype: CHO
Standard: OAG
Release: 7.2
Format: DTD
Tag Category
H.ORDER_SOURCE_ID 20
H.XML_TRANSACTION_TYPE_CODE 'CHO'
L.ORDER_SOURCE_ID 20
L.ORIG_SYS_DOCUMENT_REF H.ORIG_SYS_DOCUMENT_REF
L.XML_TRANSACTION_TYPE_CODE 'CHO'
Derived Columns
H.CREATED_BY FND_GLOBAL.USER_ID
H.CREATION_DATE SYSDATE
H.LAST_UPDATED_BY FND_GLOBAL.LOGIN_ID
H.LAST_UPDATE_DATE SYSDATE
H.LAST_UPDATE_LOGIN FND_GLOBAL.USER_ID
5-130 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Derived Columns Source of Data, and Condition (if any)
L.CHANGE_SEQUENCE H.CHANGE_SEQUENCE
L.CREATED_BY FND_GLOBAL.USER_ID
L.CREATION_DATE SYSDATE
L.LAST_UPDATED_BY FND_GLOBAL.LOGIN_ID
L.LAST_UPDATE_DATE SYSDATE
L.LAST_UPDATE_LOGIN FND_GLOBAL.LOGIN_ID
Detail Value
Subscription R_OEOI_ORDER_IMPORT
Extension Tags
Order Management added the following tags as extensions on the Process PO XML
documents sent to OM:
$ont/xml/oag72/oagis_extensions.dtd
<!ELEMENT FTTERM (DESCRIPTN?, TERMID?)>
<!ELEMENT FOB (DESCRIPTN?, TERMID?)>
<!ELEMENT OPERATION %STRDOM;>
<!ELEMENT ORGID %STRDOM;>
<!ELEMENT USERITEMDESCRIPTN %STRDOM;>
<!ELEMENT ORACLE.CHANGESEQUENCE %STRDOM;>
<!ELEMENT ORACLE.BOOKEDFLAG %STRDOM;>
<!ELEMENT ORACLE.SUPPLIERDOCREF %STRDOM;>
<!ELEMENT ORACLE.SUPPLIERLINEREF %STRDOM;>
<!ELEMENT ORACLE.SUPPLIERSHIPMENTREF %STRDOM;>
<!ELEMENT ORACLE.SPLITFROMLINEREF %STRDOM;>
<!ELEMENT ORACLE.SPLITLINE %STRDOM;>
$ont/xml/oag72/oagis_entity_extensions.dtd
Added the following tags:
<!ENTITY % DATETIME.EXCHRATEDATE "DATETIME">
Change <!ENTITY % SEG_DATETIME_QUALIFIERS_EXTENSION "OTHER"> to
<!ENTITY % SEG_DATETIME_QUALIFIERS_EXTENSION "OTHER |
EXCHRATEDATE">
$ont/xml/oag72/oagis_extensions.dtd
Added the following tags:
<!ELEMENT PAYMMETHOD (DESCRIPTN?, TERMID?)>
<!ELEMENT CREDTCRD (CARDID?,NAME?,(%DATETIME.EXPIRATION;)?)>
5-132 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<!ELEMENT STARTACTIVEDATE %STRDOM;>
<!ELEMENT ENDACTIVEDATE %STRDOM;>
<!ELEMENT CATEGORYID %STRDOM;>
<!ELEMENT REVISIONNUM %STRDOM;>
<!ELEMENT ATTACHMENT (TEXT?)>
<!ELEMENT EXCHRATE %STRDOM;>
<!ELEMENT CONFIRM %STRDOM;>
<!ELEMENT PCARDHDR
(MEMBERNAME?,PCARDNUM?,(%DATETIME.EXPIRATION;)?,PCARDBRAND?)><!
ELEMENT MEMBERNAME %STRDOM;>
<!ELEMENT PCARDNUM %STRDOM;>
<!ELEMENT PCARDBRAND %STRDOM;>
<!ELEMENT CUSTOMERNUM %STRDOM;>
<!ELEMENT REQUESTOR %STRDOM;>
<!ELEMENT CONTRACTPONUM %STRDOM;>
<!ELEMENT CONTRACTPOLINENUM %STRDOM;>
<!ELEMENT VENDORQUOTENUM %STRDOM;>
<!ELEMENT LISTPRICE %STRDOM;>
<!ELEMENT MARKETPRICE %STRDOM;>
<!ELEMENT PRICENOTTOEXCEED %STRDOM;>
<!ELEMENT NEGPRICE %STRDOM;>
<!ELEMENT TAXABLE %STRDOM;>
<!ELEMENT TXNREASONCODE %STRDOM;>
<!ELEMENT TYPE1099 %STRDOM;>
<!ELEMENT LINEORDERTYPE %STRDOM;>
<!ELEMENT HAZRDUNNUM %STRDOM;>
<!ELEMENT HAZRDUNDESC %STRDOM;>
<!ELEMENT PRICEOVRRD %STRDOM;>
<!ELEMENT DISTPROJECT
(REQUESTOR?,DISTNUM?,PROJECTNUM?,PROJECTTYPE?,TASKNUM?,(%QUANTI
TY.ORDERED;)?,CONVRATE,(%DATETIME.EXCHRATEDATE;)?,DESTTYPE?,DFFDI
STRIBUTN?)>
<!ELEMENT PROJECTNUM %STRDOM;>
<!ELEMENT DISTNUM %STRDOM;>
5-134 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<!ELEMENT ATTRIBUTE3 %STRDOM;>
<!ELEMENT ATTRIBUTE4 %STRDOM;>
<!ELEMENT ATTRIBUTE5 %STRDOM;>
<!ELEMENT ATTRIBUTE6 %STRDOM;>
<!ELEMENT ATTRIBUTE7 %STRDOM;>
<!ELEMENT ATTRIBUTE8 %STRDOM;>
<!ELEMENT ATTRIBUTE9 %STRDOM;>
<!ELEMENT ATTRIBUTE10 %STRDOM;>
<!ELEMENT ATTRIBUTE11 %STRDOM;>
<!ELEMENT ATTRIBUTE12 %STRDOM;>
<!ELEMENT ATTRIBUTE13 %STRDOM;>
<!ELEMENT ATTRIBUTE14 %STRDOM;>
<!ELEMENT ATTRIBUTE15 %STRDOM;>
<!ELEMENT ATTRIBUTE16 %STRDOM;>
<!ELEMENT ATTRIBUTE17 %STRDOM;>
<!ELEMENT ATTRIBUTE18 %STRDOM;>
<!ELEMENT ATTRIBUTE19 %STRDOM;>
<!ELEMENT ATTRIBUTE20 %STRDOM;>
<!ELEMENT TANDC %STRDOM;>
<!ELEMENT GLOBALCONTRACT %STRDOM;>
<!ELEMENT GLOBALCONTRACTLIN %STRDOM;>
<!ELEMENT CONSIGNEDINV %STRDOM;>
<!ELEMENT DROPSHIPDETAILS (DROPSHIPMENT?, DROPSHIPCUSTNAME?,
SHIPINSTR?, PACKINSTR?, SHIPMETHOD?, CUSTOMERPONUM?,
CUSTOMERLINENUM?, CUSTOMERSHIPNUM?, CUSTOMERDESC?)>
<!ELEMENT DROPSHIPMENT %STRDOM;>
<!ELEMENT DROPSHIPCUSTNAME %STRDOM;>
<!ELEMENT SHIPINSTR %STRDOM;>
<!ELEMENT PACKINSTR %STRDOM;>
<!ELEMENT SHIPMETHOD %STRDOM;>
<!ELEMENT CUSTOMERPONUM %STRDOM;>
<!ELEMENT CUSTOMERLINENUM %STRDOM;>
<!ELEMENT CUSTOMERSHIPNUM %STRDOM;>
Overview
The Cancel Purchase Order message is used by the buyer to cancel a purchase order
that was previously created by the buyer. This is an inbound message from buyer to the
seller. Cancellation of the individual lines is allowed using this message. Cancellation of
the PO follows same rules for canceling a purchase order that currently exist in Order
Management. Partial cancellations of the line is allowed.
An Acknowledgement is sent to the buyer when the Cancel_PO message is consumed
by Order Management. Either an Accept or Reject status for the Cancel_PO request by
the buyer will be sent. The Acknowledge PO message is used for the acknowledgement
for the inbound Cancel_PO message.
Major Features
Consume the Cancel_PO Message Coming Inbound From Purchasing
Oracle Order Management consumes the Cancel_PO message inbound from
Purchasing, thereby canceling the Purchase order previously entered. The whole
purchase order is cancelled due to this inbound message. Cancellation of the individual
lines is allowed.
Cancellation of the PO should follow same rules for canceling a purchase order that
currently exist in Order Management. Partial cancellations of the line are allowed.
For example – If the order Qty is 10 on the original order and Cancel_PO comes in with
the order Qty of 6. After processing the transaction, the Order Qty of the order will
become 6 thereby cancelling 4 out of original Qty.
See Table, "Message Map Details" for the details and mapping of this message.
5-136 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
from Order Management must be sent indicating that the purchase order deletion
cannot be completed at this time and has been rejected.
Error Handling
See figure on the Error Handling Process.
• Failed processing - This will be the status when there are validation errors or data
setup errors. In this case the acknowledgment will be sent out to the sender with the
'Reject 'status.
4. A CBOD is generated based on the Confirm flag in the message or the trading
partner setup. See: Generate Confirm BOD (CBOD)
5. The seeded Order Management Workflow will receive this event and start the
Cancel Flow.
5-138 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
6. Order import is used to process the message. The Order Management Module
accepts the message based on set rules and tolerances previously agreed upon
between the trading partners. The customer order is Cancelled.
7. The Order Management Inbound Workflow will then raise an event that will be
subscribed by the Outbound Workflow, and in turn will generate the data for the
OAG Acknowledge PO.
CONFIRM BOD
Upon receipt of an inbound XML document such as a Process_PO or Cancel_PO, Order
Management has implemented the outbound OAG Confirm BOD message to signal the
successful receipt of data.
Major features of this transaction are as follows:
• This message contains information about the inbound XML message received, as
well as the status and description of the inbound message received.
• Unlike the Acknowledge PO message, the Confirm BOD is sent before Order
Import is run – it is purely a confirmation.
Message Map
Most data values in the message map are seeded.
Note: Maps and DTD's must be kept in sync between the Message
Designer and the XML Gateway repository. When in doubt, always
reload the map and DTD as a pair.
5-140 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Cancel_PO Message Map
OE_LINES_IN
TERFACE (L)
<CANCEL_PO_006
>
<CNTROLAREA>
<BSR>
<VERB>CANCEL</
VERB>
<NOUN>PO</NO
UN>
<REVISION>006</
REVISION>
</BSR>
<SENDER>
<LOGICALID>XX1
41HG09</LOGICA
LID>
<COMPONENT>P
UR</COMPONEN
T>
<TASK>MAINT</T
ASK>
OE_LINES_IN
TERFACE (L)
<REFERENCEID>9
5129945823449</RE
FERENCEID>
<CONFIRMATION
>1</CONFIRMATI
ON>
<LANGUAGE>EN
G</LANGUAGE>
<CODEPAGE>test<
/CODEPAGE>
<AUTHID>CMKU
RT</AUTHID>
</SENDER>
<DATETIME
qualifier="CREATI
ON">
<YEAR>1998</YEA
R>
<MONTH>11</MO
NTH>
<DAY>21</DAY>
<HOUR>16</HOU
R>
5-142 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Code Default Value
or Comment Table/Column Reqd Convers
ion
Target: Yes or Needed
OE_HEADERS No (Y/N) Y/N
_INTERFACE
(H)
OE_LINES_IN
TERFACE (L)
<MINUTE>46</MI
NUTE>
<SECOND>45</SE
COND>
<SUBSECOND>000
0</SUBSECOND>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<CANCEL_PO>
Source
CANCEL_PO
<POHEADER>
POID H.CUSTOMER Y
_PO_NUMBER
SITELEVEL Y
<USERAREA>
OE_LINES_IN
TERFACE (L)
< PARTNER>
PARNTRTYPE
(SoldTo)
</PARTNER>
<ORACLE.CHAN H.CHANGE_S
GESEQUENCE> EQUENCE
<ORACLE.SUPPLI H.ORIG_SYS_
ERDOCREF> DOCUMENT_
REF
</USERAREA>
5-144 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Code Default Value
or Comment Table/Column Reqd Convers
ion
Target: Yes or Needed
OE_HEADERS No (Y/N) Y/N
_INTERFACE
(H)
OE_LINES_IN
TERFACE (L)
Get H.ORDER_SO Y 20
Pre-Defined URCE_ID
Variable
Value.
H.XML_TRAN Y CPO
SACTION_TY
PE_CODE
</POHEADER>
<POLINE>
POLINENUM L.CUSTOMER Y
_LINE_NUMB
ER
<USERAREA>
<ORACLE.SUPPLI L.ORIG_SYS_L
ERLINEREF> INE_REF
</USERAREA>
<SCHEDULE>
OE_LINES_IN
TERFACE (L)
</QUANTITY>
PSCLINENUM L.CUSTOMER Y
_SHIPMENT_
NUMBER
5-146 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OAG Element Description Oracle OM OAG Code Default Value
or Comment Table/Column Reqd Convers
ion
Target: Yes or Needed
OE_HEADERS No (Y/N) Y/N
_INTERFACE
(H)
OE_LINES_IN
TERFACE (L)
Get L.ORDER_SO Y 20
Pre-Defined URCE_ID
Variable
Value.
L.ORG_ID Y
L.XML_TRAN Y CPO
SACTION_TY
PE_CODE
<USERAREA>
<ORACLE.SUPPLI L.ORIG_SYS_S
ERSHIPMENTREF HIPMENT_RE
> F
</USERAREA>
</SCHEDULE>
</POLINE>
</CANCEL_PO>
</DATAAREA>
OE_LINES_IN
TERFACE (L)
</CANCEL_PO_00
6>
Cancel Reason Code: The cancel reason code is not mandatory for OAG
while it is mandatory for Order Management's column. If the reason
code is not sent by customer Order Management defaults it to No
Reason Provided. This is seeded in Cancel_code lookup codes
(OE_LOOKUP) as part of installation on Cancel_PO. The reason codes
populated by the customer must be valid lookup codes in Cancel_Code
lookup code.
5-148 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Raise Send CBOD Out Sub Process
Name Description
Direction: Inbound
5-150 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Name Description
Standard: OAG
Release: 7.2
Format: DTD
For the next three tables, refer to Table, "Message Map Details".
Column Description
Defaulted Columns
H.OPERATION_CODE UPDATE'
H.ORDER_SOURCE_ID 20
H.XML_TRANSACTION_TYPE_CODE 'CPO'
L.OPERATION_CODE 'UPDATE'
L.ORDER_SOURCE_ID 20
L.ORIG_SYS_DOCUMENT_REF H.ORIG_SYS_DOCUMENT_REF
L.XML_TRANSACTION_TYPE_CODE 'CPO'
Derived Columns
H.CREATED_BY FND_GLOBAL.LOGIN_ID
H.CREATION_DATE SYSDATE
H.LAST_UPDATED_BY FND_GLOBAL.LOGIN_ID
H.LAST_UPDATE_DATE SYSDATE
L.CREATED_BY FND_GLOBAL.LOGIN_ID
L.CREATION_DATE SYSDATE
L.LAST_UPDATED_BY FND_GLOBAL.LOGIN_ID
L.LAST_UPDATE_DATE SYSDATE
5-152 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Derived Columns Source of Data, and Condition (if any)
Detail Value
Subscription R_OEOI_ORDER_IMPORT
Extension Tags
The following changes were made by Procurement as extensions on the XML
documents sent to Order Management.
• $ont/xml/oag72/oagis_entity_extensions.dtd
Add the following tags:
<!ENTITY % DATETIME.EXCHRATEDATE "DATETIME">
Change <!ENTITY % SEG_DATETIME_QUALIFIERS_EXTENSION "OTHER"> to
<!ENTITY % SEG_DATETIME_QUALIFIERS_EXTENSION "OTHER |
EXCHRATEDATE">
$ont/xml/oag72/oagis_extensions.dtd
Add the following tags:
<!ELEMENT PAYMMETHOD (DESCRIPTN?, TERMID?)>
<!ELEMENT CREDTCRD (CARDID?,NAME?,(%DATETIME.EXPIRATION;)?)>
<!ELEMENT STARTACTIVEDATE %STRDOM;>
<!ELEMENT ENDACTIVEDATE %STRDOM;>
5-154 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<!ELEMENT PROJECTTYPE %STRDOM;>
<!ELEMENT TASKNUM %STRDOM;>
<!ELEMENT CONVRATE %STRDOM;>
<!ELEMENT DESTTYPE %STRDOM;>
<!ELEMENT DFFPOHEADER
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT
DFFVENDORSITE(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,A
TTRIBUTE5?,ATTRIBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIB
UTE10?,ATTRIBUTE11?,ATTRIBUTE12?,ATTRIBUTE13?
,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE16?)>
<!ELEMENT DFFVENDOR
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?,ATTRIBUTE10?,ATTRIBUT
E11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,ATTRIBUTE15?,ATTRIBUTE
16?)>
<!ELEMENT DFFLINE
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?
,ATTRIBUTE10?,ATTRIBUTE11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,
ATTRIBUTE15?,ATTRIBUTE16?)>
<!ELEMENT DFFITEM
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?
,ATTRIBUTE10?,ATTRIBUTE11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,
ATTRIBUTE15?,ATTRIBUTE16?)>
<!ELEMENT KFFITEM
(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,ATTRIBUTE5?,ATTR
IBUTE6?,ATTRIBUTE7?,ATTRIBUTE8?,ATTRIBUTE9?
,ATTRIBUTE10?,ATTRIBUTE11?,ATTRIBUTE12?,ATTRIBUTE13?,ATTRIBUTE14?,
ATTRIBUTE15?,ATTRIBUTE16?,ATTRIBUTE17?,ATTRIBUTE18?,ATTRIBUTE19?,
ATTRIBUTE20?)>
<!ELEMENT
DFFDISTRIBUTN(ATTRIBUTE1?,ATTRIBUTE2?,ATTRIBUTE3?,ATTRIBUTE4?,AT
Overview
The two main categories that comprise messages are Electronic Data Interchange (EDI)
5-156 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
flat files and Open Applications Group (OAG) XML. The Open Interface Tracking form
provides a unified view of Order Management's EDI and XML messages.
You can obtain the history of messages or delete historical records using a purge
procedure. The form provides you with the current status and a textual message
pertaining to processing of that message, or if using Oracle Workflow, you can view the
diagram. Similarly, for XML messages, you can view the XML document. You can
determine the specific outbound message (if any) triggered by a particular inbound
message and vice versa.
This functionality will impact Order Import and the EDI/XML transaction processing.
Both Order Import of closed orders and HVOP are not supported.
Order Management's Business Event System (BES)-based mechanism for other products
(such as the Supply Chain Trading Connector module) captures and records the
transaction history as XML messages exchanged between trading partners. The same
mechanism has been extended to include other electronic messages and to make this
information available via the form.
Major Features
Purge Procedure
You can purge the tracking data using a concurrent program. This concurrent program
can also be used to purge the interface or acknowledgment tables.
INBOUND
1. For EDI/XML, the inbound Electronic Message is consumed using the appropriate
Gateway and the Order Management Open Interface tables are populated. A record
is created for this message with the information that data has been entered into the
interface tables.
2. If the Electronic Message is processed using a workflow (i.e. for XML messages),
then the record is updated with information regarding the current workflow status
as the flow proceeds.
3. If Order Import (EDI/XML or standard) is run on the data, the record for the
message is updated with information regarding the completion of Order Import.
OUTBOUND
1. Outbound EDI/XML Electronic Messages are generated via a concurrent program
or when a business event is raised or when certain pre-determined attributes of the
order are updated. When the triggering condition occurs, a record is created for this
message with the information that the outbound Electronic Message will be
generated.
2. If the Electronic Message is processed using a workflow (i.e. for XML messages),
then the record is updated with information regarding the current workflow status
as the flow proceeds.
3. When the appropriate Gateway generates and transmits the outbound Electronic
Message, the record is updated with the information that the message has been
sent.
Messages
This table is for any form-related messages that are seeded.
5-158 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Form Related Messages That Are Seeded
Code Meaning
Profile Options
Profile Options
Status Message
Status Message
Status Message
5-160 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Outbound EDI Messages
Status Message
Status Message
Event/Event Subscription
The following event oracle.apps.ont.oi.xml_int.status is seeded
The following event subscription to the above event will also be seeded:
Event Parameters
The event oracle.apps.ont.oi.xml_int.status will contain the following parameters:
TRADING_PARTNER_TYPE 'C'
TRADING_PARTNER_ID TP Party ID
ORG_ID Organization ID
5-162 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name Parameter Description Comments
SOLD_TO_ORG_ID Customer ID
'OUTBOUND_SENT'.
Not every parameter will be populated in all cases. The following table contains a Y if a
particular parameter is populated
Populated Parameters
5-164 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name INBOUND - Parameter OUTBOUND - Parameter
Populated (Electronic Populated (Electronic
Message Types) Message Types)
The following table maps the value of the event parameter PROCESSING_STAGE to the
message text for that stage:
Processing_Stage
5-166 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Y Import mode "Process PO –
(PRE_IMPORT) Order Import
will be run in
Asynchronous
mode"
"Process PO –
Order Import
will be run in
Synchronous
mode"
"Acknowledge
PO – Setup
validation failed"
"EDI
Acknowledgmen
t values derived"
"855 POAO
message has
been sent"
5-168 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
6
Oracle Order Management EDI Transactions
• Integration Repository for more information on the extensible EDI APIs: Purchase
Order Acknowledgments Extension Columns API and Purchase Order Change
Acknowledgments Extension Columns API.
6-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
or column rule exceptions are detected, the Oracle e-Commerce Gateway import
program will write the transaction to the Order Management Open Interface tables to
be processed by the Order Management Open Interface API.
TEST_INDICATOR 0010 20 T or P
6-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Order Import
Flags
There are several flags in the interface tables of Order Management that affect the Order
Import processing. Valid values of these flags are Y, N, and null. Null means different
things depending on the particular flag. The Order Import process sets the defaults if a
code is not found in the transaction. These flags are: Booked, Cancelled, Closed, Error,
Ready, Rejected.
Most of the flag data elements are not activated on the transaction, since the defaults are
usually adequate. Their data elements are listed at the end of the activated data
elements in the Transaction Definition window.
• Data derived or hard codes by the POI Program given the trading partner or the
presence of data in the transaction.
• Data derived by the Order Import process when it calls APIs to the Oracle tables.
6-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
7
Oracle Order Management Open Interfaces
and APIs
Overview
You must manually submit the Order Import Statistics concurrent program prior to
submitting the Order Import concurrent program if you wish to optimize interface
record processing.
Order Import, like the rest of Oracle Applications, uses the Cost Based Optimizer of the
database for optimizing queries. The Cost Based Optimizer uses generated statistical
information to optimize queries. The Order Import Statistics concurrent program
gathers statistics that will be used by the cost based optimizer. This concurrent program
should be run after data is populated into the interface tables.
See: Order Import Concurrent Program.
Order Import is an Order Management Open Interface that consists of open interface
tables and a set of APIs. Order Import can import new, change, and completed sales
orders or returns from other applications such as a legacy system. You can also import
cancelled , closed and booked orders. The orders may come from any source such as
EDI transactions that are processed by the Oracle e-Commerce Gateway or internal
orders created for internal requisitions developed in Oracle Purchasing or returns.
Order Import features include validation and defaulting, processing constraint checks,
applying and releasing of order holds, scheduling of shipments, then ultimately
inserting, updating or deleting the orders in the base Order Management tables. Order
Management checks all the data during the import process to ensure its validity within
• Define and enable your Order Import sources using the Order Import Sources
window.
• Determine if you should submit the Order Import Statistics concurrent program.
7-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
and bill of material structures.
Profile Options
• OM: Apply Automatic Attachments--This profile option determines whether
rule-based attachments are applied without user intervention.
• OM: AutoSchedule-- This profile decides whether the order line should be
automatically scheduled or not.
• OM: Authorized to Override ATP-- This profile provides the authorization to users to
override the scheduling results.
• OM: Import Multiple Shipments-- This profile option is used to import multiple
shipments via Order Import. If this profile option is set to Yes, the
orig_sys_shipment_ref will also be used in determining the uniqueness of the line
record in combination with order_source_id, orig_sys_document_ref and
orig_sys_line_ref.
• OM: Unique Order Source, Orig Sys Document Ref Combination for Each Customer--
This profile determines whether or not customer information will be utilized to
distinguish orders with the same reference information.
Customer Relationships
Site Level Customers and Sites for Bill_To, Ship_To and Deliver_To will be validated
based on the Customer Relationships profile.
This parameter has three setting:
Single Customer: Site Can only belong to the Sold to Customer. The Site level Customer
cannot be different than the Sold to Customer.
Related Customers: Site Can only belong to the Sold to Customer or a Customer Related
to the Sold To Customer . The Site level Customer can be different than the Sold to
Customer but the relationship should exist between the site level customer and the Sold
to Customer.
All Customers: Site Can only belong to the Sold to Customer or any other Customers.
The Site level Customer can be different than the Sold to Customer and it is not
required that relationship should exist between the site level customer and the Sold to
Customer.
When checking for relationship we also check the appropriate usage in the Relationship
also.
For example, customer "A" can be a valid related BillTO customer to Customer "B," only
if the relationship exists and the bill_to_Flag is checked in the relationship.
Similarly for ShipTO and Deliver_to we check the Ship_To flag.
Add Customer
Order Management provides the capability to add a new customer, the address and
contacts using Order Import. The table OE_CUSTOMER_INFO_IFACE_ALL needs to
be populated for this.
Based on the data available in the OE_HEADERS_IFACE_ALL the data from the table
OE_CUSTOMER_INFO_IFACE_ALL is processed to add a new customer. This table
can also be used to import a new address only or contact information of an existing
Customer.
The link between the header interface record and the customer interface record is made
through the column CUSTOMER_INFO_REF of the table
OE_CUSTOMER_INFO_IFACE_ALL and any one the columns mentioned below. The
link depends on the CUSTOMER_INFO_TYPE_CODE. When the order import is used
to create a new customer ( new account/address/contact etc ), the
7-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CUSTOMER_INFO_TYPE_CODE should be either ('ACCOUNT', 'ADDRESS', or
'CONTACT') to denote the type of information in the record. The following table
explains the relationship between the various header interface table columns and the
column CUSTOMER_INFO_TYPE_CODE and the usage of the combination.
OE_HEADERS_IFACE_ALL
The value of the profile option 'Automatic Customer Numbering' and 'Automatic Site
Numbering' from the AR System Options are also important. If the flags are unchecked
in the option, then the following fields of the table OE_CUSTOMER_INFO_IFACE_ALL
must have a not null value.
CUSTOMER_NUMBER if Automatic Customer Numbering is unchecked
LOCATION_NUMBER if Automatic Site Numbering is unchecked
Order Import will respect the setting of the OM System Parameter – Customer
Relationships (Setup=>Parameters) and create customer-to-customer relationships if
needed and allowed. The parameter values will be interpreted as follows:
• Customer Relationships = 'Single Customer'
The Ship_To, Deliver_To and Bill_To addresses must belong to the Sold_To
customer on the order. If an attempt is made to import an order with a Bill_To,
Deliver_To or Ship_To from a different customer than the Sold_To, Order Import
will raise an error and the order will not be imported.
7-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Architecture)
Importing an order using a new Customer information will require you to add and also
to remove some data from the headers interface table depending on the kind of
information being imported. For example if a customer account alone is to be imported
then the Orig_Sys_Customer_Ref needs to be populated and the
sold_to_org/sold_to_org_id should be populated as null.
The some or all of the following data is to be populated in oe_headers_iface_all table,
• Orig_Sys_Customer_Ref
• Orig_Ship_Address_Ref
• Orig_Bill_Address_Ref
• Orig_Deliver_Address_Ref
• Sold_to_Contact_Ref
• Ship_to_Contact_Ref
• Bill_to_Contact_Ref
• Deliver_to_Contact_Ref
And some or all of the following data needs to be removed from the
oe_headers_iface_all tables depending upon the information being imported.
• sold_to_org / sold_to_org_id
• invoice_to_org / invoice_to_org_id
• ship_to_org / ship_to_org_id
• IS_BILL_TO_ADDRESS,
These take the values 'Y,' 'N' or null. So if the particular record needs to be only a bill to
address, then the IS_BILL_TO_ADDRESS should be set as 'Y' and the rest as 'N' or null.
If the same address needs to be Bill to , ship to and deliver to Address then the flag
should be set as 'Y' against all the three columns.
The link between the Account record and the address or contact record is through the
column PARENT_CUSTOMER_REF. This should be populated in the address or
contact record with the CUSTOMER_INFO_REF of the account record. For example, if
the CUSTOMER_INFO_REF in the record with the CUSTOMER_INFO_TYPE_CODE as
'ACCOUNT' is 'XXXX' then the PARENT_CUSTOMER_REF for the record with the
CUSTOMER_INFO_TYPE_CODE as 'ADDRESS' or 'CONTACT' should be 'XXXX.'
Defaulting Rules
You can setup your defaulting rules which allow you to default columns in the same
way as for orders entered online. You can pass the column value Null to Order Import
if you want the defaulting rules to populate the column. However, if the column is
defined as Not Null or Mandatory column and the defaulting rules fail to default the
column, for any reason, Order Import displays an error message without importing the
order.
Returns
Returns can be imported like a regular sales order. Order Management utilizes
workflow activities to import returns.
7-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Use an order category of RETURN or MIXED for the Order Header record.
• Line_type _id is optional, provided a default line_type has been defined for the
specified Order Type.)
• Additionally, you will need to populate the column reason_code for all return
lines. Valid values are those values defined for the Order Management
QuickCode CREDIT_MEMO_REASON.
• You can send the ordered_quantity as a negative on the line record and the line
will be treated/created as an RMA line.
Creation of a Referenced RMA (if you want to return an existing outbound line)
If you create a referenced RMA, you should copy the Header Record for the return from
the referenced Order header record, modifying the Order Type to category RETURN or
MIXED (order_type_id from oe_transaction_types_all).
For the Order Line record, populate the following attributes only:
line_category_code: RETURN
1. return_context: ORDER
4. calculate_price_flag: Set it to P if you want to retain the original price, the flag to Y
if you want to reprice the RMA line.
7. For sales credit info please populate the header_level/line level sales credits details
from the referenced order.
Import Types
The following enable you to import orders of various kinds.
Configurations
Order Management enables you to import ATO and PTO configurations. For EDI
orders, you can import valid and invalid configurations; however, you will not be able
to book orders with invalid configurations. Top model line reference needs to be
populated for all lines including the model.
Note: If the same option appears more than twice in the BOM of the
model, the component_code is used in the interface table to resolve the
ambiguity. If only the option line is sent without a class line, then the
system will derive and populate the class lines in the order.
Changes
You can import changes to orders that have been imported by passing all changed data
through Order Import. You can update or delete orders, order lines, price adjustments,
and sales credits. You can use change sequence numbers to control the sequence of
changes you want to make to orders. You can also split lines using Order Import.
Order Status
You can import new, booked, cancelled or closed orders. If an order is imported with an
entry status of Booked (OE_HEADERS_IFACE_ALL.BOOKED_FLAG=Y) the result
after import is that a Action Request of BOOK_ORDER is initiated. You may also pass
the Action Request to BOOK_ORDER; both methods are supported.
Order Import ensures that all required fields for entry or booking are validated
appropriately as the orders are imported. Order Import imports the order in as Entered
and attempts to book it. If any of the required fields for a booked order are not
supplied, Order Management retains the order in the Entered status and notifies you of
the error.
Line Sets
You can import grouped order lines, called sets, based on certain common attributes for
a new or existing order. You can also add a line to an existing set. You will need to
provide the set ID or name in the Order Import tables. If that set already exists, the line
7-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
will be included in the set. However, if the set does not already exist, a new set will be
created and the line will be added to the set. In addition, if any line attribute, which is
also a set attribute, does not match with the set attribute value, the set attribute value
will overwrite the line attribute.
User Procedures
• Populate the Order Import Header Interface tables with Header Information
• Populate the Order Import Line Interface tables with Line Information
• There are three requirements Add the line to a Specified fulfillment Set (ADD) and
Remove the line from specified fulfillment Set (REMOVE) and Move the line to
new fulfillment set.
• Populate the Actions Interface table with Action code and Fulfillment set Name.
Example 1
1000 F1
2000 F2, F3
For adding, removing and moving lines from multiple fulfillment the following steps
can achieve sets.
Populate Order Import Lines Interface Table.
1000 UPDATE
2000 UPDATE
Example 3
1000 ADD_FULFILLMENT_SET F3
1000 REMOVE_FULFILLMENT_S F1
ET
2000 ADD_FULFILLMENT_SET F4
2000 REMOVE_FULFILLMENT_S F2
ET
2000 ADD_FULFILLMENT_SET F5
After Order import the lines in the Order Lines table OE_ORDER_LINES_ALL
Example 4
1000 F3
Workflows
You can import an order within any valid order workflow activity. The order must be at
the initial activity of Entered, Booked, or Closed. Orders imported using Order Import
cannot be in the middle of a workflow activity.
7-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Manual and Automatic Pricing
You can indicate whether you want to manually enter prices for imported orders or
allow Order Management to automatically price the order. You can use automatic
pricing or manual pricing for your imported orders. If you want to use automatic
pricing, you should set the column OE_LINES_INTERFACE.CALCULATE_PRICE_
FLAG to Y, and define all your pricing setup including discounts, promotions,
surcharges, free goods, etc. in Oracle Pricing and Order Management. However, if you
want to use the manual pricing, you should set the column OE_
LINES_INTERFACE.CALCULATE_PRICE_FLAG to N. In this case, you should define
all your discounts as line level, overridable, and not automatic.
Pricing Agreements
You can specify an agreement name if you want to order against a specific customer
agreement for an order or order line.
Scheduling
Order Import enables you to reserve orders as they are imported, using the same rules
as online order entry. If the scheduling request is unsuccessful on an imported order,
the order import fails, and the scheduling exceptions can be viewed in the Error
Messages of the Order Import Corrections window. You can use Schedule, Unschedule,
Reserve or Unreserve as values for scheduling actions.
To override the line, Schedule Ship Date or Arrival Date has to be populated on the line
record. The dates populated are based on the Ordered Date Type. If the Ordered Date
Type is 'Ship' then populate the ship date otherwise populate the Arrival Date.
Validations
Credit Checking
Order Management performs credit checking on all imported orders or changes,
according to the credit checking rules you have defined in Order Management.
Defaulting Rules
You can pass the column value Null to Order Import if you want the defaulting rules to
populate the column. However, if the column is defined as Not Null or Mandatory
column and the defaulting rules fail to default the column, for any reason, Order Import
displays an error message without importing the order.
Price Comparisons
Order Import performs a price comparison on your imported orders. For example, if
you provide a selling price and also want the system to calculate a price, Order Import
warns you of the differences, if any, between the two prices as discrepancies. The
warning can be viewed in the Error Message window of the Order Import Corrections
window.
If there is a difference between your selling price and the system calculated price, Order
Import raises a warning of the difference. Order Import saves your customer-provided
value for the selling price in a column on the order line table, so you can have visibility
to what your customer sent in.
Note: You cannot copy or interface an order line having a price list with
a currency code different from the existing or newly created order
header's currency code. If you click the Error button, error messages are
displayed.
7-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Processing Constraints
Order Import checks the processing constraints you have defined in Order Management
to assure that any operation such as insert, update, cancel, split and delete are
acceptable by your security standards. Order Import displays an error message if it
encounters a processing constraint that has been violated.
Corrected Data
Once the data is corrected, the ERROR_FLAG for the record is updated to N. You can
set the REJECT_FLAG to Y for headers and line in case your data cannot be corrected by
using the Order Import Corrections window.
Request Submission
You can submit a request by selecting Order Import Request. You can run the Order
Import process in the validation-only mode.
This mode allows the transaction to be validated against all the Order Management
rules but not pass valid transactions to the base Order Management tables. If you
choose you can run production transactions in validation-only mode for a preview of
exceptions. Make necessary corrections to the transactions in the Order Import window,
then choose the Validate button to perform a validation check. The validation-only
mode may also facilitate testing of transactions through Order Import even in a
production environment to take advantage of all the setup is the production
environment.
Parameters
The Order Import program provides the following parameters:
• Operating Unit
By default Order Import processes records with no Org ID specified, when you run
Order Import and specify your default Operating Unit or if the Operating Unit
parameter is left blank. The records will be processed for your default Operating
Unit. However Order Import is more efficient if you explicitly populate the Org ID
on the interface table records and set the hidden parameter Process Orders with no
• Order Source
Choose a specific Order Import source that you have defined in the Order Import
Sources window so that only records with that source are processed, or leave this
parameter blank so that all enabled sources are processed for data existing in the
interface tables.
• Order References
You can enter the System Document Reference if you want to run Order Import for
a specific order.
• Customer Number
You can optionally specify a Customer Number so that only records with the
7-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Sold_To_Org_Id or Sold_To_Org corresponding to the Customer Number are
deleted.
• Order Source
You can optionally specify an Order Import source that you have defined in the
Order Import Sources window so that only records with that source are deleted.
Buttons
• Lines: Displays line level information for orders.
• Validate: Validates the data but does not import it. Only the selected orders will be
validated and performed online.
• Import: Imports the orders. The data is validated before being imported. If an error
is encountered while importing, the order will be rejected and the error messages
can be viewed by choosing the Errors button. Only the selected orders will be
imported and the import is performed online. If an order is successfully imported, it
also gets deleted from the interface tables. If you attempt to re-query the window,
• Errors: Displays all the errors encountered while importing. The error messages are
stored context sensitive. If you choose the Errors button from the Order Headers
region, all the errors for that order are displayed. If you choose the Errors button
from the Lines region, all the errors are displayed for that line. If you encountered
errors while importing orders, you can also fix these errors in the window and try
importing the order again. You can navigate from the Errors window to the Order
Headers or Lines region where the error has occurred.
• Add Customer: To add new Customer and Address during the Import process.
Processing Results
Each time you run Order Import, Order Management automatically generates an Order
Import processing results summary log which identifies the total number of successful
and failed imported orders.
7-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_CUSTOMER_INFO_IFACE_ALL
PERSON_MI VARCHAR2(60)
DDLE_NAM
E
PERSON_NA VARCHAR2(30)
ME_SUFFIX
PERSON_TIT VARCHAR2(60)
LE
7-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionally Derived Optio
Name Required for nal
(C = Conditionally Booking
Required)
PHONE_CO VARCHAR2(10)
UNTRY_COD
E
PHONE_ARE VARCHAR2(10)
A_CODE
PHONE_NU VARCHAR2(40)
MBER
PHONE_EXT VARCHAR2(20)
ENSION
PROVINCE VARCHAR2(60)
COUNTY VARCHAR2(60)
7-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionally Derived Optio
Name Required for nal
(C = Conditionally Booking
Required)
LOCATION_ VARCHAR2(40)
NUMBER
ATTRIBUTE_ VARCHAR2(30)
CATEGORY
ATTRIBUTE1. VARCHAR2(150)
..24
GLOBAL_AT VARCHAR2(30)
TRIBUTE_CA
TEGORY
GLOBAL_AT VARCHAR2(150)
TRIBUTE1.
..GLOBAL_A
TTRIBUTE20
CREATION_ DATE
DATE
CREATED_B NUMBER
Y
LAST_UPDA DATE
TE_DATE
LAST_UPDA NUMBER
TED_BY
LAST_UPDA NUMBER
TE_LOGIN
REQUEST_ID NUMBER
ERROR_FLA VARCHAR2(1
G
REJECTED_F VARCHAR2(1)
LAG
ORG_ID NUMBER
Table information:
7-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_HEADERS_IFACE_ALL
CHANGE_S VARCHAR X
EQUENCE 2(50)
CHANGE_ VARCHAR X
REQUEST_ 2(30)
CODE
ORDER_SO VARCHAR C
URCE 2(30)
ORG_ID NUMBER X
HEADER_I NUMBER X
D
ORDER_NU NUMBER X
MBER
VERSION_ NUMBER X
NUMBER
ORDERED_ DATE X
DATE
ORDER_CA VARCHAR
TEGORY 2(30)
ORDER_TY NUMBER C
PE_ID
ORDER_TY VARCHAR C
PE 2(30)
PRICE_LIST NUMBER C
_ID
PRICE_LIST VARCHAR C
2(30)
CONVERSI NUMBER C
ON_RATE
CONVERSI DATE C
ON_RATE_
DATE
CONVERSI VARCHAR C
ON_TYPE_ 2(30)
CODE
CONVERSI VARCHAR C
ON_TYPE 2(30)
TRANSACT VARCHAR X
IONAL_CU 2(15)
RR_CODE
TRANSACT VARCHAR X
IONAL_CU 2(30)
RR
SALESREP_ NUMBER X
ID
7-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
SALESREP VARCHAR X
2(30)
SALES_CH VARCHAR X
ANNEL_C 2(30)
ODE
RETURN_R VARCHAR C
EASON_CO 2(30)
DE
TAX_POIN VARCHAR X
T 2(30)
TAX_EXEM VARCHAR X
PT_FLAG 2(30)
TAX_EXEM VARCHAR X
PT_NUMBE 2(50)
R
TAX_EXEM VARCHAR C
PT_REASO 2(30)
N_CODE
TAX_EXEM VARCHAR C
PT_REASO 2(30)
N
AGREEME NUMBER X
NT_ID
AGREEME VARCHAR X
NT 2(50)
INVOICIN NUMBER X
G_RULE_ID
INVOICIN VARCHAR X
G_RULE 2(30)
ACCOUNTI NUMBER X
NG_RULE_I
D
ACCOUNTI VARCHAR X
NG_RULE 2(30)
PAYMENT_ NUMBER X
TERM_ID
PAYMENT_ VARCHAR X
TERM 2(30)
DEMAND_ VARCHAR X
CLASS_CO 2(30)
DE
DEMAND_ VARCHAR X
CLASS 2(30)
SHIPMENT VARCHAR X
_PRIORITY 2(30)
_CODE
SHIPMENT VARCHAR X
_PRIORITY 2(30)
SHIPPING_ VARCHAR X
METHOD_ 2(30)
CODE
7-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
SHIPPING_ VARCHAR X
METHOD 2(30
FREIGHT_C VARCHAR X
ARRIER_C 2(30)
ODE
FREIGHT_T VARCHAR X
ERMS_COD 2(30)
E
FREIGHT_T VARCHAR X
ERMS 2(30)
FOB_POIN VARCHAR X
T_CODE 2(30)
FOB_POIN VARCHAR X
T 2(30)
PARTIAL_S VARCHAR X
HIPMENTS 2(1)
_ALLOWE
D
SHIP_TOLE NUMBER X
RANCE_AB
OVE
SHIP_TOLE NUMBER X
RANCE_BE
LOW
SHIPPING_ VARCHAR X
INSTRUCTI 2(240)
ONS
PACKING_I VARCHAR X
NSTRUCTI 2(240)
ONS
ORDER_DA VARCHAR X
TE_TYPE_C 2(30)
ODE
EARLIEST_ NUMBER X
SCHEDULE
_LIMIT
LATEST_SC NUMBER X
HEDULE_L
IMIT
CUSTOME VARCHAR X
R_PO_NUM 2(50)
BER
CUSTOME
R_PAYMEN
T_TERM_ID
CUSTOME
R_PAYMEN
T_TERM
PAYMENT_ VARCHAR X
TYPE_COD 2(30)
E
PAYMENT_ NUMBER X
AMOUNT
CHECK_N VARCHAR X
UMBER 2(50)
7-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
CREDIT_C VARCHAR X
ARD_CODE 2(30)
CREDIT_C VARCHAR X
ARD_HOL 2(50)
DER_NAM
E
CREDIT_C VARCHAR X
ARD_NUM 2(50)
BER
CREDIT_C DATE X
ARD_EXPIR
ATION_DA
TE
CREDIT_C VARCHAR X
ARD_APPR 2(50)
OVAL_CO
DE
SOLD_FRO NUMBER C
M_ORG_ID
SOLD_FRO VARCHAR C
M_ORG 2(30)
SOLD_TO_ NUMBER C
ORG_ID
SOLD_TO_ VARCHAR C
ORG 2(30)
SOLD_TO_ NUMBER
PARTY_ID
SOLD_TO_ VARCHAR
PARTY_NU 2(30)
MBER
SHIP_FRO NUMBER X
M_ORG_ID
SHIP_FRO VARCHAR X
M_ORG 2(30)
SHIP_TO_O NUMBER X
RG_ID
SHIP_TO_O VARCHAR X
RG 2(30)
INVOICE_T NUMBER X
O_ORG_ID
INVOICE_T VARCHAR X
O_ORG 2(30)
DELIVER_T NUMBER X
O_ORG_ID
DELIVER_T VARCHAR X
O_ORG 2(30)
DELIVER_T VARCHAR X
O_CUSTO 2(30)
MER_NUM
BER
DELIVER_T VARCHAR X
O_CUSTO 2(30)
MER
7-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
SOLD_TO_ NUMBER X
CONTACT_
ID
SOLD_TO_ VARCHAR X
CONTACT 2(30)
SHIP_TO_C NUMBER X
ONTACT_I
D
SHIP_TO_C VARCHAR X
ONTACT 2(30)
INVOICE_T NUMBER X
O_CONTA
CT_ID
INVOICE_T VARCHAR X
O_CONTA 2(30)
CT
DELIVER_T NUMBER X
O_CONTA
CT_ID
DELIVER_T VARCHAR X
O_CONTA 2(30)
CT
CUSTOME NUMBER X
R_ID
CUSTOME VARCHAR C
R_NAME 2(30)
SHIPMENT VARCHAR X
_PRIORITY 2(30)
_CODE_IN
T
SHIP_TO_A VARCHAR C
DDRESS1 2(30)
SHIP_TO_A VARCHAR C
DDRESS2 2(30)
SHIP_TO_A VARCHAR C
DDRESS3 2(30)
SHIP_TO_A VARCHAR C
DDRESS4 2(30)
SHIP_TO_C VARCHAR C
ITY 2(30)
SHIP_TO_C VARCHAR X
ONTACT_F 2(30)
IRST_NAM
E
SHIP_TO_C VARCHAR X
ONTACT_L 2(30)
AST_NAME
SHIP_TO_C VARCHAR C
OUNTY 2(30)
SHIP_TO_C VARCHAR C
USTOMER 2(30)
SHIP_TO_C VARCHAR C
USTOMER_ 2(30)
NUMBER
7-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
SHIP_TO_P VARCHAR C
OSTAL_CO 2(30)
DE
SHIP_TO_P VARCHAR C
ROVINCE 2(30)
SHIP_TO_SI VARCHAR X
TE_INT 2(30)
SHIP_TO_S VARCHAR C
TATE 2(30)
SHIP_TO_C VARCHAR C
OUNTRY 2(30)
INVOICE_A VARCHAR C
DDRESS1 2(35)
INVOICE_A VARCHAR C
DDRESS2 2(35)
INVOICE_A VARCHAR C
DDRESS3 2(35)
INVOICE_A VARCHAR C
DDRESS4 2(35)
INVOICE_C VARCHAR C
ITY 2(30)
INVOICE_C VARCHAR C
OUNTRY 2(20)
INVOICE_C VARCHAR C
OUNTY 2(25)
INVOICE_C VARCHAR C
USTOMER 2(60)
INVOICE_C VARCHAR C
USTOMER_ 2(30)
NUMBER
INVOICE_P VARCHAR C
OSTAL_CO 2(15)
DE
INVOICE_P VARCHAR C
ROVINCE_I 2(30)
NT
INVOICE_S VARCHAR X
ITE 2(30)
INVOICE_S VARCHAR X
ITE_CODE 2(30)
INVOICE_S VARCHAR C
TATE 2(30)
INVOICE_T VARCHAR X
O_CONTA 2(30)
CT_FIRST_
NAME
INVOICE_T VARCHAR X
O_CONTA 2(30)
CT_LAST_
NAME
ORDERED_ VARCHAR X
BY_CONTA 2(30)
CT_FIRST_
NAME
7-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
ORDERED_ VARCHAR X
BY_CONTA 2(30)
CT_LAST_
NAME
DROP_SHI VARCHAR X
P_FLAG 2(1)
BOOKED_F VARCHAR X
LAG 2(1)
CLOSED_F VARCHAR X
LAG 2(1)
CANCELLE VARCHAR X
D_FLAG 2(1)
REJECTED_ VARCHAR X
FLAG 2(1)
CONTEXT VARCHAR X
2(30)
ATTRIBUTE VARCHAR X
1..20 2(240)
HEADER_P VARCHAR X
O_CONTEX 2(30)
T
PO_ATTRIB VARCHAR X
UTE_1..20 2(240)
PO_REVISI DATE X
ON_DATE
GLOBAL_A VARCHAR X
TTRIBUTE_ 2(30)
CATEGORY
GLOBAL_A VARCHAR X
TTRIBUTE1. 2(240)
.20
LAST_UPD NUMBER X
ATE_LOGI
N
PROGRAM NUMBER X
_APPLICAT
ION_ID
PROGRAM NUMBER X
_ID
PROGRAM DATE X
_UPDATE_
DATE
REQUEST_I NUMBER X
D
7-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
REQUEST_ DATE X
DATE
SUBMISSIO DATE X
N_DATETI
ME
ERROR_FL VARCHAR X
AG 2(1)
READY_FL VARCHAR X
AG 2(1)
STATUS_FL VARCHAR X
AG 2(1)
FORCE_AP VARCHAR X
PLY_FLAG 2(1)
CHANGE_ VARCHAR X
REASON 2(30)
CHANGE_ VARCHAR X
COMMENT 2(200)
S
TP_CONTE VARCHAR X
XT 2(30)
TP_ATTRIB VARCHAR X
UTE1..20 2(240)
BLANKET_ NUMBER
NUMBER
7-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
XML_MESS Varchar2(30 X
AGE_ID )
XML_TRAN X
SACTION_
varchar2(30)
TYPE_COD
E
TRANSACT Varchar2(30 X
ION_PHAS )
E_CODE
SALES_DO Varchar2(24 X
CUMENT_ 0)
NAME
QUOTE_N Number X
UMBER
QUOTE_D Date X
ATE
USER_STAT Varchar2(30 X
US_CODE )
EXPIRATIO Date X
N_DATE
END_CUST VARCHAR X
OMER_NA 2(360)
ME
END_CUST VARCHAR X
OMER_NU 2(50)
MBER
END_CUST VARCHAR X
OMER_PAR 2(30)
TY_NUMBE
R
END_CUST NUMBER X
OMER_ID
7-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
END_CUST NUMBER X
OMER_PAR
TY_ID
END_CUST NUMBER X
OMER_OR
G_CONTA
CT_ID
END_CUST NUMBER X
OMER_CO
NTACT_ID
END_CUST VARCHAR X
OMER_CO 2(360)
NTACT
END_CUST VARCHAR X
OMER_LOC 2(240)
ATION
END_CUST NUMBER X
OMER_SITE
_USE_ID
END_CUST NUMBER X
OMER_PAR
TY_SITE_ID
END_CUST NUMBER X
OMER_PAR
TY_SITE_U
SE_ID
END_CUST VARCHAR X
OMER_AD 2(240)
DRESS1
END_CUST VARCHAR X
OMER_AD 2(240)
DRESS2
END_CUST VARCHAR X
OMER_AD 2(240)
DRESS3
END_CUST VARCHAR X
OMER_AD 2(240)
DRESS4
END_CUST VARCHAR X
OMER_CIT 2(60)
Y
END_CUST VARCHAR X
OMER_STA 2(60)
TE
END_CUST VARCHAR X
OMER_POS 2(60)
TAL_CODE
END_CUST VARCHAR X
OMER_CO 2(60)
UNTRY
END_CUST VARCHAR X
OMER_PRO 2(60)
VINCE
END_CUST VARCHAR X
OMER_CO 2(60)
UNTY
IB_OWNER VARCHAR X
2(60)
7-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
IB_OWNER VARCHAR X
_CODE 2(30)
IB_CURRE VARCHAR X
NT_LOCAT 2(60)
ION
IB_CURRE VARCHAR X
NT_LOCAT 2(30)
ION_CODE
IB_INSTAL VARCHAR X
LED_AT_L 2(60)
OCATION
IB_INSTAL VARCHAR X
LED_AT_L 2(30)
OCATION_
CODE
SOLD_TO_ NUMBER X
PARTY_ID
SOLD_TO_ NUMBER X
ORG_CON
TACT_ID
SHIP_TO_P NUMBER X
ARTY_ID
SHIP_TO_P NUMBER X
ARTY_SITE
_ID
SHIP_TO_P NUMBER X
ARTY_SITE
_USE_ID
DELIVER_T NUMBER X
O_PARTY_I
D
DELIVER_T NUMBER X
O_PARTY_
SITE_ID
DELIVER_T NUMBER X
O_PARTY_
SITE_USE_I
D
INVOICE_T NUMBER X
O_PARTY_I
D
INVOICE_T NUMBER X
O_PARTY_
SITE_ID
INVOICE_T NUMBER X
O_PARTY_
SITE_USE_I
D
SHIP_TO_O NUMBER X
RG_CONT
ACT_ID
DELIVER_T NUMBER X
O_ORG_CO
NTACT_ID
INVOICE_T NUMBER X
O_ORG_CO
NTACT_ID
7-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descripti Required Conditionall Derived Optional
Name on y Required
(C = for Booking
Conditio
nally
Required
)
SOLD_TO_ VARCHAR X
PARTY_NU 2(30)
MBER
SHIP_TO_P VARCHAR X
ARTY_NU 2(30)
MBER
INVOICE_T VARCHAR X
O_PARTY_ 2(30)
NUMBER
DELIVER_T VARCHAR X
O_PARTY_ 2(30)
NUMBER
• SOLD_FROM_ORG_ID =
HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID
• ACCOUNTING_RULE_ID = RA_RULES.RULE_ID
• INVOICING_RULE_ID = RA_RULES.RULE_ID
• SALESREP_ID = RA_SALESREPS_ALL.SALESREP_ID
• SALESREP = RA_SALESREPS_ALL.NAME
• PAYMENT_TERM_ID = RA_TERMS_B.TERM_ID
• CUSTOMER_PAYMENT_TERM_ID = RA_TERMS_B.TERM_ID
• PAYMENT_TERM = RA_TERMS_TL.NAME
• CUSTOMER_PAYMENT_TERM = RA_TERMS_TL.NAME
• ORDER_SOURCE_ID = OE_ORDER_SOURCES.ORDER_SOURCE_ID
• HEADER_ID = OE_ORDER_HEADERS_ALL.HEADER_ID
• PRICE_LIST_ID = QP_LIST_HEADERS_TL.LIST_HEADER_ID
• PRICE_LIST = QP_LIST_HEADERS_TL.NAME
7-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Conditional Setting requirement
CUSTOMER_NAME
SHIP_TO_COUNTY
SHIP_TO_CUSTOMER
SHIP_TO_CUSTOMER_NUMBER
SHIP_TO_POSTAL_CODE
SHIP_TO_PROVINCE
SHIP_TO_SITE_INT
SHIP_TO_STATE
SHIP_TO_COUNTRY
INVOICE_COUNTRY
INVOICE_COUNTY
INVOICE_CUSTOMER
INVOICE_CUSTOMER_NUMBER
INVOICE_POSTAL_CODE
INVOICE_PROVINCE_INT
INVOICE_STATE
DELIVER_TO_COUNTRY
DELIVER_TO_COUNTY
DELIVER_TO_CUSTOMER
DELIVER_TO_CUSTOMER_NUMBER
DELIVER_TO_POSTAL_CODE
DELIVER_TO_PROVINCE_INT
DELIVER_TO_STATE
Note: Attribute columns are for customer use only and will NEVER
be used by Oracle Development as a means to enable any type of
system functionality.
Table:
OE_LINES_IFACE_ALL
7-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
CHANGE_ VARCHAR X
SEQUENC 2(50)
E
CHANGE_ VARCHAR X
REQUEST_ 2(30)
CODE
ORG_ID NUMBER X
LINE_NU NUMBER X
MBER
SHIPMEN NUMBER X
T_NUMBE
R
LINE_ID NUMBER X
SPLIT_FR NUMBER X
OM_LINE_
ID
LINE_TYP NUMBER X
E_ID
LINE_TYP VARCHAR X
E 2(30)
ITEM_TYP VARCHAR X X
E_CODE 2(30)
INVENTO NUMBER C
RY_ITEM_I
D
TOP_MOD VARCHAR C
EL_LINE_ 2(50)
REF
LINK_TO_ VARCHAR C
LINE_REF 2(50)
EXPLOSIO DATE X
N_DATE
ATO_LINE NUMBER X
_ID
COMPON NUMBER X
ENT_SEQ
UENCE_ID
COMPON VARCHAR X X
ENT_COD 2(50)
E
SORT_OR VARCHAR X
DER 2(240)
MODEL_G NUMBER X
ROUP_NU
MBER
OPTION_ NUMBER X
NUMBER
OPTION_F VARCHAR X
LAG 2(1)
7-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
SHIP_MO VARCHAR X
DEL_COM 2(1)
PLETE_FL
AG
SOURCE_T VARCHAR X
YPE_COD 2(30)
E
SCHEDUL VARCHAR C
E_STATUS 2(30)
_CODE
SCHEDUL DATE C
E_SHIP_D
ATE
SCHEDUL DATE C
E_ARRIVA
L_DATE
ACTUAL_ DATE X
ARRIVAL_
DATE
PROMISE_ DATE C X
DATE
SCHEDUL DATE X
E_DATE
SHIPPING NUMBER C
_QUANTI
TY
SHIPPING VARCHAR C
_QUANTI 2(3)
TY_UOM
SHIPPED_ NUMBER C
QUANTIT
Y
CANCELL NUMBER C
ED_QUAN
TITY
FULFILLE NUMBER C
D_QUANT
ITY
PRICING_ NUMBER C
QUANTIT
Y
PRICING_ VARCHAR C
QUANTIT 2(3)
Y_UOM
7-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
SOLD_FR NUMBER C
OM_ORG_
ID
SOLD_FR VARCHAR C
OM_ORG 2(30)
SOLD_TO_ NUMBER C
ORG_ID
SOLD_TO_ VARCHAR C
ORG 2(30)
SHIP_FRO NUMBER X
M_ORG_I
D
SHIP_FRO VARCHAR X
M_ORG 2(30)
SHIP_TO_ NUMBER X
ORG_ID
SHIP_TO_ VARCHAR X
ORG 2(30)
DELIVER_ NUMBER X
TO_ORG_I
D
DELIVER_ VARCHAR X
TO_ORG 2(30)
INVOICE_ NUMBER C
TO_ORG_I
D
INVOICE_ VARCHAR C
TO_ORG 2(30)
SHIP_TO_ VARCHAR C
ADDRESS1 2(30)
SHIP_TO_ VARCHAR C
ADDRESS2 2(30)
SHIP_TO_ VARCHAR C
ADDRESS3 2(30)
SHIP_TO_ VARCHAR C
ADDRESS4 2(30)
SHIP_TO_ VARCHAR C
CITY 2(30)
SHIP_TO_ VARCHAR C
COUNTY 2(30)
SHIP_TO_ VARCHAR C
STATE 2(30)
SHIP_TO_ VARCHAR C
POSTAL_C 2(30)
ODE
SHIP_TO_ VARCHAR C
COUNTRY 2(30)
SHIP_TO_ VARCHAR X
CONTACT 2(30)
_FIRST_N
AME
SHIP_TO_ VARCHAR X
CONTACT 2(30)
_LAST_NA
ME
7-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
SHIP_TO_ VARCHAR X
CONTACT 2(30)
_JOB_TITL
E
SHIP_TO_ VARCHAR X
CONTACT 2(10)
_AREA_C
ODE1
SHIP_TO_ VARCHAR X
CONTACT 2(10)
_AREA_C
ODE2
SHIP_TO_ VARCHAR X
CONTACT 2(10)
_AREA_C
ODE3
SHIP_TO_ NUMBER X
CONTACT
_ID
SHIP_TO_ VARCHAR X
CONTACT 2(30)
DELIVER_ NUMBER X
TO_CONT
ACT_ID
DELIVER_ VARCHAR X
TO_CONT 2(30)
ACT
INVOICE_ NUMBER X
TO_CONT
ACT_ID
INVOICE_ VARCHAR X
TO_CONT 2(30)
ACT
DROP_SHI VARCHAR X
P_FLAG 2(1)
VEH_CUS_ NUMBER X
ITEM_CU
M_KEY_ID
CUST_PRO NUMBER X
DUCTION
_SEQ_NU
M
LOAD_SE NUMBER X
Q_NUMBE
R
OVER_SHI VARCHAR X
P_REASO 2(30)
N_CODE
OVER_SHI VARCHAR X
P_RESOLV 2(1)
ED_FLAG
AUTHORI VARCHAR X
ZED_TO_S 2(1)
HIP_FLAG
SHIP_TOL NUMBER X
ERANCE_
ABOVE
SHIP_TOL NUMBER X
ERANCE_
BELOW
7-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
SHIP_SET_ NUMBER X
ID
SHIP_SET_ VARCHAR X
NAME 2(30)
ARRIVAL_ NUMBER X
SET_ID
ARRIVAL_ VARCHAR X
SET_NAM 2(30)
E
INVOICE_ NUMBER X
SET_ID
INVOICE_ VARCHAR X
SET_NAM 2(30)
E
FULFILLM NUMBER X
ENT_SET_I
D
FULFILLM VARCHAR X
ENT_SET_ 2(30)
NAME
PRICE_LIS NUMBER C
T_ID
PRICE_LIS VARCHAR C
T 2(30)
PRICING_ DATE C
DATE
UNIT_LIST NUMBER C
_PRICE
UNIT_LIST NUMBER
_PRICE_PE
R_PQTY
UNIT_SEL NUMBER C
LING_PRI
CE
UNIT_SEL NUMBER
LING_PRI
CE_PQTY
CALCULA VARCHAR X
TE_PRICE_ 2(1)
FLAG
TAX_COD VARCHAR X
E 2(50)
TAX VARCHAR X
2(50)
TAX_VAL NUMBER X
UE
TAX_DAT DATE X
E
TAX_POIN VARCHAR X
T 2(30)
TAX_EXE VARCHAR X
MPT_FLA 2(30)
G
7-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
TAX_EXE VARCHAR X
MPT_NU 2(50)
MBER
TAX_EXE VARCHAR X
MPT_REA 2(30)
SON_COD
E
TAX_EXE VARCHAR X
MPT_REA 2(30)
SON
AGREEME NUMBER X
NT_ID
AGREEME VARCHAR X
NT 2(30)
INVOICIN NUMBER C
G_RULE_I
D
INVOICIN VARCHAR C
G_RULE 2(30
ACCOUN NUMBER C
TING_RUL
E_ID
ACCOUN VARCHAR C
TING_RUL 2(30)
E
PAYMENT NUMBER C
_TERM_ID
PAYMENT VARCHAR C
_TERM 2(30)
DEMAND VARCHAR X
_CLASS_C 2(30)
ODE
DEMAND VARCHAR C X
_CLASS 2(30)
SHIPMEN VARCHAR X
T_PRIORIT 2(30)
Y_CODE
SHIPMEN VARCHAR X
T_PRIORIT 2(30)
Y
SHIPPING VARCHAR X
_METHOD 2(30)
_CODE
SHIPPING VARCHAR X
_METHOD 2(30)
SHIPPING VARCHAR X
_INSTRUC 2(240)
TIONS
PACKING VARCHAR X
_INSTRUC 2(240)
TIONS
FREIGHT_ VARCHAR X
CARRIER_ 2(30)
CODE
FREIGHT_ VARCHAR X
TERMS_C 2(30)
ODE
7-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
FREIGHT_ VARCHAR X
TERMS 2(30)
FOB_POIN VARCHAR X
T_CODE 2(30)
FOB_POIN VARCHAR X
T 2(30)
SALESREP NUMBER X
_ID
SALESREP VARCHAR X
2(30)
RETURN_ VARCHAR C
REASON_ 2(30)
CODE
REFEREN VARCHAR C
CE_TYPE 2(30)
REFEREN NUMBER C
CE_HEAD
ER_ID
REFEREN VARCHAR C
CE_HEAD 2(30)
ER
REFEREN NUMBER C
CE_LINE_I
D
REFEREN VARCHAR C
CE_LINE 2(30)
CREDIT_I NUMBER X
NVOICE_L
INE_ID
CUSTOME VARCHAR X
R_PO_NU 2(50)
MBER
CUSTOME VARCHAR X
R_LINE_N 2(50)
UMBER
CUSTOME VARCHAR X
R_SHIPME 2(50)
NT_NUMB
ER
CUSTOME NUMBER X
R_ITEM_I
D
CUSTOME VARCHAR X
R_ITEM_I 2(30)
D_TYPE
CUSTOME VARCHAR X
R_ITEM_N 2(200)
AME
CUSTOME VARCHAR X
R_ITEM_R 2(50)
EVISION
CUSTOME NUMBER X
R_ITEM_N
ET_PRICE
7-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
CUSTOME
R_PAYME
NT_TERM
_ID
CUSTOME
R_PAYME
NT_TERM
DEMAND VARCHAR X
_BUCKET_ 2(30)
TYPE_CO
DE
DEMAND VARCHAR X
_BUCKET_ 2(50)
TYPE
SCHEDUL VARCHAR X
E_ITEM_D 2(30)
ETAIL
DEMAND VARCHAR X
_STREAM 2(30)
CUSTOME VARCHAR X
R_DOCK_ 2(30)
CODE
CUSTOME VARCHAR X
R_DOCK 2(50)
CUSTOME VARCHAR X
R_JOB 2(50)
CUSTOME VARCHAR X
R_PRODU 2(50)
CTION_LI
NE
CUST_MO VARCHAR X
DEL_SERI 2(50)
AL_NUMB
ER
PROJECT_I NUMBER X
D
PROJECT VARCHAR X
2(30)
TASK_ID NUMBER X
TASK VARCHAR X
2(30)
END_ITE VARCHAR X
M_UNIT_ 2(30)
NUMBER
ITEM_REV VARCHAR X
ISION 2(3)
SERVICE_ NUMBER C
DURATIO
N
SERVICE_ DATE C
START_D
ATE
SERVICE_ DATE C
END_DAT
E
SERVICE_ VARCHAR C
COTERMI 2(1)
NATE_FL
AG
7-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
UNIT_SEL NUMBER X
LING_PER
CENT
UNIT_LIST NUMBER X
_PERCENT
UNIT_PER NUMBER X
CENT_BAS
E_PRICE
SERVICE_ NUMBER X
NUMBER
SERVICED NUMBER X
_LINE_ID
FULFILLE VARCHAR X
D_FLAG 2(1)
CLOSED_F VARCHAR X
LAG 2(1)
CANCELL VARCHAR X
ED_FLAG 2(1)
REJECTED VARCHAR X
_FLAG 2(1)
CONTRAC VARCHAR X
T_PO_NU 2(150)
MBER
LINE_PO_ VARCHAR X
CONTEXT 2(30)
ATTRIBUT VARCHAR X
E1..20 2(240)
INDUSTR VARCHAR X
Y_CONTE 2(30)
XT
INDUSTR VARCHAR X
Y_ATTRIB 2(240)
UTE1..30
PRICING_ VARCHAR X
CONTEXT 2(150)
PRICING_ VARCHAR X
ATTRIBUT 2(240)
E1..10
PRICING_ VARCHAR X
ATTRIBUT 2(240)
E10
GLOBAL_ VARCHAR X
ATTRIBUT 2(30)
E_CATEG
ORY
GLOBAL_ VARCHAR X
ATTRIBUT 2(240)
E1..20
RETURN_ VARCHAR X
ATTRIBUT 2(240)
E1..20
INVENTO VARCHAR X
RY_ITEM_ 2(240)
SEGMENT
_1...20
SERVICE_ VARCHAR X
CONTEXT 2(30)
7-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
SERVICE_ VARCHAR X
ATTRIBUT 2(240)
E1..20
LAST_UPD DATE X
ATE_DAT
E
LAST_UPD NUMBER X
ATE_LOGI
N
PROGRA NUMBER X
M_APPLIC
ATION_ID
PROGRA NUMBER X
M_ID
PROGRA DATE X
M_UPDAT
E_DATE
OPERATIO VARCHAR X
N_CODE 2(30)
ERROR_FL VARCHAR X
AG 2(1)
STATUS_F VARCHAR X
LAG 2(1)
CHANGE_ VARCHAR X
REASON 2(30)
CHANGE_ VARCHAR X
COMMEN 2(2000)
TS
CONFIG_ NUMBER X X
HEADER_I
D
CONFIG_R NUMBER X X
EV_NBR
CONFIGU NUMBER X X
RATION_I
D
SERVICE_ VARCHAR X
TXN_REA 2(30)
SON_COD
E
SERVICE_ VARCHAR X
TXN_COM 2(2000)
MENTS
BLANKET NUMBER
_NUMBER
BLANKET NUMBER
_LINE_NU
MBER
7-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
OVERRIDE Varchar2(3 No No No Y
_ATP_DAT 0)
E_CODE Conditiona Comment:
l Settings: Based on
Schedule_s the
hip_date, Ordered
Schedule_a Date Type,
rrival_date either of
the dates
should be
populated
to override
the line.
LATE_DE Number No No No Y
MAND_PE
NALTY_F Values
ACTOR should be
greater
than 0.
SHIP_TO_ Varchar2(3
CUSTOME 60)
R_NAME
SHIP_TO_ Varchar2(3
CUSTOME 0)
R_NUMBE
R
INVOICE_ Varchar2(3
TO_CUST 60)
OMER_NA
ME
INVOICE_ Varchar2(3
TO_CUST 0)
OMER_NU
MBER
DELIVER_ Varchar2(3
TO_CUST 60)
OMER_NA
ME
DELIVER_ Varchar2(3
TO_CUST 0)
OMER_NU
MBER
DELIVER_ Varchar2(2
TO_ADDR 40)
ESS1
DELIVER_ Varchar2(2
TO_ADDR 40)
ESS2
DELIVER_ Varchar2(2
TO_ADDR 40)
ESS3
DELIVER_ Varchar2(2
TO_ADDR 40)
ESS4
DELIVER_ Varchar2(6
TO_CITY 0)
DELIVER_ Varchar2(6
TO_COUN 0)
TY
DELIVER_ Varchar2(6
TO_COUN 0)
TRY
DELIVER_ Varchar2(6
TO_STATE 0)
7-72 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
DELIVER_ Varchar2(6
TO_PROVI 0)
NCE
DELIVER_ Varchar2(6
TO_POST 0)
AL_CODE
XML_TRA
NSACTIO
N_TYPE_C
ODE
SHIP_TO_ NUMBER X
PARTY_ID
7-74 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
SHIP_TO_ NUMBER X
PARTY_SI
TE_ID
SHIP_TO_ NUMBER X
PARTY_SI
TE_USE_I
D
DELIVER_ NUMBER X
TO_PART
Y_ID
DELIVER_ NUMBER X
TO_PART
Y_SITE_ID
DELIVER_ NUMBER X
TO_PART
Y_SITE_US
E_ID
INVOICE_ NUMBER X
TO_PART
Y_ID
INVOICE_ NUMBER X
TO_PART
Y_SITE_ID
INVOICE_ NUMBER X
TO_PART
Y_SITE_US
E_ID
SHIP_TO_ NUMBER X
ORG_CON
TACT_ID
DELIVER_ NUMBER X
TO_ORG_
CONTACT
_ID
INVOICE_ NUMBER X
TO_ORG_
CONTACT
_ID
SHIP_TO_ VARCHAR X
PARTY_N 2(30)
UMBER
INVOICE_ VARCHAR X
TO_PART 2(30)
Y_NUMBE
R
DELIVER_ VARCHAR X
TO_PART 2(30)
Y_NUMBE
R
END_CUS VARCHAR X
TOMER_N 2(360)
AME
END_CUS VARCHAR X
TOMER_N 2(50)
UMBER
END_CUS VARCHAR X
TOMER_P 2(30)
ARTY_NU
MBER
7-76 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
END_CUS NUMBER X
TOMER_I
D
END_CUS NUMBER X
TOMER_P
ARTY_ID
END_CUS NUMBER X
TOMER_O
RG_CONT
ACT_ID
END_CUS NUMBER X
TOMER_C
ONTACT_I
D
END_CUS VARCHAR X
TOMER_C 2(360)
ONTACT
END_CUS VARCHAR X
TOMER_L 2(240)
OCATION
END_CUS NUMBER X
TOMER_SI
TE_USE_I
D
END_CUS NUMBER X
TOMER_P
ARTY_SIT
E_ID
END_CUS NUMBER X
TOMER_P
ARTY_SIT
E_USE_ID
END_CUS VARCHAR X
TOMER_A 2(240)
DDRESS1
END_CUS VARCHAR X
TOMER_A 2(240)
DDRESS2
END_CUS VARCHAR X
TOMER_A 2(240)
DDRESS3
END_CUS VARCHAR X
TOMER_A 2(240)
DDRESS4
END_CUS VARCHAR X
TOMER_CI 2(60)
TY
END_CUS VARCHAR X
TOMER_S 2(60)
TATE
END_CUS VARCHAR X
TOMER_P 2(60)
OSTAL_C
ODE
END_CUS VARCHAR X
TOMER_C 2(60)
OUNTRY
7-78 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Descriptio Required Condition Derived Optional
n ally
Name (C = Required
Condition for
ally Booking
Required)
END_CUS VARCHAR X
TOMER_P 2(60)
ROVINCE
END_CUS VARCHAR X
TOMER_C 2(60)
OUNTY
IB_OWNE VARCHAR X
R 2(60)
IB_CURRE VARCHAR X
NT_LOCA 2(60)
TION
IB_INSTAL VARCHAR X
LED_AT_L 2(60)
OCATION
• SHIP_FROM_ORG_ID =
HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID
• ACCOUNTING_RULE_ID = RA_RULES.RULE_ID
• INVOICING_RULE_ID = RA_RULES.RULE_ID
• SALESREP_ID = RA_SALESREPS_ALL.SALESREP_ID
• PRICE_LIST_ID = QP_LIST_HEADERS_TL.LIST_HEADER_ID
• PAYMENT_TERM_ID = RA_TERMS_B.TERM_ID
• CUSTOMER_PAYMENT_TERM_ID = RA_TERMS_B.TERM_ID
• SALESREP = RA_SALESREPS_ALL.NAME
• CUSTOMER_PAYMENT_TERM = RA_TERMS_TL.NAME
• PAYMENT_TERM = RA_TERMS_TL.NAME
• PRICE_LIST = QP_LIST_HEADERS_TL.NAME
• ORDER_SOURCE_ID = OE_ORDER_SOURCES.ORDER_SOURCE_ID
• ORIG_SYS_DOCUMENT_REF =
• OE_HEADERS_IFACE_ALL.ORIG_SYS_DOCUMENT_REF
• LINK_TO_LINE_REF = OE_LINES_IFACE_ALL.ORIG_SYS_LINE_REF
• TOP_MODEL_LINE_REF = OE_LINES_IFACE_ALL.ORIG_SYS_LINE_REF
LINK_TO_LINE_REF
7-80 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Conditional Setting requirement
SERVICE_START_DATE
SERVICE_END_DATE
SERVICE_COTERMINATE_FLAG
SHIP_TO_COUNTY
SHIP_TO_STATE
SHIP_TO_POSTAL_CODE
SHIP_TO_COUNTRY
SHIP_TO_CUSTOMER_NAME
SHIP_TO_CUSTOMER_NUMBER
INVOICE_TO_CUSTOMER_NAME
INVOICE_TO_CUSTOMER_NUMBER
DELIVER_TO_CUSTOMER_NAME
DELIVER_TO_CUSTOMER_NUMBER
7-82 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Conditional Setting requirement
DELIVER_TO_ADDRESS1
DELIVER_TO_ADDRESS2
DELIVER_TO_ADDRESS3
DELIVER_TO_ADDRESS4
DELIVER_TO_CITY
DELIVER_TO_COUNTY
DELIVER_TO_COUNTRY
DELIVER_TO_STATE
DELIVER_TO_PROVINCE
DELIVER_TO_POSTAL_CODE
Note: Attribute columns are for customer use only and will NEVER
be used by Oracle Development as a means to enable any type of
system functionality.
OE_PRICE_ADJS_IFACE_ALL
AC_CONTEX VARCHAR2(
T 150)
AC_ATTIBU VARCHAR2(
TE1...15 240)
ATTRIBUTE1 VARCHAR2( X
...15 240)
ADJUSTED_ VARCHAR2( X
AMOUNT )
ADJUSTED_ VARCHAR2( X
AMOUNT_P )
ER_PQTY
APPLIED_FL VARCHAR2( X
AG 1)
ARITHMETI VARCHAR2( X
C_OPERATO )
R
AUTOMATI VARCHAR2( X
C_FLAG 1)
CHANGE_R VARCHAR2( X
EQUEST_CO 30)
DE
CHANGE_SE VARCHAR2( X
QUENCE 50)
CHANGE_R VARCHAR2(
EASON_CO 30)
DE
CHANGE_R VARCHAR2(
EASON_TEX 2000)
T
CHARGE_SU VARCHAR2(
BTYPE_COD 30)
E
CHARGE_TY VARCHAR2(
PE_CODE 30)
CONTEXT VARCHAR2( X
30)
7-84 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionall Derived Optional
Name y Required
(C = for Booking
Conditionall
y Required)
COST_ID NUMBER
CREDIT_OR_ VARCHAR2(
CHARGE_FL 1)
AG
DISCOUNT_I NUMBER
D
DISCOUNT_ NUMBER
LINE_ID
DISCOUNT_ VARCHAR2(
NAME 30
ERROR_FLA VARCHAR2( X
G 1)
ESTIMATED VARCHAR2(
_FLAG 1)
INC_IN_SAL VARCHAR2(
ES_PERFOR 1)
MANCE
INCLUDE_O VARCHAR2(
N_RETURNS 1)
_FLAG
INTERFACE_ VARCHAR2(
STATUS 1000)
INVOICED_F VARCHAR2(
LAG 1)
LAST_UPDA NUMBER X
TE_LOGIN
LIST_HEADE NUMBER
R_ID
LIST_LINE_I NUMBER
D
LIST_LINE_ NUMBER
NUMBER
LIST_LINE_T VARCHAR2(
YPE_CODE 30)
LIST_NAME VARCHAR2(
240)
MODIFIED_F VARCHAR2(
ROM 240)
MODIFIED_ VARCHAR2(
TO 240)
MODIFIER_ VARCHAR2(
MECHANIS 30)
M_TYPE_CO
DE
7-86 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionall Derived Optional
Name y Required
(C = for Booking
Conditionall
y Required)
MODIFIER_ VARCHAR2(
NAME 240)
OPERAND NUMBER
OPERAND_P NUMBER
ER_PQTY
ORDER_SOU NUMBER
RCE_ID
ORG_ID NUMBER X
PARENT_AD NUMBER
JUSTMENT_I
D
PERCENT NUMBER X
PRICING_PH NUMBER
ASE_ID
PROGRAM_ NUMBER X
APPLICATIO
N_ID
PROGRAM_I NUMBER X
D
PROGRAM_ DATE X
UPDATE_DA
TE
REQUEST_ID NUMBER X
SOLD_TO_O VARCHAR2( X
RG 360)
SOLD_TO_O NUMBER X
RG_ID
STATUS_FL VARCHAR2( X
AG 1)
TAX_CODE VARCHAR2(
50)
UPDATE_AL VARCHAR2(
LOWED 1)
UPDATED_F VARCHAR2(
LAG 1)
VERSION_N VARCHAR2(
UMBER 30)
7-88 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_PRICE_ADJS_IFACE_ALL Derived Values
• ORDER_SOURCE_ID = OE_ORDER_SOURCES.ORDER_SOURCE_ID
• ORIG_SYS_DISCOUNT_REF
=OE_ORDER_HEADERS_ALL.ORIG_SYS_DOCUMENT_REF
• ORIG_SYS_LINE_REF = OE_ORDER_LINES_ALL.ORIG_SYS_LINE_REF
• ORIG_SYS_SHIPMENT_REF =
OE_ORDER_LINES_ALL.ORIG_SYS_SHIPMENT_REF
• LIST_HEADER_ID = QP_LIST_HEADERS_B.LIST_HEADER_ID
• LIST_NAME = QP_LIST_HEADERS_TL.NAME
• LIST_LINE_ID = QP_LIST_LINES.LIST_LINE_ID
OE_PRICE_ATTS_IFACE_ALL
ATTRIBUTE1. VARCHAR2( X
..15 240)
CHANGE_RE VARCHAR2( X
QUEST_COD 30)
E
CHANGE_SE VARCHAR2( X
QUENCE 50)
CONTEXT VARCHAR2( X
30)
CREDIT_OR_ VARCHAR2(
CHARGE_FL 1)
AG
ERROR_FLA VARCHAR2( X
G 1)
FLEX_TITLE
INTERFACE_ VARCHAR2(
STATUS 1000)
LAST_UPDA NUMBER X
TE_LOGIN
ORDER_SOU
RCE_ID
ORG_ID NUMBER X
7-90 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditiona Derived Optional
Name lly
(C = Conditionally Required
Required) for
Booking
PRICING_AT
TIBUTE1...100
PROGRAM_ NUMBER X
APPLICATIO
N_ID
PROGRAM_I NUMBER X
D
PROGRAM_ DATE X
UPDATE_DA
TE
REQUEST_ID NUMBER X
SOLD_TO_O VARCHAR2( X
RG 360)
SOLD_TO_O NUMBER X
RG_ID
STATUS_FLA VARCHAR2( X
G 1)
• ORIG_SYS_DOCUMENT_REF =
• ORIG_SYS_LINE_REF = OE_ORDER_LINES_ALL.ORIG_SYS_LINE_REF
• ORIG_SYS_SHIPMENT_REF =
OE_ORDER_LINES_ALL.ORIG_SYS_SHIPMENT_REF
OE_CREDITS_IFACE_ALL
CHANGE_S VARCHAR2 X
EQUENCE (50)
CHANGE_R VARCHAR2 X
EQUEST_C (30)
ODE
ORG_ID NUMBER X
7-92 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionall Derived Optional
y Required
Name (C= for Booking
Conditionall
y Required)
SALESREP_I NUMBER X
D
SALESREP VARCHAR2 X
(30)
SALES_CRE NUMBER C
DIT_TYPE_I
D
SALES_CRE VARCHAR2 C
DIT_TYPE (30)
SOLD_TO_O VARCHAR2 X
RG (360)
SOLD_TO_O NUMBER X
RG_ID
QUOTA_FL VARCHAR2 X
AG (1)
CONTEXT VARCHAR2 X
(30)
ATTRIBUTE VARCHAR2 X
1..15 (240)
CREATED_B NUMBER X
Y
CREATION_ DATE X
DATE
LAST_UPD NUMBER X
ATED_BY
LAST_UPD DATE X
ATE_DATE
LAST_UPD NUMBER X
ATE_LOGIN
PROGRAM_ NUMBER X
APPLICATI
ON_ID
PROGRAM_ NUMBER X
ID
PROGRAM_ DATE X
UPDATE_D
ATE
REQUEST_I NUMBER X
D
ERROR_FLA VARCHAR2 X
G (1)
STATUS_FL VARCHAR2 X
AG (1)
Conditional Settings:
7-94 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_CREDITS_IFACE_ALL Conditional Settings
• ORIG_SYS_DOCUMENT_REF =
OE_HEADERS_IFACE_ALL.ORIG_SYS_DOCUMENT_REF
• ORIG_SYS_LINE_REF = OE_LINES_IFACE_ALL.ORIG_SYS_LINE_REF
• ORIG_SYS_SHIPMENT_REF =
OE_LINES_IFACE_ALL.ORIG_SYS_SHIPMENT_REF
OE_LOTSERIALS_IFACE_ALL
CHANGE_SE VARCHAR2( X
QUENCE 50)
CHANGE_RE VARCHAR2( X
QUEST_COD 30)
E
ORG_ID NUMBER X
LOT_NUMBE NUMBER C
R
FROM_SERI VARCHAR2( C
AL_NUMBE 30)
R
TO_SERIAL_ VARCHAR2( C
NUMBER 30)
SOLD_TO_O VARCHAR2( X
RG 360)
SOLD_TO_O NUMBER X
RG_ID
CONTEXT VARCHAR2( X
30)
ATTRIBUTE1 VARCHAR2( X
..15 240)
7-96 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditiona Derive Optional
lly d
Name (C= Conditionally Required
Required) for
Booking
PROGRAM_ NUMBER X
APPLICATIO
N_ID
PROGRAM_I NUMBER X
D
PROGRAM_ DATE X
UPDATE_DA
TE
REQUEST_ID NUMBER X
ERROR_FLA VARCHAR2( X
G 1)
STATUS_FLA VARCHAR2( X
G 1)
• ORIG_SYS_DOCUMENT_REF =
OE_ORDER_LINES_ALL.ORIG_SYS_DOCUMENT_REF
• ORIG_SYS_LINE_REF = OE_LINES_IFACE_ALL.ORIG_SYS_LINE_REF
• ORIG_SYS_SHIPMENT_REF =
OE_LINES_IFACE_ALL.ORIG_SYS_SHIPMENT_REF
OE_RESERVTNS_IFACE_ALL
ORIG_SYS_S VARCHAR2(50) X
HIPMENT_
REF
CHANGE_S VARCHAR2(50) X
EQUENCE
ORG_ID NUMBER X
7-98 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionally Derived Optio
Required for nal
Name (C= Booking
Conditionally
Required)
REVISION VARCHAR2(3) X
LOT_NUMB NUMBER X
ER_ID
LOT_NUMB VARCHAR2(30) X
ER
SOLD_TO_ VARCHAR2(360) X
ORG
SOLD_TO_ NUMBER X
ORG_ID
SUBINVENT NUMBER
ORY_ID
SUBINVENT VARCHAR2(10) X
ORY_CODE
LOCATOR_I NUMBER X
D
ATTRIBUTE VARCHAR2(30) X
_CATEGOR
Y
ATTRIBUTE VARCHAR2(240) X
1..15
REQUEST_I NUMBER X
D
ERROR_FLA VARCHAR2(1) X
G
• ORIG_SYS_DOCUMENT_REF =
OE_ORDER_HEADERS_ALL.ORIG_SYS_DOCUMENT_REF
• ORIG_SYS_LINE_REF = OE_ORDER_LINES_ALL.ORIG_SYS_LINE_REF
• ORIG_SYS_SHIPMENT_REF =
OE_ORDER_LINES_ALL.ORIG_SYS_SHIPMENT_REF
• INVENTORY_ITEM_ID = MTL_SYSTEM_ITEMS_B.INVENTORY_ITEM_ID
OE_ACTIONS_IFACE_ALL
ORDER_SO NUMBER X
URCE_ID
ORIG_SYS_L VARCHAR2 X
INE_REF (50)
ORIG_SYS_S VARCHAR2 X
HIPMENT_ (50)
REF
7-100 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Required Conditionall Derived Optional
y Required
Name (C= for Booking
Conditionall
y Required)
CHANGE_S VARCHAR2 X
EQUENCE (50)
ORG_ID NUMBER X
HOLD_ID NUMBER X
HOLD_TYP VARCHAR2 X
E_CODE (1)
HOLD_TYP NUMBER X
E_ID
HOLD_UNT DATE X
IL_DATE
RELEASE_R VARCHAR2 X
EASON_CO (30)
DE
SOLD_TO_O VARCHAR2 X
RG (360)
SOLD_TO_O NUMBER X
RG_ID
COMMENT VARCHAR2 X
S (240)
CONTEXT VARCHAR2 X
(240)
ATTRIBUTE VARCHAR2 X
1..15 (240)
REQUEST_I NUMBER X
D
ERROR_FLA VARCHAR2 X
G (1)
STATUS_FL VARCHAR2 X
AG (1)
CHAR_PAR VARCHAR2
AM1 (2000)
CHAR_PAR VARCHAR2
AM2 (240)
CHAR_PAR VARCHAR2
AM3 (240)
CHAR_PAR VARCHAR2
AM4 (240)
CHAR_PAR VARCHAR2
AM5 (240)
DATE_PAR DATE
AM1
DATE_PAR DATE
AM2
DATE_PAR DATE
AM3
DATE_PAR DATE
AM4
DATE_PAR DATE
AM5
7-102 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_ACTIONS_IFACE_ALL Derived Values
• ORDER_SOURCE_ID = OE_ORDER_SOURCES.ORDER_SOURCE_ID
• ORIG_SYS_DOCUMENT_REF =
OE_HEADERS_IFACE_ALL.ORIG_SYS_DOCUMENT_REF
• ORIG_SYS_LINE_REF = OE_LINES_IFACE_ALL.ORIG_SYS_LINE_REF
• ORIG_SYS_SHIPMENT_REF =
OE_LINES_IFACE_ALL.ORIG_SYS_SHIPMENT_REF
ONT.OE_PAYMENTS_IFACE_ALL
This is a multi-org table for payment records open interface. This table stores payment
information that is imported from a feeder system into Oracle Order Management using
Order Import. You can import a single payment record at the order level using the
existing oe_headers_iface_all.
ONT.OE_PAYMENTS_IFACE_ALL Table
7-104 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PAYMENT_TRX NUMBER NA No Commitment ID,
_ID Customer Bank
Account ID or
NULL.
7-106 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CHECK_NUMB NUMBER NA No A holder for
ER check number if
payment type
code is Check.
7-108 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
ATTRIBUTE5 VARCHAR2 240 No Descriptive
flex-field
segment
Indexes
OE_PAYMENTS_IFACE_N1: Request_ID
OE_PAYMENTS_IFACE_N2: Order_Source_Id,
Orig_Sys_Document_Ref, Orig_Sys_Line_Ref, Orig_sys_shipment_ref,
orig_sys_payment_ref
Primary key: N2+Change Sequence
7-110 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Process Orders Entities and Associated Tables
Though Order Management APIs do not seed any error messages, the Multi-Org API is
called and raises one of the following messages depending on the nature of the failure:
• FND_MO_NOINIT_SP_PUB_API: Raised if the Multi-Org initialization is not done.
Pricing an Order/Line
Pricing in process order API can be controlled using flag calculate_price_flag on order
line record. When set to Y (Yes), the process order API fetches the list price and applies
7-112 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
adjustments and charges. When set to N, the process order API would fetch a list price
if the list price is not passed and no adjustments would be applied. When set to P, all
the modifiers which are associated with phases having override freeze flag set to Y are
applied. That mainly includes freight charges.
You may use the Process Order Interface for order repricing, provided the order data
you are updating has an change that will trigger repricing. Once Process Order is
invoked and program logic determines an attribute that can trigger order repricing has
been updated, a call to the pricing engine is made to reprice the order.
The following order attributes (database columns) can trigger Process Order to reprice
an order or order line:
• agreement_id
• cust_po_number
• inventory_item_id
• invoice_to_org_id
• ordered_item_id
• ordered_item
• line_category_code
• line_type_id
• ordered_quantity
• ordered_quantity_uom
• preferred_grade
• payment_term_id
• price_list_id
• pricing_date
• request_date
• ship_to_org_id
• sold_to_org_id
• service_start_date
• service_duration
• service_period
Along with the preceding attributes, a pricing call will be invoked when a change
occurs in the following attributes (from OEXULINB.pls):
• Cancelled_quantity on the sales order line.
You can also choose to update order pricing via the action Price Order from the Order
Organizer or Sales Orders window.
Note: You cannot interface an order line having a price list with a
currency code different from the existing or newly created order
header's currency code. An error message will be displayed in the
Process Messages window.
Scheduling/Reservations
Process order API can be used to perform scheduling actions on order lines. Scheduling
actions include: schedule, unschedule, reserve and unreserve.
The schedule_action_code field provided on the order line record (line_rec_type) can be
used to provide the action which needs to be performed on the order line.
Reservations can also be performed by passing the reserved_quantity on the order line
record. You do not need to send in the schedule action if reserved_quantity is passed.
Process Order API will also automatically schedule or re-schedule the lines if the
schedule_ship_date or schedule_arrival_date field is passed or updated respectively.
Alternatively, you can just set the profile option OM: AutoSchedule to Yes and all
standard lines will be automatically scheduled as they are created. This holds true only
if the lines are not part of any set.
Return Lines
Process order can be used to create and update return lines also. To create a return line,
you can either pass in the line category of RETURN on the order line record and the line
type would default to the inbound line type of the order type. Alternatively, you can
also provide a line type of the type Return on the order line record.
Additionally, if you want to specify a reference for the return line, you can pass in the
return flexfields (return_context, return_attribute1-2).
7-114 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Return_Context can have the following values to determine the reference type:
• Sales Order
• Customer PO
• Invoice
• Serial Number
• return_Attribute2: Line ID
• Customer PO
• return_Attribute1: Header ID
• return_Attribute2: Line ID
• Invoice
• return_Attribute1: Invoice Header ID
• Serial Number
• return_Attribute1: Inventory Item ID
• use an order category of RETURN or MIXED for the Order Header record.
• Additionally, you will need to populate the column reason_code for all return
lines. Valid values are those values defined for the Order Management
quickcode CREDIT_MEMO_REASON.
Creation of a Referenced RMA (if you want to return an existing outbound line): If
you create a referenced RMA, you should copy the Header Record for the return from
the referenced Order header record, modifying the Order Type to category RETURN or
MIXED (order_type_id from oe_transaction_types_all).
For the Order Line record, populate the following attributes only:
1. Line_category_code: RETURN
2. return_context: ORDER
5. calculate_price_flag: Set it to P if you want to retain the original price, the flag to Y
if you want to reprice the RMA line.
8. Sales credit details: populate the header_level/line level sales credits from the
referenced order.
7-116 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
-- ACTION REQUEST RECORD for acceptance
-- parameters
-- acceptance type code
l_request_rec.param1 := 'Fulfillment';
-- quantity
l_request_rec.param2 := 10;
-- customer signature
l_request_rec.param4 := 'John Smith';
Acceptance Fulfillment
Lines waiting for fulfillment acceptance will be accepted for revenue recognition based
Parameter Description
request_type OE_GLOBALS.G_ACCEPT_FULFILLMENT
Rejection Fulfillment
Lines waiting for fulfillment acceptance will be rejected for revenue recognition based
on the parameters sent in on the request record:
Parameter Description
request_type OE_GLOBALS.G_ACCEPT_FULFILLMENT
7-118 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Holds/Releases
The existing hold sources are evaluated and if they are applicable, holds are applied
and released automatically on the orders or order lines when created/updated via the
process order API.
For e.g. if there is a hold source defined for the customer ABC, all orders for that
customer are placed on hold as they are entered.
Attachments
If the profile option OM: Apply Automatic Attachments is set to Yes and if attachment
rules are applicable, attachments are automatically applied to the order header or order
lines when they are created via the process order API.
The caller can also send in an explicit action request to apply attachments. Please refer
to the section Action Requests for more details.
Sets
Process order can be used to add or delete order lines from ship sets, arrival sets or
fulfillment sets. Action Requests can be used to add or remove lines from fulfillment
sets. Please refer to Process Order and Action Requests sections for more details.
User can add a line into a new set by passing set name
(ship_set/arrival_set/fullfillment_set) on the line record or user can use set id
(ship_set_id/arrival_set_id/fulfillment_set_id) to add to an existing set.
Splits
Process order can be used to split an existing order line into shipments. User can
perform splits by calling process order with both the line records, one to reduce the
quantity on the existing line record with the action of SPLIT and another to create the
new line with the remaining quantity and a reference to the line that it was split from.
For e.g. if user wants to split a line with original quantity 10 into 6 and 4 he must
populate the table in the following manner. In the first update call to process order user
cannot update any other attributes other than ordered quantity.
line_tbl(1).split_action_code := 'SPLIT'
line_tbl(1).split_by := 'USER'
line_tbl(1).ordered_quantity := 6
line_tbl(1).operation = oe_globals.g_opr_update
line_tbl(2).split_by := 'USER'
line_tbl(2).ordered_quantity := 4
line_tbl(2).operation = oe_globals.g_opr_create
line_tbl(2).split_from_line_id := line_tbl(1).line_id
User can also optionally pass in the change reason and change comments on the
original line record that is being updated.
Cancellation
Process order can be used to cancel orders and order lines. User should update the
cancelled flag to Y on the header record if user intends to cancel the entire order.
Cancellation on the line is performed by reducing the ordered quantity on the line
record. User has to supply change reason and optionally change comments on the line
record.
Tax Calculation
Process order will check whether the transaction type on the order line is taxable or
whether user has specified that tax should be calculated (set the tax exempt flag to
Required). The calculated tax is always an estimated value and is internally stored as a
price adjustment.
Cascading
Process Order will automatically cascade changes to other dependent entities. For
example,
• cascade quantity changes from model lines to all options lines
• if a set identifying attribute is changed on one line of the set, the change will be
automatically applied to all lines on the set.
7-120 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
standard lines and model lines are processed. These are followed by processing of
requests in their arrival order. The importance of declaring the processing sequence
may be depicted by the following example. Consider that a model M1 has O1 and M2 as
two of its options. M2 has O2 and O3 as two options defined for it. Graphically
represented, it would look like this.
Let us assume that the following requests are received by Process Order API:
• Request 1: Update the quantity of Option4 to 20.
If requests are processed in the order that they were received, the following would
occur:
Option 4 would be updated to 20 assuming that the new ratio between Model2 and
Option4 (1:10) falls within a valid range. Next Model2 would be updated to 4 (assuming
again that ratio of Model1 to Model2 is valid). That would then result in quantity
cascading, thereby updating Option3 to 8 and Option4 to 40. So the resulting quantities
are:
Model2 = 4, Option3 = 8, Option4 = 40.
If processing sequence of requests is based on item type (models first, classes next,
options after that etc.), the following would be the sequence in which the requests
would be processed:
Request 2 would be processed first, with quantity of Model2 to be updated to 4. Next
quantity of Option4 would be updated to 20 (assuming ratios fall in the right range). So
the resulting quantities are:
Model2 = 4, Option3 = 8 and Option4 = 20.
Booking an Order
The following order and line level columns and fields are required for booking an
order:
Order Header
• The following fields are required at the order header level:
• Order_Number
• Sold_to_Org
• Invoice_to_Org_Id
• Price_list
• Tax_Exempt_Flag
• Ordered_Date
• The following fields are required for regular or mixed orders, but not for return
orders:
• Ship_to_Org
• Payment_Term_Id
• For checks based on Payment Type: If Payment_Type_Code is not null, then the
Payment_Amount is required. The Check_Number is required if the payment_type
is check .
Line
• Required fields:
• Order_Number
7-122 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Sold_to_Org
• Invoice_to_Org_Id
• Price_list
• Tax_Exempt_Flag
• Ordered_Date
• Inventory_Item_Id
• Ordered_Quantity
• Ordered_Quantity_UOM
The following fields are required for regular or mixed orders, but not for return
orders:
• Ship_to_Org
• Payment_Term_Id
• This is the main procedure used to create, update and delete the entities on the sales
order. This procedure can also be used to perform other actions via the records or
• Get_Order
This procedure queries and returns all records belonging to a single sales order
object.
• Lock_Order
Locks the entities of a sales order object. Use the get_order procedure to retrieve the
entity records and then call lock_order with the records to be locked.
7. Check Entity context to make sure all lines belong to one header
8. Process Lines
7-124 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
15. Perform Cross Entity Logic for Sales Order business object
The procedure process_order performs the following actions for each entity on the
order object:
Attribute Level Security Check
If operation on the record is UPDATE or CREATE, then for all the attributes that have
changed between the old and the new record, constraints are evaluated to check if the
user is allowed to change the attribute. An error is raised if there was at least one
attribute that failed security check and the record is not processed further.
Attribute Validation
All the attributes that are passed in by the caller on the entity record are validated.
Errors are posted to the OM message stack for all attributes that are invalid. An error is
raised at the end if at least one attribute failed validation and the record is not processed
further.
Clear Dependent Attributes
If operation is UPDATE, then the fields dependent on the updated fields are cleared (or
set to MISSING values). This is done so that the dependent fields are re-defaulted. For
e.g. if the customer on the order is being updated, then the contacts, ship to and bill to
on the order should be re-defaulted.
Note: If the user is also trying to update the dependent fields in the
same call to the process order API, then the fields will not be cleared
and the user-specified value will be used instead.
Defaulting
Defaulting occurs for each missing attribute.
Attributes that are not explicitly passed by the user and therefore, retain the values on
the initialized record are defined as MISSING attributes. For e.g. all the number fields
on the entity records are initialized to the value FND_API.G_MISS_NUM and thus, all
number fields with this value are MISSING attributes.
• Check security if new default value is different from old value and if there is a valid
constraint, then an error is raised and abort processing of this record.
• Validate the default value if not null. If new default value is NOT valid, then set the
attribute to NULL.
• If default value is valid, clear the dependent attributes (set to MISSING values).
Record Validation
There are three main validation steps:
1. Check for Required Attributes. Validate that all the required attributes have been
specified on the entity and even if one required attribute is missing, raise an error
and quit. For e.g. inventory item is a required field on the order line entity.
2. Check for Conditionally Required Attributes. Validate that all attributes that are
required based on the status of the entity have been specified and if at least one is
not specified, raise an error and quit. For e.g. for a booked line, ship to location is
required.
3. Cross-Attribute Validation. Validate all those attributes that are dependent on the
value of another attribute. At the end of the validation, if at least one attribute is not
valid, then raise an error and quit. For e.g. verify that the ship to is valid for the
customer.
7-126 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
if operation if operation
error
Attribute Validation
CREATE UPDATE
Defaulting
Record Validation
error
Database Write
Process
Next
Successfully
error
• Version number
Parameter Descriptions
The following chart describes all parameters used by the public API
OE_ORDER_PUB.PROCESS_ORDER. All of the inbound and outbound parameters are
listed. The OUT parameters have to be assigned when calling the API and are therefore
marked as Required fields. Additional information on these parameters follows.
OE_ORDER_PUB.PROCESS_ORDER
7-128 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
Success:
FND_API.
G_RET_ST
S_SUCCES
S
Error:
FND_API.
G_RET_ST
S_ERROR
Unexpecte
d Error:
FND_API.
G_RET_ST
S_UNEXP_
ERROR
7-130 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
If the
x_msg_cou
nt is
greater
than 1,
then the list
of
messages
must be
retrieved
using the
call
OE_MSG_
PUB.GET.
This api
can be
called with
the
following
parameter
values:
p_msg_ind
ex => I
p_encoded
=> F
p_data =>
1_message
p_msg_ind
ex_out =>
1_msg_ind
ex_out
where
1_message
and
1_msg_ind
ex_out
should be
local
variables of
types
Varchar2(2
000 and
Number
respectivel
y
7-132 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-134 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-136 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
p_Header_ IN Header_Pa
Payment_t yment_Tbl
bl _Type :=
G_MISS_H
EADER_P
AYMENT_
TBL
p_old_Hea IN Header_Pa
der_Payme yment_Tbl
nt_tbl _Type :=
G_MISS_H
EADER_Pa
yment_TBL
p_Header_ IN Header_Pa
Payment_v yment_Val
al_tbl _Tbl_Type
:=
G_MISS_H
EADER_Pa
yment_VA
L_TBL
p_old_Hea IN
der_Payme
nt_val_tbl
7-138 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
p_line_pric IN PL/SQL X
e_att_tbl Table
p_old_line IN PL/SQL X
_price_att_t Table
bl
p_line_adj_ IN PL/SQL X
att_tbl Table
p_old_line IN PL/SQL X
_adj_att_tbl Table
7-140 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
p_Line_Pa IN Line_Paym
yment_tbl ent_Tbl_Ty
pe :=
G_MISS_H
EADER_P
AYMENT_
TBL
p_old_Line IN Line_Paym
_Payment_ ent_Tbl_Ty
tbl pe :=
G_MISS_H
EADER_Pa
yment_TBL
p_Line_pa IN Line_Paym
yment_val_ ent_Val_Tb
tbl l_Type :=
G_MISS_LI
NE_Payme
nt_VAL_T
BL
p_old_Line IN
_Payment_
val_tbl
7-142 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-144 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-146 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
• Version number
Parameter Descriptions
The following chart describes all parameters used by the public API
OE_ORDER_PUB.GET_ORDER. All of the inbound and outbound parameters are
listed. Additional information on these parameters follows.
7-148 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_ORDER_PUB.GET_ORDER
7-150 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
Valid
values
include:
Success:
FND_API.
G_RET_ST
S_SUCCES
S
Error:
FND_API.
G_RET_ST
S_ERROR
Unexpected
Error:
FND_API.
G_RET_ST
S_UNEXP_
ERROR
If the
x_msg_cou
nt is
greater
than 1,
then the list
of
messages
must be
retrieved
using the
call
OE_MSG_
PUB.GET.
This api
can be
called with
the
following
parameter
values:
p_msg_ind
ex => I
p_encoded
=> F
p_data =>
1_message
p_msg_ind
ex_out =>
1_msg_ind
ex_out
where
1_message
and
7-152 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
1_msg_ind
ex_out
should be
local
variables of
types
Varchar2(2
000) and
Number
respectivel
y.
p_header IN Varchar2 X
7-154 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-156 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
• Version number
• Query all the entities for the sales order using the Get_Order procedure.
Parameter Descriptions
The following chart describes all parameters used by the public API
OE_ORDER_PUB.LOCK_ORDER. All of the inbound and outbound parameters are
listed. The OUT parameters have to be assigned when calling the API and are therefore
marked as Required fields. Additional information on these parameters follows.
7-158 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_ORDER_PUB.LOCK_ORDER
Valid
values
include:
Success:
FND_API.
G_RET_ST
S_SUCCES
S
Error:
FND_API.
G_RET_ST
S_ERROR
Unexpected
Error:
FND_API.
G_RET_ST
S_UNEXP_
ERROR
7-160 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
If the
x_msg_cou
nt is
greater
than 1,
then the list
of
messages
must be
retrieved
using the
call
OE_MSG_
PUB.GET.
This api
can be
called with
the
following
parameter
values:
p_msg_ind
ex => I
p_encoded
=> F
p_data =>
1_message
p_msg_ind
ex_out =>
1_msg_ind
ex_out
where
1_message
and
1_msg_ind
ex_out
should be
local
variables of
types
Varchar2(2
000) and
Number
respectivel
y.
7-162 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-164 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-166 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-168 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
7-170 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Optional Descriptio Default
n
• Optional: if users can either provide values for these fields or could be defaulted.
The value record structures have all fields that can be optionally passed instead of the
identifier. If the identifier field is not passed when required, the value field can be
passed instead and the value will be resolved into the identifier.
These record and table structures are defined in the specifications of the process order
API, OE_ORDER_PUB.
Header_Rec_Type
Please refer to the table below.
• Please note that columns attribute1 - attribute15 are currently defined as
VARCHAR2(240), but only the first 150 characters are passed to Oracle Receivables
during Invoice Interface. These columns contain Additional Header Information
Descriptive Flexfield data
OE_ORDER_HEADERS_ALL
accounting NUMBER X
_rule_id
agreement NUMBER C - if X
_id order
type
require
s
attribute1... VARCHAR2(2 X
. 40)
attribute20
booked_fla VARCHAR2(1) X
g
7-172 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Description Datatype Required Requir Deri Optio
ed at ved nal
Bookin
g
cancelled_f VARCHAR2(1) X
lag
context VARCHAR2(3 X
0)
conversion NUMBER C - if X
_rate convers
ion
type is
User
conversion DATE C - if X
_rate_date convers
ion
type is
User
conversion VARCHAR2(3 C - if X
_type_code 0) order
currenc
y not
same as
SOB
currenc
y
customer_ VARCHAR2(3 X
preference 0)
_set_code
created_by NUMBER X
creation_d DATE X
ate
cust_po_nu VARCHAR2(5 C - if X
mber 0) order
type
require
s
deliver_to_ NUMBER X
contact_id
deliver_to_ NUMBER X
org_id
demand_cl VARCHAR2(3 X
ass_code 0)
earliest_sch NUMBER X
edule_limit
expiration_ DATE X
date
fob_point_ VARCHAR2(3 X
code 0)
freight_car VARCHAR2(3 X
rier_code 0)
freight_ter VARCHAR2(3 X
ms_code 0)
global_attri VARCHAR2(2 X
bute1...20 40)
global_attri VARCHAR2(3 X
bute_categ 0)
ory
tp_context VARCHAR2(3 X
0)
tp_attribut VARCHAR2(2 X
e1.... 40)
tp_attribut
e20
7-174 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Description Datatype Required Requir Deri Optio
ed at ved nal
Bookin
g
invoice_to_ NUMBER X
contact_id
invoice_to_ NUMBER X
org_id
invoicing_r NUMBER X
ule_id
last_updat NUMBER X
ed_by
last_updat DATE X
e_date
last_updat NUMBER X
e_login
latest_sche NUMBER X
dule_limit
open_flag VARCHAR2(1) X
order_cate VARCHAR2(3 X
gory_code 0)
ordered_da DATE X X
te
order_date VARCHAR2(3 X
_type_code 0)
order_sour NUMBER X
ce_id
order_type NUMBER X
_id
org_id NUMBER X
orig_sys_d VARCHAR2(5 X
ocument_r 0)
ef
partial_shi VARCHAR2(1) X
pments_all
owed
price_list_i NUMBER X X
d
pricing_dat DATE X X
e
program_a NUMBER X
pplication_
id
program_i NUMBER X
d
7-176 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Description Datatype Required Requir Deri Optio
ed at ved nal
Bookin
g
program_u DATE X
pdate_date
request_da DATE X
te
request_id NUMBER X
return_reas VARCHAR2(3 X
on_code 0)
salesrep_id NUMBER X X
sales_chan VARCHAR2(3 X
nel_code 0)
shipment_ VARCHAR2(3 X
priority_co 0)
de
shipping_ VARCHAR2(3 X
method_co 0)
de
ship_tolera NUMBER X
nce_above
ship_tolera NUMBER X
nce_below
ship_to_co NUMBER X
ntact_id
sold_from_ NUMBER X
org_id
sold_to_co NUMBER X
ntact_id
sold_to_or NUMBER X X
g_id
source_doc NUMBER X
ument_id
source_doc NUMBER X
ument_typ
e_id
tax_exempt VARCHAR2(3 X X
_flag 0)
tax_exempt VARCHAR2(5 X
_number 0)
transaction VARCHAR2(3) X
al_curr_co
de
7-178 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Description Datatype Required Requir Deri Optio
ed at ved nal
Bookin
g
version_nu NUMBER X
mber
return_stat VARCHAR2(1) X
us
db_flag VARCHAR2(1) X
operation VARCHAR2(3 X
0)
first_ack_c VARCHAR2(3 X
ode 0)
first_ack_d DATE X
ate
last_ack_co VARCHAR2(3 X
de 0)
last_ack_d DATE X
ate
change_co VARCHAR2(2 X
mments 000)
change_seq VARCHAR2(5 X
uence 0)
change_req VARCHAR2(3 X
uest_code 0)
ready_flag VARCHAR2(1) X
status_flag VARCHAR2(1) X
force_appl VARCHAR2(1) X
y_flag
drop_ship_ VARCHAR2(1) X
flag
payment_t VARCHAR2(3 X
ype_code 0)
payment_a NUMBER C - if
mount payme
nt type
other
than
Credit
Card
check_num VARCHAR2(5 C - if
ber 0) payme
nt type
is Check
credit_card VARCHAR2(8 X
_code 0)
credit_card VARCHAR2(8 C - if
_holder_na 0) payme
me nt type
is Credit
Card
7-180 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Description Datatype Required Requir Deri Optio
ed at ved nal
Bookin
g
credit_card VARCHAR2(8 C - if
_number 0) payme
nt type
Credit
Card
credit_card DATE C - if
_expiration payme
_date nt type
Credit
Card
credit_card VARCHAR2(8 X X
_approval_ 0)
code
credit_card DATE X
_approval_
date
shipping_i VARCHAR2(2 X
nstructions 000)
packing_in VARCHAR2(2 X
structions 000)
flow_status VARCHAR2(3 X
_code 0)
booked_da DATE X
te
marketing_ NUMBER X
source_cod
e_id
xml_messa NUMBER X
ge_id
xml_transa VARCHAR2(3 X
ction_type 0)
_code
IB_OWNE Varchar2(60)
R_CODE
IB_INSTAL Varchar2(60)
LED_AT_L
OCATION
IB_CURRE Varchar2(60)
NT_LOCA
TION
7-182 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
TYPE Header_Tbl_Type IS TABLE OF Header_Rec_Type
INDEX BY BINARY_INTEGER;
Header_Rec_Type
Header_Rec_Type
Parameter Value
ship_to_customer_id NUMBER
invoice_to_customer_id NUMBER
deliver_to_customer_id NUMBER
IB_OWNER VARCHAR2(60)
IB_INSTALLED_AT_LOCATION VARCHAR2(60)
IB_CURRENT_LOCATION VARCHAR2(60)
END_CUSTOMER_ID NUMBER
END_CUSTOMER_CONTACT_ID NUMBER
END_CUSTOMER_SITE_USE_ID NUMBER
sold_to_party_id NUMBER
sold_to_org_contact_id NUMBER
ship_to_party_id NUMBER
ship_to_party_site_id NUMBER
ship_to_party_site_use_id NUMBER
deliver_to_party_id NUMBER
deliver_to_party_site_id NUMBER
deliver_to_party_site_use_id NUMBER
ship_to_customer_id NUMBER
invoice_to_party_id NUMBER
invoice_to_party_site_id NUMBER
invoice_to_party_site_use_id NUMBER
ship_to_customer_party_id NUMBER
deliver_to_customer_party_id NUMBER
invoice_to_customer_party_id NUMBER
ship_to_org_contact_id NUMBER
deliver_to_org_contact_id NUMBER
invoice_to_org_contact_id NUMBER
sold_to_party_number varchar2(30)
ship_to_party_number varchar2(30)
invoice_to_party_number varchar2(30)
deliver_to_party_number varchar2(30)
Header_Val_Rec_Type
For column descriptions, please refer to the Order Management e-TRM for the table:
Header_Val_Rec_Type
Parameter accounting_rule
agreement
conversion_type
7-184 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter accounting_rule
deliver_to_address1
deliver_to_address2
deliver_to_address3
deliver_to_address4
deliver_to_contact
deliver_to_location
deliver_to_org
demand_class
fob_point
freight_terms
invoice_to_address1
invoice_to_address2
invoice_to_address3
invoice_to_address4
invoice_to_contact
invoice_to_location
invoice_to_org
invoicing_rule
order_source
order_type
payment_term
price_list
return_reason
salesrep
shipment_priority
ship_from_address1
ship_from_address2
ship_from_address3
ship_from_address4
ship_from_location
ship_from_org
ship_to_address1
ship_to_address2
ship_to_address3
ship_to_address4
ship_to_contact
ship_to_location
ship_to_org
sold_to_contact
sold_to_org
7-186 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter accounting_rule
sold_from_org
tax_exempt
tax_exempt_reason
tax_point
customer_payment_term - obsolete
payment_type
credit_card
status
freight_carrier
shipping_method
order_date_type
customer_number
sales_channel
ship_to_customer_name VARCHAR2(360)
invoice_to_customer_name VARCHAR2(360)
ship_to_customer_number VARCHAR2(50)
invoice_to_customer_number VARCHAR2(50)
deliver_to_customer_number VARCHAR2(50)
deliver_to_customer_name VARCHAR2(360)
end_customer_name VARCHAR2(360)
end_customer_number VARCHAR2(50)
end_customer_contact VARCHAR2(360)
end_cust_contact_last_name VARCHAR2(240)
end_cust_contact_first_name VARCHAR2(240)
end_customer_site_address1 VARCHAR2(240)
end_customer_site_address2 VARCHAR2(240)
end_customer_site_address3 VARCHAR2(240)
end_customer_site_address4 VARCHAR2(240)
end_customer_site_state VARCHAR2(240)
end_customer_site_country VARCHAR2(240)
end_customer_site_location VARCHAR2(240)
end_customer_site_zip VARCHAR2(240)
end_customer_site_county VARCHAR2(240)
end_customer_site_province VARCHAR2(240)
end_customer_site_city VARCHAR2(240)
end_customer_site_postal_code VARCHAR2(240)
ib_owner_dsp VARCHAR2(60)
ib_installed_at_location_dsp VARCHAR2(60)
ib_current_location_dsp VARCHAR2(60)
7-188 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Header_Adj_Rec_Type
For column descriptions, please refer to the Order Management e-TRM for the table
OE_PRICE_ADJUSTMENTS
OE_PRICE_ADJUSTMENTS
attribute1 - VARCHAR2(240
attribute15 )
context VARCHAR2(30) X
created_by NUMBER X
creation_date DATE X
discount_id NUMBER X
discount_line_id NUMBER X
header_id NUMBER X
last_updated_by NUMBER X
last_update_date DATE X
last_update_logi NUMBER X
n
percent NUMBER X
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
line_index NUMBER X
orig_sys_discou VARCHAR2(50) X
nt_ref
change_request_ VARCHAR2(30) X
code
status_flag VARCHAR2(1) X
list_line_type_co VARCHAR2(30) X
de
modifier_mecha VARCHAR2(30) X
nism_type_code
modified_from NUMBER X
modified_to NUMBER X
updated_flag VARCHAR2(1) X
7-190 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
update_allowed VARCHAR2(1) X
applied_flag VARCHAR2(1)
change_reason_c VARCHAR2(30) X
ode
change_reason_t VARCHAR2(200 X
ext 0)
operand NUMBER X
operand_per_pq NUMBER X
ty
arithmetic_opera VARCHAR2(30) X
tor
cost_id NUMBER X
tax_code VARCHAR2(30)
tax_exempt_flag VARCHAR2(1)
tax_exempt_nu VARCHAR2(80)
mber
tax_exempt_reas VARCHAR2(30)
on_code
invoiced_flag VARCHAR2(1) X
estimated_flag VARCHAR2(1) X
inc_in_sales_perf VARCHAR2(1) X
ormance
split_action_cod VARCHAR2(30) X
e
adjusted_amoun NUMBER X
t
adjusted_amoun NUMBER X
t_per_pqty
pricing_phase_id NUMBER X
charge_type_cod VARCHAR2(30) X
e
charge_subtype_ VARCHAR2(30) X
code
list_line_no VARCHAR2(240 X
)
source_system_c VARCHAR2(30) X
ode
benefit_qty NUMBER X
benefit_uom_co VARCHAR2(3) X
de
print_on_invoice VARCHAR2(1) X
_flag
expiration_date DATE X
rebate_transactio VARCHAR2(30) X
n_type_code
rebate_transactio VARCHAR2(80) X
n_reference
rebate_payment_ VARCHAR2(30) X
system_code
7-192 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
redeemed_date DATE X
redeemed_flag VARCHAR2(1) X
accrual_flag VARCHAR2(1) X
range_break_qua NUMBER X
ntity
accrual_conversi NUMBER X
on_rate
pricing_group_s NUMBER X
equence
modifier_level_c VARCHAR2(30) X
ode
price_break_type VARCHAR2(30) X
_code
substitution_attri VARCHAR2(30) X
bute
proration_type_c VARCHAR2(30) X
ode
credit_or_charge VARCHAR2(1) X
_flag
include_on_retur VARCHAR2(1) X
ns_flag
ac_attribute1... VARCHAR2(240 X
)
ac_attribute15
ac_context VARCHAR2(150 X
)
Header_Adj_Val_Rec_Type
Header_Adj_Val_Rec_Type
Parameter
discount
list_name
Header_Price_Att_Rec_Type
For column descriptions, please refer to the Order Management table
OE_ORDER_PRICE_ATTRIBS
OE_ORDER_PRICE_ATTRIBS
header_id NUMBER X
creation_date DATE X
created_by NUMBER X
last_update_date DATE X
last_updated_by NUMBER X
last_update_logi NUMBER X
n
7-194 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
flex_title VARCHAR2(60) X
pricing_context VARCHAR2(30) X
context VARCHAR2(30) X
attribute1... VARCHAR2(240 X
)
attribute15
Override_Flag VARCHAR2(1) X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
cdj_index NUMBER C - if
price_adjustmen
t_id not passed
flex_title VARCHAR2(60) X
pricing_context VARCHAR2(30) X
pricing_attribute VARCHAR2(30) X
creation_date DATE X
created_by NUMBER X
last_update_date DATE X
last_updated_by NUMBER X
last_update_logi NUMBER X
n
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
pricing_attr_valu VARCHAR2(240 X
e_from )
7-196 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
pricing_attr_valu VARCHAR2(240 X
e_to )
comparison_ope VARCHAR2(30) X
rator
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30)
OE_PRICE_ADJ_ASSOCS
line_id NUMBER
Line_Index NUMBER
Adj_index NUMBER C - if
price_adjustmen
t_id not passed
rltd_Price_Adj_I NUMBER X
d
Rltd_Adj_Index NUMBER X
creation_date DATE X
created_by NUMBER X
last_update_date DATE X
last_updated_by NUMBER X
last_update_logi NUMBER X
n
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
7-198 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
OE_SALES_CREDITS
attribute1... VARCHAR2(240 X
)
attribute15
context VARCHAR2(30) X
created_by NUMBER X
creation_date DATE X
dw_update_advi VARCHAR2(1) X
ce_flag
header_id NUMBER X
last_updated_by NUMBER X
last_update_date DATE X
last_update_logi NUMBER X
n
percent NUMBER X
salesrep_id NUMBER X
sales_credit_type NUMBER X
_id
sales_credit_id NUMBER X
wh_update_date DATE X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
orig_sys_credit_r VARCHAR2(50) X
ef
change_request_ VARCHAR2(30) X
code
status_flag VARCHAR2(1) X
OE_ORDER_LINES_ALL
accountin NUMBER X
g_rule_id
actual_arri DATE X
val_date
7-200 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
actual_shi DATE X
pment_dat
e
agreement NUMBER X
_id
arrival_set NUMBER X
_id
ato_line_i NUMBER X
d
attribute1.. VARCHAR2(24 X
.attribute2 0)
0
authorized VARCHAR2(1) X
_to_ship_f
lag
auto_selec NUMBER X
ted_quanti
ty
booked_fl VARCHAR2(1) X
ag
cancelled_ VARCHAR2(1) X
flag
cancelled_ NUMBER X
quantity
cancelled_ NUMBER X
quantity2
commitme NUMBER X
nt_id
componen VARCHAR2(10 X
t_code 00)
componen NUMBER X
t_number
componen NUMBER X
t_sequenc
e_id
config_hea NUMBER X X
der_id
config_rev NUMBER X X
_nbr
config_dis NUMBER X
play_sequ
ence
configurat NUMBER X X
ion_id
context VARCHAR2(30 X
)
created_b NUMBER X
y
creation_d DATE X
ate
credit_inv NUMBER X
oice_line_i
d
customer_ VARCHAR2(50 X
dock_code )
7-202 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
customer_j VARCHAR2(50 X
ob )
customer_ VARCHAR2(50 X
productio )
n_line
customer_ NUMBER X
trx_line_id
cust_mode VARCHAR2(50 X
l_serial_n )
umber
cust_po_n VARCHAR2(50 X
umber )
cust_prod VARCHAR2(50 X
uction_seq )
_num
delivery_l NUMBER X
ead_time
deliver_to NUMBER X
_contact_i
d
deliver_to NUMBER X
_org_id
demand_b VARCHAR2(30 X
ucket_typ )
e_code
demand_c VARCHAR2(30 X
lass_code )
dep_plan_ VARCHAR2(1) X
required_f
lag
earliest_ac DATE X
ceptable_d
ate
explosion_ DATE X
date
fob_point_ VARCHAR2(30 X
code )
freight_car VARCHAR2(30 X
rier_code )
freight_ter VARCHAR2(30 X
ms_code )
fulfilled_q NUMBER X
uantity
fulfilled_q NUMBER X
uantity2
global_attr VARCHAR2(24 X
ibute1...20 0)
global_attr VARCHAR2(30 X
ibute_cate )
gory
header_id NUMBER X
7-204 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
industry_a VARCHAR2(24 X
ttribute1... 0)
30
industry_c VARCHAR2(30 X
ontext )
tp_context VARCHAR2(30 X
)
tp_attribut VARCHAR2(24 X
e1...20 0)
intermed_ NUMBER X
ship_to_or
g_id
intermed_ NUMBER X
ship_to_co
ntact_id
inventory_ NUMBER X
item_id
invoice_in VARCHAR2(30 X X
terface_sta )
tus_code
invoice_to NUMBER X
_contact_i
d
invoice_to NUMBER X X
_org_id
invoicing_ NUMBER X
rule_id
item_revis VARCHAR2(3) X
ion
item_type VARCHAR2(30 X
_code )
last_updat NUMBER X
ed_by
last_updat DATE X
e_date
last_updat NUMBER X
e_login
latest_acce DATE X
ptable_dat
e
line_categ VARCHAR2(30 X X
ory_code )
line_numb NUMBER X
er
line_type_ NUMBER X X
id
link_to_lin VARCHAR2(50 X
e_ref )
link_to_lin NUMBER X
e_id
7-206 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
link_to_lin NUMBER X
e_index
model_gro NUMBER X
up_numbe
r
mfg_comp NUMBER X
onent_seq
uence_id
open_flag VARCHAR2(1) X
option_fla VARCHAR2(1) X
g
option_nu NUMBER X
mber
ordered_q NUMBER X X
uantity
ordered_q NUMBER X
uantity2
order_qua VARCHAR2(3) X X
ntity_uom
ordered_q VARCHAR2(3) X
uantity_uo
m2
org_id NUMBER X
orig_sys_d VARCHAR2(50 X
ocument_r )
ef
orig_sys_li VARCHAR2(50 X
ne_ref )
over_ship VARCHAR2(30 X
_reason_c )
ode
over_ship VARCHAR2(1) X
_resolved_
flag
planning_ NUMBER X
priority
preferred_ VARCHAR2(4) X
grade
price_list_i NUMBER X
d
pricing_att VARCHAR2(24 X
ribute1... 0)
pricing_att
ribute10
pricing_co VARCHAR2(24 X
ntext 0)
pricing_da DATE X
te
7-208 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
pricing_qu NUMBER X
antity
pricing_qu VARCHAR2(3) X
antity_uo
m
program_ NUMBER X
applicatio
n_id
program_i NUMBER X
d
program_ DATE X
update_da
te
project_id NUMBER X
promise_d DATE X
ate
re_source_ VARCHAR2(1) X
flag
reference_ NUMBER X
customer_
trx_line_id
reference_ NUMBER X
header_id
reference_ NUMBER X
line_id
reference_ VARCHAR2(30 X
type )
request_d DATE X
ate
request_id NUMBER X
reserved_ NUMBER X
quantity
return_attr VARCHAR2(24 X
ibute1... 0)
return_attr
ibute20
return_co VARCHAR2(30 X
ntext )
rla_schedu VARCHAR2(30 X
le_type_co )
de
salesrep_i NUMBER X
d
schedule_ DATE X
arrival_da
te
schedule_s DATE X
hip_date
schedule_ VARCHAR2(30 X
action_cod )
e
schedule_s VARCHAR2(30 X
tatus_code )
7-210 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
shipment_ NUMBER X
number
shipment_ VARCHAR2(30 X
priority_c )
ode
shipped_q NUMBER X
uantity
shipped_q NUMBER X
uantity2
shipping_i VARCHAR2(1) X
nterfaced_
flag
shipping_ VARCHAR2(30 X
method_c )
ode
shipping_ NUMBER X
quantity
shipping_ NUMBER X
quantity2
shipping_ VARCHAR2(3) X
quantity_
uom
shipping_ VARCHAR2(3) X
quantity_
uom2
ship_mod VARCHAR2(30 X
el_complet )
e_flag
ship_set_i NUMBER X
d
fulfillment NUMBER X
_set_id
ship_toler NUMBER X
ance_abov
e
ship_toler NUMBER X
ance_belo
w
ship_to_co NUMBER X
ntact_id
sold_to_or NUMBER X
g_id
sold_from NUMBER X
_org_id
sort_order VARCHAR2(24 X
0)
source_do NUMBER X
cument_id
7-212 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
source_do NUMBER X
cument_li
ne_id
source_do NUMBER X
cument_ty
pe_id
source_ty VARCHAR2(30 X
pe_code )
split_from NUMBER X
_line_id
tax_code VARCHAR2(50 X X
)
tax_date DATE X X
tax_exemp VARCHAR2(30 X X
t_flag )
tax_exemp VARCHAR2(50 X
t_number )
tax_rate NUMBER X
tax_value NUMBER X
top_model VARCHAR2(50 X
_line_ref )
top_model NUMBER X
_line_id
top_model NUMBER X
_line_inde
x
unit_list_p NUMBER X X
rice
unit_list_p NUMBER X
rice_per_p
qty
unit_sellin NUMBER X X
g_price
unit_sellin NUMBER X
g_price_p
er_pqty
veh_cus_it NUMBER X
em_cum_
key_id
visible_de VARCHAR2(1) X
mand_flag
return_sta VARCHAR2(1) X
tus
db_flag VARCHAR2(1) X
operation VARCHAR2(30 X
)
7-214 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
first_ack_c VARCHAR2(30 X
ode )
first_ack_ DATE X
date
last_ack_c VARCHAR2(30 X
ode )
last_ack_d DATE X
ate
change_re VARCHAR2(30 X
ason )
change_co VARCHAR2(20 X
mments 00)
arrival_set VARCHAR2(30 X
)
ship_set VARCHAR2(30 X
)
fulfillment VARCHAR2(30 X
_set )
order_sou NUMBER X
rce_id
orig_sys_s VARCHAR2(50 X
hipment_r )
ef
change_se VARCHAR2(50 X
quence )
change_re VARCHAR2(30 X
quest_cod )
e
status_flag VARCHAR2(1) X
drop_ship VARCHAR2(1) X
_flag
customer_ VARCHAR2(50 X
line_numb )
er
customer_ VARCHAR2(50 X
shipment_ )
number
customer_ NUMBER X
item_net_
price
shipping_i VARCHAR2(20 X
nstruction 00)
s
packing_i VARCHAR2(20 X
nstruction 00)
s
7-216 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
calculate_ VARCHAR2(1) X
price_flag
invoiced_ NUMBER X
quantity
service_tx VARCHAR2(30 X
n_reason_ )
code
service_tx VARCHAR2(20 X
n_comme 00)
nts
service_co VARCHAR2(1) X
terminate_
flag
unit_list_p NUMBER X
ercent
unit_sellin NUMBER X
g_percent
unit_perce NUMBER X
nt_base_p
rice
service_nu NUMBER X
mber
service_ref NUMBER X
erence_sys
tem_id
service_ref NUMBER X
_shipment
_number
service_ref NUMBER X
_option_n
umber
service_lin NUMBER X
e_index
Line_set_i NUMBER X
d
split_by VARCHAR2(24 X
0)
7-218 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
Split_Acti VARCHAR2(30 X
on_Code )
shippable_ VARCHAR2(1) X
flag
model_re VARCHAR2(1) X
mnant_fla
g
flow_statu VARCHAR2(30 X
s_code )
fulfilled_fl VARCHAR2(1) X
ag
fulfillment VARCHAR2(30 X
_method_ )
code
revenue_a NUMBER X
mount
marketing NUMBER X
_source_c
ode_id
fulfillment DATE X
_date
semi_proc BOOLEAN X
essed_flag
override_a Varchar2(30) No No No Y
tp_date_co
de
late_dema Number No No No Y
nd_penalt
y_factor
xml_trans Varchar2(30) Y
action_typ
e_code
IB_INSTA Varchar2(60)
LLED_AT
_LOCATI
ON
7-220 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Paramete Datatype Description Required Requir De Option
r ed at riv al
Booki ed
ng
Line_Rec_Type
Parameter Value
IB_OWNER VARCHAR2(60)
IB_INSTALLED_AT_LOCATION VARCHAR2(60)
IB_CURRENT_LOCATION VARCHAR2(60)
END_CUSTOMER_ID NUMBER
END_CUSTOMER_CONTACT_ID NUMBER
END_CUSTOMER_SITE_USE_ID NUMBER
ship_to_party_id NUMBER
ship_to_party_site_id NUMBER
ship_to_party_site_use_id NUMBER
deliver_to_party_id NUMBER
deliver_to_party_site_id NUMBER
deliver_to_party_site_use_id NUMBER
invoice_to_party_id NUMBER
invoice_to_party_site_id NUMBER
invoice_to_party_site_use_id NUMBER
ship_to_customer_party_id NUMBER
deliver_to_customer_party_id NUMBER
invoice_to_customer_party_id NUMBER
ship_to_org_contact_id NUMBER
deliver_to_org_contact_id NUMBER
invoice_to_org_contact_id NUMBER
ship_to_party_number varchar2(30)
invoice_to_party_number varchar2(30)
deliver_to_party_number varchar2(30)
retrobill_request_id NUMBER
CONTINGENCY_ID NUMBER
REVREC_EVENT_CODE varchar2(30)
REVREC_EXPIRATION_DAYS NUMBER
ACCEPTED_QUANTITY NUMBER
ACCEPTED_BY NUMBER
REVREC_COMMENTS VARCHAR2(2000)
REVREC_REFERENCE_DOCUMENT VARCHAR2(240)
7-222 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Value
REVREC_SIGNATURE VARCHAR2(240)
REVREC_SIGNATURE_DATE DATE
REVREC_IMPLICIT_FLAG VARCHAR2(1)
Line_Val_Rec_Type
Line_Val_Rec_Type
Parameter
accounting_rule
agreement
commitment
deliver_to_address1
deliver_to_address2
deliver_to_address3
deliver_to_address4
deliver_to_contact
deliver_to_location
deliver_to_org
demand_class
demand_bucket_type
fob_point
freight_terms
inventory_item
invoice_to_address1
invoice_to_address2
invoice_to_address3
invoice_to_address4
invoice_to_contact
invoice_to_location
invoice_to_org
invoicing_rule
item_type
line_type
over_ship_reason
payment_term
price_list
project
return_reason
rla_schedule_type
salesrep
shipment_priority
ship_from_address1
7-224 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter
ship_from_address2
ship_from_address3
ship_from_address4
ship_from_location
ship_from_org
ship_to_address1
ship_to_address2
ship_to_address3
ship_to_address4
ship_to_contact
ship_to_location
ship_to_org
source_type
intermed_ship_to_address1
intermed_ship_to_address2
intermed_ship_to_address3
intermed_ship_to_address4
intermed_ship_to_contact
intermed_ship_to_location
intermed_ship_to_org
sold_to_org
sold_from_org
task
tax_exempt
tax_exempt_reason
tax_point
veh_cus_item_cum_key
visible_demand
customer_payment_term - obsolete
ref_order_number
ref_line_number
ref_shipment_number
ref_option_number
ref_invoice_number
ref_invoice_line_number
credit_invoice_number
tax_group
status
freight_carrier
shipping_method
7-226 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter
ship_to_customer_name VARCHAR2(360)
invoice_to_customer_name VARCHAR2(360)
ship_to_customer_number VARCHAR2(50)
invoice_to_customer_number VARCHAR2(50)
deliver_to_customer_number VARCHAR2(50)
deliver_to_customer_name VARCHAR2(360)
end_customer_name VARCHAR2(360)
end_customer_number VARCHAR2(50)
end_customer_contact VARCHAR2(360)
end_cust_contact_last_name VARCHAR2(240)
end_cust_contact_first_name VARCHAR2(240)
end_customer_site_address1 VARCHAR2(240)
end_customer_site_address2 VARCHAR2(240)
end_customer_site_address3 VARCHAR2(240)
end_customer_site_address4 VARCHAR2(240)
end_customer_site_location VARCHAR2(240)
end_customer_site_state VARCHAR2(240)
end_customer_site_country VARCHAR2(240)
end_customer_site_zip VARCHAR2(240)
end_customer_site_county VARCHAR2(240)
end_customer_site_province VARCHAR2(240)
end_customer_site_city VARCHAR2(240)
end_customer_site_postal_code VARCHAR2(240)
ib_owner_dsp VARCHAR2(60)
ib_current_location_dsp VARCHAR2(60)
ib_installed_at_location_dsp VARCHAR2(60)
CONTINGENCY_NAME VARCHAR2(240)
CONTINGENCY_DESCRIPTION VARCHAR2(240)
EXPIRATION_EVENT_ATTRIBUTE VARCHAR2(240)
REVREC_EVENT VARCHAR2(240)
ACCEPTED_BY_DSP VARCHAR2(100)
OE_PRICE_ADJUSTMENTS
attribute1.... VARCHAR2(240
attribute15 )
automatic_flag VARCHAR2(1) X X
context VARCHAR2(30) X
7-228 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
created_by NUMBER X
creation_date DATE X
discount_id NUMBER X
discount_line_id NUMBER X
header_id NUMBER X
last_updated_by NUMBER X
last_update_date DATE X
last_update_logi NUMBER X
n
line_id
percent NUMBER X
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
line_index NUMBER X
orig_sys_discou VARCHAR2(50) X
nt_ref
change_request_ VARCHAR2(30) X
code
status_flag VARCHAR2(1) X
list_line_type_co VARCHAR2(30) X
de
modifier_mecha VARCHAR2(30) X
nism_type_code
modified_from NUMBER X
modified_to NUMBER X
updated_flag VARCHAR2(1)
update_allowed VARCHAR2(1) X
applied_flag VARCHAR2(1) X
change_reason_c VARCHAR2(30) X
ode
change_reason_t VARCHAR2(200 X
ext 0)
operand NUMBER X
7-230 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
operand_per_pq NUMBER
ty
arithmetic_opera VARCHAR2(30) X
tor
cost_id NUMBER X
tax_code VARCHAR2(30)
tax_exempt_flag VARCHAR2(1)
tax_exempt_nu VARCHAR2(80)
mber
tax_exempt_reas VARCHAR2(30)
on_code
invoiced_flag VARCHAR2(1) X
estimated_flag VARCHAR2(1) X
inc_in_sales_perf VARCHAR2(1) X
ormance
split_action_cod VARCHAR2(30) X
e
adjusted_amoun NUMBER X
t
adjusted_amoun NUMBER
t_per_pqty
pricing_phase_id NUMBER X
charge_type_cod VARCHAR2(30) X
e
charge_subtype_ VARCHAR2(30) X
code
list_line_no VARCHAR2(240 X
)
source_system_c VARCHAR2(30) X
ode
benefit_qty NUMBER X
benefit_uom_co VARCHAR2(3) X
de
print_on_invoice VARCHAR2(1) X
_flag
expiration_date DATE X
rebate_transactio VARCHAR2(30) X
n_type_code
rebate_transactio VARCHAR2(80) X
n_reference
rebate_payment_ VARCHAR2(30) X
system_code
redeemed_date DATE X
redeemed_flag VARCHAR2(1) X
accrual_flag VARCHAR2(1) X
range_break_qua NUMBER X
ntity
accrual_conversi NUMBER X
on_rate
7-232 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
pricing_group_s NUMBER X
equence
modifier_level_c VARCHAR2(30) X
ode
price_break_type VARCHAR2(30) X
_code
substitution_attri VARCHAR2(30) X
bute
proration_type_c VARCHAR2(30) X
ode
credit_or_charge VARCHAR2(1) X
_flag
include_on_retur VARCHAR2(1) X
ns_flag
ac_attribute1...15 VARCHAR2(240 X
)
ac_context VARCHAR2(150 X
)
retrobill_request NUMBER
_id
tax_rate_id NUMBER
OE_ORDER_PRICE_ATTRIBS
order_price_attri NUMBER X
b_id
header_id NUMBER
line_id NUMBER
line_index NUMBER
creation_date DATE X
created_by NUMBER X
last_update_date DATE X
last_updated_by NUMBER X
last_update_logi NUMBER X
n
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
flex_title VARCHAR2(60)
pricing_context VARCHAR2(30)
7-234 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
pricing_attribute VARCHAR2(240
1... )
pricing_attribute
100
context VARCHAR2(30)
attribute1..15 VARCHAR2(240
)
Override_Flag VARCHAR2(1)
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation X
OE_PRICE_ADJ_ATTRIBS
Adj_index NUMBER C - if
price_adjustmen
t_id not passed
flex_title VARCHAR2(60) X
pricing_context VARCHAR2(30) X
pricing_attribute VARCHAR2(30) X
creation_date DATE X
created_by NUMBER X
last_update_date DATE X
last_updated_by NUMBER X
last_update_logi NUMBER X
n
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
pricing_attr_valu VARCHAR2(240 X
e_from )
pricing_attr_valu VARCHAR2(240 X
e_to )
comparison_ope VARCHAR2(30) X
rator
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
7-236 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
TYPE Line_Adj_Att_Tbl_Type is TABLE of Line_Adj_Att_rec_Type
INDEX by BINARY_INTEGER
Line_Adj_Assoc_Rec_Type
For column descriptions, please refer to the Order Management e-TRM for the table
OE_PRICE_ADJ_ASSOCS
OE_PRICE_ADJ_ASSOCS
Adj_index NUMBER C - if
price_adjustmen
t_id not passed
rltd_Price_Adj_I NUMBER X
d
Rltd_Adj_Index NUMBER X
creation_date DATE X
created_by NUMBER X
last_update_date DATE X
last_updated_by NUMBER X
last_update_logi NUMBER X
n
program_applica NUMBER X
tion_id
program_id NUMBER X
program_update DATE X
_date
request_id NUMBER X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
OE_SALES_CREDITS
attribute1....attri VARCHAR2(240 X
bute15 )
context VARCHAR2(30) X
created_by NUMBER X
creation_date DATE X
dw_update_advi VARCHAR2(1) X
ce_flag
header_id NUMBER X
7-238 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
last_updated_by NUMBER X
last_update_date DATE X
last_update_logi NUMBER X
n
line_id NUMBER X
percent NUMBER X
salesrep_id NUMBER X
sales_credit_type NUMBER X
_id
sales_credit_id NUMBER X
wh_update_date DATE X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
line_index NUMBER X
orig_sys_credit_r VARCHAR2(50) X
ef
change_request_ VARCHAR2(30) X
code
status_flag VARCHAR2(1) X
( salesrep
, sales_credit_type
);
OE_LOT_SERIAL_NUMBERS
attribute1....attri VARCHAR2(240 X
bute15 )
context VARCHAR2(30) X
created_by NUMBER X
creation_date DATE X
last_updated_by NUMBER X
last_update_date DATE X
last_update_logi NUMBER X
n
7-240 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Datatype Required Derived Optional
quantity NUMBER X X
return_status VARCHAR2(1) X
db_flag VARCHAR2(1) X
operation VARCHAR2(30) X
orig_sys_lotseria VARCHAR2(50) X
l_ref
change_request_ VARCHAR2(30) X
code
status_flag VARCHAR2(1) X
line_set_id NUMBER X
CREATE operation
For creating new order entities, the entity records and entity tables passed to
Process_Order should have the operation OE_GLOBALS.G_OPR_CREATE. Pass in the
known attributes on these records and Process Order will default the other missing
attributes.
Note: If you pass in NULL values for some attributes, process order
will interpret it as insertion of NULL into those attributes column and
will NOT get default values for those attributes.
Line adjustments, line sales credits and line lot serial numbers belong to an order line
and the ID of this parent line is stored on these records. When inserting the parent line
and the child entities of this line together, the ID of the parent line is unknown. In this
case, the line_index field on the child entity records indicates the index for the parent
entity record in the lines table. After the line is processed, the line ID is retrieved and
based on the line_index, the correct line_ID is populated on the child entity record.
Similarly for config items, the model line's ID is stored on the option lines. Again, when
inserting models and options in a configuration together, the line ID for the model line
will not be available. The top_model_line_index field on the option lines can be used to
indicate the index for this model line in the lines table. Since models and standard lines
are processed before the options, this line ID can then be populated before the option
lines are processed.
The following steps are executed for each entity within process order:
• Check security
mo_global.init('ONT');
l_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC;
7-242 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
-- Required attributes (e.g. Order Type and Customer)
l_header_rec.order_type_id := 1000;
l_header_rec.sold_to_org_id := 100;
-- Other attributes
l_header_rec.price_list_id := 10;
.........
l_header_rec.freight_term_code = NULL;
l_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
-- Line attributes
l_line_tbl(1).inventory_item_id := 311;
l_line_tbl(1).ordered_quantity := 1;
l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
-- Line attributes
l_line_tbl(2)inventory_item_id := 312;
l_line_tbl(2).ordered_quantity := 2;
l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
l_line_adj_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_ADJ_REC;
l_line_adj_tbl(1).discount_id := 1;
l_line_adj_tbl(1).percent := 5;
l_line_adj_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
l_line_adj_tbl(1).line_index := 2;
OE_Order_PUB.Process_Order(
........
........
-- Passing just the entity records that are a part of this order
p_line_tbl=> l_line_tbl
p_line_adj_tbl=> l_line_adj_tbl
-- OUT variables
x_header_rec=> l_header_rec
x_header_scredit_tbl=> l_header_scr_tbl
x_header_adj_tbl=> l_header_adj_tbl
x_line_tbl=> l_line_tbl
x_line_scredit_tbl=> l_line_scredit_tbl
x_line_adj_tbl=> l_line_adj_tbl
7-244 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
................
x_return_status=> l_return_status
x_msg_count=> l_msg_count
x_msg_data=> l_msg_data);
-- Retrieve messages
end loop;
end if;
success;
else
failure;
end if;
Note: You cannot insert new lines (or, process any other entity)
belonging to different orders in one process order call
mo_global.init('ONT');
-- NEW LINE RECORD
l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
l_line_tbl(1).inventory_item_id := 311;
l_line_tbl(1).ordered_quantity := 1;
l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
OE_ORDER_PUB.Process_Order(........
p_line_tbl=> l_line_tbl
-- OUT variables
......);
UPDATE operation
Update of any attributes on the entities of the order object should always go through
the process order API. For updates, the operations on the entity record being updated
should be OE_GLOBALS.G_OPR_UPDATE. Only the attributes that are being updated,
the primary key of this entity and the primary key of the parent entity, if any, need to be
passed and others can be set to missing. Process Order will query these missing
attributes from the database.
Note: To update an existing value to NULL, you can pass NULL for
that attribute on the record parameter passed to process order API.
There are some attributes, however, that are internally set by the
system (e.g. status columns like booked_flag, flow_status_code) and
should not be updated by the user.
Process Order can process entities belonging to one order object in one call. In a call
where one entity record is being updated, another entity record can also be created as
long as they belong to the same order object. For e.g. a line can be updated
(G_OPR_UPDATE) and another line inserted (G_OPR_CREATE) in the same process
order call if both lines have the same header_id.
The following processing steps are executed for each entity record that is updated:
7-246 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Check security for update of the changed attributes
-- Changed attributes
l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC.
l_line_tbl(1).invoice_to_org_id := 322;
l_line_tbl(1).ordered_quantity := 2;
l_line_tbl(1).line_id := 1000;
l_line_tbl(1).operation := OE_GLOBALS.G_OPR_UPDATE;
OE_ORDER_PUB.Process_Order(........
-- Entity records
p_line_tbl=> l_line_tbl
-- OUT variables
........);
• Delete posted to the database. This will also delete child entities, holds and
attachments.
mo_global.init('ONT');
l_header_rec := OE_ORDER_PUB.G_MISS_LINE_REC;
l_header_rec.operation := OE_GLOBALS.G_OPR_DELETE;
OE_ORDER_PUB.Process_Order(................
7-248 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
-- Entity records
p_header_rec=> l_header_rec
-- OUT variables
........);
Book Order
Parameter Description
request_type OE_GLOBALS.G_BOOK_ORDER
p_action_request_tbl IN parameter
Parameter Description
request_type OE_GLOBALS.G_APPLY_AUTOMATIC_AT
CHMT
Apply Hold
Holds will be applied based on the parameters sent in on the request record.
Apply Hold
Parameter Description
request_type OE_GLOBALS.G_APPLY_HOLD
7-250 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Description
C, B, or S: for Org ID
O: Header ID
I: Inventory Item ID
Release Hold
Releases the holds associated with an order or line.
Release Hold
Parameter Description
request_type OE_GLOBALS.G_RELEASE_HOLD
C or S: for Org ID
O: Header ID
I: Inventory Item ID
Delink Config
This request deletes the configuration item.
Delink Config
Parameter Description
request_type OE_GLOBALS.G_DELINK_CONFIG
entity_code OE_GLOBALS.G_ENTITY_LINE
7-252 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Match and Reserve
This request checks if an existing configuration item matches the configuration created
by the user and if configuration item is available, it reserves it.
Parameter Description
request_type OE_GLOBALS.G_MATCH_AND_RESERVE
entity_code OE_GLOBALS.G_ENTITY_LINE
2. Return lines
3. Service lines
4. CONFIG lines (The line created after progressing ATO model once it is booked and
scheduled)
8. Lines which do not have all required parameters. e.g. ship from, ship to.
Parameter Description
entity_code OE_GLOBALS.G_ENTITY_HEADER or
OE_GLOBALS.G_ENTITY_HEADER
l_request_rec.entity := OE_GLOBALS.G_ENTITY_LINE;
l_request_rec.entity_id := 100;
l_request_rec.request_name := OE_GLOBALS.G_APPLY_HOLD;
l_request_rec.param1 := 4;
l_request_rec.param2 = 'I';
7-254 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
-- Id of the item (hold_entity_id)
l_request_rec.param3 := 3214;
l_action_request_tbl := l_request_rec;
See:
Oracle Applications Message Reference Manual
Oracle Order Management User's Guide
Basic Needs
Oracle Order Management and Oracle Receivables provide features you need to satisfy
the following integration needs:
• Create accurate and timely invoices, credit memos, and credits on account from
Order Management transactions
Major Features
Invoicing Activity
Order Management provides a program that automatically collects order and return
information and populates the Oracle Receivables AutoInvoice interface tables. Using
order management transaction types, profile options and system parameters, you
control certain accounting aspects of the information being transferred to Oracle
Receivables. Invoicing module is modeled using workflow and can happen after
shipping for shippable flows and any time after booking for non-shippable flows.
Invoicing can be placed at both order line level workflows as well as order header level
workflows. If placed at the order header level, all lines in an order are populated in
Type Imported
Status Active
Sold-to Customer Id
Bill-to Customer Id
Bill-to Address Id
Bill-to Contact Id
Ship-to Customer Id
Ship-to Address Id
Ship-to Contact Id
8-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field in Transaction Sources Window Necessary Value
Invoicing Rule Id
Accounting Rule Id
Payment Terms Id
Transaction Type Id
Memo Reason Id
Agreement Id
Inventory Item Id
Unit of Measure Id
Related Document Id
Salesperson Id
Note: In the Batch Source region, you must define at least one
transaction source with automatic invoice numbering, regardless of
your setting for the OM: Invoice Numbering Method profile.
8-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Internal Sales Orders
The Invoicing Activity does not process internal sales order lines, even if it is placed in
the internal sales order's workflow. However, freight charges associated with the
internal order lines are interfaced to Receivables.
Internal sales orders are orders that originate in Oracle Purchasing as internal
requisitions, and are imported to Order Management as internal sales orders using
Order Import.
See:
Using AutoAccounting, Oracle Receivables User's Guide
Accounting Rules, Oracle Receivables User's Guide
Entering Commitments, Oracle Receivables User's Guide
Defining Items, Oracle Inventory User's Guide
Accounting for Credit Memos, Oracle Receivables User's Guide
Invoicing Attributes
For ATO configurations, Order Management considers the base model's item attribute
of a configuration to see if it should consider passing invoice information to Oracle
Receivables for each order line in the configuration. If you have the item attributes
Invoiceable Item and Invoice Enabled set to Yes for the base model item, Order
Management then considers these item attributes for each component in the bill of
material for the model to see if they should be invoiced in Oracle Receivables. If the
item attributes Invoiceable Item or Invoice Enabled are set to No for the base model
item, Order Management does not pass invoicing information to Oracle Receivables for
any order lines for the components within the configuration, regardless of the item
attribute settings.
Required for Revenue Attribute
The bill of material attribute Required for Revenue allows you to define specific items in
a bill that must be shipped before their parent can be invoiced. In all cases the control
applies to only one level, the immediate parent. Except for classes, the control
relationship is the child affecting the parent.
For example: Included Item A has the Required for Revenue attribute set to Yes. Option
A is not eligible to interface to Oracle Receivables until Included Item A is shipped,
even if Option A is also shippable and has shipped. All other components, including
Model A and Model 1, are eligible to interface regardless of Included Item A's shipment
status.
Example #2: Included Item B has the Required for Revenue attribute set to Yes. Model 1
is not eligible to interface to Oracle Receivables until Included Item B is shipped. And
again, Option A is not eligible to interface until Included Item A is shipped.
Example #3: If any item below a class in a bill has the Required for Revenue attribute set
RA_INTERFACE_LINES
8-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Discount lines: 0
(zero)
• Freight Charges:
charge.charge _id
8-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Return lines: 0
(zero)
• Freight Charges:
0 (zero)
• Non-Shipped
order line: 0
(zero)
• Return lines: 0
(zero)
• Freight Charges:
0
• Discount lines: 0
(zero)
Note: System
Parameter Show
Discount Details on
Invoice must be Yes.
• Freight Charges:
None
• Freight Charges:
None
8-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Freight Charges:
None
1. Order Transaction
Type associated with
the order line being
interfaced to
AutoInvoice.
2. Order Line
Transaction Type
associated with the
order line being
interfaced to
AutoInvoice.
8-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
LINE _TYPE Not Varchar2(2 For a Sales order or The available values
Null 0) return line: Order are:
Management inserts
• Line: For sales
LINE.
order lines,
For Freight charges: return lines and
Order Management discount lines:
inserts FREIGHT for
shipment freight • Freight Charges:
charges if the system Can be either
parameterInvoice
Freight as Revenue is • Line: If the
set to No, otherwise system
the system inserts parameter
LINE. Invoice
Freight as
Revenue and
profile
option
EBTax:
Allow
Override of
Tax Code are
set to YES.
• Otherwise,
the value is
Freight
Charges.
8-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
Freight Charges:
charge.transactional_c
urrency_code
Freight Charges:
Same as order line.
8-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
FROM
oe_invoice_to_orgs_v
WHERE
organization_id =
oe_order_lines.invoic
e_to_org_id
FROM
oe_invoice_to_orgs_v
WHERE
organization_id =
oe_order_lines.invoic
e_to_org_id
WHERE
organization_id =
oe_order_lines.ship_t
o_org_id
8-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Freight Charges:
line.ship_to_cont
act_id.
8-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
8-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
UNIT_SELLING_PRIC NA NUMBER For a Sales order line or Sales Order lines and
E return lines: Order Return lines: Depends
Management inserts on whether you want
OE_ORDER_LINES.U to show discount
NIT_SELLING_PRIC details:
E.
• Show discounts
For Freight charges: Y (Yes):
Order Management line.unit_list_pric
does not insert a e.
value into this
column. • Show discounts
N (No):
line.selling_price.
• Freight Charges:
None.
• Discount lines:
Use pricing API.
Show discounts
Y (Yes).
8-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
1. Line transaction
type
2. Order transaction
type
1. Line transaction
type
2. Order transaction
type
• Freight Charges:
None
8-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Return line:
rcv_transactions.
transaction_date
• Non-shipped
order line: None
• Freight Charges:
same as line.
8-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Discount lines:
None
8-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
8-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Discount
lines: None
8-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
• Get territory ID
from one of the
following tables.
If default
territory is
• SALES: join
ra_sales_rep
_territory
using the
sales rep id.
• BILL: join
ra_site_uses
using
line.invoice_
to_org_id
• SHIP: join
ra_site_uses
using
line.ship_to_
org_id.
8-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
8-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
8-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
No Validation occurs
No Validation occurs
Standard Validation
occurs
Line_Gdf_Attr_Categor NA NA NA Populated by
y Globalization API
called by OM.
Line_Gdf_Attr1-20, NA NA NA JG_ZZ_OM_Common
_PKG.Copy_Gdff
8-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Note: 1Non-Shipped order lines
• Ship Cycle
• All non-shippable STANDARD lines should be invoiced separately with
INTERFACE_LINE_ATTRIBUTE3 = 0.
• All non-shippable KIT lines that are not part of a PTO model should be
invoiced separately with INTERFACE_LINE_ATTRIBUTE3 = NVL(First
Delivery associated with included items. A 0 value appears if there are no
shippable included items.
Note: If there are shippable included items, the KIT line will be
Pick Release Released and Ship Confirm Confirmed.
Derived Values
CUST_TRX_TYPE_ID
Value is determined based upon the following hierarchy:
For a Sales order line:
3. Derive credit memo type based on return context and reference information.
RA_INTERFACE_SALESCREDITS
Order Management inserts one row for each sales credit row according to the following
sequence:
1. Insert sales credits associated with the line; if none exists but the line is part of a
configuration (ITEM_TYPE_CODE is CLASS, KIT or STANDARD and
OPTION_FLAG is Y), then;
2. Insert sales credits associated with the model parent line; if none exists, then;
• Insert sales credits associated with the order header.
8-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
RA_INTERFACE_SALESCREDITS
For a Non-shipped
order line or a
Return Line: Order
Management
inserts 0 (zero).
For a Non-shipped
order line or a
Return Line: Order
Management
inserts 0 (zero).
Order Management
inserts SUBSTR
(WSH_DELIVERY_
LINE_STATUS_V.
WAYBILL, 1, 30).
8-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Description Inserted by
Invoicing Module
Order Management
inserts 0 (zero).
8-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Type Description Inserted by
Invoicing Module
AR_INTERFACE_CONTS
8-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Null? Type Description What is inserted by
Invoicing Module
The API accepts instances and header information (sold_to_org_id) to create MACD
orders. It also accepts MACD actions to process the order. Instances can be added to the
existing order by passing the header_id. To process actions on an existing order, you
can call the API with the lines table and an action. You can initiate agent actions that
need processing on order lines with Configurator attributes and Configurator extended
attributes.
8-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
You can use the API to create and process MACD orders by passing the instance
information, Sold to org (Customer) information, and MACD action. The action can be
passed at the API level or at the instance level. First the API creates the order lines for
the instances and then the MACD action is applied.
You can use the Process MACD Order API to process actions on existing MACD orders
by passing in the line table with actions. The action can be passed at the API level or at
the line level.
Functional Overview
The steps to create and process MACD orders are described below.
2. Bill_to, ship_to passed by the calling entity will be validated against the sold_to
column on the new order.
4. Sold_to_org_id and header_id are mutually exclusive, only one of them should be
used as input. If a new order needs to be created, Sold_to_org_id is used as the
input or header_id needs to be passed to append the instances converted lines to
existing order.
6. Order Management will validate and raise an error if the Install Base owner is not
same on the all instances passed to this API.
7. MACD Action should be passed through the parameter p_macd_action, if the same
action applies to all the instances passed in the instance table or lines passed in the
lines tables. If caller needs to perform multiple actions then pass the action on each
instance record or on the line record. API processing fails if the action is passed on
both instance/line table and p_macd_action.
8. This API accepts the Operating Unit as optional input. The instance or order header
information or extended attributes need to call the MOAC APIs if the orders need
to be processed or created in an operating unit apart from the default operating
unit. If an operating unit is not specified, the order lines will be created in the
9. If the header_id is passed, the system will append the instances to the existing order
and create container and child order lines in that order. The API searches for all
order lines in that sequence to verify if one referring to the parent container item of
the passed in item instances already exists. If such a container is found, instances
would be added to the existing container, otherwise a new container would be
created.
10. p_MACD_Action should not be passed to existing MACD Orders. We need to use
actions only if we need to process them.
11. If the API creates order lines for more than one network container, the first
container line_id is returned.
12. The API also returns the line table with order line records created as a result of the
API call.
• In case of DELETE operation on order line with a baseline rev number > 0 ,
Order Management will error out. This is because CZ will not support REVERT
action in this phase.
8-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
line rev number > 0 (real MACD re-configuration) will send DELETE to CZ.
DISCONTINUE operation on a MACD order line without base line rev will
raise a Order Management error as you cannot discontinue a component which
is not yet in Install Base.
• Validate if the index pointing back to the line table exists on the CZ extended
attributes table.
2. Process the action that is passed to attribute OPERATION in the input line table,
which will determine the work done by the API.
• UPDATE and DELETE operations are supported on order lines. CREATE
operation of order lines is not supported. The DISCONTINUE operation on
order line will be sent to CZ (as below) without performing any operation on
that order line.
3. Updates order lines for Order Management attributes using the Process Order API.
For example, Request Date may need to be updated in case of Disconnect operation.
4. API will call CZ API CZ_CF_API.Validate and pass the first class CZ attributes and
extended CZ attributes along with the operations to that API so that CZ can take
appropriate action.
• Update on ordered quantity of an order line would result in implicit call to
UPDATE the CZ first class attribute quantity.
• In case of DELETE operation on order line with a baseline rev number > 0 ,
Order Management will error out. This is because CZ will not support REVERT
action in this phase.
DISCONTINUE operation on an order line with a component with a base line
rev number > 0 (real MACD re-configuration) will send DELETE to CZ.
DISCONTINUE operation on a MACD order line without base line rev will
raise an Order Management error as you cannot discontinue a component that
is not in Install Base.
8-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Derived Optional
• OM_POST_ACTION_EVENT
The following custom events will be raised when you click Book Orders on the Contact
Center window:
• OM_PRE_BOOK_EVENT
• OM_PRE_BOOK_EVENT
8-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
9
Oracle Release Management XML
Transactions
XML enables you to receive planning transactions from any trading partner that has the
capability of producing and transmitting OAG/XML based transactions. The following
sequence of actions are performed:
1. Receive XML planning transaction from various trading partners and origins.
2. Transactions are queued and processed by the XML Gateway Execution engine,
which performs the following:
• Validate the transaction: Transaction must be well formed and valid.
• Apply code conversions, defaulting, and derivation logic on the data from the
XML transaction to the Release Management interface tables.
• DATETIME.RSPDOCGEN segment
Receive message
The XML Gateway Execution Engine does the following during inbound processing:
• Dequeue Message from Inbound Queue
Uses the XML Parser to validate the inbound message to determine if it is well–formed
and valid (based on DTD stored in DTD directory) before proceeding further.
• Validate Trading Partner or Hub
If the inbound message is both well–formed and valid, the Execution Engine proceeds
to validate that the Trading Partner and document are defined. If the Trading Partner is
not defined or the document is not defined for the Trading Partner, the XML message
will not be processed further.
• Get Message Map from Repository
If the message map associated with the Trading Partner is not available in the XML
Gateway repository, the XML message will not be processed further.
• Maps Data
If the Trading Partner is valid and the message map exists in the repository, the
Execution Engine maps the data in the XML message to its target data fields in Oracle e
–Business Suite tables and columns identified in the message map. These are often the
Application Open Interface tables. Mapping process also includes:
• Apply Code Conversion
• Apply Actions
Errors may be detected by the Oracle XML Gateway Execution Engine, Oracle
Advanced Queuing, Oracle Workflow, or Oracle Transport Agent. Information
regarding the error is enqueued onto the Error Queue. An e–mail notification is sent via
Oracle Workflow to notify the trading partner regarding data errors, or the XML
9-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Gateway system administrator regarding system or process errors. In addition, for
system or process errors, a copy of the XML message is placed in the XML message
directory for use in troubleshooting the reported error. For trading partner–related data
errors, the trading partner can refer to the copy of the XML message.
• Horizon Dates
• Schedule Purpose
• Supplier Name
• Document Description
• Customer PO Number
• Customer Name
• Customer PO Date
• Requirement Date
• Item Description
• PO Line Number
• PO Release Number
Sample Document Type Definition (DTD) and XML for Planning Schedule
The scope of the implementation is limited to Planning Schedules with Actual
quantities. The following elements are considered to be out of scope (please refer to the
sample DTD and XML):
• PSLNEXCPTN and FEATVALDAT segments
The following section includes a sample DTD and sample XML used for Planning
Schedule in Oracle Release Management.
9-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Planning Schedule Sample DTD
<! - Structure Overview
SYNC_PLANSCHD (PSHEADER, PSLINE+, PSFLEXBKT*)
PSHEADER (PARTNER+)
PSLFLEXBKT()
PSLINE (PARTNER+, FEATVALDAT*, PLNSCHED*, PSLNEXCPTN*)
FEATVALDAT()
PLNSCHED()
PSLNEXCPTN()
PSLNEXCPTN()
- >
<! - ==================================================== - >
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">%RESOURCES;
<! - ==================================================== - >
<!ELEMENT PSHEADER (
(%DATETIME.GENERATION;),
(%DATETIME.SCHSTART;),
(%DATETIME.SCHEND;),
(%DATETIME.DOCUMENT;)?, (%DATETIME.RSPDOCGEN;)?,
SCHEDULEID, SYNCIND, DATETYPE?,
DESCRIPTN?, DOCUMENTRV?, NOTES?,
POID?, PSSTATUS?, RSPSCHEDID?,
RSPREVNUM?, SCHDULETYP?,
USERAREA?, PARTNER+, PSFLEXBKT*
)>
<!ELEMENT PSFLEXBKT (
(%DATETIME.BKTEND;),
(%DATETIME.BKTSTART;),
FLEXBKTID, USERAREA?
)>
<!ELEMENT PSLINE (
(%DATETIME.DELIVACT;)?, (%DATETIME.ENGCHG;)?,
(%DATETIME.FROM;)?, (%DATETIME.PO;)?,
(%DATETIME.RECEIVED;)?, (%DATETIME.SHIP;)?,
(%DATETIME.TO;)?, (%QUANTITY.DELIVERED;)?,
(%QUANTITY.ITEM;)?, (%QUANTITY.MINIMUM;)?,
(%QUANTITY.MAXIMUM;)?, (%QUANTITY.PRIOR;)?,
(%QUANTITY.RECEIVED;)?, (%QUANTITY.SHIPPED;)?,
LINENUM, AUTHCODE?, DESCRIPTN?, DOCKID?,
DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?,
ITEMX?, LINETYPE?, NOTES?, PACKING?,
PACKNGDESC?, POID?, POLINENUM?, PORELEASE?,
PRIORITY?, PROJECT?, PSSTATUS?, RSPLINNUM?,
SALESORDID?, SHIPPERNUM?, TASK?, UPC?, USERAREA?,
((COMMODITY, FEATUREID?, ITEM?) |
(FEATUREID, COMMODITY?, ITEM?) |
(ITEM, COMMODITY?, FEATUREID?)),
<!ELEMENT FEATVALDAT (
FEATUREID, ITMFTVAL, DESCRIPTN?,
ITEMRV?, NAME*, PARTNRID?, UOM?, USERAREA?
)>
<!ELEMENT PLNSCHED (
(%QUANTITY.ITEM;), (%DATETIME.FROM;),
(%DATETIME.TO;)?, (%QUANTITY.MINIMUM;)?,
(%QUANTITY.MAXIMUM;)?, (%QUANTITY.PRIOR;)?,
PSDLINENUM, BKTYPE, AUTHCODE?,
PRIORITY?, RSPSDLNUM?, USERAREA?, PSLNEXCPTN*
)>
<!ELEMENT PSLNEXCPTN (
(%DATETIME.FROM;)?, (%DATETIME.TO;)?,
ACTIONCODE?, DESCRIPTN?, EXCPLINNUM?,
EXCPTNCODE?, REASONCODE?, USERAREA?
)>
9-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Sample XML for Planning Schedule
<?xml version="1.0" standalone="no"?>
<!DOCTYPE SYNC_PLANSCHD_001 SYSTEM "162_sync_planschd_001.dtd">
<SYNC_PLANSCHD_001>
<CNTROLAREA>
<BSR>
<VERB value="SYNC">SYNC</VERB>
<NOUN value="PLANSCHD">PLANSCHD</NOUN>
<REVISION value="001">001</REVISION>
</BSR>
<SENDER>
<LOGICALID>XX141HG09</LOGICALID>
<COMPONENT>PLANSCHD</COMPONENT>
<TASK>SYNC</TASK>
<REFERENCEID>1233</REFERENCEID>
<CONFIRMATION>1</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE>0000</CODEPAGE>
<AUTHID>2817</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2000</YEAR>
<MONTH>10</MONTH>
<DAY>15</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SYNC_PLANSCHD>
<PSHEADER>
<DATETIME qualifier="GENERATION">
<YEAR>2000</YEAR>
<MONTH>11</MONTH>
<DAY>16</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="SCHSTART">
<YEAR>2000</YEAR>
<MONTH>12</MONTH>
<DAY>17</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="SCHEND">
<YEAR>2000</YEAR>
<MONTH>01</MONTH>
<DAY>18</DAY>
<HOUR>12</HOUR>
9-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<PARTNRTYPE>ShipFrom</PARTNRTYPE>
<CURRENCY>USD</CURRENCY>
</PARTNER>
<PLNSCHED>
<QUANTITY qualifier="ITEM">
<VALUE>3</VALUE>
<NUMOFDEC>0</NUMOFDEC>
<SIGN>+</SIGN>
<UOM>EACH</UOM>
</QUANTITY>
<DATETIME qualifier="FROM">
<YEAR>2401</YEAR>
<MONTH>02</MONTH>
<DAY>23</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<PSDLINENUM>linenum2</PSDLINENUM>
<BKTYPE>Day</BKTYPE>
</PLNSCHED>
</PSLINE>
<PSFLEXBKT>
<DATETIME qualifier="BKTEND">
<YEAR>2002</YEAR>
<MONTH>03</MONTH>
<DAY>17</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="BKTSTART">
<YEAR>2002</YEAR>
<MONTH>03</MONTH>
<DAY>15</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<FLEXBKTID>Bi-monthly</FLEXBKTID>
</PSFLEXBKT>
</SYNC_PLANSCHD>
</DATAAREA>
</SYNC_PLANSCHD_001>
DATETIME.GENERATION SCHED_GENERATION_DATE
DATETIME.SCHSTART SCHED_HORIZON_START_DATE
DATETIME.SCHEND SCHED_HORIZON_END_DATE
SCHEDULEID SCHEDULE_REFERENCE_NUM
SYNCIND SCHEDULE_PURPOSE_EXT
DESCRIPTN DOCUMENT_DESCRIPTN
NOTES HEADER_NOTES_EXT
PARTNER
NAME CUST_NAME_EXT
PARTNRID ONE_TIME_CUST_FLAG_EXT
9-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
XML Element/Segment RLM_INTERFACE_HEADERS_ALL Column
PARTNER
NAME SUPPLIER_NAME_EXT
ONETIME ONE_TIME_SUPPLIER_FLAG_EXT
PARTNRID
DATETIME.ENGCHG ITEM_ENG_CNG_LVL_DATE_EXT
DATETIME.PO CUST_PO_DATE
QUANTITY.MINIMUM ITEM_DETAIL_QUANTITY_MIN_EXT
QUANTITY.MAXIMUM ITEM_DETAIL_QUANTITY_MAX_EXT
QUANTITY.PRIOR ITEM_DETAIL_QUANTITY_PRIOR_EXT
AUTHCODE AUTHORIZATION_CODE_EXT
DESCRIPTN ITEM_DESCRIPTION_EXT
DOCKID CUSTOMER_DOCK_CODE
HAZRDMATL HAZARD_CODE_EXT
9-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
XML Element/Segment RLM_INTERFACE_LINES_ALL Column
ITEMRVX CUSTOMER_ITEM_REVISION
ITEMX CUSTOMER_ITEM_EXT
LINETYPE ITEM_DETAIL_TYPE_EXT
NOTES ITEM_NOTE_EXT
PACKING PACKAGING_CODE_EXT
PACKNGDESC PACKAGING_DESC_EXT
POID CUST_PO_NUMBER
POLINENUM CUST_PO_LINE_NUM
PORELEASE CUST_PO_RELEASE_NUM
PRIORITY REQUIREMENT_PRIORITY_EXT
PROJECT PROJECT_NUMBER_EXT
SHIPPERNUM ITEM_DETAIL_REF_VALUE_1
TASK TASK_NUMBER_EXT
COMMODITY COMMODITY_EXT
ITEM SUPPLIER_ITEM_EXT
PARTNER
NAME SHIP_TO_NAME_EXT
ONETIME ONE_TIME_SHIP_TO_FLAG_EXT
PARTNRID CUST_SHIP_TO_EXT
PARTNER
NAME BILL_TO_NAME_EXT
ONETIME ONE_TIME_BILL_TO_FLAG_EXT
PARTNRID CUST_BILL_TO_EXT
PARTNER
NAME SHIP_FROM_NAME_EXT
ONETIME ONE_TIME_SHIP_FROM_FLAG_EXT
PARTNRID CUST_SHIP_FROM_ORG_EXT
PLNSCHED Segment
9-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
XML Element/Segment RLM_INTERFACE_LINES_ALL Column
DATETIME.TO END_DATE_TIME
QUANTITY.MINIMUM ITEM_DETAIL_QUANTITY_MIN_EXT
QUANTITY.MAXIMUM ITEM_DETAIL_QUANTITY_MAX_EXT
QUANTITY.PRIOR ITEM_DETAIL_QUANTITY_PRIOR_EXT
AUTHCODE AUTHORIZATION_CODE_EXT
PRIORITY REQUIREMENT_PRIORITY_EXT
PSFLEXBKT
FLEXBKTID FLEX_BKT_CODE
Conditional Mapping
1. Depending on the element LINETYPE, determine the line level information as
follows:
IF LINETYPE = 'PAST DUE'/'FIRM'/'FORECAST' or
LINETYPE is NULL /* not transmitted */THEN
• ITEM_DETAIL_TYPE_EXT: = LINETYPE/'Forecast'
• END_DATE_TIME: = DATETIME.TO
• ITEM_DETAIL_QUANTITY: = QUANTITY.ITEM
• CUST_UOM_EXT: = QUANTITY.ITEM.UOM
• DATE_TYPE_CODE_EXT: = 'RECEIVED'
• START_DATE_TIME: = DATETIME.RECEIVED
• ITEM_DETAIL_QUANTITY: = QUANTITY.RECEIVED
• CUST_UOM_EXT: = QUANTITY.RECEIVED.UOM
• DATE_TYPE_CODE_EXT: = 'SHIPPED'
• START_DATE_TIME: = DATETIME.SHIPPED
• ITEM_DETAIL_QUANTITY: = QUANTITY.SHIPPED
9-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• CUST_UOM_EXT: = QUANTITY.SHIPPED.UOM
END IF;
• DATE_TYPE_CODE_EXT: = 'FROM_TO'
• START_DATE_TIME: = DATETIME.REQUIRED
• ITEM_DETAIL_QUANTITY: = QUANTITY.ITEM
• CUST_UOM_EXT: = QUANTITY.ITEM.UOM
• ITEM_DETAIL_QUANTITY: = QUANTITY.ITEM
• CUST_UOM_EXT: = QUANTITY.ITEM.UOM
END IF
2. The start and end date times on the requirement line are also dependent on the
BKTYPE that is in on the PLNSCHED level. If the BKTYPE matches any of the
FLEXBKTID values on the PSFLEXBKT segments, then the DATETIME.BKTEND
and DATETIME.BKTSTART constitute the end and start date times respectively for
the requirement line.
3. If the POID on the PSLINE level is null, then the value of POID from PSHEADER is
used.
4. If ShipFrom Partner information is not present at the line level, then the Supplier
details from the header are copied to the line level.
Derivation of schedule_item_num
SCHEDULE_ITEM_NUM is needed to identify a group for the purpose of validating
the line level data. This value is derived based on the combination of the following
attributes from the XML message:
• Ship to
• Bill to
• Customer item
• Item description
• Dock code
• Hazard code
• Item revision
• Item notes
• Customer PO number
• Customer PO date
• Supplier item
After inserting the data in the database, a post process API groups the lines using the
above attributes and for each group, unique values are assigned to schedule_item_num.
Other issues/considerations
Data that comes in at the PLNSCHED level overrides the data on PSLINE level.
9-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Schedule Generation Date
• Horizon Dates
• Schedule Purpose
• Supplier Name
• Document Description
• Customer PO Number
• Customer Name
• Customer PO Date
• Requirement Date
• Item Description
• PO Line Number
• PO Release Number
<!ELEMENT SHIPSCHDHD (
(%DATETIME.GENERATION;),
(%DATETIME.SCHEND;),
(%DATETIME.SCHSTART;),
(%DATETIME.DOCUMENT;)?,
(%DATETIME.RSPDOCGEN;)?,
SCHEDULEID, SYNCIND,
DATETYPE?, DESCRIPTN?,
DOCUMENTRV?, NOTES?, PSSTATUS?,
RSPSCHEDID?, RSPREVNUM?,
SCHDULETYP?, USERAREA?, PARTNER+
)>
<!ELEMENT SHIPSCHDLN (
(%DATETIME.REQUIRED;), (%QUANTITY.ITEM;),
(%DATETIME.CUMULATIVE;)?, (%DATETIME.DELIVACT;)?,
(%DATETIME.ENGCHG;)?, (%DATETIME.PO;)?,
(%DATETIME.RECEIVED;)?, (%DATETIME.SHIP;)?,
(%QUANTITY.CUMULATIVE;)?, (%QUANTITY.DELIVERED;)?,
(%QUANTITY.PRIOR;)?, (%QUANTITY.RECEIVED;)?,
(%QUANTITY.SHIPPED;)?,
ITEM, LINENUM, AUTHCODE?,
DESCRIPTN?, DOCKID?, DRAWING?,
HAZRDMATL?, ITEMRV?, ITEMRVX?,
ITEMX?, KANBAN?, LINETYPE?, NOTES?,
PACKING?, PACKNGDESC?, POID?, POLINENUM?,
PORELEASE?, PRIORITY?, PROJECT?, RSPLINNUM?,
SALESORDID?, SHIPPERNUM?, TASK?, UPC?,
USERAREA?, PARTNER+, SSLNEXCPTN*
)>
<!ELEMENT SSLNEXCPTN (
(%DATETIME.FROM;)?, (%DATETIME.TO;)?,
ACTIONCODE?, DESCRIPTN?, EXCPLINNUM?,
EXCPTNCODE?, REASONCODE?, USERAREA?
)>
9-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Sample XML for Shipment Schedule
<?xml version="1.0" standalone="no"?>
<!DOCTYPE SYNC_SHIPSCHD_001 SYSTEM "168_sync_shipschd_001.dtd">
<SYNC_SHIPSCHD_001>
<CNTROLAREA>
<BSR>
<VERB value="SYNC">SYNC</VERB>
<NOUN value="SHIPSCHD">SHIPSCHD</NOUN>
<REVISION value="001">001</REVISION>
</BSR>
<SENDER>
<LOGICALID>XX141HG09</LOGICALID>
<COMPONENT>SHIPSCHD</COMPONENT>
<TASK>SYNC</TASK>
<REFERENCEID>1233</REFERENCEID>
<CONFIRMATION>1</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE>0000</CODEPAGE>
<AUTHID>8821</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2000</YEAR>
<MONTH>10</MONTH>
<DAY>15</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SYNC_SHIPSCHD>
<SHIPSCHDHD>
<DATETIME qualifier="GENERATION">
<YEAR>2002</YEAR>
<MONTH>01</MONTH>
<DAY>01</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="SCHEND">
<YEAR>2002</YEAR>
<MONTH>01</MONTH>
<DAY>31</DAY>
<HOUR>12</HOUR>
<MINUTE>59</MINUTE>
<SECOND>59</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="SCHSTART">
<YEAR>2002</YEAR>
<MONTH>01</MONTH>
<DAY>01</DAY>
<HOUR>12</HOUR>
9-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<PARTNER>
<NAME index="1">Boston Manu</NAME>
<ONETIME>0</ONETIME>
<PARTNRID>M2</PARTNRID>
<PARTNRTYPE>ShipFrom</PARTNRTYPE>
<CURRENCY>USD</CURRENCY>
</PARTNER>
<PARTNER>
<NAME index="1">ACME2</NAME>
<ONETIME>0</ONETIME>
<PARTNRID>1500</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<CURRENCY>USD</CURRENCY>
</PARTNER>
</SHIPSCHDLN>
</SYNC_SHIPSCHD>
</DATAAREA>
</SYNC_SHIPSCHD_001>
DATETIME.GENERATION SCHED_GENERATION_DATE
DATETIME.SCHEND SCHED_HORIZON_END_DATE
DATETIME.SCHSTART SCHED_HORIZON_START_DATE
SCHEDULEID SCHEDULE_REFERENCE_NUM
SYNCIND SCHEDULE_PURPOSE_EXT
DESCRIPTN DOCUMENT_DESCRIPTION
NOTES HEADER_NOTES_TEXT
PARTNER
NAME CUST_NAME_EXT
ONETIME ONE_TIME_CUST_FLAG_EXT
PARTNRID ECE_TP_LOCATION_CODE_EXT
andCUSTOMER_EXT
PARTNER
NAME SUPPLIER_NAME_EXT
ONETIME ONE_TIME_SUPPLIER_FLAG_EXT
PARTNRID
9-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• EDI_TEST_INDICATOR is set to 'P', to indicate production schedules.
DATETIME.ENGCHG ITEM_ENG_CNG_LVL_DATE_EXT
DATETIME.PO CUST_PO_DATE
QUANTITY.PRIOR ITEM_DETAIL_QUANTITY_PRIOR_EXT
ITEM SUPPLIER_ITEM_EXT
LINENUM LINE_NUMBER
AUTHCODE AUTHORIZATION_CODE_EXT
DESCRIPTN ITEM_DESCRIPTION_EXT
DOCKID CUSTOMER_DOCK_CODE
HAZRDMATL HAZARD_CODE_EXT
ITEMRVX CUSTOMER_ITEM_REVISION
ITEMX CUSTOMER_ITEM_EXT
KANBAN INDUSTRY_ATTRIBUTE4
LINETYPE ITEM_DETAIL_TYPE_EXT
NOTES ITEM_NOTE_TEXT
PACKING PACKAGING_CODE_EXT
PACKNGDESC PACKAGING_DESC_EXT
POID CUST_PO_NUMBER
POLINENUM CUST_PO_LINE_NUM
PORELEASE CUST_PO_RELEASE_NUM
PRIORITY REQUIREMENT_PRIORITY_EXT
9-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
XML Element/Segment RLM_INTERFACE_LINES_ALL Column
PROJECT PROJECT_NUMBER_EXT
SHIPPERNUM ITEM_DETAIL_REF_VALUE_1
TASK TASK_NUMBER_EXT
PARTNER
NAME BILL_TO_NAME_EXT
ONETIME ONE_TIME_BILL_TO_FLAG_EXT
PARTNRID CUST_BILL_TO_EXT
PARTNER
NAME SHIP_FROM_NAME_EXT
ONETIME ONE_TIME_SHIP_FROM_FLAG_EXT
PARTNRID CUST_SHIP_FROM_ORG_EXT
PARTNER
NAME SHIP_TO_NAME_EXT
ONETIME ONE_TIME_SHIP_TO_FLAG_EXT
PARTNRID CUST_SHIP_TO_EXT
Conditional Mapping
1. Depending on the element LINETYPE, determine the line level information as
follows:
IF LINETYPE = 'PAST DUE' / 'FIRM'/'FORECAST' OR
LINETYPE is NULL /* not transmitted */ THEN
• ITEM_DETAIL_TYPE_EXT: = LINETYPE/'Firm'
• ITEM_DETAIL_SUBTYPE_EXT: = 'Day'
• START_DATE_TIME: = DATETIME.REQUIRED
• ITEM_DETAIL_QUANTITY: = QUANTITY.ITEM
• CUST_UOM_EXT: = QUANTITY.ITEM.UOM
9-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• DATE_TYPE_CODE_EXT: = 'RECEIVED'
• START_DATE_TIME: = DATETIME.RECEIVED
• ITEM_DETAIL_QUANTITY: = QUANTITY.RECEIVED
• CUST_UOM_EXT: = QUANTITY.RECEIVED.UOM
• DATE_TYPE_CODE_EXT: = 'SHIPPED'
• START_DATE_TIME: = DATETIME.SHIPPED
• ITEM_DETAIL_QUANTITY: = QUANTITY.SHIPPED
• CUST_UOM_EXT: = QUANTITY.SHIPPED.UOM
END IF;
• ITEM_DETAIL_SUBTYPE_EXT: = 'FINISHED'
• DATE_TYPE_CODE_EXT: = 'FROM_TO'
• START_DATE_TIME: = DATETIME.REQUIRED
• ITEM_DETAIL_QUANTITY: = QUANTITY.ITEM
• CUST_UOM_EXT: = QUANTITY.ITEM.UOM
• ITEM_DETAIL_SUBTYPE_EXT: = 'AHEAD_BEHIND'
• DATE_TYPE_CODE_EXT: = 'AS_OF'
• START_DATE_TIME: = DATETIME.REQUIRED
• ITEM_DETAIL_QUANTITY: = QUANTITY.ITEM
• CUST_UOM_EXT: = QUANTITY.ITEM.UOM
2. If ShipFrom Partner information doesn't come in at the line level, copy the Supplier
Partner data from the header to the lines level.
Derivation of schedule_item_num
SCHEDULE_ITEM_NUM is required to identify a group for the purpose of validating
the line level data. The Shipping Schedule has only two levels and there is no
corresponding element on the XML message to uniquely identify a group. Hence, this
value is derived based on the combination of the following attributes from the XML
message:
• Ship from
• Ship to
• Bill to
• Customer item
• Item description
• Dock code
• Hazard code
• Item revision
• Item notes
• Customer PO number
• Customer PO date
After inserting data in the database, a post process API groups the lines using the above
attributes and for each group, a unique values is assigned to schedule_item_num.
9-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
10
Oracle Release Management EDI
Transactions
• A forecast with the buyer's authorization for the seller to commit resources, such as
labor or material
The order release forecast may also contain all data related to purchase orders, as
required, because the order release capability eliminates the need for discreet
generation of purchase orders.
Purpose Codes
10-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
pre-defined.
• You have EDI trading partner customers who send demand transactions with a
purpose code that differs in meaning from the pre-defined cross-reference to the
Oracle purpose code (external values 2-4 can contain Trading Partner Code,
Schedule Type, Schedule Type Qualifier, or other element as needed).
For example, your customer may use an Original purpose code for the first schedule of
a new model year, which is intended to replace all previously issued demand from the
prior model year. If customer-specific mapping is defined to link this schedule to an
Oracle Replace purpose code, the demand will be handled properly. However, if the
customer-specific mapping is not defined, the Oracle Original purpose code will be
assigned. This will result in overstated demand, because demand from the last schedule
of the prior model year will remain on file, and demand from the first schedule of the
new model year will be added.
Assuming that existing and new demand came from the same schedule type (for
example, 830, 862, or 866), the following chart describes Oracle purpose codes and their
functionality:
Transaction Descriptions
10-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Note: The analysis is based upon the Odette message DELINS, version
4. The Odette Delivery Instruction message corresponds in purpose and
content to the ASC X12 830 - Planning Schedule with Release Capability
and the X12 862 - Shipping Schedule.
For more information, see the Oracle XML Gateway User's Guide.
When the Demand Processor receives data, it validates and converts your imported
data into customer demand schedules within Oracle Release Management and order
lines within Oracle Order Management.
RLM_INTERFACE_HEADERS_ALL
HEADER_ID NUMBER X - -
CUST_ADDRES VARCHAR2(35) - - X
S_1_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_2_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_3_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_4_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_5_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_6_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_7_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_8_EXT
CUST_ADDRES VARCHAR2(35) - - X
S_9_EXT
CUST_CITY_EX VARCHAR2(30) - - X
T
CUST_COUNTR VARCHAR2(3) - - X
Y_EXT
CUST_COUNTY VARCHAR2(25) - - X
_EXT
CUSTOMER_EX VARCHAR2(30) - - X
T
CUST_NAME_E VARCHAR2(20) - - X
XT
11-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
ONE_TIME_CU VARCHAR2(35) - - X
ST_FLAG_EXT
CURRENCY_EX VARCHAR2(35) - - X
T
TAX_EXEMPT_F VARCHAR2(35) - - X
LAG_EXT
TAX_ID_EXT VARCHAR2(35) - - X
CUST_POSTAL_ VARCHAR2(15) - - X
CD_EXT
CUST_PROVIN VARCHAR2(10) - - X
CE_EXT
CUST_STATE_E VARCHAR2(10) - - X
XT
CUSTOMER_ID NUMBER - - X
ECE_PRIMARY_ NUMBER - - X
ADDRESS_ID
ECE_TP_LOCAT VARCHAR2(35) - - X
ION_CODE_EX
T
ECE_TP_TRANS VARCHAR2(35) - - X
LATOR_CODE
EDI_CONTROL VARCHAR2(15) - - X
_NUM_1
EDI_CONTROL VARCHAR2(15) - - X
_NUM_2
EDI_CONTROL VARCHAR2(15) - - X
_NUM_3
EDI_TEST_INDI VARCHAR2(1) - - X
CATOR
HEADER_CON VARCHAR2(3) - - X
TACT_CODE_1
HEADER_CON VARCHAR2(3) - - X
TACT_CODE_2
HEADER_CON VARCHAR2(80) - - X
TACT_VALUE_
1
HEADER_CON VARCHAR2(80) - - X
TACT_VALUE_
2
HEADER_CON VARCHAR2(50) - - X
TACT_EMAIL_1
_EXT
HEADER_CON VARCHAR2(50) - - X
TACT_EMAIL_2
_EXT
HEADER_CON VARCHAR2(35) - - X
TACT_FAX_1_E
XT
HEADER_CON VARCHAR2(35) - - X
TACT_FAX_2_E
XT
HEADER_CON VARCHAR2(50) - - X
TACT_TEL_1_E
XT
HEADER_CON VARCHAR2(80) - - X
TACT_TEL_2_E
XT
HEADER_NOTE VARCHAR2(400 - - X
_TEXT 0)
11-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
HEADER_REF_ VARCHAR2(3) - - X
CODE_1
HEADER_REF_ VARCHAR2(3) - - X
CODE_2
HEADER_REF_ VARCHAR2(3) - - X
CODE_3
HEADER_REF_ VARCHAR2(35) - - X
VALUE_1
HEADER_REF_ VARCHAR2(35) - - X
VALUE_2
HEADER_REF_ VARCHAR2(35) - - X
VALUE_3
ORG_ID NUMBER - - X
PROCESS_STAT NUMBER - - X
US
SCHEDULE_HE NUMBER - - X
ADER_ID
SCHEDULE_TY VARCHAR2(30) - X -
PE
SCHEDULE_TY VARCHAR2(30) - - X
PE_EXT
SCHED_GENER DATE - - X
ATION_DATE
SCHED_HORIZ DATE - - X
ON_END_DATE
SCHED_HORIZ DATE - - X
ON_START_DA
TE
SCHEDULE_PU VARCHAR2(30) - X -
RPOSE
SCHEDULE_PU VARCHAR2(30) - - X
RPOSE_EXT
SCHEDULE_RE VARCHAR2(35) - - X
FERENCE_NUM
SCHEDULE_SO VARCHAR2(30) - - X
URCE
LAST_UPDATE DATE - X -
_DATE
LAST_UPDATE NUMBER - X -
D_BY
CREATION_DA DATE - X -
TE
CREATED_BY NUMBER - X -
ATTRIBUTE_CA VARCHAR2(30) - - X
TEGORY
ATTRIBUTE1 VARCHAR2(150 - - X
)
ATTRIBUTE2 VARCHAR2(150 - - X
)
ATTRIBUTE3 VARCHAR2(150 - - X
)
ATTRIBUTE4 VARCHAR2(150 - - X
)
ATTRIBUTE5 VARCHAR2(150 - - X
)
11-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
ATTRIBUTE6 VARCHAR2(150 - - X
)
ATTRIBUTE7 VARCHAR2(150 - - X
)
ATTRIBUTE8 VARCHAR2(150 - - X
)
ATTRIBUTE9 VARCHAR2(150 - - X
)
ATTRIBUTE10 VARCHAR2(150 - - X
)
ATTRIBUTE11 VARCHAR2(150 - - X
)
ATTRIBUTE12 VARCHAR2(150 - - X
)
ATTRIBUTE13 VARCHAR2(150 - - X
)
ATTRIBUTE14 VARCHAR2(150 - - X
)
ATTRIBUTE15 VARCHAR2(150 - - X
)
LAST_UPDATE NUMBER - X -
_LOGIN
REQUEST_ID NUMBER - X -
PROGRAM_AP NUMBER - X -
PLICATION_ID
PROGRAM_ID NUMBER - X -
PROGRAM_UP DATE - X -
DATE_DATE
TP_ATTRIBUTE VARCHAR2(150 - - X
1 )
TP_ATTRIBUTE VARCHAR2(150 - - X
2 )
TP_ATTRIBUTE VARCHAR2(150 - - X
3 )
TP_ATTRIBUTE VARCHAR2(150 - - X
4 )
TP_ATTRIBUTE VARCHAR2(150 - - X
5 )
TP_ATTRIBUTE VARCHAR2(150 - - X
6 )
TP_ATTRIBUTE VARCHAR2(150 - - X
7 )
TP_ATTRIBUTE VARCHAR2(150 - - X
8 )
TP_ATTRIBUTE VARCHAR2(150 - - X
9 )
TP_ATTRIBUTE VARCHAR2(150 - - X
10 )
TP_ATTRIBUTE VARCHAR2(150 - - X
11 )
TP_ATTRIBUTE VARCHAR2(150 - - X
12 )
TP_ATTRIBUTE VARCHAR2(150 - - X
13 )
TP_ATTRIBUTE VARCHAR2(150 - - X
14 )
11-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
TP_ATTRIBUTE VARCHAR2(150 - - X
15 )
TP_ATTRIBUTE VARCHAR2(30) - - X
_CATEGORY
CUST_FAX_EXT VARCHAR2(35) - - X
CUST_REGION_ VARCHAR2(35) - - X
EXT
CUST_TAX_JUR VARCHAR2(35) - - X
ISDICTION_EXT
CUST_TEL_EXT VARCHAR2(35) - - X
CUST_URL_EXT VARCHAR2(100 - - X
)
ORIGINAL_DO DATE - - X
CUMENT_DAT
E
RESP_DOCUME DATE - - X
NT_DATE
DOCUMENT_D VARCHAR2(50) - - X
ESCRIPTION
DOCUMENT_R VARCHAR2(35) - - X
EV_NUM
RESP_SCHEDU VARCHAR2(35) - - X
LE_ID
RESP_DOCUME VARCHAR2(35) - - X
NT_REV_NUM
BUCKET_END_ DATE - - X
DATE
BUCKET_STAR DATE - - X
T_DATE
FLEX_BUCKET_ VARCHAR2(30) - - X
CODE
SUPPLIER_NA VARCHAR2(60) - - X
ME_EXT
ONE_TIME_SUP VARCHAR2(35) - - X
PLIER_FLAG_E
XT
SUPPLIER_ID NUMBER - - X
SUPPLIER_CUR VARCHAR2(35) - - X
RENCY_EXT
SUPPLIER_DES VARCHAR2(35) - - X
CRIPTION_EXT
CUST_DESCRIP VARCHAR2(35) - - X
TION_EXT
SUPPLIER_TAX VARCHAR2(35) - - X
_EXEMPT_FLA
G_EXT
SUPPLIER_TAX VARCHAR2(35) - - X
_ID_EXT
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_1_EXT
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_2_EXT
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_3_EXT
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_4_EXT
11-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_5_EXT
SUPPLIER_ADD VARCHAR2(240 - - X
RESS_6_EXT )
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_7_EXT
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_8_EXT
SUPPLIER_ADD VARCHAR2(35) - - X
RESS_9_EXT
SUPPLIER_CITY VARCHAR2(30) - - X
_EXT
SUPPLIER_COU VARCHAR2(35) - - X
NTY_EXT
SUPPLIER_FAX VARCHAR2(35) - - X
_EXT
SUPPLIER_POS VARCHAR2(15) - - X
TAL_CD_EXT
SUPPLIER_REGI VARCHAR2(35) - - X
ON_EXT
SUPPLIER_STA VARCHAR2(10) - - X
TE_EXT
SUPPLIER_PRO VARCHAR2(10) - - X
VINCE_EXT
SUPPLIER_TAX VARCHAR2(35) - - X
_JURISDICTION
_EXT
SUPPLIER_TEL_ VARCHAR2(35) - - X
EXT
SUPPLIER_URL VARCHAR2(100 - - X
_EXT )
SUP_HEADER_ VARCHAR2(3) - - X
CONTACT_CO
DE_1
SUP_HEADER_ VARCHAR2(3) - - X
CONTACT_CO
DE_2
SUP_HEADER_ VARCHAR2(80) - - X
CONTACT_VAL
UE_1
SUP_HEADER_ VARCHAR2(80) - - X
CONTACT_VAL
UE_2
SUP_HEADER_ VARCHAR2(50 - - X
CONTACT_EM
AIL_1_EXT
SUP_HEADER_ VARCHAR2(50 - - X
CONTACT_EM
AIL_2_EXT
SUP_HEADER_ VARCHAR2(35) - - X
CONTACT_FAX
_1_EXT
SUP_HEADER_ VARCHAR2(35) - - X
CONTACT_FAX
_2_EXT
SUP_HEADER_ VARCHAR2(50) - - X
CONTACT_TEL
_1_EXT
SUP_HEADER_ VARCHAR2(50) - - X
CONTACT_TEL
_2_EXT
11-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
SUPPLIER_COU VARCHAR2(3) - - X
NTRY_EXT
Column Descriptions
HEADER_ID Number
Sequence generated unique identifier.
CUST_ADDRESS_1_EXT VARCHAR2(35)
Customer address line 1, as sent by the customer on the N3 segment.
CUST_ADDRESS_2_EXT VARCHAR2(35)
Customer address line 2, as sent by the customer on the N3 segment.
CUST_ADDRESS_3_EXT VARCHAR2(35)
Customer address line 3, as sent by the customer on the N3 segment.
CUST_ADDRESS_4_EXT VARCHAR2(35)
Customer address line 4, as sent by the customer on the N3 segment.
CUST_ADDRESS_5_EXT VARCHAR2(35)
Customer address line 5, as sent by the customer on the N3 segment.
CUST_ADDRESS_6_EXT VARCHAR2(35)
Customer address line 6, as sent by the customer on the N3 segment.
CUST_ADDRESS_7_EXT VARCHAR2(35)
Customer address line 7, as sent by the customer on the N3 segment.
CUST_ADDRESS_8_EXT VARCHAR2(35)
Customer address line 8, As sent by the customer on the N3 segment.
CUST_ADDRESS_9_EXT VARCHAR2(35)
Customer address line 9, as sent by the customer on the N3 segment.
CUST_CITY_EXT VARCHAR2(30)
Customer address city, as sent by the customer on the N4 segment.
CUST_COUNTRY_EXT VARCHAR2(3)
Customer country, as sent by the customer on the N4 segment.
CUST_COUNTY_EXT VARCHAR2(25)
Customer county, as sent by the customer on the N4 segment.
11-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
EDI_CONTROL_NUM_3 VARCHAR2(15)
EDI control number 3 (ST) assigned by the customer's EDI translator for audit.
EDI_TEST_INDICATOR VARCHAR2(1)
EDI Test/Production transaction indicator (T or P), assigned by the customer's EDI
translator. E-Commerce Gateway rules determine the handling of test transactions
within the Demand Processor.
HEADER_CONTACT_CODE_1 VARCHAR2(3)
Contact code 1 included in customer's EDI transaction (not validated).
HEADER_CONTACT_CODE_2 VARCHAR2(3)
Contact code 2 included in customer's EDI transaction (not validated).
HEADER_CONTACT_VALUE_1 VARCHAR2(80)
Values associated with contact code 1: concatenation of name, communication code,
and communication number.
HEADER_CONTACT_VALUE_2 VARCHAR2(80)
Values associated with contact code 2: concatenation of name, communication code,
and communication number.
HEADER_CONTACT_EMAIL_1_EXT VARCHAR2(50)
For future use.
HEADER_CONTACT_EMAIL_2_EXT VARCHAR2(50)
For future use.
HEADER_CONTACT_FAX_1_EXT VARCHAR2(35)
For future use.
HEADER_CONTACT_FAX_2_EXT VARCHAR2(35)
For future use.
HEADER_CONTACT_TEL_1_EXT VARCHAR2(50)
For future use.
HEADER_CONTACT_TEL_2_EXT VARCHAR2(50)
For future use.
HEADER_NOTE_TEXT VARCHAR2(240)
Free form note text included in the schedule at the header level.
HEADER_REF_CODE_1 VARCHAR2(3)
Reference code 1 included in customer's EDI transaction.
HEADER_REF_CODE_2 VARCHAR2(3)
11-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Schedule horizon start date, to be derived based on demand contained within the
schedule if not specified.
SCHEDULE_PURPOSE VARCHAR2(30)
Schedule purpose code, i.e. original, replace, cancellation, etc. Validated against
FND_LOOKUPS.LOOKUP_TYPE =RLM_SCHEDULE_PURPOSE
SCHEDULE_PURPOSE_EXT VARCHAR2(30)
External value from which SCHEDULE_PURPOSE was derived in e-Commerce
Gateway code conversion.
SCHEDULE_REFERENCE_NUM VARCHAR2(35)
Customer assigned schedule reference or release number.
SCHEDULE_SOURCE VARCHAR2(30)
EDI or manual transaction source for this schedule, i.e. 830, 862, 866, DELFOR,
MANUAL, etc.
LAST_UPDATE_DATE DATE
Standard Who column.
LAST_UPDATED_BY NUMBER
Standard Who column.
CREATION_DATE DATE
Standard Who column.
CREATED_BY NUMBER
Standard Who column.
ATTRIBUTE_CATEGORY VARCHAR2(30)
Descriptive flexfield context column.
ATTRIBUTE1 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE2 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE3 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE4 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE5 VARCHAR2(150)
Descriptive flexfield segment column.
11-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
TP_ATTRIBUTE2 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE3 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE4 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE5 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE6 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE7 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE8 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE9 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE10 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE11 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE12 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE13 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE14 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE15 VARCHAR2(150)
Trading Partner flexfield column.
TP_ATTRIBUTE_CATEGORY VARCHAR2(30)
Trading Partner flexfield context column.
CUST_FAX_EXT VARCHAR2(35)
For future use.
11-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
SUPPLIER_CURRENCY_EXT VARCHAR2(35)
For future use.
SUPPLIER_DESCRIPTION_EXT VARCHAR2(35)
For future use.
CUST_DESCRIPTION_EXT VARCHAR2(35)
For future use.
SUPPLIER_TAX_EXEMPT_FLAG_EXT VARCHAR2(35)
For future use.
SUPPLIER_TAX_ID_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_1_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_2_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_3_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_4_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_5_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_6_EXT VARCHAR2(240)
For future use.
SUPPLIER_ADDRESS_7_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_8_EXT VARCHAR2(35)
For future use.
SUPPLIER_ADDRESS_9_EXT VARCHAR2(35)
For future use.
SUPPLIER_CITY_EXT VARCHAR2(30)
For future use.
SUPPLIER_COUNTY_EXT VARCHAR2(35)
For future use.
11-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
SUP_HEADER_CONTACT_TEL_1_EXT VARCHAR2(50)
For future use.
SUP_HEADER_CONTACT_TEL_2_EXT VARCHAR2(50)
For future use.
SUPPLIER_COUNTRY_EXT VARCHAR2(3)
For future use.
RLM_INTERFACE_LINES_ALL
LINE_ID NUMBER X - -
HEADER_ID NUMBER X - -
AGREEMENT_I NUMBER - - X
D
ATO_DATA_TY VARCHAR2(30) - - X
PE
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_1_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_2_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_3_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_4_EXT
BILL_TO_ADDR NUMBER - - X
ESS_ID
INVOICE_TO_O NUMBER - - X
RG_ID
BILL_TO_CITY_ VARCHAR2(30) - - X
EXT
BILL_TO_COU VARCHAR2(3) - - X
NTRY_EXT
BILL_TO_COU VARCHAR2(25) - - X
NTY_EXT
BILL_TO_NAM VARCHAR2(60) - - X
E_EXT
BILL_TO_POST VARCHAR2(15) - - X
AL_CD_EXT
BILL_TO_PROV VARCHAR2(10) - - X
INCE_EXT
BILL_TO_SITE_ NUMBER - - X
USE_ID
BILL_TO_STAT VARCHAR2(10) - - X
E_EXT
CARRIER_ID_C VARCHAR2(35) - - X
ODE_EXT
CARRIER_QUA VARCHAR2(3) - - X
LIFIER_EXT
COMMODITY_ VARCHAR2(35) - - X
EXT
COUNTRY_OF_ VARCHAR2(35) - - X
ORIGIN_EXT
11-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
CUST_ASSEMB VARCHAR2(30) - - X
LY_EXT
CUST_ASSIGNE VARCHAR2(20) - - X
D_ID_EXT
CUST_BILL_TO VARCHAR2(35) - - X
_EXT
CUST_CONTRA VARCHAR2(35) - - X
CT_NUM_EXT
CUSTOMER_D VARCHAR2(50) - - X
OCK_CODE
CUST_INTRMD VARCHAR2(35) - - X
_SHIP_TO_EXT
CUST_ITEM_PR NUMBER - - X
ICE_EXT
CUST_ITEM_PR VARCHAR2(3) - - X
ICE_UOM_EXT
CUSTOMER_IT VARCHAR2(3) - - X
EM_REVISION
CUSTOMER_JO VARCHAR2(50) - - X
B
CUST_MANUF VARCHAR2(35) - - X
ACTURER_EXT
CUST_MODEL_ VARCHAR2(35) - - X
NUMBER_EXT
CUST_MODEL_ VARCHAR2(35) - - X
SERIAL_NUMB
ER
CUST_ORDER_ VARCHAR2(35) - - X
NUM_EXT
CUST_PROCESS VARCHAR2(35) - - X
_NUM_EXT
CUST_PRODUC VARCHAR2(50) - - X
TION_LINE
CUST_PRODUC VARCHAR2(35) - - X
TION_SEQ_NU
M
CUST_SET_NU VARCHAR2(35) - - X
M_EXT
CUST_SHIP_FR VARCHAR2(80) - - X
OM_ORG_EXT
CUST_SHIP_TO VARCHAR2(35) - - X
_EXT
CUST_UOM_EX VARCHAR2(10) - - X
T
CUSTOMER_IT VARCHAR2(50) - - X
EM_EXT
CUSTOMER_IT NUMBER - - X
EM_ID
REQUEST_DAT DATE - - X
E
SCHEDULE_DA DATE - - X
TE
DATE_TYPE_C VARCHAR2(30) - X -
ODE
DATE_TYPE_C VARCHAR2(30) - - X
ODE_EXT
DELIVERY_LEA NUMBER - - X
D_TIME
11-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
END_DATE_TI DATE - - X
ME
EQUIPMENT_C VARCHAR2(3) - - X
ODE_EXT
EQUIPMENT_N VARCHAR2(35) - - X
UMBER_EXT
HANDLING_C VARCHAR2(3) - - X
ODE_EXT
HAZARD_COD VARCHAR2(10) - - X
E_EXT
HAZARD_COD VARCHAR2(3) - - X
E_QUAL_EXT
HAZARD_DESC VARCHAR2(80) - - X
RIPTION_EXT
IMPORT_LICEN DATE - - X
SE_DATE_EXT
IMPORT_LICEN VARCHAR2(35) - - X
SE_EXT
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE1 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE10 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE11 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE12 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE13 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE14 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE15 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE2 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE3 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE4 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE5 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE6 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE7 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE8 )
INDUSTRY_AT VARCHAR2(150 - - X
TRIBUTE9 )
INDUSTRY_CO VARCHAR2(30) - - X
NTEXT
INTRMD_SHIP_ NUMBER - - X
TO_ID
SHIP_TO_ORG_ NUMBER - - X
ID
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_1_EXT
11-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_2_EXT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_3_EXT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_4_EXT
INTRMD_ST_CI VARCHAR2(30) - - X
TY_EXT
INTRMD_ST_C VARCHAR2(3) - - X
OUNTRY_EXT
INTRMD_ST_C VARCHAR2(25) - - X
OUNTY_EXT
INTRMD_ST_N VARCHAR2(60) - - X
AME_EXT
INTRMD_ST_P VARCHAR2(15) - - X
OSTAL_CD_EX
T
INTRMD_ST_PR VARCHAR2(10) - - X
OVINCE_EXT
INTRMD_ST_ST VARCHAR2(10) - - X
ATE_EXT
INTRMD_ST_SI NUMBER - - X
TE_USE_ID
INVENTORY_IT NUMBER - - X
EM_ID
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
0
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
1
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
2
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
3
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
4
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
5
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
6
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
7
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
8
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT1
9
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT2
11-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT2
0
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT3
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT4
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT5
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT6
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT7
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT8
INVENTORY_IT VARCHAR2(40) - - X
EM_SEGMENT9
ITEM_CONTAC VARCHAR2(3) - - X
T_CODE_1
ITEM_CONTAC VARCHAR2(3) - - X
T_CODE_2
ITEM_CONTAC VARCHAR2(80) - - X
T_VALUE_1
ITEM_CONTAC VARCHAR2(80) - - X
T_VALUE_2
ITEM_DESCRIP VARCHAR2(80) - - X
TION_EXT
ITEM_DETAIL_ NUMBER - - X
QUANTITY
ITEM_DETAIL_ VARCHAR2(3) - - X
REF_CODE_1
ITEM_DETAIL_ VARCHAR2(3) - - X
REF_CODE_2
ITEM_DETAIL_ VARCHAR2(3) - - X
REF_CODE_3
ITEM_DETAIL_ VARCHAR2(35) - - X
REF_VALUE_1
ITEM_DETAIL_ VARCHAR2(35) - - X
REF_VALUE_2
ITEM_DETAIL_ VARCHAR2(35) - - X
REF_VALUE_3
ITEM_DETAIL_ VARCHAR2(30) - X -
SUBTYPE
ITEM_DETAIL_ VARCHAR2(30) - - X
SUBTYPE_EXT
ITEM_DETAIL_ VARCHAR2(30) - X -
TYPE
ITEM_DETAIL_ VARCHAR2(30) - - X
TYPE_EXT
ITEM_ENG_CN VARCHAR2(35) - - X
G_LVL_EXT
ITEM_MEASUR VARCHAR2(240 - - X
EMENTS_EXT )
ITEM_NOTE_TE VARCHAR2(240 - - X
XT )
ITEM_REF_COD VARCHAR2(3) - - X
E_1
11-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
ITEM_REF_COD VARCHAR2(3) - - X
E_2
ITEM_REF_COD VARCHAR2(3) - - X
E_3
ITEM_REF_VAL VARCHAR2(35) - - X
UE_1
ITEM_REF_VAL VARCHAR2(35) - - X
UE_2
ITEM_REF_VAL VARCHAR2(35) - - X
UE_3
ITEM_RELEASE VARCHAR2(3) - - X
_STATUS_EXT
LADING_QUA NUMBER - - X
NTITY_EXT
LETTER_CREDI DATE - - X
T_EXPDT_EXT
LETTER_CREDI VARCHAR2(35) - - X
T_EXT
LINE_REFEREN VARCHAR2(50) - - X
CE
LINK_TO_LINE VARCHAR2(50) - - X
_REF
ORDER_HEADE NUMBER - - X
R_ID
ORG_ID NUMBER - - X
OTHER_NAME VARCHAR2(3) - - X
_CODE_1
OTHER_NAME VARCHAR2(3) - - X
_CODE_2
OTHER_NAME VARCHAR2(80) - - X
_VALUE_1
OTHER_NAME VARCHAR2(80) - - X
_VALUE_2
PACK_SIZE_EX NUMBER - - X
T
PACK_UNITS_P NUMBER - - X
ER_PACK_EXT
PACK_UOM_C VARCHAR2(3) - - X
ODE_EXT
PACKAGING_C VARCHAR2(10) - - X
ODE_EXT
PARENT_LINK_ VARCHAR2(50) - - X
LINE_REF
PRICE_LIST_ID NUMBER - - X
PRIMARY_QUA NUMBER - - X
NTITY
PRIMARY_UO VARCHAR2(3) - - X
M_CODE
PRIME_CONTR VARCHAR2(35) - - X
CTR_PART_EXT
PROCESS_STAT NUMBER - - X
US
CUST_PO_RELE VARCHAR2(35) - - X
ASE_NUM
11-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
CUST_PO_DAT DATE - - X
E
CUST_PO_LINE VARCHAR2(35) - - X
_NUM
CUST_PO_NUM VARCHAR2(50) - - X
BER
QTY_TYPE_CO VARCHAR2(30) - X -
DE
QTY_TYPE_CO VARCHAR2(30) - - X
DE_EXT
RETURN_CONT VARCHAR2(35) - - X
AINER_EXT
SCHEDULE_LI NUMBER - - X
NE_ID
ROUTING_DES VARCHAR2(35) - - X
C_EXT
ROUTING_SEQ VARCHAR2(3) - - X
_CODE_EXT
SCHEDULE_ITE NUMBER - - X
M_NUM
SHIP_DEL_PAT VARCHAR2(3) - - X
TERN_EXT
SHIP_DEL_TIM VARCHAR2(3) - - X
E_CODE_EXT
SHIP_DEL_RUL VARCHAR2(30) - - X
E_NAME
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_1_EXT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_2_EXT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_3_EXT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_4_EXT
SHIP_FROM_CI VARCHAR2(30) - - X
TY_EXT
SHIP_FROM_C VARCHAR2(3) - - X
OUNTRY_EXT
SHIP_FROM_C VARCHAR2(25) - - X
OUNTY_EXT
SHIP_FROM_N VARCHAR2(60) - - X
AME_EXT
SHIP_FROM_O NUMBER - - X
RG_ID
SHIP_FROM_PO VARCHAR2(15) - - X
STAL_CD_EXT
SHIP_FROM_PR VARCHAR2(10) - - X
OVINCE_EXT
SHIP_FROM_ST VARCHAR2(10) - - X
ATE_EXT
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_1
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_10
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_2
11-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_3
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_4
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_5
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_6
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_7
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_8
SHIP_LABEL_I VARCHAR2(80) - - X
NFO_LINE_9
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_1_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_2_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_3_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_4_EXT
SHIP_TO_ADD NUMBER - - X
RESS_ID
DELIVER_TO_O NUMBER - - X
RG_ID
SHIP_TO_CITY_ VARCHAR2(30) - - X
EXT
SHIP_TO_COU VARCHAR2(3) - - X
NTRY_EXT
SHIP_TO_COU VARCHAR2(25) - - X
NTY_EXT
SHIP_TO_NAM VARCHAR2(60) - - X
E_EXT
SHIP_TO_POST VARCHAR2(15) - - X
AL_CD_EXT
SHIP_TO_PROV VARCHAR2(10) - - X
INCE_EXT
SHIP_TO_SITE_ NUMBER - - X
USE_ID
SHIP_TO_STAT VARCHAR2(10) - - X
E_EXT
START_DATE_T DATE - - X
IME
SUBLINE_ASSI VARCHAR2(20) - - X
GNED_ID_EXT
SUBLINE_CON VARCHAR2(3) - - X
FIG_CODE_EXT
SUBLINE_CUST VARCHAR2(50) - - X
_ITEM_EXT
SUBLINE_CUST NUMBER - - X
_ITEM_ID
SUBLINE_MOD VARCHAR2(35) - - X
EL_NUM_EXT
SUBLINE_QUA NUMBER - - X
NTITY
11-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
SUBLINE_UOM VARCHAR2(3) - - X
_CODE
SUPPLIER_ITE VARCHAR2(35) - - X
M_EXT
TRANSIT_TIME VARCHAR2(22) - - X
_EXT
TRANSIT_TIME VARCHAR2(3) - - X
_QUAL_EXT
TRANSPORT_L VARCHAR2(3) - - X
OC_QUAL_EXT
TRANSPORT_L VARCHAR2(35) - - X
OCATION_EXT
TRANSPORT_M VARCHAR2(3) - - X
ETHOD_EXT
UOM_CODE VARCHAR2(3) - - X
WEIGHT_EXT NUMBER - - X
WEIGHT_QUAL VARCHAR2(3) - - X
IFIER_EXT
WEIGHT_UOM_ VARCHAR2(3) - - X
EXT
FBO_CONFIGU VARCHAR2(35) - - X
RATION_KEY_1
FBO_CONFIGU VARCHAR2(35) - - X
RATION_KEY_2
FBO_CONFIGU VARCHAR2(35) - - X
RATION_KEY_3
FBO_CONFIGU VARCHAR2(35) - - X
RATION_KEY_4
FBO_CONFIGU VARCHAR2(35) - - X
RATION_KEY_5
MATCH_KEY_A VARCHAR2(150 - - X
CROSS )
MATCH_KEY_ VARCHAR2(150 - - X
WITHIN )
CRITICAL_KEY VARCHAR2(150 - - X
_ATTRIBUTES )
LAST_UPDATE DATE - X -
_DATE
LAST_UPDATE NUMBER - X -
D_BY
CREATION_DA DATE - X -
TE
CREATED_BY NUMBER - X -
ATTRIBUTE_CA VARCHAR2(30) - - X
TEGORY
ATTRIBUTE1 VARCHAR2(150 - - X
)
ATTRIBUTE2 VARCHAR2(150 - - X
)
ATTRIBUTE3 VARCHAR2(150 - - X
)
ATTRIBUTE4 VARCHAR2(150 - - X
)
ATTRIBUTE5 VARCHAR2(150 - - X
)
11-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
ATTRIBUTE6 VARCHAR2(150 - - X
)
ATTRIBUTE7 VARCHAR2(150 - - X
)
ATTRIBUTE8 VARCHAR2(150 - - X
)
ATTRIBUTE9 VARCHAR2(150 - - X
)
ATTRIBUTE10 VARCHAR2(150 - - X
)
ATTRIBUTE11 VARCHAR2(150 - - X
)
ATTRIBUTE12 VARCHAR2(150 - - X
)
ATTRIBUTE13 VARCHAR2(150 - - X
)
ATTRIBUTE14 VARCHAR2(150 - - X
)
ATTRIBUTE15 VARCHAR2(150 - - X
)
LAST_UPDATE NUMBER - X -
_LOGIN
REQUEST_ID NUMBER - X -
PROGRAM_AP NUMBER - X -
PLICATION_ID
PROGRAM_ID NUMBER - X -
PROGRAM_UP DATE - X -
DATE_DATE
TP_ATTRIBUTE VARCHAR2(150 - - X
1 )
TP_ATTRIBUTE VARCHAR2(150 - - X
2 )
TP_ATTRIBUTE VARCHAR2(150 - - X
3 )
TP_ATTRIBUTE VARCHAR2(150 - - X
4 )
TP_ATTRIBUTE VARCHAR2(150 - - X
5 )
TP_ATTRIBUTE VARCHAR2(150 - - X
6 )
TP_ATTRIBUTE VARCHAR2(150 - - X
7 )
TP_ATTRIBUTE VARCHAR2(150 - - X
8 )
TP_ATTRIBUTE VARCHAR2(150 - - X
9 )
TP_ATTRIBUTE VARCHAR2(150 - - X
10 )
TP_ATTRIBUTE VARCHAR2(150 - - X
11 )
TP_ATTRIBUTE VARCHAR2(150 - - X
12 )
TP_ATTRIBUTE VARCHAR2(150 - - X
13 )
TP_ATTRIBUTE VARCHAR2(150 - - X
14 )
11-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
TP_ATTRIBUTE VARCHAR2(150 - - X
15 )
TP_ATTRIBUTE VARCHAR2(30) - - X
_CATEGORY
LINE_NUMBER NUMBER - - X
INTMED_SHIP_ NUMBER - - X
TO_ORG_ID
LINE_SOURCE VARCHAR2(30) - - X
PREFERRED_G VARCHAR2(4) - - X
RADE
CUST_PRODUC VARCHAR2(35) - - X
TION_SEQ_NU
M_BEG
CUST_PRODUC VARCHAR2(35) - - X
TION_SEQ_NU
M_END
ITEM_DETAIL_ NUMBER - - X
QUANTITY_MI
N_EXT
ITEM_DETAIL_ NUMBER - - X
QUANTITY_MA
X_EXT
ITEM_DETAIL_ NUMBER - - X
QUANTITY_PRI
OR_EXT
REQUIREMENT NUMBER - - X
_PRIORITY_EXT
PROJECT_NUM VARCHAR2(50) - - X
BER_EXT
RESP_LINE_NU VARCHAR2(35) - - X
MBER
TASK_NUMBER VARCHAR2(50) - - X
_EXT
UPC_EXT VARCHAR2(50) - - X
ITEM_ENG_CN DATE - - X
G_LVL_DATE_E
XT
AUTHORIZATI VARCHAR2(50) - - X
ON_CODE_EXT
PACKAGING_D VARCHAR2(80) - - X
ESC_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_5_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_6_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_7_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_8_EXT
BILL_TO_ADDR VARCHAR2(35) - - X
ESS_9_EXT
ONE_TIME_BIL VARCHAR2(35) - - X
L_TO_FLAG_EX
T
BILL_TO_DESC VARCHAR2(50) - - X
RIPTION_EXT
BILL_TO_FAX_ VARCHAR2(35) - - X
EXT
11-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
BILL_TO_REGI VARCHAR2(35) - - X
ON_EXT
BILL_TO_JURIS VARCHAR2(35) - - X
DICTION_EXT
BILL_TO_TEL_E VARCHAR2(35) - - X
XT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_5_EXT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_6_EXT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_7_EXT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_8_EXT
INTRMD_ST_A VARCHAR2(35) - - X
DDRESS_9_EXT
ONE_TIME_INT VARCHAR2(35) - - X
RMD_ST_FLAG
_EXT
INTRMD_ST_D VARCHAR2(50) - - X
ESCRIPTION_E
XT
INTRMD_ST_FA VARCHAR2(35) - - X
X_EXT
INTRMD_ST_RE VARCHAR2(35) - - X
GION_EXT
INTRMD_ST_JU VARCHAR2(35) - - X
RISDICTION_E
XT
INTRMD_ST_TE VARCHAR2(35) - - X
L_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_5_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_6_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_7_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_8_EXT
SHIP_TO_ADD VARCHAR2(35) - - X
RESS_9_EXT
ONE_TIME_SHI VARCHAR2(35) - - X
P_TO_FLAG_EX
T
SHIP_TO_DESC VARCHAR2(50) - - X
RIPTION_EXT
SHIP_TO_FAX_ VARCHAR2(35) - - X
EXT
SHIP_TO_REGI VARCHAR2(35) - - X
ON_EXT
SHIP_TO_JURIS VARCHAR2(35) - - X
DICTION_EXT
SHIP_TO_TEL_E VARCHAR2(35) - - X
XT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_5_EXT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_6_EXT
11-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Column Name Type Required Derived Optional
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_7_EXT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_8_EXT
SHIP_FROM_A VARCHAR2(35) - - X
DDRESS_9_EXT
ONE_TIME_SHI VARCHAR2(35) - - X
P_FROM_FLAG
_EXT
SHIP_FROM_DE VARCHAR2(50) - - X
SCRIPTION_EX
T
SHIP_FROM_FA VARCHAR2(35) - - X
X_EXT
SHIP_FROM_RE VARCHAR2(35) - - X
GION_EXT
SHIP_FROM_JU VARCHAR2(35) - - X
RISDICTION_E
XT
SHIP_FROM_TE VARCHAR2(35) - - X
L_EXT
Column Descriptions
LINE_ID NUMBER
Sequence generated unique identifier.
HEADER_ID NUMBER
Sequence generated unique identifier foreign key to the
RLM_INTERFACE_HEADERS_ALL.
AGREEMENT_ID NUMBER
Unique identifier for agreement on which customer purchase order is associated. FK to
RA_AGREEMENTS
11-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Bill to site use identifier. FK to RA_SITE_USES.
BILL_TO_STATE_EXT VARCHAR2(10)
Bill to state, as sent by the customer on the N4 segment.
CARRIER_ID_CODE_EXT VARCHAR2(35)
The carrier id, as sent by the customer on the TD5 segment.
CARRIER_QUALIFIER_EXT VARCHAR2(3)
The carrier qualifier, as sent by the customer on the TD5 segment.
COMMODITY_EXT VARCHAR2(35)
Customer specified commodity code.
COUNTRY_OF_ORIGIN_EXT VARCHAR2(35)
Customer-specified country of origin.
CUST_ASSEMBLY_EXT VARCHAR2(30)
The customer's assembly identification, as sent on the LIN segment of the 866
transaction.
CUST_ASSIGNED_ID_EXT VARCHAR2(20)
Customer assigned identification for differentiation within a transaction set, from
LIN01.
CUST_BILL_TO_EXT VARCHAR2(35)
External customer bill to cross reference.
CUST_CONTRACT_NUM_EXT VARCHAR2(35)
The customer's contract number, as sent on the LIN segment of the 830 transaction.
CUSTOMER_DOCK_CODE VARCHAR2(50)
Customer dock code.
CUST_INTERMD_SHIP_TO_EXT VARCHAR2(35)
External intermediate ship to cross reference.
CUST_ITEM_PRICE_EXT NUMBER
Price included on the customer's EDI transaction.
CUST_ITEM_PRICE_UOM_EXT VARCHAR2(3)
UOM corresponding to the price included on the customer's EDI transaction.
CUSTOMER_ITEM_REVISION VARCHAR2(35)
Customer part revision included on schedule.
CUSTOMER_JOB VARCHAR2(50)
Customer job number.
11-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Planned shipment date and time (request_date - delivery lead time if delivery based).
DATE_TYPE_CODE VARCHAR2(30)
Type of start/end date, e.g. ship, deliver, Pull signal, Cumulative. Validated against
FND_LOOKUPS.LOOKUP_TYPE =RLM_DATE_TYPE_CODE
DATE_TYPE_CODE_EXT VARCHAR2(30)
External value from which DATE_TYPE_CODE was derived in EDI Gateway code
conversion.
DELIVERY_LEAD_TIME NUMBER
For demand lines, the difference between arrival and shipment dates, based on default
shipping method between the ship-from and ship-to locations. This is determined by
the calculate ship date routine and passed into Order Import.
END_DATE_TIME DATE
Customer-specified optional end date/time, applicable for flexible bucketed
requirements, and cumulative information such as authorizations and
shipped/received.
EQUIPMENT_CODE_EXT VARCHAR2(3)
The equipment code, as sent by the customer on the TD3 segment.
EQUIPMENT_NUMBER_EXT VARCHAR2(35)
The equipment number, as sent by the customer on the TD3 segment.
HANDLING_CODE_EXT VARCHAR2(3)
Special handling code as sent by the customer in the TD4 segment.
HAZARD_CODE_EXT VARCHAR2(10)
Hazardous material code corresponding to the hazardous material code qualifier as sent
by the customer in the TD4 segment.
HAZARD_CODE_QUAL_EXT VARCHAR2(3)
Hazardous material code qualifier as sent by the customer in the TD4 segment.
HAZARD_DESCRIPTION_EXT VARCHAR2(80)
Hazardous material description as sent by the customer in the TD4 segment.
IMPORT_LICENSE_DATE_EXT DATE
Customer's import license date.
IMPORT_LICENSE_EXT VARCHAR2(35)
Customer's import license for shipment destination country.
INDUSTRY_ATTR IBUTE1 VARCHAR2(150)
Record keeping or model year.
11-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
SHIP_TO_ORG_ID NUMBER
Unique identifier for ship-to organization which relates to SHIP_TO_ADDRESS_ID if
there is no intermediate ship-to address, or to INTERMEDIATE_SHIP_TO_ID if
intermediate ship-to address is specified. FK in R12 customer-org data model to
HR_ORGANIZATIONS.
INTRMD_ST_ADDRESS_1_EXT VARCHAR2(35)
Intermediate ship to address line 1, as sent by the customer on the N3 segment.
INTRMD_ST_ADDRESS_2_EXT VARCHAR2(35)
Intermediate ship to address line 2, as sent by the customer on the N3 segment.
INTRMD_ST_ADDRESS_3_EXT VARCHAR2(35)
Intermediate ship to address line 3, as sent by the customer on the N3 segment.
INTRMD_ST_ADDRESS_4_EXT VARCHAR2(35)
Intermediate ship to address line 4, as sent by the customer on the N3 segment.
INTRMD_ST_CITY_EXT VARCHAR2(30)
Intermediate ship to address city, as sent by the customer on the N4 segment.
INTRMD_ST_COUNTRY_EXT VARCHAR2(3)
Intermediate ship to country, as sent by the customer on the N4 segment.
INTRMD_ST_COUNTY_EXT VARCHAR2(25)
Intermediate ship to county, as sent by the customer on the N4 segment.
INTRMD_ST_NAME_EXT VARCHAR2(60)
Intermediate ship to name, as sent by the customer in the N1 and/or N2 segment.
INTRMD_ST_POSTAL_CD_EXT VARCHAR2(15)
Intermediate ship to address postal code, as sent by the customer on the N4 segment.
INTRMD_ST_PROVINCE_EXT VARCHAR2(10)
Intermediate ship to province, as sent by the customer on the N4 segment.
INTRMD_ST_STATE_EXT VARCHAR2(10)
Intermediate ship to state, as sent by the customer on the N4 segment.
INTRMD_ST_SITE_USE_ID NUMBER
Intermediate ship to site use identifier, FK to RA_SITE_USES.
INVENTORY_ITEM_ID NUMBER
Inventory item identifier. FK to MTL_SYSTEM_ITEMS.
INVENTORY_ITEM_SEGMENT1 VARCHAR2(40)
Accounting flexfield.
11-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
INVENTORY_ITEM_SEGMENT7 VARCHAR2(40)
Accounting flexfield.
INVENTORY_ITEM_SEGMENT8 VARCHAR2(40)
Accounting flexfield.
INVENTORY_ITEM_SEGMENT9 VARCHAR2(40)
Accounting flexfield.
ITEM_CONTACT_CODE_1 VARCHAR2(3)
Contact code 1 included in customer's EDI transaction.
ITEM_CONTACT_CODE_2 VARCHAR2(3)
Contact code 2 included in customer's EDI transaction.
ITEM_CONTACT_VALUE_1 VARCHAR2(80)
Values associated with contact code 1: concatenation of name, communication code,
and communication number.
ITEM_CONTACT_VALUE_2 VARCHAR2(80)
Values associated with contact code 2 : concatenation of name, communication code,
and communication number.
ITEM_DESCRIPTION_EXT VARCHAR2(80)
Item description included on schedule.
ITEM_DETAIL_QUANTITY NUMBER
Requested quantity.
If Item_Detail_Type = 0,1,2, this is the demand quantity.
If Item_Detail_Type = 3, this is the authorization quantity.
If Item_Detail_Type = 4, this is the shipped, received or cum quantity.
If Item_Detail_Type = 5, this is a miscellaneous quantity, such as ahead/behind,
inventory balance, etc.
ITEM_DETAIL_REF_CODE_1 VARCHAR2(3)
Reference code 1 included in customer's EDI transaction.
ITEM_DETAIL_REF_CODE_2 VARCHAR2(3)
Reference code 2 included in customer's EDI transaction.
ITEM_DETAIL_REF_CODE_3 VARCHAR2(3)
Reference code 3 included in customer's EDI transaction.
ITEM_DETAIL_REF_VALUE_1 VARCHAR2(35)
Value associated with reference code 1.
11-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Value associated with reference code 1.
ITEM_REF_VALUE_2 VARCHAR2(35)
Value associated with reference code 2.
ITEM_REF_VALUE_3 VARCHAR2(35)
Value associated with reference code 3.
ITEM_RELEASE_STATUS_EXT VARCHAR2(3)
Customer part release status included on schedule.
LADING_QUANTITY_EXT NUMBER
The lading quantity as sent by the customer on the TD1 segment.
LETTER_CREDIT_EXPDT_EXT DATE
Customerís letter of credit expiration date.
LETTER_CREDIT_EXT VARCHAR2(35)
Customerís letter of credit with international bank guaranteeing payment for
international shipments.
LINE_REFERENCE VARCHAR2(50)
Unique line identifier within an order for a transmission identifier.
LINK_TO_LINE_REF VARCHAR2(50)
Link to Immediate Parent_line_reference within an order for a transmission identifier.
ORDER_HEADER_ID NUMBER
Order header identifier. FK to OE_ORDER_HEADERS.
ORG_ID NUMBER
Operating unit unique id. FK to HR_ORGANIZATION_UNITS.
OTHER_NAME_CODE_1 VARCHAR2(3)
Other name code 1 included in customer's EDI transaction (not validated).
OTHER_NAME_CODE_2 VARCHAR2(3)
Other name code 2 included in customer's EDI transaction (not validated).
OTHER_NAME_VALUE_1 VARCHAR2(80)
Values associated with other name code 1: concatenation of name, code, and number.
OTHER_NAME_VALUE_2 VARCHAR2(80)
Values associated with other name code 2: concatenation of name, code, and number.
PACK_SIZE_EXT NUMBER
Size of supplier units in pack, as sent by the customer on the PO4 segment.
11-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Customer purchase order number.
QTY_TYPE_CODE VARCHAR2(30)
Actual or Cumulative. Validated against FND_LOOKUPS.LOOKUP_TYPE
=RLM_QTY_TYPE_CODE
QTY_TYPE_CODE_EXT VARCHAR2(30)
External value from which QTY_TYPE_CODE was derived in EDI Gateway Code
Conversion.
RETURN_CONTAINER_EXT VARCHAR2(35)
Returnable container specified by customer for item shipment.
RLM_SCHEDULE_LINE_ID NUMBER
Schedule line unique identifier. FK to RLM_SCHEDULE_LINES_ALL, except for
aggregated schedule lines.
ROUTING_DESC_EXT VARCHAR2(35)
The routing description, as sent by the customer on the TD5 segment.
ROUTING_SEQ_CODE_EXT VARCHAR2(3)
Code describing the relationship of a carrier to a specific shipment movement, as sent
by the customer on the TD5 segment.
SCHEDULE_ITEM_NUM NUMBER
Schedule Item Number, the means to identify how item demand and information is
grouped by the customer within the schedule. For sequenced schedules, it is equal to
CUSTOMER_PROD_SEQ_NUM. For EDI planning and shipping schedules, it is
incremented in the EDI Gateway when each 2000 record is encountered on an inbound
SPSI or SSSI transaction. This number is assigned for manually entered schedules. All
interface lines with the same schedule item number are validated together, and pass or
fail validation as a group.
SHIP_DEL_PATTERN_EXT VARCHAR2(3)
Customer ship delivery pattern code for this item; not integrated with delivery rules for
date/quantity calculation.
SHIP_DEL_TIME_CODE_EXT VARCHAR2(3)
Customer ship delivery time code for this item; not integrated with delivery rules for
date/quantity calculation.
SHIP_DEL_RULE_NAME VARCHAR2(30)
Shipment/delivery rule name for this schedule item. Initially populated only if a
successful code conversion in the EDI Gateway has occurred. FK to
RLM_SHIP_DELIVERY_CODES
SHIP_FROM_ADDRESS_1_EXT VARCHAR2(35)
11-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
SHIP_LABEL_INFO_LINE_4 VARCHAR2(80)
Pull signal bar-code label routing information - line 4.
SHIP_LABEL_INFO_LINE_5 VARCHAR2(80)
Pull signal bar-code label routing information - line 5.
SHIP_LABEL_INFO_LINE_6 VARCHAR2(80)
Pull signal bar-code label routing information - line 6.
SHIP_LABEL_INFO_LINE_7 VARCHAR2(80)
Pull signal bar-code label routing information - line 7.
SHIP_LABEL_INFO_LINE_8 VARCHAR2(80)
Pull signal bar-code label routing information - line 8.
SHIP_LABEL_INFO_LINE_9 VARCHAR2(80)
Pull signal bar-code label routing information - line 9.
SHIP_TO_ADDRESS_1_EXT VARCHAR2(35)
Ship to address line 1, as sent by the customer on the N3 segment.
SHIP_TO_ADDRESS_2_EXT VARCHAR2(35)
Ship to address line 2, as sent by the customer on the N3 segment.
SHIP_TO_ADDRESS_3_EXT VARCHAR2(35)
Ship to address line 3, as sent by the customer on the N3 segment.
SHIP_TO_ADDRESS_4_EXT VARCHAR2(35)
Ship to address line 4, as sent by the customer on the N3 segment.
SHIP_TO_ADDRESS_ID NUMBER
Ship to address identifier. FK to RA_ADDRESSES.
DELIVER_TO_ORG_ID NUMBER
Unique identifier for deliver-to organization which relates to SHIP_TO_ADDRESS_ID.
FK in R12 customer-org data model to HR_ORGANIZATIONS
SHIP_TO_CITY_EXT VARCHAR2(30)
Ship to address city, as sent by the customer on the N4 segment.
SHIP_TO_COUNTRY_EXT VARCHAR2(3)
Ship to country, as sent by the customer on the N4 segment.
SHIP_TO_COUNTY_EXT VARCHAR2(25)
Ship to county, as sent by the customer on the N4 segment.
SHIP_TO_NAME_EXT VARCHAR2(60)
11-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
TRANSIT_TIME_QUAL_EXT VARCHAR2(3)
The transit time qualifier, as sent by the customer on the TD5 segment.
TRANSPORT_LOC_QUAL_EXT VARCHAR2(3)
The shipping location qualifier, as sent by the customer on the TD5 segment. This
identifies the type of location which specified in the corresponding shipping location.
TRANSPORT_LOCATION_EXT VARCHAR2(35)
The specific shipping location (such as pool point or airport) corresponding to the
shipping location qualifier, as sent by the customer on the TD5 segment. This
corresponds to the shipping location qualifier.
TRANSPORT_METHOD_EXT VARCHAR2(3)
The transportation method, as sent by the customer on the TD5 segment.
UOM_CODE VARCHAR2(3)
Abbreviated unit of measure code. FK to MTL_UNITS_OF_MEASURE.
WEIGHT_EXT NUMBER
The weight, as sent by the customer on the TD1 segment.
WEIGHT_QUALIFIER_EXT VARCHAR2(3)
The weight qualifier, as sent by the customer on the TD1 segment.
WEIGHT_UOM_EXT VARCHAR2(3)
The unit of measure corresponding to shipment weight, as sent by the customer on the
TD1 segment.
FBO_CONFIGURATION_KEY_1 VARCHAR2(35)
For FBO Production Sequence schedules, the 1st sort key for identifying configurations
indicated by the customer.
FBO_CONFIGURATION_KEY_2 VARCHAR2(35)
For FBO Production Sequence schedules, the 2nd sort key for identifying configurations
indicated by the customer.
FBO_CONFIGURATION_KEY_3 VARCHAR2(35)
For FBO Production Sequence schedules, the 3rd sort key for identifying configurations
indicated by the customer.
FBO_CONFIGURATION_KEY_4 VARCHAR2(35)
For FBO Production Sequence schedules, the 4th sort key for identifying configurations
indicated by the customer.
FBO_CONFIGURATION_KEY_5 VARCHAR2(35)
For FBO Production Sequence schedules, the 5th sort key for identifying configurations
indicated by the customer.
11-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Descriptive flexfield segment column.
ATTRIBUTE9 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE10 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE11 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE12 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE13 VARCHAR2(150)
Descriptive flexfield segment column.
ATTRIBUTE14 VARCHAR2(150)
Descriptive flexfield segment column
ATTRIBUTE15 VARCHAR2(150)
Descriptive flexfield segment column.
LAST_UPDATE_LOGIN NUMBER
Standard Who column.
REQUEST_ID NUMBER
Standard Who column.
PROGRAM_APPLICATION_ID NUMBER
Standard Who column
PROGRAM_ID NUMBER
Standard Who column.
PROGRAM_UPDATE_DATE DATE
Standard Who column.
TP_ATTRIBUTE1 VARCHAR2(150)
Trading partner flexfield segment column.
TP_ATTRIBUTE2 VARCHAR2(150)
Trading partner flexfield segment column.
TP_ATTRIBUTE3 VARCHAR2(150)
Trading partner flexfield segment column.
TP_ATTRIBUTE4 VARCHAR2(150)
11-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PREFERRED_GRADE VARCHAR2(4)
Preferred grade.
CUST_PRODUCTION_SEQ_NBR_BEG VARCHAR2(35)
For future use.
CUST_PRODUCTION_SEQ_NBR_END VARCHAR2(35)
For future use.
ITEM_DETAIL_QUANTITY_MIN_EXT NUMBER
For future use.
ITEM_DETAIL_QUANTITY_MAX_EXT NUMBER
For future use.
ITEM_DETAIL_QUANTITY_PRIOR_EXT NUMBER
For future use.
REUIREMENT_PRIORITY_EXT NUMBER
For future use.
PROJECT_NUMBER_EXT VARCHAR2(50)
For future use.
RESP_LINE_NUMBER VARCHAR2(35)
For future use.
TASK_NUMBER_EXT VARCHAR2(50)
For future use.
UPC_EXT VARCHAR2(50)
For future use.
ITEM_ENG_CNG_LVL_DATE_EXT DATE
For future use.
AUTHORIZATION_CODE_EXT VARCHAR2(50)
For future use.
PACKAGING_DESC_EXT VARCHAR2(80)
For future use.
BILL_TO_ADDRESS_5_EXT VARCHAR2(35)
For future use.
BILL_TO_ADDRESS_6_EXT VARCHAR2(35)
For future use.
11-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
INTRMD_ST_FAX_EXT VARCHAR2(35)
For future use.
INTRMD_ST_REGION_EXT VARCHAR2(35)
For future use.
INTRMD_ST_JURISDICTION_EXT VARCHAR2(35)
For future use.
INTRMD_ST_TEL_EXT VARCHAR2(35)
For future use.
SHIP_TO_ADDRESS_5_EXT VARCHAR2(35)
For future use.
SHIP_TO_ADDRESS_6_EXT VARCHAR2(35)
For future use.
SHIP_TO_ADDRESS_7_EXT VARCHAR2(35)
For future use.
SHIP_TO_ADDRESS_8_EXT VARCHAR2(35)
For future use.
SHIP_TO_ADDRESS_9_EXT VARCHAR2(35)
For future use.
ONE_TIME_SHIP_TO_FLAG_EXT VARCHAR2(35)
For future use.
SHIP_TO_DESCRIPTION_EXT VARCHAR2(50)
For future use.
SHIP_TO_FAX_EXT VARCHAR2(35)
For future use.
SHIP_TO_REGION_EXT VARCHAR2(35)
For future use.
SHIP_TO_JURISDICTION_EXT VARCHAR2(35)
For future use.
SHIP_TO_TEL_EXT VARCHAR2(35)
For future use.
SHIP_FROM_ADDRESS_5_EXT VARCHAR2(35)
For future use.
11-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
12
Oracle Shipping Execution Open Interfaces
and APIs
• API Package and Procedures Example: An example of two simple procedures in the
same package that use the APIs.
• Trip API: Create and update trip records and perform actions on trips.
• Stop API: Create and update stop records and perform actions on stops.
• Deliveries API: Create and update trip stop records and perform actions on trip
stops.
• Delivery Details API: Assign and unassign delivery details to and from
deliveries, split a delivery detail, update a delivery detail with new information,
and create trips and deliveries for multiple delivery lines.
• Freight Cost APIs: Create freight cost records, update freight cost records,
validate freight cost types, delete freight cost records.
• Custom API: Customize delivery window calculations and tailor how the
location information is displayed in the Oracle Shipping Execution forms and
reports.
Note: For details about migrating your shipping process from the
Release 10.7 and Release 11 delivery-based Ship Confirm Open
Interface to the Release 12 public APIs, see OracleMetaLink note
12-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
422084.1.
• Sample flow scenarios: These scenarios show different paths to ship confirmation
using APIs. Each step in the flow refers to a reference number (Ref) in the API
Table.
The shipping flow scenarios refer to the reference numbers shown in this table.
12-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Ref Function STF Package. API Action Data
Equivalent Procedure Codes Requirements
12-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Ref Function STF Package. API Action Data
Equivalent Procedure Codes Requirements
12-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Ref Function STF Package. API Action Data
Equivalent Procedure Codes Requirements
12-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Sample Flow Scenarios
The following scenarios show the different paths to ship confirmation using APIs. Each
step in a flow refers to a reference number in the API Table:
• Scenario 1: Pick Release, Ship Confirm/Pick Release with Auto-Ship Confirm as a
rule.
• Scenario 2: Pick Release, Ship Confirm with Serial Numbers (for single and multiple
serial numbers)
• Scenario 4: Create Trip, Stop, and Delivery; Assign Entities; Pack Items into
Containers
12-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
column and, in addition, include the standard parameters p_api_version_number,
p_init_msg_list, p_commit, p_validation_level, x_return_status, x_msg_count, and
x_msg_data.
Some of the parameters may have default values in their API signatures. Refer to the
Record Parameter Description section for each API to see if a parameter has a default
value.
Some of the parameters are Table type or Record type. Refer to the Record Parameter
Description section for each API to see its table and record definitions.
Trips
The following table shows trip actions, APIs, and parameters:
p_trip_id or
p_trip_name
p_trip_id or
p_trip_name
p_trip_id or
p_trip_name
p_trip_id or
p_trip_name
p_trip_id or
p_trip_name
x_trip_id
x_trip_name
x_trip_name
p_report_set_na
me
or
p_trip_name
p_trip_id
or
p_trip_name
12-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action API Required Optional Comments
Parameters Parameters
p_trip_id
or
p_trip_name
p_trip_id
or
p_trip_name
p_trip_id
or
p_trip_name
Stops
The following table shows stop actions, APIs, and parameters:
p_trip_name or
p_trip_id
p_stop_location_
code or
p_stop_location_
id
p_planned_dep_
date
p_trip_name or
p_trip_id
p_stop_location_
code or
p_stop_location_
id
p_planned_dep_
date
12-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action API Required Optional Comments
Parameters Parameters
p_trip_name or
p_trip_id
p_stop_location_
code or
p_stop_location_
id
p_planned_dep_
date
p_trip_name or
p_trip_id
p_stop_location_
code or
p_stop_location_
id
p_planned_dep_
date
p_trip_name or
p_trip_id
p_stop_location_
code or
p_stop_location_
id
p_planned_dep_
date
p_trip_name or
p_trip_id
p_stop_location_
code or
p_stop_location_
id
p_planned_dep_
date
x_stop_id
p_stop_location_
code
p_planned_dep_
date
12-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Deliveries
The following table shows delivery actions, APIs, and parameters:
x_trip_id
x_trip_name
x_trip_id
x_trip_name
x_trip_id p_sc_stage_del_f
lag
x_trip_name
p_sc_trip_ship_
method
p_sc_actual_dep
_date
p_sc_report_set_
id
p_sc_report_set_
name
p_sc_defer_inter
face
x_trip_id
x_trip_name
x_trip_id
x_trip_name
12-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action API Required Optional Comments
Parameters Parameters
x_trip_name p_asg_pickup_ar
r_date
p_asg_pickup_d
ep_date
p_asg_dropoff_s
top_id
p_asg_dropoff_l
oc_id
p_asg_dropoff_s
top_seq
p_asg_dropoff_l
oc_code
p_asg_dropoff_a
rr_date
p_asg_dropoff_d
ep_date
p_delivery_id or
p_delivery_nam
e
x_trip_id
x_trip_name
p_delivery_id or
p_delivery_nam
e
x_trip_id
x_trip_name
x_trip_id
x_trip_name
x_trip_id
x_trip_name
x_trip_id
x_trip_name
12-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action API Required Optional Comments
Parameters Parameters
x_delivery_id
x_name
x_name
p_group_id_tab
p_pack_cont_fla
g
x_cont_inst_tab
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
p_sc_report_set_
name
or
p_sc_report_set_
idx_trip_idx_trip
_name
12-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action API Required Optional Comments
Parameters Parameters
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_id
p_delivery_nam
e
x_trip_idx_trip_
name
p_delivery_nam
e
x_trip_idx_trip_
name
12-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Delivery Details
The following table shows delivery detail actions, APIs, and parameters:
p_delivery_id
p_delivery_nam
e
p_delivery_id
p_delivery_nam
e
x_new_detail_id
x_split_quantity
2
x_trip_name
p_container_na
me or
p_cont_instance_
id
p_container_na
me or
p_cont_instance_
id
p_group_id_tab
p_pack_cont_fla
g
x_cont_inst_tab
12-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action API Required Optional Comments
Parameters Parameters
p_container_ite
m_seg
p_organization_i
d
p_organization_c
ode
p_name_prefix
p_name_suffix
p_base_number
p_num_digits
p_quantity
p_container_na
me
x_container_ids
p_delivery_id or
p_delivery_nam
e
p_delivery_id or
p_delivery_nam
e
12-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
3. In Field, enter USER_ID and press Tab. Use the value in Value for l_user_id.
4. In Field, enter RESP_ID and press Tab. Use the value in Value for l_resp_id.
5. In Field, enter RESP_APPL_ID and press Tab. Use the value in Value for
l_resp_appl_id.
6. In Field, enter SECURITY_GROUP_ID and press Tab. Use the value in Value for
l_security_group_id.
Functional Overview
This API creates a new trip record in WSH_TRIPS as specified by IN parameter
p_action_code value CREATE. It inserts the trip information into WSH_TRIPS and
returns the TRIP_ID and NAME of the new trip. It also updates an existing trip record
in WSH_TRIPS as specified by IN parameter p_action_code value UPDATE. The NAME
of the trip being updated is passed through IN parameter p_trip_name.
The API validates trip information such as Trip Name, Arrive After Trip Name, and
Ship Method before performing the actions of creating or updating a trip record. It also
checks that the insert or update statements were successful, and if not returns an error.
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_action_code IN Varchar2 x
p_trip_name IN Varchar2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
12-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_action_code
Specifies whether API should create a new trip or update existing trip information
based on its values CREATE or UPDATE.
p_trip_info
Attributes of the trip entity of type Trip_Pub_Rec_Type. These attributes are
inserted/updated in WSH_TRIPS. Definition of Trip_Pub_Rec_Type follows.
p_trip_name
IN parameter to specify the Name of trip to be updated.
Default Value: FND_API.G_MISS_CHAR
x_trip_id
Trip ID of new trip being created.
x_trip_name
Name of new trip being created.
12-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
ship_method_name
Should be a valid element of fnd_lookup_values_vl.meaning for lookup_type
SHIP_METHOD.
seal_code
Indicates the Departure seal code of the trip stops.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API validates the trip identifiers and performs the following actions specified in
p_action_code by calling the corresponding private procedures.
• PLAN/UNPLAN: Called to plan or unplan trips.
• PICK-RELEASE: Called to launch pick release to release lines related to the trip.
p_api_version_numb IN Number Y
er
p_init_msg_list IN Varchar2 N
p_action_code IN Varchar2 Y
p_trip_name IN Varchar2 N
p_wv_override_flag IN Varchar2 N
p_api_version_number
Compares the version number of the incoming API call to the current version number.
An error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. Values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
12-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this text contains the
actual message.
p_action_code
Specifies which of the actions (PLAN, UNPLAN, WT-VOL, PICK RELEASE, or
DELETE) the API should perform.
p_trip_id
ID of the trip on which actions are being performed.
p_trip_name
Name of the trip on which actions are being performed.
p_wv_override_flag
Additional parameter for WT-VOL. Regardless of whether this is set to Y or N, the
system recalculates weight and volume for all deliveries on the trip. The default value is
N.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
• PICK-RELEASE: Is called to launch pick release to release lines related to the trip.
p_api_version_nu IN NUMBER x No
mber
p_init_msg_list IN VARCHAR2 - No
12-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name Usage Type Required Derived
p_action_param_r IN WSH_TRIPS_PUB. x No
ec Action_Param_Re
ctype
p_trip_id IN NUMBER - No
No
p_trip_name IN VARCHAR2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_action_param_rec Specifies which of the actions of PLAN , UNPLAN, WT-VOL,
PICK-RELEASE, TRIP-CONFIRM, PRINT-DOC-SETS,
GENERATE-ROUTING-RESPONSE, FIRM, IGNORE_PLAN, INCLUDE_PLAN,
GENERATE-PACK-SLIP, PRINT-PACK-SLIP, GENERATE-BOL, PRINT-BOL,
PRINT-MBOL, REMOVE-CONSOL, UNASSIGN-ALL, CREATE, UPDATE and
DELETE the API should perform.
p_trip_id
Trip ID of trip on which actions are being performed.
p_trip_name
Name of trip on which actions are being performed.
action_code VARCHAR2 x No
Organization_id NUMBER x No
report_set_name VARCHAR2 - No
report_set_id NUMBER - No
Override_flag VARCHAR2 - No
actual_date DATE - No
12-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name Type Required Derived
action_flag VARCHAR2 - No
-
Autointransit_flag VARCHAR2 No
autoclose_flag VARCHAR2 - No
stage_del_flag VARCHAR2 - No
ship_method VARCHAR2 - No
bill_of_lading_flag VARCHAR2 - No
defer_interface_flag VARCHAR2 - No
actual_departure_date Date - No
action_code
Specifies which of the actions of PLAN , UNPLAN, WT-VOL, PICK-RELEASE ,
TRIP-CONFIRM, PRINT-DOC-SETS, GENERATE-ROUTING-RESPONSE, FIRM,
IGNORE_PLAN, INCLUDE_PLAN, GENERATE-PACK-SLIP, PRINT-PACK-SLIP,
GENERATE-BOL, PRINT-BOL, PRINT-MBOL, ,REMOVE-CONSOL, UNASSIGN-ALL,
CREATE, UPDATE and DELETE the API should perform.
organization_id
Should be a valid element of org_organization_definitions.organization_id.
report_set_name
Should be a valid element of wsh_report_sets.report_set_name.
report_set_id
Should be a valid element of wsh_report_sets.report_set_id.
override_flag
Should be a valid value 'Y' or 'N'.
actual_date
Actual date of arrival/departure of trip stop. Should be a valid date.
Standard Validation
Oracle Shipping Execution validates all required columns in the
WSH_TRIPS_PUB.TRIP_ACTION API. For specific information on the data referenced
by these columns, see Oracle Electronic Technical Reference Manual (eTRM).
Error Handling
If any validation fails, the API will return the error status to the calling module. The
WSH_TRIPS_PUB.TRIP_ACTION API processes the rows and reports the following
values for every record:
12-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Condition Message Return Description
Functional Overview
This API creates a new stop record in WSH_TRIP_STOPS as specified by the IN
parameter p_action_code value CREATE. It inserts stop information into
WSH_TRIP_STOPS and returns the STOP_ID of the new stop. It also updates an
existing stop record in WSH_TRIP_STOPS as specified by IN parameter p_action_code
value UPDATE. The updated stop record is identified by the Stop Id or Trip Id and
Name, Stop Location Id and Code and Planned Departure Date. Additional IN
parameters are provided to update Trip Id and Name, Stop Location Id and Code and
Planned Departure Date values.
The API validates information such as Trip Name, Location Code, and units of measure
before creating or updating a stop record. It also checks that the insert or update
statements were successful and, if not successful, it returns an error.
WSH_TRIP_STOPS_PUB.CREATE_UPDATE_STOP Parameters
p_api_version_numb IN Number Y
er
p_init_msg_list IN Varchar2 N
p_action_code IN Varchar2 Y
p_trip_id IN Number N
p_trip_name IN Varchar2 N
p_stop_location_id IN Number N
p_location_code IN Varchar2 N
p_planned_dep_date IN Varchar2 N
p_api_version_number
Compares the version number of the incoming API call to the current version number.
An error is returned if the version numbers are incompatible.
p_init_msg_list
12-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. Values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates the number of error messages API has encountered.
x_msg_data
Displays an error message text. If the x_msg_count is equal to 1, then x_msg_data
contains the actual message.
p_action_code
Specifies whether the API should create a new stop or update existing stop information
depending on its CREATE and UPDATE values.
p_stop_info
Attributes of the stop entity of type Trip_Stop_Pub_Rec_Type. These attributes are
inserted/updated in WSH_TRIP_STOPS. Definition of Trip_Stop_Pub_Rec_Type
follows.
p_trip_id
IN parameter to specify trip ID of trip stop record being updated.
Default Value: FND_API.G_MISS_NUM
p_trip_name
12-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API validates the stop identifiers and performs the following actions specified in
p_action_code by calling the corresponding private procedures.
• PLAN/UNPLAN: Called to plan or unplan stops.
12-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
WSH_TRIP_STOP_PUB.STOP_ACTION Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_action_code IN Varchar2 x
p_stop_id in Number -
p_trip_id IN Number -
p_trip_name IN Varchar2 -
p_stop_location_id IN Varchar2 -
p_stop_location_code IN Varchar2 -
p_planned_dep_date IN Date -
p_actual_date IN Date -
p_defer_interface_fla IN Varchar2 -
g
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_action_code
Specifies which of the actions of PLAN, UNPLAN, ARRIVE, CLOSE, PICK RELEASE,
DELETE the API should perform.
p_stop_id
Stop ID of trip stop on which actions need to be performed.
p_stop_id
Stop ID of trip stop on which actions need to be performed.
p_trip_id
Trip ID of trip stop on which actions need to be performed.
p_trip_name
Trip name of trip stop on which actions need to be performed.
p_stop_location_id
Stop location ID of trip stop on which actions need to be performed.
12-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_stop_location_code
Stop location code of trip stop on which actions need to be performed.
p_planned_dep_date
Planned departure date of trip stop on which actions need to be performed.
p_actual_date
Actual date of arrival/departure of trip stop.
p_defer_interface_flag
Flag to submit/defer concurrent requests to INV and OE interfaces.
This section describes how to use the Deliveries Public API and how it functions in
Oracle Shipping Execution.
Functional Overview
This API creates a new delivery record in WSH_NEW_DELIVERIES as specified by IN
parameter p_action_code value CREATE. Inserts delivery information into
WSH_NEW_DELIVERIES and returns the DELIVERY_ID of the new delivery. It also
updates an existing delivery record in WSH_NEW_DELIVERIES as specified by IN
parameter p_action_code value UPDATE. Delivery record being updated is identified
by Delivery Name. An additional IN parameter is provided to identify delivery by
Name for update.
The API validates delivery information such as Name, Customer Number, and Ship
WSH_DELIVERIES_PUB.CREATE_UPDATE_DELIVERY Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_action_code IN Varchar2 x
p_delivery_name IN Varchar2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
12-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Displays error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_action_code
Specifies whether API should create a new delivery or update existing delivery
information depending on its values CREATE and UPDATE.
p_delivery_info
Attributes of the delivery entity of type Delivery_Pub_Rec_Type. These attributes are
inserted/updated in WSH_NEW_DELIVERIES. Definition of Delivery_Pub_Rec_Type
follows.
p_delivery_name
IN parameter to specify name of delivery record being updated.
Default Value: FND_API.G_MISS_CHAR
x_delivery_id
OUT parameter to specify delivery ID of new delivery record being created.
x_name
OUT parameter to specify name of new delivery record being created.
12-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default
12-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default
12-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default
12-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
pooled_ship_to_location_code
Should be a valid element of hr_locations.location_code.
ship_method_code
Should be a valid element of fnd_lookup_values_vl.lookup_code for lookup_type
SHIP_METHOD.
ship_method_name
Should be a valid element of fnd_lookup_values_vl.meaning for lookup_type
SHIP_METHOD.
freight_terms_code
Should be a valid element of fnd_lookup_values_vl.lookup_code for lookup_type
FREIGHT_TERMS.
freight_terms_name
Should be a valid element of fnd_lookup_values_vl.meaning for lookup_type
FREIGHT_TERMS.
fob_code
Should be a valid element of fnd_lookup_values_vl.lookup_code for lookup_type FOB.
fob_terms_name
Should be a valid element of fnd_lookup_values_vl.meaning for lookup_type FOB.
fob_location_id
Should be a valid element of hr_locations.location_id.
fob_location_code
Should be a valid element of hr_locations.location_code.
weight_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a weight uom class
weight_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a weight uom
class.
volume_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a volume uom class.
volume_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a volume uom
class.
currency_code
Should be a valid element of fnd_currencies_vl.currency_code.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Note: Before you call this public API, initialize your environment
(using fnd_global.apps_initialize) in the script or package that you use
to call it.
Functional Overview
This API validates the delivery identifiers and performs the following actions specified
in p_action_code by calling the corresponding private procedures:
• PLAN/UNPLAN: Is called to plan or unplan deliveries.
• WT-VOL: Is called to calculate weight and volume for the delivery. This action
needs an additional parameter P_WV_OVERRIDE_FLAG. Regardless if this is set to
Y or N, weight and volume re-calculations are done for all deliveries on the trip.
12-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• PICK-RELEASE: Launches pick release to release lines related to a delivery.
WSH_DELIVERIES_PUB.DELIVERY_ACTION Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_action_code IN Varchar2 x
p_delivery_id IN Number -
p_delivery_name IN Varchar2 -
p_asg_trip_id IN Number x
p_asg_trip_name IN Varchar2 -
p_asg_pickup_stop_i IN Number -
d
p_asg_pickup_loc_id IN Number -
p_asg_pickup_loc_co IN Varchar2 -
de
p_asg_pickup_arr_da IN Date -
te
p_asg_pickup_dep_d IN Number -
ate
p_asg_dropoff_stop_i IN Number -
d
p_asg_dropoff_loc_id IN Number -
p_asg_dropoff_loc_co IN Varchar2 -
de
p_asg_dropoff_arr_d IN Date -
ate
p_asg_dropoff_dep_d IN Date -
ate
p_sc_action_flag IN Varchar2 -
p_sc_close_trip_flag IN Varchar2 -
p_sc_create_bol_flag IN Varchar2 -
p_sc_stage_del_flag IN Varchar2 -
p_sc_trip_ship_metho IN Varchar2 -
d
p_sc_actual_dep_date IN Varchar2 -
p_sc_report_set_id IN Number -
p_sc_report_set_nam IN Varchar2 -
e
p_sc_rule_id IN Number -
p_sc_rule_name IN Varchar2 -
12-72 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required
p_sc_defer_interface_ IN Varchar2 -
flag
p_wv_override_flag IN Varchar2 -
p_actual_date IN Date -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
12-74 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Stop location departure date for pickup assignment. Used when assigning a trip.
Default Value: NULL.
p_asg_dropoff_stop_id
Stop ID for dropoff assignment. Used when assigning a trip.
Default Value: NULL.
p_asg_dropoff_loc_id
Stop location for dropoff assignment. Used when assigning a trip.
Default Value: NULL.
p_asg_dropoff_loc_code
Stop location code for dropoff assignment. Used when assigning a trip.
Default Value: NULL.
p_asg_dropoff_arr_date
Stop location arrival date for dropoff assignment. Used when assigning a trip.
Default Value: NULL.
p_asg_dropoff_dep_date
Stop location departure date for dropoff assignment. Used when assigning a trip.
Default Value: NULL.
p_sc_action_flag
Ship Confirm option - S, B, T, A, C. Used when ship confirming a delivery.
Default Value: S
p_sc_close_trip_flag
Ship Confirm close trip flag. Used when ship confirming a delivery.
Default Value: N
p_sc_create_bol_flag
Ship Confirm create Bill of Lading flag. Used when ship confirming a delivery.
Default Value: N.
p_sc_rule_id
Used when action is CONFIRM.
Default Value: Null.
p_sc_rule_name
Used when action is CONFIRM.
Default Value: Null.
Error Handling
Refer to the parameters p_init_msg_list, x_msg_count, and x_msg_data for information
on retrieving error messages.
Functional Overview
This API is for backward compatibility. A call to this API generates the document set
specified in the IN parameter report_set_name for all the deliveries in the IN parameter
delivery_names.
12-76 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Setting Up the Generate_Documents API
Parameter Descriptions
The following chart describes all parameters used by the public Generate_Documents
API. All of the inbound and outbound parameters are listed. Additional information on
these parameters follows.
Generate_Documents Parameters
p_report_set_name IN VARCHAR2 -
p_organization_code IN VARCHAR2 -
p_delivery_name IN WSH_UTIL_CORE. -
Column_Tab_Type
p_report_set_name
This is the report_Set that needs to be generated for all the deliveries specified in
p_delivery_name parameter.
p_organization_code
This is the organization code for which the document _set needs to be generated.
p_delivery_name
This is the list of delivery_names for which the document set needs to be generated.
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Contains error message text. If X_msg_count is 1, then this contains the complete
message.
x_return_status
• Error: FND_API.G_RET_STS_ERROR
Note: Before you call this public API, initialize your environment
(using fnd_global.apps_initialize) in the script or package that you use
to call it.
Functional Overview
This API validates its input parameters p_action and performs the following actions
depending on its value:
• PURGE: Used to purge existing exceptions
• LOG: Used to log an exception based on the values in the input exceptions record
(p_exception_rec)
12-78 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Setting Up the Exception_Actions API
Parameter Descriptions
The following chart describes all parameters used by the public Exception_Actions API.
All of the inbound and outbound parameters are listed. Additional information on
these parameters follows.
Exception_Actions Parameters
p_api_versio IN NUMBER x - -
n_number
p_init_msg_li IN VARCHAR2 - - x
st
p_commit IN VARCHAR2 - - x
p_action IN VARCHAR2 x - -
p_validation_ IN NUMBER - - x
level
p_api_version_number
Used to compare the version number of the incoming API call to the current version
number. An error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_MSG_
PUB.GET. The values are:
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000 and
Number respectively.
• Default Value: FND_API.G_FALSE
p_commit
Requests that the API update information for you after it completes its function. Default
Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Displays error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_validation_level
This parameter is not currently used.
p_action
This parameter specifies the actions that needs to be performed on the exception. Valid
values for this parameter are 'LOG', 'PURGE' and 'CHANGE_STATUS'.
p_exception_rec
This record structure has all the exception specific entries.
The table below describes all parameters that are used by the XC_ACTION_REC_TYPE
TYPE record. Additional information on these parameters follows.
XC_ACTION_REC_TYPE
12-80 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
XC_ACTION_REC_TYPE Parameters
request_id NUMBER
batch_id NUMBER
exception_id NUMBER
exception_name VARCHAR2
logging_entity VARCHAR2
logging_entity_id NUMBER
manually_logged VARCHAR2
message VARCHAR2
logged_at_location_code VARCHAR2
exception_location_code VARCHAR2
severity VARCHAR2
delivery_name VARCHAR2
trip_name VARCHAR2
stop_location_id NUMBER
delivery_detail_id NUMBER
container_name VARCHAR2
ord_id NUMBER
inventory_item_id NUMBER
lot_number VARCHAR2
sublot_number VARCHAR2
revision VARCHAR2
serial_number VARCHAR2
unit_of_measure VARCHAR2
quantity NUMBER
unit_of_measure2 VARCHAR2
quantity2 NUMBER
subinventory VARCHAR2
locator_id NUMBER
error_message VARCHAR2
attribute_category VARCHAR2
attribute1 VARCHAR2
attribute2 VARCHAR2
attribute3 VARCHAR2
attribute4 VARCHAR2
attribute5 VARCHAR2
attribute6 VARCHAR2
attribute7 VARCHAR2
attribute8 VARCHAR2
attribute9 VARCHAR2
12-82 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Type Default Value
attribute10 VARCHAR2
attribute11 VARCHAR2
attribute12 VARCHAR2
attribute13 VARCHAR2
attribute14 VARCHAR2
attribute15 VARCHAR2
departure_date DATE
arrival_date DATE
exception_type VARCHAR2
status VARCHAR2
departure_date_to DATE
arrival_date_to DATE
creation_date DATE
creation_date_to DATE
data_older_no_of_days NUMBER
new_status VARCHAR2
caller VARCHAR2
phase NUMBER
• arrival_date_to: Specifies that exceptions with arrival_dates before this date should
be purged
• creation_date: Specifies that exceptions with creation_date same as this date should
be purged
• delivery_name: Specifies the delivery name of the exception that should be purged
• logging_entity: Specifies the logging entity whose exceptions need to change status
• new_status: Specifies the new status of the exceptions that satisfy the previous
fields
Logging exceptions use the following fields. The value of these fields is directly
assigned to the corresponding columns in the WSH_EXCEPTION table when the new
12-84 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
exception record is created.
• request_id
• batch_id
• exception_id
• exception_name
• logging_entity
• logging_entity_id
• manually_logged
• message
• logged_at_location_code
• exception_location_code
• severity
• delivery_name
• trip_name
• stop_location_id
• delivery_detail_id
• container_name
• org_id
• inventory_item_id
• lot_number
• sublot_number
• revision
• serial_number
• unit_of_measure
• quantity
• quantity2
• subinventory
• locator_id
• error_message
• attribute_category
• attribute1
• attribute2
• attribute3
• attribute4
• attribute5
• attribute6
• attribute7
• attribute8
• attribute9
• attribute10
• attribute11
• attribute12
• attribute13
• attribute14
• attribute15
• departure_date
• arrival_date
12-86 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Get_Exceptions API Features
The Get_Exceptions API fetches the exceptions based on the entity_name and the
entity_id passed to it. The fetched details are stored in the table x_exceptions_tab which
is the output parameter of the API.
Functional Overview
The Get_Exceptions API takes in p_logging_entity_id and p_logging_entity_name as IN
parameters and passes out the exceptions that have been logged for this entity. The
valid values of p_logging_entity_name are 'DELIVERY', 'TRIP' , 'STOP' ,'CONTAINER'
and 'DETAIL'. Thus, if p_logging_entity is 'DELIVERY', then p_logging_entity_id
should be a valid delivery_id.
Parameter Descriptions
The following table describes all parameters used by the Get_Exceptions publicAPI. All
of the inbound and outbound parameters are listed. Additional information about these
parameters follows the table.
Get_Exceptions Parameters
p_api_versio IN NUMBER x - -
n_number
p_init_msg_li IN VARCHAR2 - - x
st
p_logging_en IN NUMBER x - -
tity_id
p_logging_en IN VARCHAR2 x - -
tity
p_api_version_number
Used to compare the version number of the incoming API call with the current version
number. An error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_MSG_
PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000 and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Displays error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
12-88 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_logging_entity_name
Specifies the entity for which we are querying the exception. Valid values are
'DELIVERY', 'TRIP', 'STOP','CONTAINER' and 'DETAIL'.
P_logging_entity_id
The entity Id for which the exceptions details are being fetched.
x_exceptions_tab
The OUT parameter where the details of the exception are stored.
The x_exceptions_tab fields are as follows:
x_exceptions_tab Fields
exception_id NUMBER -
exception_name VARCHAR2 -
status VARCHAR2 -
Note: The creation of a delivery detail is not provided in the open API
since it should be part of the order entry process.
Functional Overview
This procedure assigns delivery details to a delivery as specified by IN parameter
p_action value ASSIGN. If the action is ASSIGN, either the Delivery ID or the Delivery
Name need to be specified. It also cancels delivery details from a delivery based on the
IN parameter p_action value UNASSIGN. If the action is UNASSIGN, then you do not
need to pass a Delivery ID or a Delivery Name because the procedure will cancel all of
the delivery details from the deliveries.
For ASSIGN, the procedure checks the delivery detail status, delivery status, group by
attributes defined in Shipping Parameters, Ship To Locations and Ship From Locations.
If one of the delivery details is assigned to a delivery, then the procedure continues to
the next delivery detail, performs the ASSIGN action to the delivery details, which are
not already assigned, and returns an error in the return status. The calling procedure
decides whether to commit or rollback. ASSIGN is allowed only for the deliveries in the
status of OPEN or PACKED and not Planned. Security rules check to ensure that ship-to
and ship-from location information and other optional group by attributes are common
between the delivery details and the delivery.
If one of the delivery details is unassigned, then the UNASSIGN return status posts a
warning, and the action continues to the next delivery detail. To allow UNASSIGN
action, the delivery status must be OPEN and not planned. If there is freight cost for the
delivery detail, then a warning is posted in the return status.
WSH_DELIVERY_DETAILS_PUB.DETAIL_TO_DELIVERY Parameters
p_api_version_numb IN Number Y
er
12-90 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required
p_init_msg_list IN Varchar2 N
p_TabOfDelDets IN Table Y
p_action IN Varchar2 Y
p_api_version_number
Compares the version number of the incoming API call with the current version
number. An error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. Values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Values include:
• Success: FND_API.G_RET_STS_SUCCESS
x_msg_count
Indicates the number of error messages that the API has encountered.
x_msg_data
Returns an error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_TabOfDelDets
Table of Delivery Detail ID's of type WSH_UTIL_CORE.ID_TAB_TYPE which is a table
of type Number indexed by binary integers.
p_action
Valid values for the Action are ASSIGN and UNASSIGN.
If the action is ASSIGN, the user needs to pass either the Delivery ID or the Delivery
Name to identity which Delivery the Delivery Details are assigned to. If both the
Delivery ID and Delivery Name are passed in, only the Delivery ID will be used to
identify the Delivery, the Delivery Name will be ignored.
p_delivery_id
The Delivery ID to identify the Delivery, not needed if the action is UNASSIGN.
p_delivery_name
The Delivery Name to identify the Delivery, not needed if the action is UNASSIGN
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API splits a Delivery Detail into two Delivery Details. Most of the fields in the new
Delivery Detail have the same values except that the requested quantity is the split
quantity, the shipped quantity is NULL, the backorder quantity is NULL and that the
split_from_detail_id points to the original Delivery Detail. After the split, the calling
procedure needs to make another call to update the shipped quantity and backordered
12-92 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
quantity to complete the whole transaction.
This procedure checks that the Delivery Detail is valid, the split quantity is not greater
than the requested quantity before calling
WSH_DELIVERY_DETAILS_ACTIONS.Split_Delivery_Details. Most of the validation
is performed in WSH_DELIVERY_DETAILS_ACTIONS.Split_Delivery_Details, which
checks that the quantity meets the decimal quantity standard.
WSH_DELIVERY_DETAILS_PUB.SPLIT_LINE Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_validation_level IN Number -
p_from_detail_id IN Varchar2 x
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE.
p_commit
Commits the transaction if this parameter is set to TRUE.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_from_detail_id
The Delivery Detail ID of the line to be split.
x_new_detail_id
Delivery Detail ID of the new line being created after splitting the original line.
x_split_quantity
Quantity out of the original Delivery Detail quantity allocated to the new Delivery
Detail created after the split.
12-94 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This procedure is called from the source system to modify data in wsh_delivery_details
to reflect any changes made by the source system including pick release, ship confirm,
split source line, and other update activities.
The procedure validates the input parameters and updates the delivery details.
WSH_DELIVERY_DETAILS_PUB.UPDATE_SHIPPING_ATTRIBUTES Parameters
p_api_version_numb IN Number Y
er
p_init_msg_list IN Varchar2 N
p_commit IN Varchar2 N
p_changed_attributes IN Record Y
p_source_code IN Varchar2 Y
p_serial_range_tab IN wsh_delivery_details N
_grp.serialrangetype
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE.
p_commit
Commits the transaction if this parameter is set to TRUE.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
12-96 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_changed_attributes
Attributes of ChangedAttributesTabType that are updated in wsh_delivery_details.
WSH_DELIVERY_DETAILS_PUB.ChangedAttributesTabType is a table of
ChangedAttributeRecType indexed by Binary_Integer. Definition of
ChangedAttributeRecType follows.
p_source_code
Code for source system which updates wsh_delivery_details table. Source system can
only update delivery details that are created by the same source system. For
Update_Shipping_Attributes this should be OE.
p_serial_range_tab
This is of type wsh_glbl_var_strct_grp.ddSerialRangeTabType.
Where, wsh_glbl_var_strct_grp.ddSerialRangeTabType is of type
TYPE ddSerialRangeTabType IS TABLE OF ddSerialRangeRecType
INDEX BY BINARY_INTEGER;
p_serial_range_tab
delivery_detail_id
The delivery detail id for which the serial numbers are entered.
from_serial_number
The starting serial number.
to_serial_number
The ending serial number.
12-98 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-100 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-102 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should be a valid element of org_organization_definitions.organization_code.
ship_to_org_id
Should be a valid element of org_organization_definitions.organization_id.
ship_to_org_code
Should be a valid element of org_organization_definitions.organization_code.
ship_to_contact_id
Should indicate the person to contact at the ship to location.
deliver_to_org_id
Should be a valid element of org_organization_definitions.organization_id.
deliver_to_org_code
Should be a valid element of org_organization_definitions.organization_code.
deliver_to_contact_id
Should indicate the person to contact at the delivery to location.
intmed_ship_to_org_id
Should be a valid element of org_organization_definitions.organization_id.
intmed_ship_to_org_code
Should be a valid element of org_organization_definitions.organization_code.
intmed_ship_to_contact_id
Should indicate the person to contact at the intermediate ship to location.
ship_tolerance_above
Should be a non-negative number.
ship_tolerance_below
Should be a non-negative number.
ordered_quantity
Should be a non-negative whole number.
ordered_quantity2
Should be a non-negative whole number.
order_quantity_uom
Should be a valid element of mtl_items_uoms_view.uom_code.
ordered_quantity_uom2
Should be a valid element of mtl_items_uoms_view.uom_code.
preferred_grade
12-104 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
freight_terms_name
Should be a valid element of fnd_lookup_values_vl.meaning for lookup_type
FREIGHT_TERMS.
freight_carrier_code
Should indicate the freight carrier code for the carrier transporting the line item.
shipment_priority_code
Should indicate the shipment priority assigned to the line item.
fob_code
Should be a valid element of fnd_lookup_values_vl.lookup_code for lookup_type FOB.
fob_name
Should be a valid element of fnd_lookup_values_vl.meaning for lookup_type FOB.
dep_plan_required_flag
Should be Y or N.
customer_prod_seq
Should indicate the customer production sequence number assigned to the line item.
customer_dock_code
Should indicate the customer dock code for the line item.
gross_weight
Should be a non-negative number.
net_weight
Should be a non-negative number.
weight_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a weight uom class
weight_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a weight uom
class.
volume
Should be a non-negative number.
volume_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a volume uom class.
volume_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a volume uom
class.
12-106 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should be a non-negative number.
cycle_count_quantity
Should be a non-negative number.
cycle_count_quantity2
Should be a non-negative number.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
WSH_DELIVERY_DETAILS_PUB.AUTOCREATE_DELIVERIES Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_line_rows IN Table x
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initializes the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE.
p_commit
Commits the transaction if this parameter is set to TRUE.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
12-108 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_line_rows
Table of Delivery Details of type WSH_UTIL_CORE.ID_TAB_TYPE which is a table of
type Number indexed by binary integers.
x_del_rows
Table of Deliveries of type WSH_UTIL_CORE.ID_TAB_TYPE which is a table of type
Number indexed by binary integers.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
WSH_DELIVERY_DETAILS_PUB.AUTOCREATE_DEL_TRIP Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_line_rows IN Table x
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE.
p_commit
Commits the transaction if this parameter is set to TRUE.
Default Value: FND_API.G_FALSE.
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
12-110 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_line_rows
Table of Delivery Details of type WSH_UTIL_CORE.ID_TAB_TYPE which is a table of
type Number indexed by binary integers.
x_del_rows
Table of Deliveries of type WSH_UTIL_CORE.ID_TAB_TYPE which is a table of type
Number indexed by binary integers.
x_trip_id
ID of autocreated trip.
x_trip_name
Name of autocreated trip.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
Get_Detail_Status procedure provides any one of the following statuses for a delivery
detail passed:
• SIC (Ship Confirmed) - If a delivery detail is assigned to
Confirmed/In-Transit/Closed delivery
p_delivery_detail_id IN Number x
p_delivery_detail_id
Delivery detail id for which the status is required.
x_line_status
Status of delivery (SIC/PK/OK)
x_return_status
Requests that the API return the status of the data after it completes its function. Valid
values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
Standard Validation
No Validation done for input parameter passed.
Error Handling
None.
The API returns the following return statuses to the calling module:
12-112 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Condition Message return Description
Functional Overview
The Update_Shipping_Attributes (overloaded version) API allows you to update the
delivery detail information in wsh_delivery_details table.
p_api_version_nu IN NUMBER x
mber
p_init_msg_list IN VARCHAR2 -
p_commit IN VARCHAR2 -
WSH_DELIVERY_ x
p_changed_attribu IN DETAILS_PUB.Ch
tes angedAttributeTa
bType
p_source_code IN VARCHAR2 x
p_container_flag IN VARCHAR2 -
p_serial_range_tab IN WSH_GLBL_VAR -
_STRCT_GRP.ddS
erialRangeTabTyp
e
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are: where 1_message and 1_msg_index_out are local
variables of types Varchar2(2000) and Number respectively. Default Value:
FND_API.G_FALSE
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
p_commit
Requests that the API update information for you after it completes its function. Default
Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data after it completes its function. Valid
values include:
12-114 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates the number of error messages the API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_changed_attributes
Attributes of ChangedAttributesTabType that are updated in wsh_delivery_details.
WSH_DELIVERY_DETAILS_PUB.ChangedAttributesTabType is a table of
ChangedAttributesRecType indexed by Binary_Integer. Definition of
ChangedAttributesRecType follows.
p_source_code
Code for source system which updates wsh_delivery_details table. Source system can
only update delivery details that are created by the same source system. For
Update_Shipping_Attributes this should be OE.
p_container_flag
Y or N depending on whether the delivery detail is Container/content line.
Record Parameter Descriptions
ChangedAttributesRecType RECORD DEFINITION. To encapsulate
WSH_DELIVERY_DETAILS table definition and Value column equivalents for ID
columns in a PL/SQL record, define ChangedAttributesRecType.
12-116 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-118 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
attribute8
Varchar2(150) fnd_api.g_miss_char
attribute10
Varchar2(150) fnd_api.g_miss_char
12-120 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should be a valid element of org_organization_definitions.organization_id.
intmed_ship_to_org_code
Should be a valid element of org_organization_definitions.organization_code.
intmed_ship_to_contact_id
Should indicate contact person at the intermediate ship to location.
ship_tolerance_above
Should be a non-negative number.
ship_tolerance_below
Should be a non-negative number.
ordered_quantity
Should be a non-negative whole number.
ordered_quantity2
Should be a non-negative whole number.
order_quantity_uom
Should be a valid element of mtl_items_uoms_view.uom_code.
ordered_quantity_uom2
Should be a valid element of mtl_items_uoms_view.uom_code.
preferred_grade
Should indicate the preferred grade for the line item.
ordered_qty_unit_of_measure Should be a valid element of
mtl_items_uoms_view.unit_of_measure.
ordered_qty_unit_of_measure2
Should be a valid element of mtl_items_uoms_view.unit_of_measure.
subinventory
Should indicate the subinventory from which the line item is picked. revision Should
indicate the revision number for the line item.
lot_number
Should indicate the lot number for the line item.
customer_requested_lot_flag
Should indicate that the line item requires a customer requested lot number.
serial_number
Should indicate the serial number for the line item.
locator_id
12-122 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should indicate the customer dock code for the line item.
gross_weight
Should be a non-negative number.
net_weight
Should be a non-negative number.
weight_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a weight uom class.
weight_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a weight uom
class.
volume
Should be a non-negative number.
volume_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a volume uom class.
volume_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a volume uom
class.
top_model_line_id
If the item is included as part of a model, this should indicate the top model line name
for the line item.
ship_set_id
If the item is included as part of a ship set, this should indicate the ship set number to
which the line item is assigned.
ato_line_id
If the item is included as part of a ATO model, this should indicate the model line name
to which the line item is assigned.
arrival_set_id
If the item is included as part of a arrival ship set, this should indicate the arrival set
number to which the line item is assigned.
ship_model_complete_flag Should be Y or N.
cust_po_number
Should indicate the purchase order number for the line item.
released_status
Should be one of R, S, Y, or X.
Standard Validation
Oracle Shipping Execution validates all required columns in the
Update_Shipping_Attributes API. For specific information on the data referenced by
these columns, see Oracle Electronic Technical Reference Manual (eTRM)
API checks whether delivery detail information passed can be updated in
wsh_delivery_details table. If delivery details passed to the API are valid then API
updates the same in wsh_delivery_details table. If any invalid data is passed to the API
appropriate Warning/Error is returned from API.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
If any validation fails, the API returns the error status to the calling module. API return
the following return statuses to the calling module :
12-124 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Condition Message return Description
Functional Overview
The API is used to initialize the attributes of Changed_Attribute_Rec record type to
FND_API_G_MISS values. This API is used before calling
WSH_DELIVERY_DETAILS_PUB.update_shipping_attributes. Pass
Changed_Attribute_Rec record type to this API for initializing the values with
FND_API.G_MISS_CHAR/ FND_API.G_MISS_NUM/ FND_API.G_MISS_DATE.
p_init_rec
Attributes of ChangedAttributesRecType that has to be initialized. Definition of
ChangedAttributesRecType follows.
x_return_status
• Error: FND_API.G_RET_STS_ERROR
12-126 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-128 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-130 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-132 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
preferred_grade
Should indicate the preferred grade for the line item.
ordered_qty_unit_of_measure
Should be a valid element of mtl_items_uoms_view.unit_of_measure.
ordered_qty_unit_of_measure2
Should be a valid element of mtl_items_uoms_view.unit_of_measure.
subinventory
Should indicate the subinventory from which the line item is picked.
revision
Should indicate the revision number for the line item.
lot_number
Should indicate the lot number for the line item.
customer_requested_lot_flag
Should indicate that the line item requires a customer requested lot number.
serial_number
Should indicate the serial number for the line item.
locator_id
Should indicate the inventory locator from which the line item is picked.
date_requested
Should indicate the date requested for the line item.
date_scheduled
Should indicate the date scheduled for the line item.
master_container_item_id
Should indicate the master container name into which the line is packed.
detail_container_item_id
Should indicate the parent container name into which the line is packed.
shipping_method_code Should be a valid element of
fnd_lookup_values_vl.lookup_code for lookup_type SHIP_METHOD.
carrier_id
Should indicate the name of the carrier name transporting the line item.
freight_terms_code
Should be a valid element of fnd_lookup_values_vl.lookup_code for lookup_type
FREIGHT_TERMS.
12-134 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
top_model_line_id
If the item is included as part of a model, this should indicate the top moel line name for
the line item.
ship_set_id
If the item is included as part of a ship set, this should indicate the ship set number to
which the line item is assigned.
ato_line_id
If the item is included as part of a ATO model, this should indicate the model line name
to which the line item is assigned.
arrival_set_id
If the item is included as part of a arrival ship set, this should indicate the arrival set
number to which the line item is assigned.
ship_model_complete_flag
Should be Y or N.
cust_po_number
Should indicate the purchase order number for the line item.
released_status
Should be one of R, S, Y, or X.
packing_instructions
Should indicate the packing instructions included for the line item.
Error Handling
If any Oracle Exception occurs, the API will return the error status to the calling
module.
The API returns the following statuses to the calling module:
• It also checks that the attribute parameters passed in are valid and perform the
value to ID conversion while validating.
• The procedure also returns all deliveries and trips created for all delivery detail
lines passed to the API.
Functional Overview
AUTOCREATE_DEL_TRIP (overloaded version) API is called from the source system
to automatically create trips and deliveries for multiple delivery lines. The procedure
also checks that the attribute parameters passed in are valid and perform value to ID
conversion while validating. It returns all deliveries and trips created for all delivery
detail lines passed to the API
p_api_version_number IN Number x
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_line_rows IN Table x
12-136 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Name Usage Type Required Derived
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE.
p_commit
Commits the transaction if this parameter is set to TRUE.
Default Value: FND_API.G_FALSE.
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Standard Validation
Oracle Transportation Execution validates all required columns in the the API
WSH_DELIVERY_DETAILS_PUB.AUTOCREATE_DEL_TRIP. For specific information
on the data referenced by these columns, see:
Oracle Electronic Technical Reference Manual (eTRM)
API checks that the attribute parameters passed in are valid and perform value to ID
conversion while validating.
Error Handling
If any validation fails, the API will return the error status to the calling module. The API
processes the rows and reports the following values for every record:
12-138 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Auto_Pack: Lets you autopack containers.
Container_Actions: Enables you to perform certain actions on a container.
This section describes how to use the Container Public API and how it functions in
Oracle Shipping Execution.
Functional Overview
This API creates a new container record in WSH_DELIVERY_DETAILS. It Inserts
container information into WSH_DELIVERY_DETAILS and returns a table of the newly
created container IDs.
WSH_CONTAINER_PUB.CREATE_CONTAINERS Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_validation_level IN Number -
p_container_item_id IN Number -
p_container_item_na IN Varchar2 x
me
p_organization_id IN Number -
p_organization_code IN Varchar2 -
p_name_prefix IN Varchar2 -
p_name_suffix IN Varchar2 -
p_base_number IN Number x
p_num_digits IN Number -
p_quantity IN Number -
p_container_name IN Varchar2 -
p_action IN Varchar2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
12-140 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• p_msg_index_out => 1_msg_index_out
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_container_item_id
Key flexfield Id for the container.
p_container_item_name
Flexfield name for the container.
p_organization_id
Organization ID for the container.
p_organization_code
Organization code for the container.
p_name_prefix
Prefix of the container name.
p_name_suffix
Suffix of the container name.
p_name_prefix
Prefix of the container name.
p_base_number
Starting number for the numeric portion of the container name.
p_num_digits
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
The API updates an existing container record in WSH_DELIVERY_DETAILS with the
attributes input in the container rec type. The name or the ID of the container being
updated is passed as IN parameters p_container_name and p_cont_instance_id
respectively.
The API validates the input record attributes before updating a container record.
WSH_DELIVERY_DETAILS
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_validation_level IN Varchar2 -
12-142 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required
p_container_rec IN Record x
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
12-144 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-146 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-148 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should be a non-negative number.
weight_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a weight uom class
weight_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a weight uom
class.
volume
Should be a non-negative number.
volume_uom_code
Should be a valid element of mtl_units_of_measure.uom_code for a volume uom class.
volume_uom_desc
Should be a valid element of mtl_units_of_measure.unit_of_measure for a volume uom
class.
ship_model_complete_flag
Should be Y or N.
released_status
Should be one of R, S, Y or X.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API takes in a table of ids of either delivery lines or container or deliveries and
autopacks the lines/containers/deliveries into detail containers. The grouping id table is
used only if the input table of entities are lines or containers only. The packing of lines
and containers into parent containers is determined by the grouping id for each
line/container.
If the grouping id table is not input, the API determines the grouping ids for the
lines/containers based on the grouping attributes of the lines/containers. The
lines/containers are then autopacked into detail containers and the detail containers are
WSH_CONTAINER_PUB.AUTO_PACK Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_validation_level IN Number -
p_entity_tab IN Table -
p_entity_type IN Varchar2 x
p_group_id_tab IN Table -
p_pack_cont_flag IN Varchar2 x
x_cont_inst_tab IN Table -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
12-150 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_entity_tab
Table of ids of either lines or containers or deliveries that need to be autopacked of type
WSH_UTIL_CORE.ID_TAB_TYPE which is a table of type Number indexed by binary
integers.
p_entity_type
Type of entity id contained in the entity_tab that needs to be autopacked ('L' - lines, 'C' -
containers or 'D' - deliveries).
p_group_id_tab
Table of ids (numbers that determine the grouping of lines for packing into containers)
of type WSH_UTIL_CORE.ID_TAB_TYPE which is a table of type Number indexed by
binary integers.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API takes in a table of delivery detail ids and name and/or delivery detail id of the
container to pack. If the action code is assigned then delivery id and delivery name
must be specified. The API determines what action to perform based on the action code
and then calls appropriate private pack/assign/unpack/unassign API. The input table of
ids could be lines or containers. The delivery lines and containers are separated from
the input table and validated before the appropriate private APIs are called.
WSH_CONTAINER_PUB.CONTAINER_ACTIONS Parameters
p_api_version_numb IN Number x
er
12-152 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_validation_level IN Number -
p_detail_tab IN Table x
p_container_instance IN Number -
_id
p_container_flag IN Table -
p_delivery_flag IN Varchar2 -
p_delivery_id IN Number -
p_delivery_name IN Varchar2 -
p_action_code IN Varchar2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_detail_tab
Input table of delivery detail ids of type WSH_UTIL_CORE.ID_TAB_TYPE which is a
table of type Number indexed by binary integers.
p_container_instance_id
Delivery detail ID of parent container being packed
p_container_name
Container name if ID is not known
p_container_flag
Y or N depending on whether to unpack or not respectively.
p_delivery_flag
Y or N depending on whether the container needs to be unassigned from a delivery or
not respectively.
p_delivery_id
Delivery ID the container is assigned to.
p_delivery_name
Delivery name the container is assigned to.
p_action_code
12-154 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Action code Pack, Assign, Unpack, or Unassign to specify which action to perform.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API creates a new freight cost record in WSH_FREIGHT_COSTS as specified by IN
parameter p_action_code value CREATE. It inserts the freight cost information into
WSH_FREIGHT_COSTS and returns the FREIGHT_COST_ID of the new freight cost
record. It also updates an existing freight cost record in WSH_FREIGHT_COSTS as
specified by IN parameter p_action_code value UPDATE.
The API validates freight information such as freight cost type, unit amount, conversion
rate, and currency before performing the actions of creating or updating a freight cost
record. It also checks that the insert or update statements were successful, and if not
returns an error.
Also, ensure that only one shipping entity—a trip, stop, delivery, delivery leg, or
delivery detail—is passed in to be associated with a freight cost record. Each freight cost
must be associated with only one shipping entity.
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_action_code IN Varchar2 x
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
12-156 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• p_msg_index_out => 1_msg_index_out
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data for you after it completes its function.
Valid values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_pub_freight_costs
Attributes of the freight cost entity of type PubFreightCostRecType. These attributes are
inserted/updated in WSH_FREIGHT_COSTS. Definition of PubFreightCostRecType
follows.
p_action_code
Specifies whether API should create a new freight cost record or update existing freight
cost record information based on its values CREATE or UPDATE.
x_freight_cost_id
ID of new freight cost record being created.
12-158 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-160 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
delivery_name
Should be a valid unique element of wsh_new_deliveries.name
delivery_leg_id
Should be a valid element of wsh_delivery_legs.delivery_leg_id.
delivery_detail_id
Should be a valid element of wsh_delivery_details.delivery_detail_id.
freight_cost_type
Should be a valid element of wsh_freight_cost_types.name.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
p_freight_cost_type IN Varchar2 x
p_freight_cost_type
• Error: FND_API.G_RET_STS_ERROR
Functional Overview
The Delete_Freight_Costs procedure enables you to delete a new freight cost record
from WSH_FREIGHT_COSTS table. It identifies the freight record being deleted by
using the freight_cost_id attribute in the freight cost record that is being passed as an IN
parameter.
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
12-162 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data after it completes its function. Valid
values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
12-164 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type Default Value
12-166 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
trip_name
Should be a valid unique element of wsh_trips.name
stop_id
Should be a valid unique element of wsh_trip_stops.stop_id.
stop_location_id
Should be a valid element of wsh_trip_stops.stop_location_id.
planned_dep_date
Should be a valid element of wsh_trip_stops.planned_departure_date.
delivery_id
Should be a valid unique element of wsh_new_deliveries.delivery_id.
delivery_name
Should be a valid unique element of wsh_new_deliveries.name
delivery_leg_id
Should be a valid element of wsh_delivery_legs.delivery_leg_id.
delivery_detail_id
Should be a valid element of wsh_delivery_details.delivery_detail_id.
freight_cost_type
Should be a valid element of wsh_freight_cost_types.name.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
• The auto_pick_confirm_flag is N
• The autopack_flag is N.
Also, if you run this API with p_release_mode ONLINE, when calling
WSH_PICKING_BATCHES_PUB.Release_Batch, it is not recommended
that you run pick release on the same set of delivery lines with
append_flag set to Y because may result in unpredictable results. The
existing deliveries selected for appending may differ.
Functional Overview
This API creates a new pick release batch with a unique batch ID that is then used by
the Release_Batch API to release the batch.
12-168 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
WSH_PICKING_BATCHES_PUB.CREATE_BATCH Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_rule_id IN Number -
p_rule_name IN Varchar2 -
p_batch_rec IN Record x
p_batch_prefix IN Varchar2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_rule_id
Indicates the picking rule identification.
p_rule_name
Indicates the picking rule name.
p_batch_rec
Contains all picking batch parameters.
p_batch_prefix
Used to add a prefix to the batch id.
x_batch_id
Returns the batch id that is created.
12-170 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Batch_Info_Rec Type RECORD DEFINITION
Attribute Type
Allocation_Method Varchar2(1)
Cross_Dock_Criteria_ID Number
Backorders_Only_Flag Varchar2(1)
Document_Set_Id Number
Document_Set_Name Varchar2(30)
Existing_Rsvs_Only_Flag Varchar2(1)
Shipment_Priority_Code Varchar2(30)
Ship_Method_Code Varchar2(30)
Ship_Method_Name Varchar2(80)
Customer_Id Number
Customer_Number Varchar2(30)
Order_Header_Id Number
Order_Number Number
Ship_Set_Id Number
Ship_Set_Number Varchar2(30)
Inventory_Item_Id Number
Order_Type_Id Number
From_Requested_Date Date
To_Requested_Date Date
From_Scheduled_Ship_Date Date
To_Scheduled_Ship_Date Date
Ship_To_Location_Id Number
Ship_To_Location_code Varchar2(30)
Ship_From_Location_Id Number
Ship_From_Location_code Varchar2(30)
Trip_Name Varchar2(30)
Delivery_Id Number
Delivery_Name Varchar2(30)
Include_Planned_Lines Varchar2(1)
Pick_Grouping_Rule_Id Number
Pick_Grouping_Rule_Name Varchar2(30)
Pick_Sequence_Rule_Id Number
Pick_Sequence_Rule_Name Varchar2(30)
Autocreate_Delivery_Flag Varchar2(1)
Attribute_Category Varchar2(30)
attribute1 Varchar2(150)
attribute2 Varchar2(150)
attribute3 Varchar2(150)
attribute4 Varchar2(150)
12-172 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type
attribute5 Varchar2(150)
attribute6 Varchar2(150)
attribute7 Varchar2(150)
attribute8 Varchar2(150)
attribute9 Varchar2(150)
attribute10 Varchar2(150)
attribute11 Varchar2(150)
attribute12 Varchar2(150)
attribute13 Varchar2(150)
attribute14 Varchar2(150)
attribute15 Varchar2(150)
Autodetail_Pr_Flag Varchar2(1)
Trip_Stop_Id Number
Trip_Stop_location_id Number
Default_Stage_Subinventory Varchar2(10)
Default_Stage_Locator_Id Number
Pick_From_Subinventory Varchar2(10)
Pick_From_locator_Id Number
Auto_Pick_Confirm_Flag Varchar2(1)
Delivery_Detail_Id Number
Project_Id Number
Task_Id Number
Organization_Id Number
Organization_Code Varchar2(3)
Ship_Confirm_Rule_Id Number
Ship_Confirm_Rule_Name Varchar2(30)
Autopack_Flag Varchar2(1)
Autopack_Level Number
Task_Planning_Flag Varchar2(1)
Category_Set_ID Number
Category_ID Number
Ship_Set_Smc_Flag Varchar2(1)
region_ID Number
zone_ID Number
ac_Delivery_Criteria Varchar2(2)
rel_subinventory Varchar2(10)
append_flag Varchar2(1)
task_priority Number
12-174 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Prioritize Cross Dock, and N: Prioritize Inventory
cross_dock_criteria_ID
Should be a valid element of wms_crossdock_criteria_b.criteria_id. Translation table:
wms_crossdock_criteria_tl, and it can be used to search for the criterion_id based on the
criterion_name.
backorders_only_flag
Should be a valid element of wsh_picking_batches.Backorders_Only_Flag. Valid entries
are I, E, and O.
document_set_id
Should be a valid element of wsh_picking_batches.Document_Set_Id.
document_set_name
Should be a valid element of wsh_report_sets.name.
existing_rsvs_only_flag
Should be a valid element of wsh_picking_batches.Existing_Rsvs_Only_Flag.
shipment_priority_code
Should be a valid element of oe_lookups.lookup_code.
ship_method_code
Should be a valid unique element of wsh_picking_batches.Ship_Method_Code.
ship_method_name
Should be a valid unique element of fnd_lookup_values_vl.meaning.
customer_id
Should be a valid unique element of wsh_picking_batches.Customer_Id.
customer_number
Should be a valid element of ra_customers.customer_number.
order_header_id
Should be a valid element of wsh_picking_batches.Order_Header_Id.
order_number
Should be a valid unique element of oe_order_headers_all.Order_Number.
ship_set_id
Should be a valid unique element of wsh_picking_batches.Ship_Set_Number
ship_set_number
Should be a valid element of oe_sets.set_name.
inventory_item_id
12-176 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should be a valid unique element of wsh_picking_batches.Pick_Grouping_Rule_Id.
pick_grouping_rule_name
Should be a valid element of wsh_pick_grouping_rules.name.
pick_sequence_rule_id
Should be a valid element of wsh_picking_batches.Pick_Sequence_Rule_Id.
pick_sequence_rule_name
Should be a valid element of wsh_pick_sequence_rules.name.
auto_create_delivery_flag
Should be a valid element of wsh_picking_batches.Autocreate_Delivery_Flag.
attribute_category
Should be a valid unique element of wsh_picking_batches.Attribute_Category.
autodetail_pr_flag
Should be a valid unique element of wsh_picking_batches.Autodetail_Pr_Flag.
trip_stop_id
Should be a valid element of wsh_picking_batches.Trip_Stop_Id.
trip_stop_location_id
Should be a valid element of wsh_trip_stops.Stop_Id.
default_stage_subinventory
Should be a valid element of wsh_picking_batches.Default_Stage_Subinventory.
default_stage_locator_id
Should be a valid element of wsh_picking_batches.Default_Stage_Locator_Id.
pick_from_subinventory
Should be a valid unique element of wsh_picking_batches.Pick_From_Subinventory.
pick_from_locator_id
Should be a valid unique element of wsh_picking_batches.Pick_From_locator_Id.
auto_pick_confirm_flag
Should be a valid element of wsh_picking_batches.Auto_Pick_Confirm_Flag. Valid
entries are Y or N.
delivery_detail_id
Should be a valid element of wsh_picking_batches.Delivery_Detail_Id.
project_id
Should be a valid element of wsh_picking_batches.Project_Id.
12-178 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Should be a valid element of wsh_picking_batches.append_flag.
task_priority
Should be a valid element of wsh_picking_batches.task_priority.
Error Handling
Refer to parameters p_init_msg_list, x_msg_count, and x_msg_data on retrieving error
messages.
Functional Overview
This API enables you to release a pick release batch that was generated by the
Create_Batch API.
WSH_PICKING_BATCHES_PUB.RELEASE_BATCH Parameters
p_api_version_numb IN Number x
er
p_init_msg_list IN Varchar2 -
p_commit IN Varchar2 -
p_batch_id IN Number -
p_batch_name IN Varchar2 -
p_log_level IN Number -
p_release_mode IN Varchar2 -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
Default Value: FND_API.G_FALSE
p_commit
Requests that the API update information for you after it completes its function. Default
Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data after it completes its function. Valid
values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
12-180 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_batch_id
Indicates the picking batch identification which is used to get the batch information
from wsh_picking_batches.
p_batch_name
Indicates the picking batch name which is used to get the batch information from
wsh_picking_batches.
p_log_level
Controls the log message generated by the concurrent pick release process.
p_release_mode
Controls the release mode of either Concurrent or Online. Default = Concurrent.
x_request_id
Returns the request id for the concurrent pick release request.
Functional Overview
The API takes in a Batch_id or Batch_name and retrieves the batch record from
wsh_picking_batches. It considers batch_name value only when the parameter batch_id
is not being passed to the API. The API validates p_batch_id and p_batch_name values.
For the valid values, information is retrieved and passed back to the calling API
through the OUT parameter x_batch_rec. API passes NULL values for all read only
fields, such as customer name, item name, document set name, as per release sales
order form.
p_api_version In NUMBER x
p_init_msg_list In VARCHAR2 -
p_commit In VARCHAR2 -
-
p_batch_id IN NUMBER
p_batch_name IN NUMBER -
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
12-182 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Number respectively.
Default Value: FND_API.G_FALSE
p_commit
Requests that the API update information for you after it completes its function. Default
Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data after it completes its function. Valid
values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_batch_id
Picking batch id value corresponds to batch_id column of WSH_PICKING_BATCHES
table.
p_batch_name
Picking batch name value corresponds to name column of WSH_PICKING_BATCHES
table.
Attribute Type
Backorders_Only_Flag Varchar2(1)
Document_Set_Id Number
Document_Set_Name Varchar2(30)
Existing_Rsvs_Only_Flag Varchar2(1)
Shipment_Priority_Code Varchar2(30)
Ship_Method_Code Varchar2(30)
Ship_Method_Name Varchar2(80)
Customer_Id Number
Customer_Number Varchar2(30)
Order_Header_Id Number
Order_Number Number
Ship_Set_Id Number
Ship_Set_Number Varchar2(30)
Inventory_Item_Id Number
Order_Type_Id Number
From_Requested_Date Date
To_Requested_Date Date
From_Scheduled_Ship_Date Date
To_Scheduled_Ship_Date Date
Ship_To_Location_Id Number
Ship_To_Location_code Varchar2(30)
12-184 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type
Ship_From_Location_Id Number
Ship_From_Location_code Varchar2(30)
Trip_Name Varchar2(30)
Delivery_Id Number
Delivery_Name Varchar2(30)
Include_Planned_Lines Varchar2(1)
Pick_Grouping_Rule_Id Number
Pick_Grouping_Rule_Name Varchar2(30)
Pick_Sequence_Rule_Id Number
Pick_Sequence_Rule_Name Varchar2(30)
Autocreate_Delivery_Flag Varchar2(1)
Attribute_Category Varchar2(30)
attribute1 Varchar2(150)
attribute2 Varchar2(150)
attribute3 Varchar2(150)
attribute4 Varchar2(150)
attribute5 Varchar2(150)
attribute6 Varchar2(150)
attribute7 Varchar2(150)
attribute8 Varchar2(150)
attribute9 Varchar2(150)
attribute10 Varchar2(150)
attribute11 Varchar2(150)
attribute12 Varchar2(150)
attribute13 Varchar2(150)
attribute14 Varchar2(150)
attribute15 Varchar2(150)
Autodetail_Pr_Flag Varchar2(1)
Trip_Stop_Id Number
Trip_Stop_location_id Number
Default_Stage_Subinventory Varchar2(10)
Default_Stage_Locator_Id Number
Pick_From_Subinventory Varchar2(10)
Pick_From_locator_Id Number
12-186 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type
Auto_Pick_Confirm_Flag Varchar2(1)
Delivery_Detail_Id Number
Project_Id Number
Task_Id Number
Organization_Id Number
Organization_Code Varchar2(3)
Ship_Confirm_Rule_Id Number
Ship_Confirm_Rule_Name Varchar2(30)
Autopack_Flag Varchar2(1)
Autopack_Level Number
Task_Planning_Flag Varchar2(1)
Category_Set_ID Number
Category_ID Number
Ship_Set_Smc_Flag Varchar2(1)
region_ID Number
zone_ID Number
ac_Delivery_Criteria Varchar2(2)
rel_subinventory Varchar2(10)
append_flag Varchar2(1)
task_priority Number
actual_departure_date Date
allocation_method Varchar2(1)
crossdock_criteria_id Number
crossdock_criteria_name Varchar2(80)
12-188 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Returns NULL value.
customer_id
Corresponds to wsh_picking_batches.Customer_Id.
customer_number
Returns NULL value.
order_header_id
Corresponds to wsh_picking_batches.Order_Header_Id.
order_number
Returns NULL value.
ship_set_id
Returns NULL value.
ship_set_number
Corresponds to wsh_picking_batches. ship_set_number.
inventory_item_id
Corresponds to wsh_picking_batches.Inventory_Item_Id.
order_type_id
Corresponds to wsh_picking_batches.Order_Type_Id
order_type_name
Returns null value.
from_requested_date
Corresponds to wsh_picking_batches.from_requested_date.
to_requested_date
Corresponds to wsh_picking_batches.to_requested_date.
from_scheduled_ship_date
Corresponds to wsh_picking_batches.from_scheduled_ship_date.
to_scheduled_ship_date
Corresponds to wsh_picking_batches.to_scheduled_ship_date.
ship_to_location_id
Corresponds to wsh_picking_batches.Ship_To_Location_Id.
ship_to_location_code
Returns null value.
ship_from_location_id
12-190 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Corresponds to wsh_picking_batches.Default_Stage_Subinventory.
default_stage_locator_id
Corresponds to wsh_picking_batches.Default_Stage_Locator_Id.
pick_from_subinventory
Corresponds to wsh_picking_batches.Pick_From_Subinventory.
pick_from_locator_id
Corresponds to wsh_picking_batches.Pick_From_locator_Id.
auto_pick_confirm_flag
Corresponds to wsh_picking_batches.Auto_Pick_Confirm_Flag.
delivery_detail_id
Corresponds to wsh_picking_batches.Delivery_Detail_Id.
project_id
Should be a valid element of wsh_picking_batches.Project_Id.
task_id
Corresponds to wsh_picking_batches.Task_Id.
organization_id
Corresponds to wsh_picking_batches.Organization_Id.
organization_code
Returns null value.
ship_confirm_rule_id
Corresponds to wsh_picking_batches.Ship_Confirm_Rule_Id.
ship_confirm_rule_name
Returns null value.
autopack_flag
Corresponds to wsh_picking_batches.Autopack_Flag.
autopack_level
Corresponds to wsh_picking_batches.Autopack_Level.
task_planning_flag
Corresponds to wsh_picking_batches.Task_Planning_Flag.
category_set_id
Corresponds to wsh_picking_batches.Category_Set_ID.
category_id
Standard Validation
Oracle Shipping Execution validates all required columns in the
WSH_PICKING_BATCHES_PUB.GET_BATCH_RECORD API. For specific information
on the data referenced by these columns, see Oracle Electronic Technical Reference Manual
(eTRM) .
It validates batch_id and batch_name values passed to the API. Either batch_id or
Batch_name or both can be passed to API. If both are passed without any value, then
API raises the error. API validates p_batch_id and p_batch_name parameter values
against wsh_picking_batches table. If no record is found then API returns error status.
12-192 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Error Handling
If any validation fails, the API will return the error status to the calling module. The
WSH_PICKING_BATCHES_PUB.GET_BATCH_RECORD API processes the rows and
reports the following values for every record:
Functional Overview
Returns as a record containing all attributes of the currently open document of the
specified type, for example Packing slip or Bill of lading, for a sales order line. There
should be only one open document of a specific type for a delivery. If more than one
open doc is available, then the API returns the first available one.
p_api_version In NUMBER x
p_init_msg_list In VARCHAR2 -
p_commit In VARCHAR2 -
p_validation_level In VARCHAR2 -
p_order_line_id IN NUMBER x
p_document_type IN VARCHAR2 x
p_api_version_number
Compares the incoming API call's version number with the current version number. An
error is returned if the version numbers are incompatible.
p_init_msg_list
Requests that the API initialize the message list on your behalf. If the x_msg_count is
greater than 1, then the list of messages must be retrieved using the call FND_
MSG_PUB.GET. The values are:
• p_msg_index => I
• p_encoded => F
where 1_message and 1_msg_index_out are local variables of types Varchar2(2000) and
Number respectively.
12-194 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Default Value: FND_API.G_FALSE
p_commit
Requests that the API update information for you after it completes its function.
Default Value: FND_API.G_FALSE
x_return_status
Requests that the API return the status of the data after it completes its function. Valid
values include:
• Success: FND_API.G_RET_STS_SUCCESS
• Error: FND_API.G_RET_STS_ERROR
x_msg_count
Indicates number of error messages API has encountered.
x_msg_data
Returns error message text. If the x_msg_count is equal to 1, then this contains the
actual message.
p_order_line_id
Valid sales order line id which is associated to one or more delivery detail lines.
p_document_type
Document type represents the type of the document for which information needs to be
retrived. Possible values for the this parameter are 'PACK_TYPE' (for Packing slip
report) and 'BOL' ( for Bill of lading report).
Attribute Type
document_instance_id Number
document_type Varchar2(30)
entity_name Varchar2(50)
entity_id Number
doc_sequence_category_id Number
sequence_number Varchar2(50)
status Varchar2(30)
final_print_date Date
created_by Number
creation_date Date
last_updated_by Number
last_update_date Date
last_update_login Number
program_application_id Number
program_id Number
program_update_date Date
request_id Number
attribute_category Varchar2(150)
attribute1 Varchar2(150)
Attribute2 Varchar2(150)
Attribute3 Varchar2(150)
12-196 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Attribute Type
Attribute4 Varchar2(150)
Attribute5 Varchar2(150)
Attribute6 Varchar2(150)
Attribute7 Varchar2(150)
Attribute8 Varchar2(150)
Attribute9 Varchar2(150)
attribute10 Varchar2(150)
attribute11 Varchar2(150)
attribute12 Varchar2(150)
attribute13 Varchar2(150)
attribute14 Varchar2(150)
attribute15 Varchar2(150)
Standard Validation
Oracle Shipping Execution validates all required columns in the
WSH_DOCUMENT_PUB.GET_DOCUMENT API. For specific information on the data
referenced by these columns, see Oracle Electronic Technical Reference Manual (eTRM).
API checks the p_document_type value passed to the API. If parameter
12-198 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_document_type contains any value other than 'PACK_TYPE' /'BOL' then API do not
return any document instance information for the sales order line id passed to the API.
The API returns the following return statuses to the calling module:
• Calculate_TP_Dates : Enables the user to select the delivery window dates based on
different parameters from order management. Customers can ciustomize their
calculation of the delivery window dates (Earliest/Latest Ship Dates and
Earliest/Latest Delivery Dates). These will then be used for population at the
delivery detail level and will get propagated to the container or delivery levels at
action points such as assign/pack.
Functional Overview
This API is designed for you to tailor the display of the location (ui_location_code)
information displayed in the Shipping forms and reports. The API is called when a new
location is created or an existing location is updated. To use the API for the location, the
p_location_type IN VARCHAR2 x No
p_location_idTbl IN WSH_LOCATIO - No
NS_PKG.ID_Tbl
_Type
p_address_1Tbl IN WSH_LOCATIO - No
NS_PKG.Addres
s_Tbl_Type
p_address_2Tbl IN WSH_LOCATIO - No
NS_PKG.Addres
s_Tbl_Type
p_countryTbl IN WSH_LOCATIO -
NS_PKG.Addres
s_Tbl_Type
p_stateTbl IN WSH_LOCATIO -
NS_PKG.Addres
s_Tbl_Type
p_provinceTbl IN WSH_LOCATIO -
NS_PKG.Addres
s_Tbl_Type
p_countyTbl IN WSH_LOCATIO -
NS_PKG.Addres
s_Tbl_Type
p_cityTbl IN WSH_LOCATIO -
NS_PKG.Addres
s_Tbl_Type
12-200 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Parameter Usage Type Required Derived
Name
p_postal_codeTb IN WSH_LOCATIO -
l NS_PKG.Addres
s_Tbl_Type
p_party_site_nu IN WSH_LOCATIO -
mberTbl NS_PKG.Locatio
nCode_Tbl_Typ
e
p_location_code IN WSH_LOCATIO -
Tbl NS_PKG.Locatio
nCode_Tbl_Typ
e
p_location_type
The parameter can have value 'HR' for internal location and 'HZ' for external location.
p_location_idTbl
The parameter corresponds to source location id in wsh_locations table.
p_address _1Tbl
Should be valid element of wsh_locations, hz_locations and hr_locations_all table.
p_address _2Tbl
Should be valid element of wsh_locations, hz_locations and hr_locations_all table.
p_countryTbl
Should be valid element of wsh_locations, hz_locations and hr_locations_all table.
p_StateTbl
Should be valid element of wsh_locations, hz_locations and hr_locations_all table.
p_provinceTbl
Should be valid element of wsh_locations, hz_locations and hr_locations_all table.
FOR i IN p_location_idTbl.FIRST..p_location_idTbl.LAST
LOOP
x_custom_ui_loc_codeTbl(i) := substrb((p_location_codeTbl(i)||' :
'||p_address_1Tbl(i)||'-'||p_address_2Tbl(i)||'-'||p_cityTbl(i)||'-'||p_
stateTbl(i)||'-'|| p_postal_codeTbl(i)||'-'||p_countryTbl(i)),1,500);
END LOOP;
END IF;
EXCEPTION
WHEN others THEN
l_sqlcode := SQLCODE;
l_sqlerr := SQLERRM;
WSH_UTIL_CORE.printmsg('In the Others Exception of
WSH_CUSTOM_PUB.ui_location_code');
WSH_UTIL_CORE.printmsg(l_sqlcode);
WSH_UTIL_CORE.printmsg(l_sqlerr);
---Sample code end --
Standard Validation
There is no validation done for parameters passed as it is a custom procedure. For
specific information on the data referenced by these columns, see
12-202 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Oracle Electronic Technical Reference Manual (eTRM).
This API cannot be used alone. The API is always called from the package
WSH_LOCATIONS_PKG. All validations are done in package
WSH_LOCATIONS_PKG.
Functional Overview
This API enables the user to set the delivery window dates based on different
parameters from order management. Customers can customize their calculation of the
delivery window dates (Earliest/Latest Ship Dates and Earliest/Latest Delivery Dates).
These will be then used for population of values at the delivery detail level and will get
propagated to the container or delivery levels at action points such as assign/pack etc.
p_source_line_id IN Number - No
p_source_code IN VARCHAR2 - No
p_source_line_id
Should be valid element of wsh_delivery_details.source_line_id
p_source_code
Should be valid element of wsh_delivery_details.source_code.
x_earliest_pickup_date
Should be a valid date.
x_latest_pickup_date
Should be a valid date.
x_earliest_dropoff_date
Should be a valid date.
x_latest_dropoff_date
Should be a valid date.
x_modified
Should be a valid value 'N' or 'Y'. The default value is 'N'.
Standard Validation
There is no validation done for parameters passed as it is a custom procedure. For
specific information on the data referenced by these columns, see Oracle Electronic
Technical Reference Manual (eTRM).
procedure SHIP_CONFIRM_EXAMPLE1(
12-204 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
x_return_status OUT VARCHAR2,
procedure SHIP_CONFIRM_EXAMPLE2(
procedure SHIP_CONFIRM_EXAMPLE3(
procedure UPDATE_SERIAL_EXAMPLE(
procedure MANUAL_PACK_EXAMPLE(
END WSH_SHIP_API;
/
-- show errors package WSH_SHIP_API;
/*
--Standard Parameters.
p_api_version_number NUMBER;
init_msg_list VARCHAR2(30);
x_msg_details VARCHAR2(3000);
x_msg_summary VARCHAR2(3000);
p_validation_level NUMBER;
p_commit VARCHAR2(30);
12-206 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
--Parameters for WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes.
source_code VARCHAR2(15);
changed_attributes
WSH_DELIVERY_DETAILS_PUB.ChangedAt
tributeTabType;
p_entity_tab
WSH_UTIL_CORE.id_tab_type;
p_entity_type VARCHAR2(30);
p_group_id_tab
WSH_UTIL_CORE.id_tab_type;
p_pack_cont_flag varchar2(30);
x_cont_inst_tab
WSH_UTIL_CORE.id_tab_type;
action_code VARCHAR2(15);
pub_freight_costs
WSH_FREIGHT_COSTS_PUB.PubFreightCo
stRecType;
freight_cost_id NUMBER;
p_action_code VARCHAR2(15);
p_delivery_id NUMBER;
p_delivery_name VARCHAR2(30);
p_asg_trip_id NUMBER;
p_asg_trip_name VARCHAR2(30);
p_asg_pickup_loc_id NUMBER;
p_asg_pickup_loc_code VARCHAR2(30);
p_asg_pickup_arr_date DATE;
p_asg_pickup_dep_date DATE;
p_asg_dropoff_stop_id NUMBER;
p_asg_dropoff_loc_id NUMBER;
p_asg_dropoff_loc_code VARCHAR2(30);
p_asg_dropoff_arr_date DATE;
p_asg_dropoff_dep_date DATE;
p_sc_action_flag VARCHAR2(10);
p_sc_close_trip_flag VARCHAR2(10);
p_sc_create_bol_flag VARCHAR2(10);
p_sc_stage_del_flag VARCHAR2(10);
p_sc_trip_ship_method VARCHAR2(30);
p_sc_actual_dep_date VARCHAR2(30);
p_sc_report_set_id NUMBER;
p_sc_report_set_name VARCHAR2(60);
p_wv_override_flag VARCHAR2(10);
x_trip_id VARCHAR2(30);
x_trip_name VARCHAR2(30);
12-208 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
/*Handle exceptions*/
fail_api EXCEPTION;
BEGIN
,resp_id =>52892
,resp_appl_id =>660);
source_code := 'OE'; -- The only source code that should be used by the
API
changed_attributes(1).delivery_detail_id := 13431; -- Ship All
quantities in this detail.
changed_attributes(1).shipped_quantity := 1;
changed_attributes(2).source_line_id := 13432; -- Back Order All in
this -- detail.
changed_attributes(2).shipped_quantity := 0;
changed_attributes(2).cycle_count_quantity := 2;
changed_attributes(3).source_line_id := 13433; -- Stage All in this
detail.
changed_attributes(3).shipped_quantity := 0;
changed_attributes(3).cycle_count_quantity := 0;
--Call to WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes.
WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes(
/* Values for creating freight costs for the delivery created for the
above delivery details. The delivery can be queried for the respective
delivery detail through wsh_delivery_assignments.
*/
pub_freight_costs.freight_cost_typ := 1;
e_id
pub_freight_costs.unit_amount := 20;
pub_freight_costs.currency_code := 'USD';
pub_freight_costs.delivery_id := 5341;
--Call to WSH_FREIGHT_COSTS_PUB.Create_Update_Freight_Costs.
WSH_FREIGHT_COSTS_PUB.Create_Update_Freight_Costs(
12-210 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
if (x_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
raise fail_api;
end if;
/* Values for autopacking the delivery details to a container.
*/
p_entity_tab(1) := 13431;
p_entity_tab(2) := 13432;
p_entity_tab(3) := 13434;
--Call to WSH_CONTAINER_PUB.Auto_Pack
WSH_CONTAINER_PUB.Auto_Pack(
-- Call to WSH_DELIVERIES_PUB.Delivery_Action.
WSH_DELIVERIES_PUB.Delivery_Action(
12-212 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_asg_dropoff_loc_id => p_asg_dropoff_loc_id,
exception
/**Example 2
This procedure is used as an example to ship confirm delivery details
that were not assigned to a delivery.
-- Standard Parameters.
p_api_version_number NUMBER;
init_msg_list VARCHAR2(30);
x_msg_details VARCHAR2(3000);
x_msg_summary VARCHAR2(3000);
p_validation_level NUMBER;
commit VARCHAR2(30);
12-214 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
action_code VARCHAR2(15);
delivery_id NUMBER;
delivery_info WSH_DELIVERIES_PUB.Delivery_Pub_Re
c_Type;
name VARCHAR2(30);
p_delivery_id NUMBER;
delivery_name VARCHAR2(30);
p_TabOfDelDet WSH_DELIVERY_DETAILS_PUB.id_tab_ty
pe;
p_action VARCHAR2(30);
p_action_code VARCHAR2(15);
p_delivery_id NUMBER;
p_delivery_name VARCHAR2(30);
p_asg_trip_id NUMBER;
p_asg_trip_name VARCHAR2(30);
p_asg_pickup_stop_id NUMBER;
p_asg_pickup_loc_id NUMBER;
p_asg_pickup_loc_code VARCHAR2(30);
p_asg_pickup_arr_date DATE;
p_asg_pickup_dep_date DATE;
p_asg_dropoff_stop_id NUMBER;
p_asg_dropoff_loc_code VARCHAR2(30);
p_asg_dropoff_arr_date DATE;
p_asg_dropoff_dep_date DATE;
p_sc_action_flag VARCHAR2(10);
p_sc_close_trip_flag VARCHAR2(10);
p_sc_create_bol_flag VARCHAR2(10);
p_sc_stage_del_flag VARCHAR2(10);
p_sc_trip_ship_method VARCHAR2(30);
p_sc_actual_dep_date VARCHAR2(30);
p_sc_report_set_id NUMBER;
p_sc_report_set_name VARCHAR2(60);
p_wv_override_flag VARCHAR2(10);
x_trip_id VARCHAR2(30);
x_trip_name VARCHAR2(30);
/*Handle exceptions*/
fail_api EXCEPTION;
BEGIN
-- Initialize return status
x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS;
-- Values for WSH_DELIVERIES_PUB.CREATE_UPDATE_DELIVERY
-- Create a new delivery for the following
delivery_info.initial_pickup_locat := 204;
ion_id
12-216 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
delivery_info.ultimate_dropoff_loc := 840;
ation_id
delivery_info.gross_weight := 10;
delivery_info.ship_method_code := 'UPS';
p_action_code := 'CREATE';
-- Call to WSH_DELIVERIES_PUB.CREATE_UPDATE_DELIVERY
WSH_DELIVERIES_PUB.CREATE_UPDATE_DELIVERY(
p_delivery_id := delivery_id;
pub_freight_costs.delivery_id := delivery_id;
p_TabOfDelDets(1) := 13463;
p_TabOfDelDets(2) := 13464;
p_action := 'ASSIGN';
-- Call to WSH_DELIVERY_DETAILS_PUB.Detail_to_Delivery.
WSH_DELIVERY_DETAILS_PUB.Detail_to_Delivery(
12-218 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_delivery_name := '5341'; -- The delivery name,
-- Call to WSH_DELIVERIES_PUB.Delivery_Action.
WSH_DELIVERIES_PUB.Delivery_Action(
12-220 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
if (x_return_status <> WSH_UTIL_CORE.G_RET_STS_SUCCESS) then
raise fail_api;
end if;
exception
END SHIP_CONFIRM_EXAMPLE2;
/** Example 3:
This procedure can be used as an example on how to pick and ship confirm
a delivery in a single process.
-- Standard Parameters.
p_init_msg_list VARCHAR2(30) ;
x_msg_details VARCHAR2(3000);
x_msg_summary VARCHAR2(3000);
p_action_code VARCHAR2(2000);
p_delivery_id NUMBER;
p_delivery_name VARCHAR2(2000) ;
p_asg_trip_name VARCHAR2(2000) ;
p_asg_pickup_stop_id NUMBER ;
p_asg_pickup_loc_id NUMBER ;
p_asg_pickup_stop_seq NUMBER ;
p_asg_pickup_loc_code VARCHAR2(2000) ;
p_asg_pickup_arr_date DATE ;
p_asg_pickup_dep_date DATE ;
p_asg_dropoff_stop_id NUMBER ;
p_asg_dropoff_loc_id NUMBER ;
p_asg_dropoff_stop_seq NUMBER ;
p_asg_dropoff_loc_code VARCHAR2(2000) ;
p_asg_dropoff_arr_date DATE ;
p_asg_dropoff_dep_date DATE ;
p_sc_action_flag VARCHAR2(2000) ;
p_sc_intransit_flag VARCHAR2(2000) ;
p_sc_close_trip_flag VARCHAR2(2000) ;
p_sc_create_bol_flag VARCHAR2(2000) ;
p_sc_stage_del_flag VARCHAR2(2000) ;
p_sc_trip_ship_method VARCHAR2(2000) ;
p_sc_actual_dep_date DATE ;
p_sc_report_set_id NUMBER ;
p_sc_report_set_name VARCHAR2(2000) ;
12-222 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_sc_defer_interface_flag VARCHAR2(2000) ;
p_sc_send_945_flag VARCHAR2(2000) ;
p_sc_rule_id NUMBER ;
p_sc_rule_name VARCHAR2(2000) ;
p_wv_override_flag VARCHAR2(2000) ;
x_trip_id VARCHAR2(2000) ;
x_trip_name VARCHAR2(2000) ;
/*Handle exceptions*/
fail_api EXCEPTION;
Begin
p_action_code := 'PICK-SHIP';
p_delivery_id := 176120;
-- Call to WSH_DELIVERIES_PUB.DELIVERY_ACTION
WSH_DELIVERIES_PUB.Delivery_Action(
12-224 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
,p_sc_report_set_id => p_sc_report_set_id
);
exception
/** Example 4:
This procedure can be used as an example on how to update serial numbers
for a delivery detail.
Call WSH_DELIVERY_DETAILS_PUB.UPDATE_SHIPPING_ATTRIBUTES to update
serial numbers for a delivery detail.
**/
procedure UPDATE_SERIAL_EXAMPLE(
p_init_msg_list VARCHAR2(30) ;
x_msg_details VARCHAR2(3000);
x_msg_summary VARCHAR2(3000);
p_commit VARCHAR2(30);
p_changed_attributes WSH_DELIVERY_DETAILS_PUB.CHANGEDAT
TRIBUTETABTYPE ;
p_source_code VARCHAR2(2000);
p_container_flag VARCHAR2(2000) ;
p_serial_range_tab WSH_GLBL_VAR_STRCT_GRP.ddSerialRan
geTabType;
/*Handle exceptions*/
fail_api EXCEPTION;
Begin
-- Call to WSH_DELIVERY_DETAILS_PUB.UPDATE_SHIPPING_ATTRIBUTES
WSH_DELIVERY_DETAILS_PUB.UPDATE_SHIPPING_ATTRIBUTES(
12-226 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_api_version_number => 1.0
);
exception
/** Example 5:
-- Standard Parameters.
p_init_msg_list VARCHAR2(30) ;
x_msg_details VARCHAR2(3000);
x_msg_summary VARCHAR2(3000);
p_validation_level NUMBER;
p_commit VARCHAR2(30);
p_container_item_id NUMBER;
p_container_item_name VARCHAR2(2000) ;
p_container_item_seg FND_FLEX_EXT.SEGMENTARRAY ;
p_organization_id NUMBER;
p_organization_code VARCHAR2(2000) ;
p_name_prefix VARCHAR2(2000) ;
p_name_suffix VARCHAR2(2000) ;
p_base_number NUMBER ;
p_num_digits NUMBER ;
p_quantity NUMBER ;
p_container_name VARCHAR2(2000) ;
x_container_ids WSH_UTIL_CORE.ID_TAB_TYPE ;
12-228 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
p_detail_tab WSH_UTIL_CORE.ID_TAB_TYPE ;
p_container_name VARCHAR2(2000);
p_cont_instance_id NUMBER ;
p_container_flag VARCHAR2(2000) ;
p_delivery_flag VARCHAR2(2000) ;
p_delivery_id NUMBER ;
p_delivery_name VARCHAR2(2000) ;
p_action_code VARCHAR2(2000);
/*Handle exceptions*/
fail_api EXCEPTION;
Begin
-- Call to WSH_CONTAINER_PUB.CREATE_CONTAINERS
WSH_CONTAINER_PUB.CREATE_CONTAINERS(
);
-- Call to WSH_CONTAINER_PUB.CONTAINER_ACTIONS
WSH_CONTAINER_PUB.CONTAINER_ACTIONS(
12-230 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
,p_commit => p_commit
);
exception
Script
Declare
x_return_status VARCHAR2(15);
x_msg_count NUMBER;
x_msg_data VARCHAR2(3000);
Begin
WSH_SHIP_API.SHIP_CONFIRM_EXAMPLE1(
End;
12-232 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
13
Oracle Shipping Execution XML
Transactions
XML Overview
XML messaging is used to transact data between Oracle Shipping Execution and
trading partners, including carrier manifesting systems and third party warehouses. In
order to use XML messaging for Oracle Shipping Execution transactions, the following
are required:
• Oracle XML Gateway setup, including Advanced Queuing, is required .
(See: Oracle XML Gateway User's Guide.)
• Oracle Workflow must be used to move the XML data from and to Oracle Shipping
Execution. Workflows are seeded as part of Oracle Applications.
(See: Oracle Workflow User's Guide.)
Each Oracle Shipping Execution function that uses XML transactions requires
13-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• For outbound messages: A Queue is defined to hold complete XML messages
created by Oracle XML Gateway. An XML message is picked up by the
middleware, and then transmitted.
• For inbound messages: A Queue is defined to hold inbound XML messages that
have no errors.
• For inbound messages: A Queue is defined to hold inbound XML error information.
Trading Partners
You must define trading partners in Oracle XML Gateway before their XML
transactions can be processed. A trading partner is an entity (such as a customer,
supplier, carrier, or internal organization) with which you exchange XML messages.
Because a given entity may have several locations, you must define one trading partner
for each entity location (that is, one trading partner for each customer address, supplier
site, or carrier location).
Trading Partner data is used to:
• Link a particular address location in Oracle Applications to the trading partner
definition in the Oracle XML Gateway.
• Provide a means of telling the Execution Engine which trading partner message
map to use.
Related Topics
Oracle XML Gateway User's Guide
Code Conversions
The Oracle XML Gateway code conversion function provides a method to cross–
reference the codes defined in Oracle Applications, for example Unit of Measure, to
codes used by trading partners, the XML standard, or other standard codes in the
transactions.
For example, assume that Business World transmits a manifest to the XYZ Corporation
and one of the values used is EACH. The XYZ Corporation processes the incoming data
using its own values and instead of using EACH, XYZ uses EA. However, XYZ is
• UOM
• CUSTOMER_ITEM
• FOB
• SHIPMENT_PRIORITY
• CURRENCY_CODE
• CHARGE_TYPE
• WSH_SUBINVENTORY
• CARRIER_CODE
• CONTAINER_TYPE
• CUSTOMER_LOCATION_CODE
• FREIGHT_TERMS
• SERVICE_LEVEL
• WAREHOUSE_LOCATION_CODE
• WAREHOUSE_ORG
• WSH_TRANS_METHOD
Related Topics
Oracle XML Gateway User's Guide
13-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
print the required labels and paperwork. You can manually or automatically extract the
delivery details and send them to a manifesting system. Once the carrier manifesting
system responds, the delivery is automatically confirmed in Oracle Shipping Execution.
Before using XML messages for carrier manifesting, you must:
• Define your carriers (See: Oracle Order Management Implementation Guide)
The following business events are used for carrier manifesting XML transactions:
• oracle.apps.wsh.sup.ssro: Business event to send the Shipment Request Outbound
• Customer
• Ship To Address
• Ship To Contact
• Weight
• Service Level
13-6 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
ShowShipment Advice (show_shipment_005) for Carrier Manifesting
3. Select Internal from the list of values in the Trading Partner Type field.
4. Select the organization's location code using the list of values in the Trading Partner
Name field.
5. Select the concatenated address of the organization's location from the list of values
in the Trading Partner Site field.
7. In the Trading Partner Details region, use the list of values in the Transaction Type
field to choose FTE with the Transaction Sub Type of SSNO.
Note: A DIRECT connect and a hub are the methods by which the
• Username
• Password
• Protocol address
Note: If you are using a predefined hub, the Source Trading Partner
Location Code is automatically populated.
See: Oracle XML Gateway User's Guide for detailed information on defining code
conversions.
13-8 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
2. Navigate to the Trading Partner Setup window.
3. Select Internal from the list of values in the Trading Partner Type field.
4. Select the organization's location using the list of values in the Trading Partner
Name field.
5. Select the organization location's address from the list of values in the Trading
Partner Site field.
7. In the Trading Partner Details region, use the list of values in the Transaction Type
field to choose FTE with the Transaction Sub Type of SSNI.
See: Oracle XML Gateway User's Guide for detailed information on defining code
conversions.
2. Use the list of values in the Transaction Type field to select ECX with External
Transaction Type of BOD, Transaction Subtype as Confirm, and the Direction IN.
13-10 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Carrier Manifesting DTD
<! - ==================================================== - >
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
%RESOURCES;
<! - ==================================================== - >
<!ELEMENT SHOW_SHIPMENT_005 (CNTROLAREA, DATAAREA+)>
<!ATTLIST VERB
value CDATA #FIXED "SHOW">
<!ATTLIST NOUN
value CDATA #FIXED "SHIPMENT">
<!ATTLIST REVISION
value CDATA #FIXED "005">
<!ELEMENT DATAAREA (SHOW_SHIPMENT)>
<!ELEMENT SHOW_SHIPMENT (SHIPMENT, SHIPUNIT*)>
<!ELEMENT SHIPMENT ((%DATETIME.DOCUMENT;), (%AMOUNT.DECLAREVAL;)?,
(%AMOUNT.DOCUMENT.T;)?, (%AMOUNT.ESTFREIGHT;)?, (%AMOUNT.FREIGHT.T;)?,
(%AMOUNT.ITEM.T;)?, (%DATETIME.CREATION;)?, (%DATETIME.DELIVACT;)?,
(%DATETIME.DELIVSCHED;)?,(%DATETIME.EARLSTSHIP;)?,
(%DATETIME.LOADING;)?, (%DATETIME.NEEDDELV;)?, (%DATETIME.PROMDELV;)?,
(%DATETIME.PROMSHIP;)?, (%DATETIME.SHIP;)?, (%DATETIME.SHIPSCHED;)?,
(%OPERAMT.FREIGHT.T;)?, (%QUANTITY.ESTWEIGHT;)?,
(%QUANTITY.LOADINGWT;)?, (%QUANTITY.NETWEIGHT;)?,
(%QUANTITY.SHIPUNIT;)?, (%QUANTITY.TOTWEIGHT;)?, (%QUANTITY.VOLUME;)?,
(%TEMPRATURE.ACTUAL;)?, (%TEMPRATURE.DELIVERY;)?,
(%TEMPRATURE.LOADING;)?, DOCUMENTID, SHIPPERID, SYNCID, CARRIER?,
CARRSRVLVL?, COUNTRYDST?, COUNTRYORG?, DESCRIPTN?, DISTCENTER?, DOCKID?,
DOCTYPE?, DOCUMENTRV?, DROPSHIP?, EXPORTLIC?, FRGHTCLS?, FRGHTTERMS?,
HAZRDMATL?, HDRSTATUS?, IMPORTLIC?, LOADPOINT?, NOTES*, PARTIALSHP?,
PRIORITY?, ROUTEID?, SHIPNOTES?, SHIPPOINT?, SHIPPRIOR?, SHIPSRVLVL?,
SPECIALHND?, STAGEPOINT?, TRANSMETHD?, TRANSTERMS?, WAREHOUSE?,
USERAREA?, PARTNER+, SHIPITEM*, ATTCHREF*, CHARGE*, DOCUMNTREF*)>
<!ELEMENT SHIPITEM ((%QUANTITY.ITEM;), (%AMOUNT.EXTENDED.T;)?,
(%AMOUNT.ITEM.T;)?, (%QUANTITY.BACKORDERD;)?, (%QUANTITY.OPEN;)?,
(%QUANTITY.ORDERED;)?, (%QUANTITY.SHIPPED;)?, (%QUANTITY.VOLUME;)?,
(%QUANTITY.WEIGHT;)?, ITEM, COUNTRYORG?, DISPOSITN?, EXPORTLIC?,
FRGHTCLS?, FRGHTITEM?, HAZRDMATL?, IMPORTLIC?, ITEMDESC?, ITEMRV?,
ITEMRVX?, ITEMX?, LOTLEVEL*, NOTES*, OWNRSHPCDE?, PACKING?, PARTIALSHP?,
SHIPNOTES?, SHIPPRIOR?, UPC?, USERAREA?, DOCUMNTREF*, INVDETAIL*,
CHARGE*)
>
<!ELEMENT INVDETAIL ((%QUANTITY.ITEM;)?, DESCRIPTN?, DISPOSITN?,
LOTLEVEL*, NOTES*, SERIALNUM?, USERAREA?)
>
<!ELEMENT SHIPUNIT ((%AMOUNT.DECLAREVAL;)?, (%AMOUNT.FREIGHT.T;)?,
(%AMOUNT.ITEM.T;)?, (%AMOUNT.TOTAL.T;)?, (%DATETIME.DELIVACT;)?,
(%DATETIME.DELIVSCHED;)?, (%DATETIME.LOADING;)?, (%DATETIME.SHIP;)?,
(%OPERAMT.FREIGHT.T;)?, (%QUANTITY.ESTWEIGHT;)?, (%QUANTITY.HEIGHT;)?,
(%QUANTITY.LENGTH;)?, (%QUANTITY.LOADINGWT;)?, (%QUANTITY.NETWEIGHT;)?,
(%QUANTITY.TOTWEIGHT;)?, (%QUANTITY.VOLUME;)?, (%QUANTITY.WIDTH;)?,
(%TEMPRATURE.ACTUAL;)?, (%TEMPRATURE.DELIVERY;)?,
(%TEMPRATURE.LOADING;)?, CARRIER, SHIPPERID, TRACKINGID, CARRSRVLVL?,
CONTAINRID?, CONTNRSEAL?, CONTNRTYPE?, COUNTRYDST?, COUNTRYORG?,
DESCRIPTN?, EXPORTLIC?, FRGHTCLS?, FRGHTITEM?, FRGHTTERMS?, HAZRDMATL?,
IMPORTLIC?, LOADPOINT?, NOTES*, SHIPMATLID?, SHIPNOTES?, SHIPPOINT?,
SHIPSRVLVL?, SHPMTLDESC?, SHPUNITSEQ?, SHPUNITSTS?, SHPUNITTOT?,
SPECIALHND?, STAGEPOINT?, TRANSMETHD?, TRANSTERMS?, USERAREA?, PARTNER+,
ATTCHREF*, CHARGE*, CONTAINER*, DOCUMNTREF*, INVITEM*)
>
<!ELEMENT CONTAINER (CONTAINRID?, CONTNRSEAL?, CONTNRTYPE?, DESCRIPTN?,
13-12 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
a7 2
$Revision: 7.2.1 $
$Date: 31 October 2001 $
d11 1
a11 1
$Name: 161_show_shipment_005.dtd $
d22 1
a22 1
SHIPMENT ( PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF*,)
d59 1
a59 1
<!ELEMENT SHIPMENT ((%DATETIME.DOCUMENT;), (%AMOUNT.DECLAREVAL;)?,
(%AMOUNT.DOCUMENT.T;)?, (%AMOUNT.ESTFREIGHT;)?, (%AMOUNT.FREIGHT.T;)?,
(%AMOUNT.ITEM.T;)?, (%DATETIME.CREATION;)?, (%DATETIME.DELIVACT;)?,
(%DATETIME.DELIVSCHED;)?, (%DATETIME.EARLSTSHIP;)?,
(%DATETIME.LOADING;)?, (%DATETIME.NEEDDELV;)?, (%DATETIME.PROMDELV;)?,
(%DATETIME.PROMSHIP;)?, (%DATETIME.SHIP;)?, (%DATETIME.SHIPSCHED;)?,
(%OPERAMT.FREIGHT.T;)?, (%QUANTITY.ESTWEIGHT;)?,
(%QUANTITY.LOADINGWT;)?, (%QUANTITY.NETWEIGHT;)?,
(%QUANTITY.SHIPUNIT;)?, (%QUANTITY.TOTWEIGHT;)?, (%QUANTITY.VOLUME;)?,
(%TEMPRATURE.ACTUAL;)?, (%TEMPRATURE.DELIVERY;)?,
(%TEMPRATURE.LOADING;)?, DOCUMENTID, SHIPPERID, SYNCID, CARRIER?,
CARRSRVLVL?, COUNTRYDST?, COUNTRYORG?, DESCRIPTN?, DISTCENTER?, DOCKID?,
DOCTYPE?, DOCUMENTRV?, DROPSHIP?, EXPORTLIC?, FRGHTCLS?, FRGHTTERMS?,
HAZRDMATL?, HDRSTATUS?, IMPORTLIC?, LOADPOINT?, NOTES*, PARTIALSHP?,
PRIORITY?, ROUTEID?, SHIPNOTES?, SHIPPOINT?, SHIPPRIOR?, SHIPSRVLVL?,
SPECIALHND?, STAGEPOINT?, TRANSMETHD?, TRANSTERMS?, WAREHOUSE?,
USERAREA?, PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF*)
@
13-14 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
"C" = Change
13-16 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-18 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_NEW_DELIVE
RIES.WEIGHT_UOM
_CODE
13-20 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
ORACLE.SHIPMENT HZ_CUST_ACCOUN
_DIRECTION TS.ACCOUNT_NUM
BER based on the
ORACLE.OPERATO WSH_NEW_DELIVE
R RIES.customer_id
ORACLE.DESCRIPTI WSH_NEW_DELIVE
VE_FLEXFIELDS RIES.WAYBILL
LOCATION FROM
HZ_CUST_SITE_USE
13-22 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_NEW_DELIVE
RIES.WV_FROZEN_F
LAGWSH_NEW_DE
LIVERIES.SHIPMEN
T_DIRECTIONWSH_
TRIPS.OPERATOR
WSH_NEW_DELIVE
RY descriptive flex
fields
If this partner
segment is the Ship
from segment, get the
HZ_PARTIES.NAME
for the
WSH_NEW_DELIVE
RIES.ORGANIZATIO
N_ID
If this partner
segment is the
Customer segment,
get the
HZ_PARTIES.NAME
for the
WSH_NEW_DELIVE
RIES.CUSTOMER_ID
If this partner
segment is the
Supplier segment, get
the
HZ_PARTIES.NAME
for the
WSH_NEW_DELIVE
RIES.ORGANIZATIO
N_ID
13-24 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-26 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-28 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-30 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-32 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-34 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
ORACLE.SUBINVEN WSH_DELIVERY_DE
TORY TAILS descriptive
flexfields
ORACLE.TOP_MOD
EL_LINE_NUMBER WSH_DELIVERY_DE
TAILS.SHIP_SET_ID
ORACLE.SHIP_MOD
EL_COMPLETE_FLA WSH_DELIVERY_DE
G TAILS.SUBINVENTO
RY
ORACLE.COMMODI
TY_CODE_CATEGO WSH_DELIVERY_DE
RY TAILS.TOP_MODEL
_LINE_ID
ORACLE.SHIPMENT
_PRIORITY_CODE WSH_DELIVERY_DE
TAILS.SHIP_MODEL
ORACLE.DELIVER_ _COMPLETE_FLAG
TO_LOCATION
WSH_DELIVERY_DE
ORACLE.CUSTOME TAILS.COMMODITY
R_NAME _CODE_CAT_ID
converted to code
ORACLE.CUSTOME
R_NUMBER WSH_DELIVERY_DE
TAILS.SHIPMENT_P
ORACLE.TXN_SRC_ RIORITY_CODE
LINE_NUMBERQUA converted to "01", "02"
DATETIME
(ORACLE.LATESTPI
CK)
SHIPITEM.USERARE
A (continued)
DATETIME
(ORACLE.EARLSTD
ROP)
DATETIME
(ORACLE.LATESTD
ROP)
DATETIME
(ORACLE.SCHEDUL
ED)
DATETIME
(ORACLE.REQUEST
ED)CONTACT
Segment
13-36 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_FREIGHT_COS
TS.CURRENCY_COD
E
13-38 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-40 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_DE
TAILS.WEIGHT_UO
M_CODE for delivery
lines = container item
13-42 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_DE
TAILS.VOLUME_UO
M_CODE for delivery
lines = container item
13-44 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
(To be called as
DELIVERY_DETAIL_
NUMBER)
WSH_DELIVERY_DE
TAILS.PACKING_IN
STRUCTIONS
WSH_DELIVERY_DE
TAILS.DESCRIPTIVE
_FLEXFIELDS
WSH_DELIVERY_DE
TAILS.LOT_NUMBE
R
WSH_DELIVERY_DE
TAILS.SUBLOT_NU
MBER
WSH_DELIVERY_DE
TAILS.REVISION
WSH_DELIVERY_DE
TAILS.SERIAL
NUMBER
WSH_DELIVERY_DE
TAILS.TO_SERIAL
NUMBER
13-46 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_AS
SIGNMENTS.PAREN
T_DELIVERY_DETAI
L_ID
(To be called as
PARENT_DELIVERY
_DETAIL_NUMBER)
HEIGHT – From
mtl_system_items
LENGTH - From
mtl_system_items
WEIGHT-
WSH_DELIVERY_DE
TAILS.
GROSS_WEIGHT
WSH_DELIVERY_DE
TAILS.
NET_WEIGHT
VOLUME –
WSH_DELIVERY_DE
TAILS. VOLUME
WIDTH- From
mtl_system_items
LOT-
WSH_DELIVERY_DE
TAILS.
LOT_NUMBER
SUBLOT-WSH_DELI
VERY_DETAILS.
SUBLOT_NUMBER
WSH_DELIVERY_DE
TAILS. REVISION
WSH_DELIVERY_DE
TAILS. SERIAL
NUMBER
WSH_DELIVERY_DE
TAILS. TO_SERIAL
NUMBER
13-48 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
CONTAINER.USERA WSH_DELIVERY_DE
REA (continued) TAILS.
SHIP_FROM_LOCAT
ION_ID converted to
code
(To be called as
SHIP_FROM_LOCAT
ION LOCATION)
WSH_DELIVERY_DE
TAILS.
DELIVER_TO_LOCA
TION_ID
(To be called as
DELIVER_TO_LOCA
TION)
WSH_DELIVERY_DE
TAILS.
TRACKING_NUMBE
R
WSH_DELIVERY_DE
TAILS.
COUNTRY_OF_ORI
GIN
WSH_TRIP_STOPS.A
CTUAL_
ARRIVAL_DATE
WSH_DELIVERY_DE
TAILS.
DATE_SCHEDULED
WSH_TRIP_STOPS.A
CTUAL_
DEPARTURE_DATE
WSH_DELIVERY_DE
TAILS.
SHIP_METHOD_CO
DE
WSH_DELIVERY_DE
TAILS.
FREIGHT_CLASS_C
AT_ID converted to
external value
(To be called as
FREIGHT_CLASS_C
ATEGORY)
WSH_DELIVERY_DE
TAILS.
FREIGHT_TERMS_C
ODE converted to
external value
WSH_DELIVERY_DE
TAILS.
HAZARD_CLASS_ID
converted to external
value
(To be called as
HAZARD_CLASS or
as
HAZARD_CLASS_C
ODE)
CONTAINER.USERA WSH_DELIVERY_DE
REA (continued) TAILS. FOB_CODE
WSH_DELIVERY_DE
TAILS.
SHIPPING_INSTRUC
TIONS
WSH_DELIVERY_DE
TAILS.
PACKING_INSTRUC
TIONS
WSH_DELIVERY_DE
TAILS. Descriptive
Flexfields
13-50 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
Represents additional
freight or
transportation
charges associated
with the shipment
WSH_FREIGHT_COS
TS.CURRENCY_COD
E
13-52 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_FREIGHT_COS
TS.CURRENCY_COD
E
The following represents the SHOW_SHIPMENT REQUEST XML data for carrier
manifesting in Oracle Shipping Execution.
13-54 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no'?>
<! - Oracle eXtensible Markup Language Gateway Server - >
<!DOCTYPE SHOW_SHIPMENT_005 SYSTEM "161_show_shipment_005.dtd">
<SHOW_SHIPMENT_005>
<CNTROLAREA>
<BSR>
<VERB value="SHOW">SHOW</VERB>
<NOUN value="SHIPMENT">SHIPMENT</NOUN>
<REVISION value="005">005</REVISION>
</BSR>
<SENDER>
<LOGICALID>ORACLE</LOGICALID>
<COMPONENT>WSH</COMPONENT>
<TASK>SSNO</TASK>
<REFERENCEID>P11510C2.US.ORACLE.COM:oracle.apps.wsh.sup.ssro:TPW346</REF
ERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>09</HOUR>
<MINUTE>44</MINUTE>
<SECOND>41</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SHOW_SHIPMENT>
<SHIPMENT>
<DATETIME qualifier="DOCUMENT">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>09</HOUR>
<MINUTE>44</MINUTE>
<SECOND>41</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<AMOUNT qualifier="DECLAREVAL">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="DOCUMENT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ESTFREIGHT">
13-56 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="NEEDDELV">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>23</HOUR>
<MINUTE>59</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<DATETIME qualifier="PROMDELV">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="PROMSHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="SHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="SHIPSCHED">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>23</HOUR>
<MINUTE>59</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<OPERAMT qualifier="FREIGHT" type="T">
<VALUE/>
13-58 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<CARRIER/>
<CARRSRVLVL/>
<COUNTRYDST>US</COUNTRYDST>
<COUNTRYORG/>
<DESCRIPTN/>
<DISTCENTER/>
<DOCKID/>
<DOCTYPE>SR</DOCTYPE>
<DOCUMENTRV/>
<DROPSHIP/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTTERMS/>
<HAZRDMATL/>
<HDRSTATUS/>
<IMPORTLIC/>
<LOADPOINT/>
<NOTES index="1"/>
<PARTIALSHP/>
<PRIORITY/>
<ROUTEID/>
<SHIPNOTES/>
<SHIPPOINT>Chattanooga (OPS)</SHIPPOINT>
<SHIPPRIOR/>
<SHIPSRVLVL/>
<SPECIALHND/>
<STAGEPOINT/>
<TRANSMETHD/>
<TRANSTERMS/>
<WAREHOUSE>V1</WAREHOUSE>
<USERAREA/>
<PARTNER>
<NAME index="1">Phoenix Manufacturing</NAME>
<ONETIME/>
<PARTNRID>V1- New York City</PARTNRID>
<PARTNRTYPE>ShipFrom</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER>0</DUNSNUMBER>
<GLENTITYS/>
<NAME index="2"/>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1">3200 East Camelback</ADDRLINE>
<ADDRLINE index="2">Suite 255</ADDRLINE>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRTYPE/>
<CITY>Phoenix</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY/>
13-60 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1">301 Summit Hill Drive</ADDRLINE>
<ADDRLINE index="2"/>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRTYPE/>
<CITY>Chattanooga</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY>Hamilton</COUNTY>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE>37401</POSTALCODE>
<REGION/>
<STATEPROVN>TN</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1">615-522-3600</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<CONTACT>
<NAME index="1">Gerry Brown</NAME>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<NAME index="1"/>
<TELEPHONE index="1">+1 (703) 8441212</TELEPHONE>
<USERAREA/>
13-62 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<DISPOSITN/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<IMPORTLIC/>
<ITEMDESC>Sentinel Standard Desktop</ITEMDESC>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE>Destination</OWNRSHPCDE>
<PACKING/>
<PARTIALSHP>0</PARTIALSHP>
<SHIPNOTES/>
<SHIPPRIOR/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN>Sentinel Standard Desktop</DESCRIPTN>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<NOTES index="1"/>
<SERIALNUM/>
<USERAREA/>
</INVDETAIL>
</SHIPITEM>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
13-64 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SHIPNOTES/>
<SHIPPRIOR/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN>Sentinel Standard Desktop</DESCRIPTN>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<NOTES index="1"/>
<SERIALNUM/>
<USERAREA/>
</INVDETAIL>
</SHIPITEM>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="BACKORDERD">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="OPEN">
13-66 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN>Sentinel Standard Desktop</DESCRIPTN>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<NOTES index="1"/>
<SERIALNUM/>
<USERAREA/>
</INVDETAIL>
</SHIPITEM>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="BACKORDERD">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="OPEN">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="ORDERED">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPPED">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
13-68 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<USERAREA/>
</INVDETAIL>
</SHIPITEM>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="BACKORDERD">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="OPEN">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="ORDERED">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPPED">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>2</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE>30</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<ITEM>AS54888</ITEM>
13-70 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</INVDETAIL>
</SHIPITEM>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="BACKORDERD">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="OPEN">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="ORDERED">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPPED">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>2</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE>30</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<ITEM>AS54888</ITEM>
<COUNTRYORG/>
13-72 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<DOCUMNTREF>
<DOCTYPE>SR</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>V1</PARTNRID>
<PARTNRTYPE>ShipFrom</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
</SHIPMENT>
</SHOW_SHIPMENT>
</DATAAREA>
</SHOW_SHIPMENT_005>
<REFERENCEID>HM000A:oracle.apps.wsh.sup.ssro:CMS437</REFERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>15</HOUR>
<MINUTE>18</MINUTE>
<SECOND>41</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SHOW_SHIPMENT>
<SHIPMENT>
<DATETIME qualifier="DOCUMENT">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>15</HOUR>
<MINUTE>18</MINUTE>
<SECOND>40</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<AMOUNT qualifier="DECLAREVAL">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="DOCUMENT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ESTFREIGHT">
<VALUE/>
13-74 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="FREIGHT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<DATETIME qualifier="CREATION">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>14</HOUR>
<MINUTE>54</MINUTE>
<SECOND>57</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<DATETIME qualifier="DELIVACT">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="DELIVSCHED">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>14</HOUR>
<MINUTE>10</MINUTE>
<SECOND>17</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<DATETIME qualifier="EARLSTSHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="LOADING">
<YEAR/>
13-76 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SIGN/>
<CURRENCY/>
<UOMVALUE/>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<QUANTITY qualifier="ESTWEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="LOADINGWT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="NETWEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="SHIPUNIT">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="TOTWEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<TEMPRATURE qualifier="ACTUAL" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
</TEMPRATURE>
<TEMPRATURE qualifier="DELIVERY" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
</TEMPRATURE>
<TEMPRATURE qualifier="LOADING" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
</TEMPRATURE>
<DOCUMENTID>367-I</DOCUMENTID>
<SHIPPERID>M3- Dallas</SHIPPERID>
<SYNCID>A</SYNCID>
<CARRIER>WSH-DHL</CARRIER>
13-78 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE>75039</POSTALCODE>
<REGION/>
<STATEPROVN/>
<TAXJRSDCTN/>
<TELEPHONE index="1">972-868-4457</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<NAME index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1">Computer Service and Rentals</NAME>
<ONETIME/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="2"/>
<PARENTID/>
<PARTNRIDX/>
13-80 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</CONTACT>
</PARTNER>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<CHARGE>
<OPERAMT qualifier="EXTENDED" type="T">
<VALUE>75</VALUE>
<NUMOFDEC>1</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<UOMVALUE>D</UOMVALUE>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<CHARGEID>Handling</CHARGEID>
<CHARGETYPE>Handling</CHARGETYPE>
<CHGLINENUM/>
<DESCRIPTN/>
<USERAREA/>
<DISTRIBUTN>
<OPERAMT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<UOMVALUE/>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<BUSNAREA/>
<COSTCENTER/>
<DEPARTMENT/>
<DIVISION/>
<ELEMENT index="1"/>
<FUND/>
<GEOGRAPHY/>
<GLENTITYS/>
13-82 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<DATETIME qualifier="DELIVSCHED">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="LOADING">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="SHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<OPERAMT qualifier="FREIGHT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<UOMVALUE/>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<QUANTITY qualifier="ESTWEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="HEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="LENGTH">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="LOADINGWT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
13-84 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SHIPPOINT>Chattanooga (OPS)</SHIPPOINT>
<SHIPSRVLVL>1DM</SHIPSRVLVL>
<SHPMTLDESC>A1 Domestic Airline Container</SHPMTLDESC>
<SHPUNITSEQ/>
<SHPUNITSTS/>
<SHPUNITTOT/>
<SPECIALHND/>
<STAGEPOINT/>
<TRANSMETHD>PARCEL</TRANSMETHD>
<TRANSTERMS>Destination</TRANSTERMS>
<USERAREA/>
<PARTNER>
<NAME index="1">Computer Service and Rentals</NAME>
<ONETIME/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1"/>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1">301 Summit Hill Drive</ADDRLINE>
<ADDRTYPE/>
<CITY>Chattanooga</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY/>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE>37401</POSTALCODE>
<REGION/>
<STATEPROVN>TN</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1">615-522-3600</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
13-86 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<USERAREA/>
</DOCUMNTREF>
<INVITEM>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="VOLUME">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<ITEM/>
<COUNTRYORG/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<ITEMDESC/>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE/>
<SHIPNOTES/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE/>
<DOCUMENTID/>
<PARTNRID/>
<PARTNRTYPE/>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
The following business events are used for Third Party Warehouse XML transactions:
• oracle.apps.wsh.sup.ssro: Business event to send the Shipment Request Outbound
13-88 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
• oracle.apps.wsh.tpw.ssao: Business event to send the Shipment Advice Outbound
• Customer
• Ship To Address
• Ship To Contact
• Weight
13-90 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
1. Log into the Oracle applications using the XML Gateway responsibility.
3. Select Internal from the list of values in the Trading Partner Type field.
4. Select the warehouse name using the list of values in the Trading Partner Name
field.
5. Select the warehouse address using the list of values in the Trading Partner Site
field.
7. In the Trading Partner Details region, use the list of values in the Transaction Type
field to choose WSH with the Transaction Sub Type of SSNO.
11. Use the list of values in the Transaction Type field to choose WSH with the External
Transaction Type of SHIPMENT and the Direction OUT.
12. Use the list of values to select WSH_SSNO_OAG721_OUT in the Map field.
13. In the Connection/Hub field, select Direct or select a hub through which to
communicate with your third party warehouse.
If you choose to connect to your third party warehouse using Direct, the XML
Gateway will require that you provide information in the following fields:
• Protocol Type
• Username
• Password
• Protocol Address
If you choose to connect to your third party warehouse using a hub, Oracle XML
Gateway will require that you select a Username from the list of values only. The
16. Use the list of values in the Transaction Type field to choose ECX with the External
Transaction Type of BOD, Transaction Subtype as CONFIRM and the Direction
OUT.
18. In the Connection/Hub field, select Direct or select a hub through which to
communicate with your third party warehouse.
If you choose to connect to your third party warehouse using Direct, Oracle XML
Gateway will require that you provide information in the following fields:
• Protocol Type
• Username
• Password
• Protocol Address
If you choose to connect to your third party warehouse using a hub, Oracle XML
Gateway will require that you select a Username from the list of values only. The
rest of the information will default based on the information entered during the
creation of the hub.
See: Oracle XML Gateway User's Guide for detailed information on defining a hub.
The Connection/Hub field is only required when the direction of the XML is OUT.
13-92 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
21. Click Code Conversion to define new code conversions.
22. See: Oracle XML Gateway User's Guide for detailed information on defining code
conversions.
3. Select Internal from the list of values in the Trading Partner Type field.
4. Select the organization's location using the list of values in the Trading Partner
Name field.
5. Select the organization's location address using the list of values in the Trading
Partner Site field.
7. In the Trading Partner Details region, use the list of values in the Transaction Type
field to choose FTE with the Transaction Sub Type of SSNI.
11. Use the list of values in the Transaction Type field to choose FTE with the
Transaction Sub Type of SSNO.
12. Use the list of values to select WSH_SSNO_OAG721_OUT in the Map field.
13. Within the Connection/Hub field, select Direct or select a hub through which to
communicate with your carrier.
If you choose to connect to your organization using Direct, Oracle XML Gateway
will require that you provide information in the following fields:
• Username
• Password
• Protocol Address
If you choose to connect to your organization using a hub, Oracle XML Gateway
will require that you select only a Username from the list of values. The rest of the
information will default based on the information entered during the creation of the
hub.
See: Oracle XML Gateway User's Guide for detailed information on defining a hub.
The Connection/Hub field is only required when the direction of the XML is OUT.
17. Use the list of values in the Transaction Type field to choose ECX with the External
Transaction Type of BOD, Transaction Subtype as CONFIRM, and the Direction IN.
19. Within the Connection/Hub field, select Direct or select a hub through which to
communicate with your third party warehouse.
If you choose to connect to your organization using Direct, Oracle XML Gateway
will require that you provide information in the following fields:
• Protocol Type
• Username
• Password
• Protocol Address
If you choose to connect to your organization using a hub, Oracle XML Gateway
will require that you select only a Username from the list of values. The rest of the
13-94 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
information will default based on the information entered during the creation of the
hub.
See: Oracle XML Gateway User's Guide for detailed information on defining a hub.
The Connection/Hub field is only required when the direction of the XML is OUT.
See: Oracle XML Gateway User's Guide for detailed information on defining code
conversions.
13-96 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
IMPORTLIC?, LOADPOINT?, NOTES*, SHIPMATLID?, SHIPNOTES?, SHIPPOINT?,
SHIPSRVLVL?, SHPMTLDESC?, SHPUNITSEQ?, SHPUNITSTS?, SHPUNITTOT?,
SPECIALHND?, STAGEPOINT?, TRANSMETHD?, TRANSTERMS?, USERAREA?, PARTNER+,
ATTCHREF*, CHARGE*, CONTAINER*, DOCUMNTREF*, INVITEM*)
>
<!ELEMENT CONTAINER (CONTAINRID?, CONTNRSEAL?, CONTNRTYPE?, DESCRIPTN?,
NOTES*, PACKING?, PACKNGDESC?, PARCNTNRID?, SHIPMATLID?, SHPMTLDESC?,
USERAREA?, DOCUMNTREF*, INVITEM*, CHARGE*)
>
<!ELEMENT INVITEM ((%QUANTITY.ITEM;), (%AMOUNT.EXTENDED.T;)?,
(%AMOUNT.ITEM.T;)?, (%QUANTITY.VOLUME;)?, (%QUANTITY.WEIGHT;)?, ITEM,
COUNTRYORG?, FRGHTCLS?, FRGHTITEM?, HAZRDMATL?, ITEMDESC?, ITEMRV?,
ITEMRVX?, ITEMX?, LOTLEVEL*, NOTES*, OWNRSHPCDE?, SHIPNOTES?, UPC?,
USERAREA?, DOCUMNTREF*, INVDETAIL*)
>
@
115.1.11510.1
log
@'mkbranch'
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.1 2002/03/28 22:47:30
rvishnuv ship $ - >
d6 2
a7 2
$Revision: 115.1 $
$Date: 2002/03/28 22:47:30 $
@
115.1.1159.1
log
@mkbranch
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.1 2002/03/28 22:47:30
rvishnuv ship $ - >
d6 2
a7 2
$Revision: 115.1 $
$Date: 2002/03/28 22:47:30 $
@
115.1.1158.1
log
@mkbranch
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.1 2002/03/28 22:47:30
rvishnuv ship $ - >
d6 2
a7 2
115.0
log
@initial version
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.0 2002/02/15 05:27:39
rvishnuv noship $ - >
d6 2
a7 2
$Revision: 7.2.1 $
$Date: 31 October 2001 $
d11 1
a11 1
$Name: 161_show_shipment_005.dtd $
d22 1
a22 1
SHIPMENT ( PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF*,)
d59 1
a59 1
<!ELEMENT SHIPMENT ((%DATETIME.DOCUMENT;), (%AMOUNT.DECLAREVAL;)?,
(%AMOUNT.DOCUMENT.T;)?, (%AMOUNT.ESTFREIGHT;)?, (%AMOUNT.FREIGHT.T;)?,
(%AMOUNT.ITEM.T;)?, (%DATETIME.CREATION;)?, (%DATETIME.DELIVACT;)?,
(%DATETIME.DELIVSCHED;)?, (%DATETIME.EARLSTSHIP;)?,
(%DATETIME.LOADING;)?, (%DATETIME.NEEDDELV;)?, (%DATETIME.PROMDELV;)?,
(%DATETIME.PROMSHIP;)?, (%DATETIME.SHIP;)?, (%DATETIME.SHIPSCHED;)?,
(%OPERAMT.FREIGHT.T;)?, (%QUANTITY.ESTWEIGHT;)?,
(%QUANTITY.LOADINGWT;)?, (%QUANTITY.NETWEIGHT;)?,
(%QUANTITY.SHIPUNIT;)?, (%QUANTITY.TOTWEIGHT;)?, (%QUANTITY.VOLUME;)?,
(%TEMPRATURE.ACTUAL;)?, (%TEMPRATURE.DELIVERY;)?,
(%TEMPRATURE.LOADING;)?, DOCUMENTID, SHIPPERID, SYNCID, CARRIER?,
CARRSRVLVL?, COUNTRYDST?, COUNTRYORG?, DESCRIPTN?, DISTCENTER?, DOCKID?,
DOCTYPE?, DOCUMENTRV?, DROPSHIP?, EXPORTLIC?, FRGHTCLS?, FRGHTTERMS?,
HAZRDMATL?, HDRSTATUS?, IMPORTLIC?, LOADPOINT?, NOTES*, PARTIALSHP?,
PRIORITY?, ROUTEID?, SHIPNOTES?, SHIPPOINT?, SHIPPRIOR?, SHIPSRVLVL?,
SPECIALHND?, STAGEPOINT?, TRANSMETHD?, TRANSTERMS?, WAREHOUSE?,
USERAREA?, PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF*)
@
13-98 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Third Party Warehousing XML Field Information
13-100 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
"C" = Change
13-102 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_NEW_DELIVE
RIES.WEIGHT_UOM
_CODE
13-104 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_NEW_DELIVE
RIES.WEIGHT_UOM
_CODE
WSH_NEW_DELIVE
RIES.VOLUME_UOM
_CODE
13-106 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
ORACLE.MANUAL_
WV
ORACLE.SHIPMENT
_DIRECTION
ORACLE.OPERATO
R
ORACLE.DESCRIPTI
VE_FLEXFIELDS
- If this partner
segment is the Ship
from segment, get the
HZ_PARTIES.NAME
for the
WSH_NEW_DELIVE
RIES.ORGANIZATIO
N_ID
- If this partner
segment is the
Customer segment,
get the
HZ_PARTIES.NAME
for the
WSH_NEW_DELIVE
RIES.CUSTOMER_ID
- If this partner
segment is the
Supplier segment, get
the
HZ_PARTIES.NAME
for the
WSH_NEW_DELIVE
RIES.ORGANIZATIO
N_ID
13-108 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
2) "BillTo" - The
customer location the
bill goes to.
3) "SoldTo" - The
customer who is
responsible for
ordering the goods or
services.
4) "Supplier" - The
partner who is
responsible for
providing the goods
or services.
6) "ShipFrom" - The
shipping location of
the partner who is
responsible for
providing the goods
or services. Ship from
can be at multiple
organizational levels
13-110 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_
NEW_DELIVERIES.P
OOLED_SHIP_TO_L
OCATION_ID
13-112 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-114 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-116 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
Derive Item_Number
from
MTL_SYSTEM_ITEM
S
13-118 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-120 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
ORACLE.SUBINVEN WSH_DELIVERY_DE
TORY TAILS descriptive
flexfields
ORACLE.TOP_MOD
EL_LINE_NUMBER WSH_DELIVERY_DE
TAILS.SHIP_SET_ID
ORACLE.SHIP_MOD
EL_COMPLETE_FLA WSH_DELIVERY_DE
G TAILS.SUBINVENTO
RY
ORACLE.COMMODI
TY_CODE_CATEGO WSH_DELIVERY_DE
RY TAILS.TOP_MODEL_
LINE_ID
ORACLE.SHIPMENT
_PRIORITY_CODE WSH_DELIVERY_DE
TAILS.SHIP_MODEL
ORACLE.DELIVER_ _COMPLETE_FLAG
TO_LOCATION
WSH_DELIVERY_DE
ORACLE.CUSTOME TAILS.COMMODITY
R_NAME _CODE_CAT_ID
converted to code
ORACLE.CUSTOME
R_NUMBER WSH_DELIVERY_DE
TAILS.SHIPMENT_P
ORACLE.TXN_SRC_ RIORITY_CODE
LINE_NUMBERQUA converted to "01", "02"
13-122 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
SHIPITEM.USERARE
A (continued)
DATETIME
(ORACLE.LATESTPI
CK)
DATETIME
(ORACLE.EARLSTD
ROP)
DATETIME
(ORACLE.LATESTD
ROP)
DATETIME
(ORACLE.SCHEDUL
ED)
DATETIME
(ORACLE.REQUEST
ED)
CONTACT Segment
WSH_FREIGHT_COS
TS.CURRENCY_COD
E
13-124 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_DE
TAILS.PREFERRED_
GRADE
13-126 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_FREIGHT_COS
TS.CURRENCY_COD
E
13-128 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
13-130 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_DE
TAILS.WEIGHT_UO
M_CODE for delivery
lines = container item
13-132 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_DE
TAILS.VOLUME_UO
M_CODE for delivery
lines = container item
13-134 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
(To be called as
DELIVERY_DETAIL_
NUMBER)
WSH_DELIVERY_DE
TAILS.PACKING_IN
STRUCTIONS
WSH_DELIVERY_DE
TAILS.DESCRIPTIVE
_FLEXFIELDS
WSH_DELIVERY_DE
TAILS.LOT_NUMBE
R
WSH_DELIVERY_DE
TAILS.SUBLOT_NU
MBER
WSH_DELIVERY_DE
TAILS.REVISION
WSH_DELIVERY_DE
TAILS.SERIAL
NUMBER
WSH_DELIVERY_DE
TAILS.TO_SERIAL
NUMBER
13-136 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
WSH_DELIVERY_AS
SIGNMENTS.PAREN
T_DELIVERY_DETAI
L_ID (To be called as
PARENT_DELIVERY
_DETAIL_NUMBER)
HEIGHT – From
mtl_system_items
LENGTH - From
mtl_system_items
WEIGHT-
WSH_DELIVERY_DE
TAILS.
GROSS_WEIGHTWS
H_DELIVERY_DETA
ILS. NET_WEIGHT
VOLUME –
WSH_DELIVERY_DE
TAILS.VOLUME
WIDTH- From
mtl_system_items
LOT-
WSH_DELIVERY_DE
TAILS.LOT_NUMBE
R
SUBLOT-WSH_DELI
VERY_DETAILS.SUB
LOT_NUMBER
WSH_DELIVERY_DE
TAILS. REVISION
CONTAINER.USERA WSH_DELIVERY_DE
REA (continued) TAILS.SERIAL
NUMBER
WSH_DELIVERY_DE
TAILS.TO_SERIAL
NUMBER
WSH_DELIVERY_DE
TAILS.SHIP_FROM_
LOCATION_ID
converted to code (To
be called as
SHIP_FROM_LOCAT
ION LOCATION)
WSH_DELIVERY_DE
TAILS.DELIVER_TO_
LOCATION_ID (To
be called as
DELIVER_TO_LOCA
TION)
WSH_DELIVERY_DE
TAILS.TRACKING_N
UMBER
WSH_DELIVERY_DE
TAILS.COUNTRY_O
F_ORIGIN
WSH_TRIP_STOPS.A
CTUAL_ARRIVAL_D
ATE
WSH_DELIVERY_DE
TAILS.DATE_SCHED
ULED
WSH_TRIP_STOPS.A
CTUAL_DEPARTUR
E_DATE
WSH_DELIVERY_DE
TAILS.SHIP_METHO
D_CODE
13-138 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
CONTAINER.USERA WSH_DELIVERY_DE
REA (continued) TAILS.FREIGHT_CL
ASS_CAT_ID
converted to external
value (To be called as
FREIGHT_CLASS_C
ATEGORY)
WSH_DELIVERY_DE
TAILS.FREIGHT_TER
MS_CODE converted
to external value
WSH_DELIVERY_DE
TAILS.HAZARD_CL
ASS_ID converted to
external value (To be
called as
HAZARD_CLASS or
as
HAZARD_CLASS_C
ODE)
WSH_DELIVERY_DE
TAILS.FOB_CODE
WSH_DELIVERY_DE
TAILS.SHIPPING_IN
STRUCTIONS
WSH_DELIVERY_DE
TAILS.PACKING_IN
STRUCTIONS
WSH_DELIVERY_DE
TAILS. Descriptive
Flexfields
13-140 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column
The following represents the SHOW_SHIPMENT REQUEST XML data for third party
warehousing in Oracle Shipping Execution.
<REFERENCEID>P11510C2.US.ORACLE.COM:oracle.apps.wsh.sup.ssro:TPW346</REF
ERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>09</HOUR>
<MINUTE>44</MINUTE>
<SECOND>41</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SHOW_SHIPMENT>
<SHIPMENT>
<DATETIME qualifier="DOCUMENT">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>09</HOUR>
<MINUTE>44</MINUTE>
<SECOND>41</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<AMOUNT qualifier="DECLAREVAL">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="DOCUMENT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ESTFREIGHT">
13-142 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="FREIGHT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<DATETIME qualifier="CREATION">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>09</HOUR>
<MINUTE>43</MINUTE>
<SECOND>57</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<DATETIME qualifier="DELIVACT">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="DELIVSCHED">
<YEAR>2005</YEAR>
<MONTH>04</MONTH>
<DAY>15</DAY>
<HOUR>23</HOUR>
<MINUTE>59</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<DATETIME qualifier="EARLSTSHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="LOADING">
13-144 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<UOMVALUE/>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<QUANTITY qualifier="ESTWEIGHT">
<VALUE>180</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="LOADINGWT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="NETWEIGHT">
<VALUE>180</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPUNIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="TOTWEIGHT">
<VALUE>180</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>12</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<TEMPRATURE qualifier="ACTUAL" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
</TEMPRATURE>
<TEMPRATURE qualifier="DELIVERY" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
</TEMPRATURE>
<TEMPRATURE qualifier="LOADING" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
</TEMPRATURE>
<DOCUMENTID>340</DOCUMENTID>
<SHIPPERID>V1- New York City</SHIPPERID>
<SYNCID>A</SYNCID>
13-146 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<DESCRIPTN/>
<FAX index="1">602-224-6250</FAX>
<POSTALCODE>85018</POSTALCODE>
<REGION/>
<STATEPROVN>AZ</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1">602-224-6200</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<NAME index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1">Computer Service and Rentals</NAME>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="2"/>
<PARENTID/>
<PARTNRIDX/>
13-148 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</CONTACT>
</PARTNER>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="BACKORDERD">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="OPEN">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="ORDERED">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPPED">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>2</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE>30</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<ITEM>AS54888</ITEM>
<COUNTRYORG/>
13-150 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</AMOUNT>
<AMOUNT qualifier="ITEM" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="BACKORDERD">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="OPEN">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="ORDERED">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPPED">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>2</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE>30</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<ITEM>AS54888</ITEM>
<COUNTRYORG/>
<DISPOSITN/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<IMPORTLIC/>
<ITEMDESC>Sentinel Standard Desktop</ITEMDESC>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE>Destination</OWNRSHPCDE>
<PACKING/>
<PARTIALSHP>0</PARTIALSHP>
13-152 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="ORDERED">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIPPED">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>2</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE>30</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<ITEM>AS54888</ITEM>
<COUNTRYORG/>
<DISPOSITN/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<IMPORTLIC/>
<ITEMDESC>Sentinel Standard Desktop</ITEMDESC>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE>Destination</OWNRSHPCDE>
<PACKING/>
<PARTIALSHP>0</PARTIALSHP>
<SHIPNOTES/>
<SHIPPRIOR/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
13-154 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<UOM/>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>2</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE>30</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<ITEM>AS54888</ITEM>
<COUNTRYORG/>
<DISPOSITN/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<IMPORTLIC/>
<ITEMDESC>Sentinel Standard Desktop</ITEMDESC>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE>Destination</OWNRSHPCDE>
<PACKING/>
<PARTIALSHP>0</PARTIALSHP>
<SHIPNOTES/>
<SHIPPRIOR/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN>Sentinel Standard Desktop</DESCRIPTN>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<NOTES index="1"/>
<SERIALNUM/>
13-156 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<COUNTRYORG/>
<DISPOSITN/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<IMPORTLIC/>
<ITEMDESC>Sentinel Standard Desktop</ITEMDESC>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE>Destination</OWNRSHPCDE>
<PACKING/>
<PARTIALSHP>0</PARTIALSHP>
<SHIPNOTES/>
<SHIPPRIOR/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN>Sentinel Standard Desktop</DESCRIPTN>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<NOTES index="1"/>
<SERIALNUM/>
<USERAREA/>
</INVDETAIL>
</SHIPITEM>
<SHIPITEM>
<QUANTITY qualifier="ITEM">
<VALUE>1</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM>Ea</UOM>
</QUANTITY>
<AMOUNT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
13-158 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<PARTIALSHP>0</PARTIALSHP>
<SHIPNOTES/>
<SHIPPRIOR/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN>Sentinel Standard Desktop</DESCRIPTN>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<NOTES index="1"/>
<SERIALNUM/>
<USERAREA/>
</INVDETAIL>
</SHIPITEM>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<DOCUMNTREF>
13-160 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no'?>
<! - Oracle eXtensible Markup Language Gateway Server - >
<!DOCTYPE SHOW_SHIPMENT_005 SYSTEM "161_show_shipment_005.dtd">
<SHOW_SHIPMENT_005>
<CNTROLAREA>
<BSR>
<VERB value="SHOW">SHOW</VERB>
<NOUN value="SHIPMENT">SHIPMENT</NOUN>
<REVISION value="005">005</REVISION>
</BSR>
<SENDER>
<LOGICALID/>
<COMPONENT>WSH</COMPONENT>
<TASK>SSNO</TASK>
<REFERENCEID>HM000A:oracle.apps.wsh.sup.ssro:CMS437</REFERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>15</HOUR>
<MINUTE>18</MINUTE>
<SECOND>41</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<SHOW_SHIPMENT>
<SHIPMENT>
<DATETIME qualifier="DOCUMENT">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>15</HOUR>
<MINUTE>18</MINUTE>
<SECOND>40</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<AMOUNT qualifier="DECLAREVAL">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="DOCUMENT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<AMOUNT qualifier="ESTFREIGHT">
<VALUE/>
13-162 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="NEEDDELV">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>14</HOUR>
<MINUTE>10</MINUTE>
<SECOND>17</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<DATETIME qualifier="PROMDELV">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="PROMSHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="SHIP">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="SHIPSCHED">
<YEAR>2003</YEAR>
<MONTH>01</MONTH>
<DAY>15</DAY>
<HOUR>14</HOUR>
<MINUTE>10</MINUTE>
<SECOND>17</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+0000</TIMEZONE>
</DATETIME>
<OPERAMT qualifier="FREIGHT" type="T">
<VALUE/>
<NUMOFDEC/>
13-164 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<CARRSRVLVL>1DM</CARRSRVLVL>
<COUNTRYDST>US</COUNTRYDST>
<COUNTRYORG/>
<DESCRIPTN/>
<DISTCENTER/>
<DOCKID/>
<DOCTYPE>SA</DOCTYPE>
<DOCUMENTRV/>
<DROPSHIP/>
<EXPORTLIC/>
<FRGHTCLS/>
<FRGHTTERMS>Paid</FRGHTTERMS>
<HAZRDMATL/>
<HDRSTATUS/>
<IMPORTLIC/>
<LOADPOINT/>
<NOTES index="1"/>
<PARTIALSHP/>
<PRIORITY/>
<ROUTEID/>
<SHIPNOTES/>
<SHIPPOINT>Chattanooga (OPS)</SHIPPOINT>
<SHIPPRIOR/>
<SHIPSRVLVL>1DM</SHIPSRVLVL>
<SPECIALHND/>
<STAGEPOINT/>
<TRANSMETHD>PARCEL</TRANSMETHD>
<TRANSTERMS>Destination</TRANSTERMS>
<WAREHOUSE>M3</WAREHOUSE>
<USERAREA><ORACLE.SHOW_SHIPMENT_005.SHIPMENT.USERAREA><ORACLE.DELIVERY_N
AME>16401</ORACLE.DELIVERY_NAME><ORACLE.LOADING_SEQUENCE/><ORACLE.VEHICL
E_NUM_PREFIX/><ORACLE.VEHICLE_NUMBER/><ORACLE.ROUTE_ID/><ORACLE.ROUTING_
INSTRUCTIONS/><ORACLE.DEPARTURE_SEAL_CODE/><ORACLE.ORIG_DOCID>367</ORACL
E.ORIG_DOCID><ORACLE.CUSTOMER_NAME>Computer Service and
Rentals</ORACLE.CUSTOMER_NAME><ORACLE.CUSTOMER_NUMBER>1006</ORACLE.CUSTO
MER_NUMBER><ORACLE.WAYBILL/><ORACLE.INTMED_SHIP_TO_LOCATION/><ORACLE.DES
CRIPTIVE_FLEXFIELD><ORACLE.ATTRIBUTE_CATEGORY/><ORACLE.ATTRIBUTE1/><ORAC
LE.ATTRIBUTE2/><ORACLE.ATTRIBUTE3/><ORACLE.ATTRIBUTE4/><ORACLE.ATTRIBUTE
5/><ORACLE.ATTRIBUTE6/><ORACLE.ATTRIBUTE7/><ORACLE.ATTRIBUTE8/><ORACLE.A
TTRIBUTE9/><ORACLE.ATTRIBUTE10/><ORACLE.ATTRIBUTE11/><ORACLE.ATTRIBUTE12
/><ORA
CLE.ATTRIBUTE13/><ORACLE.ATTRIBUTE14/><ORACLE.ATTRIBUTE15/></ORACLE.DESC
RIPTIVE_FLEXFIELD></ORACLE.SHOW_SHIPMENT_005.SHIPMENT.USERAREA></USERARE
A>
<PARTNER>
<NAME index="1">Dallas Manufacturing</NAME>
<ONETIME/>
<PARTNRID>M3- Dallas</PARTNRID>
<PARTNRTYPE>ShipFrom</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER>0</DUNSNUMBER>
<GLENTITYS/>
<NAME index="2"/>
<PARENTID/>
<USERAREA><ORACLE.SHOW_SHIPMENT_005.SHIPMENT.PARTNER.USERAREA><ORACLE.IN
TMED_SHIP_TO_LOCATION/><ORACLE.POOLED_SHIP_TO_LOCATION/></ORACLE.SHOW_SH
IPMENT_005.SHIPMENT.PARTNER.USERAREA></USERAREA>
<ADDRESS>
<ADDRLINE index="1">222 West Las Colinas
Blvd</ADDRLINE>
<ADDRLINE index="2"/>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRTYPE/>
<CITY>Irving</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY/>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE>75039</POSTALCODE>
<REGION/>
<STATEPROVN/>
<TAXJRSDCTN/>
<TELEPHONE index="1">972-868-4457</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
13-166 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<EMAIL/>
<FAX index="1"/>
<NAME index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1">Computer Service and Rentals</NAME>
<ONETIME/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="2"/>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA><ORACLE.SHOW_SHIPMENT_005.SHIPMENT.PARTNER.USERAREA><ORACLE.IN
TMED_SHIP_TO_LOCATION/><ORACLE.POOLED_SHIP_TO_LOCATION/></ORACLE.SHOW_SH
IPMENT_005.SHIPMENT.PARTNER.USERAREA></USERAREA>
<ADDRESS>
<ADDRLINE index="1">301 Summit Hill Drive</ADDRLINE>
<ADDRLINE index="2"/>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRTYPE/>
<CITY>Chattanooga</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY>Hamilton</COUNTY>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE>37401</POSTALCODE>
<REGION/>
<STATEPROVN>TN</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1">615-522-3600</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
13-168 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</OPERAMT>
<CHARGEID>Handling</CHARGEID>
<CHARGETYPE>Handling</CHARGETYPE>
<CHGLINENUM/>
<DESCRIPTN/>
<USERAREA><ORACLE.SHOW_SHIPMENT_005.SHIPMENT.CHARGE.USERAREA><ORACLE.DES
CRIPTIVE_FLEXFIELD><ORACLE.ATTRIBUTE_CATEGORY/><ORACLE.ATTRIBUTE1/><ORAC
LE.ATTRIBUTE2/><ORACLE.ATTRIBUTE3/><ORACLE.ATTRIBUTE4/><ORACLE.ATTRIBUTE
5/><ORACLE.ATTRIBUTE6/><ORACLE.ATTRIBUTE7/><ORACLE.ATTRIBUTE8/><ORACLE.A
TTRIBUTE9/><ORACLE.ATTRIBUTE10/><ORACLE.ATTRIBUTE11/><ORACLE.ATTRIBUTE12
/><ORACLE.ATTRIBUTE13/><ORACLE.ATTRIBUTE14/><ORACLE.ATTRIBUTE15/></ORACL
E.DESCRIPTIVE_FLEXFIELD></ORACLE.SHOW_SHIPMENT_005.SHIPMENT.CHARGE.USERA
REA></USERAREA>
<DISTRIBUTN>
<OPERAMT qualifier="EXTENDED" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<UOMVALUE/>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<BUSNAREA/>
<COSTCENTER/>
<DEPARTMENT/>
<DIVISION/>
<ELEMENT index="1"/>
<FUND/>
<GEOGRAPHY/>
<GLENTITYS/>
<GLNOMACCT/>
<PROFITCTR/>
<PROJECT/>
<UNIT/>
<WAREHOUSE/>
<USERAREA/>
</DISTRIBUTN>
</CHARGE>
<DOCUMNTREF>
<DOCTYPE>SR</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>M3</PARTNRID>
<PARTNRTYPE>ShipFrom</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
</SHIPMENT>
<SHIPUNIT>
<AMOUNT qualifier="DECLAREVAL">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
13-170 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</DATETIME>
<OPERAMT qualifier="FREIGHT" type="T">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<UOMVALUE/>
<UOMNUMDEC/>
<UOM/>
</OPERAMT>
<QUANTITY qualifier="ESTWEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="HEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="LENGTH">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="LOADINGWT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="NETWEIGHT">
<VALUE>1</VALUE>
<NUMOFDEC>0</NUMOFDEC>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="TOTWEIGHT">
<VALUE>1001</VALUE>
<NUMOFDEC>0</NUMOFDEC>
<SIGN>+</SIGN>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
<VALUE>1</VALUE>
<NUMOFDEC>0</NUMOFDEC>
<SIGN>+</SIGN>
<UOM>FT3</UOM>
</QUANTITY>
<QUANTITY qualifier="WIDTH">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<TEMPRATURE qualifier="ACTUAL" type="FAHRENHEIT">
<VALUE/>
<NUMOFDEC/>
<USERAREA><ORACLE.SHOW_SHIPMENT_005.SHIPUNIT.USERAREA><ORACLE.DELIVERY_D
ETAIL_NUMBER>118081</ORACLE.DELIVERY_DETAIL_NUMBER><ORACLE.LOT_NUMBER/><
ORACLE.SUBLOT_NUMBER/><ORACLE.REVISION/><ORACLE.SERIAL_NUMBER/><ORACLE.T
O_SERIAL_NUMBER/><ORACLE.PACKING_INSTRUCTIONS/><ORACLE.DESCRIPTIVE_FLEXF
IELD><ORACLE.ATTRIBUTE_CATEGORY/><ORACLE.ATTRIBUTE1/><ORACLE.ATTRIBUTE2/
><ORACLE.ATTRIBUTE3/><ORACLE.ATTRIBUTE4/><ORACLE.ATTRIBUTE5/><ORACLE.ATT
RIBUTE6/><ORACLE.ATTRIBUTE7/><ORACLE.ATTRIBUTE8/><ORACLE.ATTRIBUTE9/><OR
ACLE.ATTRIBUTE10/><ORACLE.ATTRIBUTE11/><ORACLE.ATTRIBUTE12/><ORACLE.ATTR
IBUTE13/><ORACLE.ATTRIBUTE14/><ORACLE.ATTRIBUTE15/></ORACLE.DESCRIPTIVE_
FLEXFIELD></ORACLE.SHOW_SHIPMENT_005.SHIPUNIT.USERAREA></USERAREA>
<PARTNER>
<NAME index="1">Computer Service and Rentals</NAME>
<ONETIME/>
<PARTNRID>Chattanooga (OPS)</PARTNRID>
<PARTNRTYPE>ShipTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
13-172 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1"/>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1">301 Summit Hill Drive</ADDRLINE>
<ADDRTYPE/>
<CITY>Chattanooga</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY/>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE>37401</POSTALCODE>
<REGION/>
<STATEPROVN>TN</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1">615-522-3600</TELEPHONE>
<URL/>
<USERAREA/>
</ADDRESS>
<ATTCHREF>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<QUANTITY qualifier="FILESIZE">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<CMPRSNTYPE/>
<CMPRSNID/>
<DESCRIPTN/>
<FILETYPE/>
<NOTES index="1"/>
<TITLE/>
<FILENAME/>
<USERAREA/>
</ATTCHREF>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
13-174 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<QUANTITY qualifier="VOLUME">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="WEIGHT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<ITEM/>
<COUNTRYORG/>
<FRGHTCLS/>
<FRGHTITEM/>
<HAZRDMATL/>
<ITEMDESC/>
<ITEMRV/>
<ITEMRVX/>
<ITEMX/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<OWNRSHPCDE/>
<SHIPNOTES/>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE/>
<DOCUMENTID/>
<PARTNRID/>
<PARTNRTYPE/>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN/>
<DISPOSITN/>
<LOTLEVEL index="1"/>
<NOTES index="1"/>
<SERIALNUM/>
<USERAREA/>
</INVDETAIL>
</INVITEM>
</SHIPUNIT>
</SHOW_SHIPMENT>
• Item description
• Hazard classification
• Unit of measure
13-176 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
PartySynchronization Request Transaction for ITM
Party Synchronization Request is a modified version of the Open Applications Group
(OAG) document type definition (DTD). This DTD is used to send export screening data
elements from Oracle Shipping execution to a third party international trade
management system. The ITM system does not send a response to the
PartySyncronization Request.
This transaction contains information such as:
• Customer number
• Supplier number
• Operating unit
• Order type
• Customer PO number
• Item type
• Customer
• Ship to address
• Ship to contact
• Weight
• Carrier
• Service level
• Customer
• Ship to address
• Ship to contact
• Weight
• Carrier
• Service level
13-178 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Overview of XML and DTD for ITM
The following contains the DTD and a sample XML used for each of the international
trade management XML transactions in Oracle Shipping Execution . Also, a table is
detailed for each ITM XML transaction, which displays all required element/attributes,
a description of each element, and the Oracle table and column for each
element/attribute, where applicable.
ITM DTDs
The following is the Item Synchronization Request DTD used for ITM in Oracle
Shipping Execution.
13-180 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
>
<!ATTLIST ORACLE.PARAMETER
NAME CDATA #IMPLIED
VALUE CDATA #REQUIRED
> d
The following is the Party Synchronization Request DTD used for ITM in Oracle
Shipping Execution.
sync_customerdt
<! - $Revision: 7.2.1 $
$Date: 31 October 2001 $
Open Applications Group DTD
Copyright 1998-2001, All Rights Reserved
$Name: 007_sync_customer_005.dtd $
Structure Overview
SYNC_CUSTOMER (PARTNER)
PARTNER ()
Notes:
- >
<! - ==================================================== - >
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
%RESOURCES;
<! - ==================================================== - >
<!ELEMENT SYNC_CUSTOMER_005 (CNTROLAREA, DATAAREA+)>
<!ATTLIST VERB
value CDATA #FIXED "SYNC"
>
<!ATTLIST NOUN
value CDATA #FIXED "CUSTOMER"
>
<!ATTLIST REVISION
value CDATA #FIXED "005"
>
<!ELEMENT DATAAREA (SYNC_CUSTOMER)>
<!ELEMENT SYNC_CUSTOMER (PARTNER)>
The following is the Order Compliance Request DTD used for ITM in Oracle Shipping
Execution.
13-182 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
address3?, address4?, address5?,city?,
state_or_province?, country, postal_code?, contact_name?, email?,
phone?, fax?,
web?, addl_info?)>
<!ELEMENT party_id (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT address1 (#PCDATA)>
<!ELEMENT address2 (#PCDATA)>
<!ELEMENT address3 (#PCDATA)>
<!ELEMENT address4 (#PCDATA)>
<!ELEMENT address5 (#PCDATA)>
<!ELEMENT city (#PCDATA)>
<!ELEMENT state_or_province (#PCDATA)>
<!ELEMENT country (#PCDATA)>
<!ELEMENT postal_code (#PCDATA)>
<!ELEMENT contact_name (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT phone (#PCDATA)>
<!ELEMENT fax (#PCDATA)>
<!ELEMENT web (#PCDATA)>
The following is the Delivery Compliance Request DTD used for ITM in Oracle
Shipping Execution.
13-184 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<!ELEMENT INVITEM ((%QUANTITY.ITEM;), (%AMOUNT.EXTENDED.T;)?,
(%AMOUNT.ITEM.T;)?, (%QUANTITY.VOLUME;)?, (%QUANTITY.WEIGHT;)?, ITEM,
COUNTRYORG?, FRGHTCLS?, FRGHTITEM?, HAZRDMATL?, ITEMDESC?, ITEMRV?,
ITEMRVX?, ITEMX?, LOTLEVEL*, NOTES*, OWNRSHPCDE?, SHIPNOTES?, UPC?,
USERAREA?, DOCUMNTREF*, INVDETAIL*)>
@
115.1.11510.1
log
@'mkbranch'
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.1 2002/03/28 22:47:30
rvishnuv ship $ - >
d6 2
a7 2
$Revision: 115.1 $
$Date: 2002/03/28 22:47:30 $
@
115.1.1159.1
log
@mkbranch
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.1 2002/03/28 22:47:30
rvishnuv ship $ - >
d6 2
a7 2
$Revision: 115.1 $
$Date: 2002/03/28 22:47:30 $
@
115.1.1158.1
log
@mkbranch
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.1 2002/03/28 22:47:30
rvishnuv ship $ - >
d6 2
a7 2
$Revision: 115.1 $
$Date: 2002/03/28 22:47:30 $
@
115.0
log
@initial version
@
text
@d1 1
a1 1
<! - $Header: 161_show_shipment_005.dtd 115.0 2002/02/15 05:27:39
rvishnuv noship $ - >
d6 2
a7 2
$Revision: 7.2.1 $
$Date: 31 October 2001 $
The following is the Export Compliance Response DTD used for ITM in Oracle
Shipping Execution.
13-186 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<! -
$Author - Joe Smith$
$Date: 16 April 2003 $
Oracle Cooperation
All Rights Reserved
- >
<!ELEMENT EXPORT_COMPL_RESPONSE ( CNTROLAREA, DATAAREA+)>
<!ELEMENT CNTROLAREA (BSR, SENDER, DATETIME)>
<!ELEMENT BSR (VERB, NOUN, REVISION)>
<!ELEMENT VERB (#PCDATA)>
<!ELEMENT NOUN (#PCDATA)>
<!ELEMENT REVISION (#PCDATA)>
<!ELEMENT SENDER (LOGICALID, COMPONENT, TASK, REFERENCEID,
CONFIRMATION, LANGUAGE, CODEPAGE, AUTHID)>
<!ELEMENT LOGICALID (#PCDATA)>
<!ELEMENT COMPONENT (#PCDATA)>
<!ELEMENT TASK (#PCDATA)>
<!ELEMENT REFERENCEID (#PCDATA)>
<!ELEMENT CONFIRMATION (#PCDATA)>
<!ELEMENT LANGUAGE (#PCDATA)>
<!ELEMENT CODEPAGE (#PCDATA)>
<!ELEMENT AUTHID (#PCDATA)>
<!ELEMENT DATETIME (YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, SUBSECOND,
TIMEZONE)>
<!ELEMENT YEAR (#PCDATA)>
<!ELEMENT MONTH (#PCDATA)>
<!ELEMENT DAY (#PCDATA)>
<!ELEMENT HOUR (#PCDATA)>
<!ELEMENT MINUTE (#PCDATA)>
<!ELEMENT SECOND (#PCDATA)>
<!ELEMENT SUBSECOND (#PCDATA)>
<!ELEMENT TIMEZONE (#PCDATA)>
<!ELEMENT DATAAREA ( MESSAGE+)>
<!ELEMENT MESSAGE (TRANSACTION_KEY, TRIGGERING_POINT,STATUS,
EXPORT_COMP_RESULT*, ERROR*)>
<!ELEMENT TRANSACTION_KEY (#PCDATA)>
<!ELEMENT TRIGGERING_POINT (#PCDATA)>
<!ELEMENT STATUS (#PCDATA)>
<!ELEMENT EXPORT_COMP_RESULT (TYPE, SUCCESS, DESCRIPTION)>
<!ELEMENT TYPE (#PCDATA)>
<!ELEMENT SUCCESS (#PCDATA)>
<!ELEMENT DESCRIPTION (#PCDATA)>
<!ELEMENT ERROR (TYPE, CODE, DESCRIPTION)>
<!ELEMENT CODE (#PCDATA)>
13-188 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CNTROLAREA.SEN Required Language in which
DER.LANGUAGE the text fields are
transmitted
DATAAREA
DATAAREA.SYNC_
CUSTOMER
13-190 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
DATAAREA.SYNC_ FND_LOOKUPS.mea Indicates the type of
CUSTOMER.PARTN ning partner entity or the
ER.PARTNRTYPE (ForFND_LOOKUPS. site use code. Valid
code = values are:
HZ_CUST_SITE_USE
S.Site_Use_Code = Bill To: The customer
fnd_lookups.lookup_ location where the
code) invoice goes to.
Drawee: A customer
account site
responsible for
paying bills.
Dunning: The
location where the
customers dunning
letters are sent.
Marketing: Marketing
collateral is sent to
this address.
Bills of Lading
Credit Memos
Credit Contact
Acknowledgments
Synonyms include:
Customer Number,
Supplier Number,
Customer ID, and
Supplier ID
13-192 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
DATAAREA.SYNC_ This element bounds
CUSTOMER.PARTN any additional
ER.USERAREA.PAR parameters that are to
AMETERS be sent. This element
has an attribute
named TYPE, which
can have any of the
following values:
VENDOR, SERVICE,
or DATA.
13-194 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
DATAAREA.SYNC_ HZ_CUST_ACCT_SI Every Parameter has
CUSTOMER.PARTN TES_ALL.attribute1 attributes 'Index,
ER.ADDRESSUSERA through 15 Name, and Value
REA.PARAMETERS.
PARAMETER
13-196 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<POSTALCODE>30301</POSTALCODE>
<STATEPROVN>GA</STATEPROVN>
<USERAREA>
<ORACLE.SYNC_CUSTOMER_005.PARTNER.ADDRESS.USERAREA>
<ORACLE.PARAMETERS TYPE="DATA"/>
</ORACLE.SYNC_CUSTOMER_005.PARTNER.ADDRESS.USERAREA>
</USERAREA>
</ADDRESS>
</PARTNER>
</SYNC_CUSTOMER>
</DATAAREA>
<DATAAREA>
<SYNC_CUSTOMER>
<PARTNER>
<NAME index="1">SV200</NAME>
<PARTNRID>10216</PARTNRID>
<PARTNRTYPE>SHIP_TO</PARTNRTYPE>
<PARTNRIDX>R2000</PARTNRIDX>
<TAXID/>
<USERAREA>
<ORACLE.SYNC_CUSTOMER_005.PARTNER.USERAREA>
<ORACLE.SITE_NUMBER>10595</ORACLE.SITE_NUMBER>
<ORACLE.OPERATING_UNIT>204</ORACLE.OPERATING_UNIT>
<ORACLE.PARAMETERS TYPE="VENDOR">
<ORACLE.PARAMETER INDEX="1" NAME="Para1"
VALUE="Para1"/>
<ORACLE.PARAMETER INDEX="2" NAME="Para5"
VALUE="para5"/>
<ORACLE.PARAMETER INDEX="3" NAME="Para3"
VALUE="Para3"/>
</ORACLE.PARAMETERS>
<ORACLE.PARAMETERS TYPE="SERVICE"/>
<ORACLE.PARAMETERS TYPE="DATA"/>
</ORACLE.SYNC_CUSTOMER_005.PARTNER.USERAREA>
</USERAREA>
<ADDRESS>
<ADDRLINE index="1">139</ADDRLINE>
<ADDRLINE index="2"/>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRLINE index="5"/>
<ADDRTYPE>N</ADDRTYPE>
<CITY>Atlanta</CITY>
<COUNTRY>US</COUNTRY>
<POSTALCODE>30301</POSTALCODE>
<STATEPROVN>GA</STATEPROVN>
<USERAREA>
<ORACLE.SYNC_CUSTOMER_005.PARTNER.ADDRESS.USERAREA>
<ORACLE.PARAMETERS TYPE="DATA"/>
</ORACLE.SYNC_CUSTOMER_005.PARTNER.ADDRESS.USERAREA>
</USERAREA>
</ADDRESS>
</PARTNER>
</SYNC_CUSTOMER>
</DATAAREA>
<DATAAREA>
<SYNC_CUSTOMER>
<PARTNER>
<NAME index="1">SV200</NAME>
<PARTNRID>10214</PARTNRID>
<PARTNRTYPE>BILL_TO</PARTNRTYPE>
13-198 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
</USERAREA>
<ADDRESS>
<ADDRLINE index="1">145</ADDRLINE>
<ADDRLINE index="2"/>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRLINE index="5"/>
<ADDRTYPE>Y</ADDRTYPE>
<CITY>Atlanta</CITY>
<COUNTRY>US</COUNTRY>
<POSTALCODE>30301</POSTALCODE>
<STATEPROVN>GA</STATEPROVN>
<USERAREA>
<ORACLE.SYNC_CUSTOMER_005.PARTNER.ADDRESS.USERAREA>
<ORACLE.PARAMETERS TYPE="DATA"/>
</ORACLE.SYNC_CUSTOMER_005.PARTNER.ADDRESS.USERAREA>
</USERAREA>
</ADDRESS>
</PARTNER>
</SYNC_CUSTOMER>
</DATAAREA>
</SYNC_CUSTOMER_005>
13-200 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
CNTROLAREA.DAT Required Creation hour of the
ETIME.HOUR XML document
DATAAREA
DATAAREA.ITEM
DATAAREA.ITEM.C Currency
URRENCY
DATAAREA.ITEM.U
SERAREA
13-202 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<?xml version="1.0" encoding = "UTF-8"?><ITEM_SYNC>
<CNTROLAREA>
<BSR>
<VERB>SYNC</VERB>
<NOUN>ITEM</NOUN>
<REVISION>001</REVISION>
</BSR>
<SENDER>
<LOGICALID>ORACLE</LOGICALID>
<COMPONENT>ITM Application</COMPONENT>
<TASK>ITEM SYNCHRONIZATION</TASK>
<REFERENCEID>142~ITEM_SYNC~61</REFERENCEID>
<CONFIRMATION>Y</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>UTF8</CODEPAGE>
<AUTHID>vsathiya-venkat</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR>2004</YEAR>
<MONTH>06</MONTH>
<DAY>05</DAY>
<HOUR>02</HOUR>
<MINUTE>53</MINUTE>
<SECOND>51</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+00:00</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<ITEM>
<ITEM_ID>11746</ITEM_ID>
<ITEM_CODE>WSH-Standard</ITEM_CODE>
<DESCRIPTION>WSH-Standard</DESCRIPTION>
<HAZARD_CLASS/>
<ORGANIZATION_ID>8259</ORGANIZATION_ID>
<SRC_ORGANIZATION_ID/>
<ITEM_TYPE>Finished good</ITEM_TYPE>
<UNIT_OF_MEASURE>Ea</UNIT_OF_MEASURE>
<ITEM_VALUE/>
<CURRENCY>USD</CURRENCY>
<COUNTRY>CN</COUNTRY>
<USERAREA>
<ORACLE.ITEM_SYNC.ITEM.USERAREA>
<ORACLE.ITEM_SYNC.ITEM.LONG_DESCRIPTION/>
<ORACLE.OPERATING_UNIT/>
<ORACLE.PARAMETERS TYPE="VENDOR">
<ORACLE.PARAMETER INDEX="1" NAME="PPar-1"
VALUE="PVal-1"/>
</ORACLE.PARAMETERS>
<ORACLE.PARAMETERS TYPE="SERVICE">
<ORACLE.PARAMETER INDEX="1" NAME="Par1" VALUE="Val1"/>
</ORACLE.PARAMETERS>
<ORACLE.PARAMETERS TYPE="DATA"/>
</ORACLE.ITEM_SYNC.ITEM.USERAREA>
</USERAREA>
</ITEM>
</DATAAREA>
<DATAAREA>
<ITEM>
<ITEM_ID>11746</ITEM_ID>
<ITEM_CODE>WSH-Standard</ITEM_CODE>
13-204 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<SRC_ORGANIZATION_ID/>
<ITEM_TYPE>Finished good</ITEM_TYPE>
<UNIT_OF_MEASURE>Ea</UNIT_OF_MEASURE>
<ITEM_VALUE/>
<CURRENCY>USD</CURRENCY>
<COUNTRY>AU</COUNTRY>
<USERAREA>
<ORACLE.ITEM_SYNC.ITEM.USERAREA>
<ORACLE.ITEM_SYNC.ITEM.LONG_DESCRIPTION/>
<ORACLE.OPERATING_UNIT/>
<ORACLE.PARAMETERS TYPE="VENDOR">
<ORACLE.PARAMETER INDEX="1" NAME="PPar-1"
VALUE="PVal-1"/>
</ORACLE.PARAMETERS>
<ORACLE.PARAMETERS TYPE="SERVICE">
<ORACLE.PARAMETER INDEX="1" NAME="Par1" VALUE="Val1"/>
</ORACLE.PARAMETERS>
<ORACLE.PARAMETERS TYPE="DATA"/>
</ORACLE.ITEM_SYNC.ITEM.USERAREA>
</USERAREA>
</ITEM>
</DATAAREA>
</ITEM_SYNC>
ORDER_LINE Required
13-206 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
ORDER_LINE.ORDE Optional OE_ORDER_LINES. Quantity ordered
RED_QUANTITY ORDERED_QUANTI
TY
ORDER_LINE.PART Required
Y
13-208 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<?xml version="1.0" encoding = "UTF-8"?><request>
<message_id>7832~OM_EXPORT_COMPLIANCE~61</message_id>
<admin>
<subscriber_id>vsathiya</subscriber_id>
<password>xxxxx</password>
<request_generator>OM</request_generator>
<revision>1.0</revision>
</admin>
<parameters>
<parameter name="Para1" value="Para1"/>
<parameter name="Para5" value="para5"/>
<parameter name="Para3" value="Para3"/>
</parameters>
<transaction_date>4/28/2004 6:35:21</transaction_date>
<addl_info/>
<order_line>
<transaction_key>7832~50027-Standard_ECE-1</transaction_key>
<order_number>50027</order_number>
<order_type>Standard_ECE</order_type>
<org_id>204</org_id>
<cust_po_num/>
<transactional_curr_code>USD</transactional_curr_code>
<conversion_type_code/>
<conversion_rate/>
<ordered_date>4/28/2004 6:25:57</ordered_date>
<shipping_method_code>000001_United
Par_A_3DS</shipping_method_code>
<request_date>4/28/2004 6:25:57</request_date>
<freight_terms_code>Due</freight_terms_code>
<payment_terms_name/>
<payment_term_id>4</payment_term_id>
<ordered_quantity>5</ordered_quantity>
<line_number>1</line_number>
<unit_list_price>50</unit_list_price>
<unit_selling_price>50</unit_selling_price>
<item_id>29585</item_id>
<party>
<party_id>7832-498</party_id>
<type>SHIP_FROM</type>
<name>Vision Operations</name>
<address1>90 Fifth Avenue,,</address1>
<address2/>
<address3/>
<address4/>
<address5/>
<city>New York</city>
<state_or_province/>
<country code="US" name="US"/>
<postal_code>10022-3422</postal_code>
<contact_name/>
<email/>
<phone/>
<fax/>
<web/>
<addl_info/>
</party>
<party>
<party_id>7832-499</party_id>
<type>SHIP_TO</type>
<name>Computer Service and Rentals</name>
<address1>301 Summit Hill Drive 1,,,</address1>
13-210 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<address3/>
<address4/>
<address5/>
<city>Chattanooga</city>
<state_or_province/>
<country code="US" name="US"/>
<postal_code>37401</postal_code>
<contact_name/>
<email/>
<phone/>
<fax/>
<web/>
<addl_info/>
</party>
</order_line>
</request>
SHIPMENT.AMO Optional
UNT
(DECLAREVAL)
SHIPMENT.AMO Optional
UNT
(DOCUMENT) (T)
SHIPMENT.AMO Optional
UNT
(ESTFREIGHT)
SHIPMENT.AMO Optional
UNT (ITEM) (T)
SHIPMENT.COU Optional
NTRYORG
SHIPMENT.DATE Optional
TIME
(EARLSTSHIP)
13-212 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPMENT.DATE Optional
TIME (LOADING)
SHIPMENT.DATE Optional
TIME
(PROMDELV)
SHIPMENT.DATE Optional
TIME
(PROMSHIP)
SHIPMENT.DIST Optional
CENTER
SHIPMENT.DOC Optional
KID
SHIPMENT.DROP Optional
SHIP
SHIPMENT.EXPO Optional
RTLIC
SHIPMENT.FRGH Optional
TCLS
SHIPMENT.HAZ Optional
RDMATL
SHIPMENT.HDRS Optional
TATUS
SHIPMENT.IMPO Optional
RTLIC
SHIPMENT.LOA Optional
DPOINT
SHIPMENT.NOTE Optional
S1 – NOTES9
SHIPMENT.OPER Optional
AMT (FREIGHT)
(T)
SHIPMENT.PART Optional
IALSHP
SHIPMENT.PRIO Optional
RITY
13-214 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPMENT.ROUT Optional
EID
SHIPMENT.RELE Optional
ASENUM
SHIPMENT.RELE Optional
ASENUMTOT
SHIPMENT.SHIP Optional
PRIOR
SHIPMENT.SPECI Optional
ALHND
SHIPMENT.STAG Optional
EPOINT
SHIPMENT.TEMP Optional
RATURE
(ACTUAL)
SHIPMENT.TEMP Optional
RATURE
(DELIVERY)
SHIPMENT.TEMP Optional
RATURE
(LOADING)
13-216 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
PARTNER. Optional
PARTNER.ONETI Required
ME
13-218 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
PARTNER.ACTIV Optional
E
PARTNER.DESCR Optional
IPTN
PARTNER.GLEN Optional
TITYS
PARTNER.NAME Optional
2-NAME9
PARTNER.PARE Optional
NTID
PARTNER.PART Optional
NRRATG
PARTNER.PART Optional
NRROLE
PARTNER.PAYM Optional
ETHOD
PARTNER.TAXEX Optional
EMPT
PARTNER.TAXID Optional
PARTNER.TERMI Optional
D
13-220 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
PARTNER – Optional
ADDRESS.
PARTNER – Optional
ADDRESS.ADDR
TYPE
PARTNER – Optional
ADDRESS.DESCR
IPTN
13-222 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
PARTNER – Optional
ADDRESS.TAXJR
SDCTN
PARTNER – Optional
ADDRESS.USERA
REA
PARTNER – Optional
CONTACT.
PARTNER – Required
CONTACT.NAM
E1
PARTNER – Optional
CONTACT.CONT
CTTYPE
PARTNER – Optional
CONTACT.DESC
RIPTN
PARTNER – Optional
CONTACT.EMAI
L
PARTNER – Optional
CONTACT.FAX1 -
FAX9
13-224 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
PARTNER – Optional
CONTACT.TELEP
HONE1
-TELEPHONE9
PARTNER – Optional
CONTACT.USER
AREA
DOCUMNTREF.D Optional
ESCRIPTN
DOCUMNTREF.D Optional
OCUMENTRV
DOCUMNTREF.L Optional
INENUM
DOCUMNTREF.N Optional
OTES1 – NOTES9
DOCUMNTREF.S Optional
CHLINENUM
DOCUMNTREF.S Optional
UBLINENUM
DOCUMNTREF.U Optional
SERAREA
SHIPITEM. Optional
SHIPITEM.AMOU Optional
NT (EXTENDED)
(T)
SHIPITEM.AMOU Optional
NT (ITEM) (T)
SHIPITEM.DISPO Optional
SITN
SHIPITEM.EXPOR Optional
TLIC
13-226 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPITEM.FRGH Optional
TITEM
SHIPITEM.IMPOR Optional
TLIC
SHIPITEM.ITEMR Optional
VX
SHIPITEM.LINEN Optional
UM
SHIPITEM.PACKI Optional
NG
SHIPITEM.PACKI Optional
NGDESC
SHIPITEM.QUAN Optional
TITY (OPEN)
13-228 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPITEM.SHIPM Optional
ATLID
SHIPITEM.SHIPP Optional
RIOR
SHIPITEM.SHIPM Optional
TLDESC
SHIPITEM.UPC Optional
13-230 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
DOCUMNTREF.D Required
OCUMENTID
DOCUMNTREF.D Optional
OCUMENTRVDO
CUMNTREF.DES
CRIPTN
DOCUMNTREF.L Optional
INENUMDOCUM
NTREF.DOCUME
NTRV
DOCUMNTREF.N Optional
OTES1 –
NOTES9DOCUM
NTREF.LINENU
M
DOCUMNTREF.S Optional
CHLINENUMDO
CUMNTREF.NOT
ES1 – NOTES9
DOCUMNTREF.S Optional
UBLINENUMDO
CUMNTREF.SCH
LINENUM
DOCUMNTREF.U Optional
SERAREADOCU
MNTREF.SUBLIN
ENUM
DOCUMNTREF.U Optional
SERAREA
CHARGE. Optional
13-232 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
CHARGE.DESCRI Optional
PTNCHARGE.CH
GLINENUM
INVDETAIL. Optional
INVDETAIL.USE Optional
RAREA
13-234 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
CHARGE. Optional
CHARGE.DESCRI Optional
PTNCHARGE.CH
GLINENUM
DISTRIBUTION. Optional
DISTRIBUTION.B Optional
USNAREADISTRI
BUTION.
DISTRIBUTION.C Optional
OSTCENTERDIST
RIBUTION.BUSN
AREA
DISTRIBUTION.D Optional
EPARTMENTDIS
TRIBUTION.COS
TCENTER
DISTRIBUTION.D Optional
IVISIONDISTRIB
UTION.DEPART
MENT
13-236 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
DISTRIBUTION.E Optional
LEMENT1 -
ELEMENT
999DISTRIBUTIO
N.DIVISION
DISTRIBUTION.F Optional
UNDDISTRIBUTI
ON.ELEMENT1 -
ELEMENT 999
DISTRIBUTION.G Optional
EOGRAPHYDIST
RIBUTION.FUND
DISTRIBUTION.G Optional
LENTITYSDISTRI
BUTION.GEOGR
APHY
DISTRIBUTION.G Optional
LNOMACCTDIST
RIBUTION.GLEN
TITYS
DISTRIBUTION.O Optional
PERAMT
(EXTENDED)
(T)DISTRIBUTIO
N.GLNOMACCT
DISTRIBUTION.P Optional
ROFITCTRDISTRI
BUTION.OPERA
MT (EXTENDED)
(T)
DISTRIBUTION.P Optional
ROJECTDISTRIBU
TION.PROFITCTR
DISTRIBUTION.U Optional
NITDISTRIBUTIO
N.PROJECT
DISTRIBUTION. Optional
WAREHOUSEDIS
TRIBUTION.UNIT
DISTRIBUTION.U Optional
SERAREADISTRI
BUTION.WAREH
OUSE
DISTRIBUTION.U Optional
SERAREA
SHIPUNIT. Optional
13-238 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPUNIT.AMOU Optional
NT (FREIGHT(
(T)SHIPUNIT.AM
OUNT
(DECLAREVAL)
SHIPUNIT.AMOU Optional
NT (ITEM)
(T)SHIPUNIT.AM
OUNT (FREIGHT(
(T)
SHIPUNIT.AMOU Optional
NT (TOTAL)
(T)SHIPUNIT.AM
OUNT (ITEM) (T)
SHIPUNIT.CARR Optional
SRVLVLSHIPUNI
T.AMOUNT
(TOTAL) (T)
13-240 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPUNIT.EXPO Optional
RTLICSHIPUNIT.
DESCRIPTN
SHIPUNIT.LOAD Optional
POINTSHIPUNIT.
IMPORTLIC
SHIPUNIT.PACKI Optional
NGSHIPUNIT.OP
ERAMT
(FREIGHT) (T)
SHIPUNIT.PACKI Optional
NGDESCSHIPUN
IT.PACKING
SHIPUNIT.QUAN Optional
TITY
(ESTWEIGHT)SHI
PUNIT.PACKING
DESC
13-242 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
13-244 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
SHIPUNIT.SHPU Optional
NITSTSSHIPUNIT
.SHPUNITSEQ
SHIPUNIT.SHPU Optional
NITTOTSHIPUNI
T.SHPUNITSTS
SHIPUNIT.SPECI Optional
ALHNDSHIPUNI
T.SHPUNITTOT
SHIPUNIT.STAGE Optional
POINTSHIPUNIT.
SPECIALHND
SHIPUNIT.TEMP Optional
RATURE
(ACTUAL)SHIPU
NIT.STAGEPOIN
T
SHIPUNIT.TEMP Optional
RATURE
(DELIVERY)SHIP
UNIT.TEMPRATU
RE (ACTUAL)
SHIPUNIT.TEMP Optional
RATURE
(LOADING)SHIP
UNIT.TEMPRATU
RE (DELIVERY)
SHIPUNIT.TRAC Optional
KINGIDTYPESHI
PUNIT.TEMPRAT
URE (LOADING)
13-246 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
INVITEM.QUAN Required
TITY (ITEM)
(REQUIRED)
INVITEM.ITEM Required
INVITEM.AMOU Required
NT (EXTENDED)
(T)INVITEM.QUA
NTITY (ITEM)
INVITEM.AMOU Optional
NT (ITEM)
(T)INVITEM.AM
OUNT
(EXTENDED) (T)
INVITEM.COUNT Optional
RY
ORGINVITEM.A
MOUNT (ITEM)
(T)
INVITEM.FRGHT Optional
CLSINVITEM.CO
UNTRY ORG
INVITEM.FRGHTI Optional
TEMINVITEM.FR
GHTCLS
INVITEM.HAZRD Optional
MATLINVITEM.F
RGHTITEM
INVITEM.ITEMD Optional
ESCINVITEM.HA
ZRDMATL
INVITEM.ITEMR Optional
VINVITEM.ITEM
DESC
INVITEM.ITEMR Optional
VXINVITEM.ITE
MRV
INVITEM.LOTLE Optional
VEL1 -
LOTLEVEL2INVI
TEM.ITEMRVX
13-248 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
INVITEM.NOTES Optional
1 - NOTES
9INVITEM.LOTLE
VEL1 -
LOTLEVEL2
INVITEM.OWNR Optional
SHPCDEINVITE
M.NOTES 1 -
NOTES 9
INVITEM.QUAN Optional
TITY
(VOLUME)INVIT
EM.OWNRSHPC
DE
INVITEM.QUAN Optional
TITY
(WEIGHT)INVITE
M.QUANTITY
(VOLUME)
INVITEM.SHIPN Optional
OTESINVITEM.Q
UANTITY
(WEIGHT)
INVITEM.UPCIN Optional
VITEM.SHIPNOT
ES
INVITEM.USERA Optional
REAINVITEM.UP
C
INVITEM.USERA Optional
REA
CONTAINER.NO Optional
TES 1 - NOTES
9CONTAINER.DE
SCRIPTN
CONTAINER.PA Optional
CKINGCONTAIN
ER.NOTES 1 -
NOTES 9
13-250 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
CONTAINER.PA Optional
CKINGDESCCON
TAINER.PACKIN
G
CONTAINER.PA Optional
RCNTNRIDCONT
AINER.PACKING
DESC
13-252 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
be called as
DELIVER_TO_LOCATION
)
WSH_DELIVERY_DETAIL
S. TRACKING_NUMBER
WSH_DELIVERY_DETAIL
S. COUNTRY_OF_ORIGIN
WSH_TRIP_STOPS.ACTU
AL_ ARRIVAL_DATE
WSH_DELIVERY_DETAIL
S. DATE_SCHEDULED
WSH_TRIP_STOPS.ACTU
AL_ DEPARTURE_DATE
WSH_DELIVERY_DETAIL
S. SHIP_METHOD_CODE
WSH_DELIVE
CONTAINER.USE WSH_DELIVERY_ASSIGN
RAREA MENTS.DELIVERY_DETA
IL_ID
(To be called as
DELIVERY_DETAIL_NUM
BER)
WSH_DELIVERY_ASSIGN
MENTS.PARENT_DELIVE
RY_DETAIL_ID
(To be called as
PARENT_DELIVERY_DET
AIL_NUMBER)
HEIGHT – From
mtl_system_items
LENGTH - From
mtl_system_items
WEIGHT-
WSH_DELIVERY_DETAIL
S. GROSS_WEIGHT
WSH_DELIVERY_DETAIL
S. NET_WEIGHT
VOLUME –
WSH_DELIVERY_DETAIL
S. VOLUME
WIDTH- From
mtl_system_items
LOT-
WSH_DELIVERY_DETAIL
S. LOT_NUMBER
SUBLOT-
WSH_DELIVERY_DETAIL
S. SUBLOT_NUMBER
WSH_DELIVERY_DETAIL
S. REVISION
WSH_DELIVERY_DETAIL
S. SERIAL NUMBER
WSH_DELIVERY_DETAIL
13-254 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
S. TO_SERIAL NUMBER
WSH_DELIVERY_DETAIL
S.
SHIP_FROM_LOCATION_
ID converted to code (To be
called as
SHIP_FROM_LOCATION
LOCATION)
WSH_DELIVERY_DETAIL
S.
DELIVER_TO_LOCATION
_ID converted to code
(To be called as
DELIVER_TO_LOCATION
)
WSH_DELIVERY_DETAIL
S. TRACKING_NUMBER
WSH_DELIVERY_DETAIL
S. COUNTRY_OF_ORIGIN
WSH_TRIP_STOPS.ACTU
AL_ ARRIVAL_DATE
WSH_DELIVERY_DETAIL
S. DATE_SCHEDULED
WSH_TRIP_STOPS.ACTU
AL_ DEPARTURE_DATE
WSH_DELIVERY_DETAIL
S. SHIP_METHOD_CODE
WSH_DELIVERY_DETAIL
S.
FREIGHT_CLASS_CAT_ID
converted to external value
(To be called as
FREIGHT_CLASS_CATEG
ORY)
WSH_DELIVERY_DETAIL
S.
FREIGHT_TERMS_CODE
converted to external value
WSH_DELIVERY_DETAIL
S. HAZARD_CLASS_ID
converted to external value
(To be called as
HAZARD_CLASS or as
HAZARD_CLASS_CODE)
WSH_DELIVERY_DETAIL
S. FOB_CODE
WSH_DELIVERY_DETAIL
S.
SHIPPING_INSTRUCTION
S
WSH_DELIVERY_DETAIL
S.
PACKING_INSTRUCTION
S
WSH_DELIVERY_DETAIL
S. Descriptive Flexfields
13-256 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
CHARGE.DESCRI Optional
PTNCHARGE.CH
GLINENUM
INVITEM. Optional
INVITEM.ITEM Required
INVITEM.
INVITEM.QUAN Required
TITY (ITEM)
INVITEM.ITEM Required
INVITEM.AMOU Required
NT (EXTENDED)
(T)
INVITEM.QUAN Required
TITY (ITEM)
INVITEM.AMOU Optional
NT (ITEM) (T)
INVITEM.AMOU Optional
NT (EXTENDED)
(T)
INVITEM.COUNT Optional
RY ORG
INVITEM.AMOU Optional
NT (ITEM) (T)
INVITEM.FRGHT Optional
CLS
INVITEM.COUNT Optional
RY ORG
INVITEM.FRGHTI Optional
TEM
INVITEM.FRGHT Optional
CLS
INVITEM.HAZRD Optional
MATL
INVITEM.FRGHTI Optional
TEM
INVITEM.ITEMD Optional
ESC
INVITEM.HAZRD Optional
MATL
INVITEM.ITEMR Optional
V
13-258 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
INVITEM.ITEMD Optional
ESC
INVITEM.ITEMR Optional
VX
INVITEM.ITEMR Optional
V
INVITEM.LOTLE Optional
VEL1 -
LOTLEVEL2
INVITEM.ITEMR Optional
VX
INVITEM.NOTES Optional
1 - NOTES 9
INVITEM.LOTLE Optional
VEL1 -
LOTLEVEL2
INVITEM.OWNR Optional
SHPCDE
INVITEM.NOTES Optional
1 - NOTES 9
INVITEM.QUAN Optional
TITY (VOLUME)
INVITEM.OWNR Optional
SHPCDE
INVITEM.QUAN Optional
TITY (WEIGHT)
INVITEM.QUAN Optional
TITY (VOLUME)
INVITEM.SHIPN Optional
OTES
INVITEM.QUAN Optional
TITY (WEIGHT)
INVITEM.UPC Optional
INVITEM.SHIPN Optional
OTES
INVITEM.USERA Optional
REA
INVITEM.UPC Optional
INVITEM.USERA Optional
REA
13-260 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
Field Name Required? Transaction Description
Table.Column Name
CHARGE.DESCRI Optional
PTN
CHARGE.CHGLI Optional
NENUM
CHARGE.DESCRI Optional
PTN
13-262 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<DATETIME qualifier="ULTIMATE_DROPOFF">
<YEAR>2004</YEAR>
<MONTH>06</MONTH>
<DAY>18</DAY>
<HOUR>11</HOUR>
<MINUTE>59</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+00:00</TIMEZONE>
</DATETIME>
<DATETIME qualifier="ACTUAL_DEPARTURE">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+00:00</TIMEZONE>
</DATETIME>
<DATETIME qualifier="INITIAL_PICKUP">
<YEAR>2004</YEAR>
<MONTH>06</MONTH>
<DAY>18</DAY>
<HOUR>08</HOUR>
<MINUTE>25</MINUTE>
<SECOND>16</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>+00:00</TIMEZONE>
</DATETIME>
<QUANTITY qualifier="ESTIMATED_WEIGHT">
<VALUE>3</VALUE>
<NUMOFDEC/>
<SIGN/>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="LOADING_WEIGHT">
<VALUE>0</VALUE>
<NUMOFDEC/>
<SIGN/>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="NET_WEIGHT">
<VALUE>3</VALUE>
<NUMOFDEC/>
<SIGN/>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="SHIP_UNIT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<QUANTITY qualifier="TOTAL_WEIGHT">
<VALUE>3</VALUE>
<NUMOFDEC/>
<SIGN/>
<UOM>Lbs</UOM>
</QUANTITY>
<QUANTITY qualifier="VOLUME">
13-264 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<NAME>ITMTESTORG1</NAME>
<PARTNRTYPE>SHIP_FROM</PARTNRTYPE>
<PARTNERID>IM1</PARTNERID>
<CURRENCY/>
<DUNS_NUMBER>0</DUNS_NUMBER>
<PARTNIDX>0</PARTNIDX>
<USERAREA>
<ORACLE.SHOW_SHIPMENT_005.SHIPMENT.PARTNER.USERAREA>
<ORACLE.INTMED_SHIP_TO_LOCATION/>
<ORACLE.POOLED_SHIP_TO_LOCATION/>
</ORACLE.SHOW_SHIPMENT_005.SHIPMENT.PARTNER.USERAREA>
</USERAREA>
<ADDRESS>
<ADDRLINE index="1">Jia 1</ADDRLINE>
<ADDRLINE index="2">Yuentanbeiju Dongkou</ADDRLINE>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRTYPE/>
<CITY>Xicheng</CITY>
<COUNTRY>CN</COUNTRY>
<COUNTY/>
<POSTALCODE>100037</POSTALCODE>
<REGION/>
<STATEPROVN/>
</ADDRESS>
<CONTACT>
<FAX>(01) 8512393</FAX>
<TELEPHONE>(01) 8512211</TELEPHONE>
<URL/>
</CONTACT>
<DOCUMNTREF>
<DOCTYPE>SHIPMENTREQUEST</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>IM1</PARTNRID>
</DOCUMNTREF>
</PARTNER>
<PARTNER>
<NAME>Computer Service and Rentals</NAME>
<PARTNRTYPE>SHIP_TO</PARTNRTYPE>
<PARTNERID>Atlanta (OPS)</PARTNERID>
<CURRENCY/>
<DUNS_NUMBER/>
<PARTNIDX/>
<USERAREA>
<ORACLE.SHOW_SHIPMENT_005.SHIPMENT.PARTNER.USERAREA>
<ORACLE.INTMED_SHIP_TO_LOCATION/>
<ORACLE.POOLED_SHIP_TO_LOCATION/>
</ORACLE.SHOW_SHIPMENT_005.SHIPMENT.PARTNER.USERAREA>
</USERAREA>
<ADDRESS>
<ADDRLINE index="1">1156 River Street</ADDRLINE>
<ADDRLINE index="2"/>
<ADDRLINE index="3"/>
<ADDRLINE index="4"/>
<ADDRTYPE/>
<CITY>Atlanta</CITY>
<COUNTRY>US</COUNTRY>
<COUNTY>Fulton</COUNTY>
<POSTALCODE>30301</POSTALCODE>
<REGION/>
<STATEPROVN>GA</STATEPROVN>
13-266 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
<ORACLE.SHOW_SHIPMENT_005.SHIPMENT.SHIPITEM.USERAREA>
<ORACLE.DELIVERY_DETAIL_NUMBER>225272</ORACLE.DELIVERY_DETAIL_NUMBER>
<ORACLE.PARENT_DELIVERY_DETAIL_NUMBER/>
<ORACLE.SHIP_TOLERANCE_ABOVE>50</ORACLE.SHIP_TOLERANCE_ABOVE>
<ORACLE.SHIP_TOLERANCE_BELOW>50</ORACLE.SHIP_TOLERANCE_BELOW>
<ORACLE.LOAD_SEQUENCE_NUMBER/>
<ORACLE.SHIP_SET_NUMBER/>
<ORACLE.SUBINVENTORY>Stores</ORACLE.SUBINVENTORY>
<ORACLE.TOP_MODEL_LINE_NUMBER/>
<ORACLE.SHIP_MODEL_COMPLETE_FLAG/>
<ORACLE.COMMODITY_CODE_CATEGORY/>
<ORACLE.SHIPMENT_PRIORITY_CODE/>
<ORACLE.DELIVERY_TO_LOCATION>1093</ORACLE.DELIVERY_TO_LOCATION>
<ORACLE.CUSTOMER_NAME>Computer Service and
Rentals</ORACLE.CUSTOMER_NAME>
<ORACLE.CUSTOMER_NUMBER>1006</ORACLE.CUSTOMER_NUMBER>
<ORACLE.DESCRIPTIVE_FLEXFIELD>
<ORACLE.ATTRIBUTE_CATEGORY/>
<ORACLE.ATTRIBUTE1/>
<ORACLE.ATTRIBUTE2/>
<ORACLE.ATTRIBUTE3/>
<ORACLE.ATTRIBUTE4/>
<ORACLE.ATTRIBUTE5/>
<ORACLE.ATTRIBUTE6/>
<ORACLE.ATTRIBUTE7/>
<ORACLE.ATTRIBUTE8/>
<ORACLE.ATTRIBUTE9/>
<ORACLE.ATTRIBUTE10/>
<ORACLE.ATTRIBUTE11/>
<ORACLE.ATTRIBUTE12/>
<ORACLE.ATTRIBUTE13/>
<ORACLE.ATTRIBUTE14/>
<ORACLE.ATTRIBUTE15/>
</ORACLE.DESCRIPTIVE_FLEXFIELD>
</ORACLE.SHOW_SHIPMENT_005.SHIPMENT.SHIPITEM.USERAREA>
</USERAREA>
<DOCUMNTREF>
<DOCTYPE>PURCHASEORDER</DOCTYPE>
<DOCUMENTID/>
<PARTNRID>1093</PARTNRID>
</DOCUMNTREF>
<INVDETAIL>
<QUANTITY qualifier="ITEM">
<VALUE>3</VALUE>
<NUMOFDEC/>
<SIGN/>
<UOM>Ea</UOM>
</QUANTITY>
<DESCRIPTN>WSH-Standard</DESCRIPTN>
<LOTLEVEL index="1"/>
<LOTLEVEL index="2"/>
<SERIALNUM/>
<USERAREA>
<ORACLE.SHOW_SHIPMENT_005.SHIPMENT.SHIPITEM.INVDETAIL.USERAREA>
<ORACLE.TO_SERIAL_NUMBER/>
</ORACLE.SHOW_SHIPMENT_005.SHIPMENT.SHIPITEM.INVDETAIL.USERAREA>
</USERAREA>
</INVDETAIL>
</SHIPITEM>
</SHIPMENT>
</SHOW_SHIPMENT>
</DATAAREA>
</SHOW_SHIPMENT_005>
13-268 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
14
Oracle Shipping Execution EDI Transactions
DSNO
14-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
A
Oracle Order Management Error and
Information Messages
2. The error out message if the outbound acknowledgment data is not generated
correctly.
OE_OI_ACK_DATA_NOT_FOUND - Error in getting data from &TABLE for
sending the acknowledgment
3. The error out message if a particular type of EDI location is not found.
OE_OI_EDI_LOC_NOT_FOUND - &EDI_LOCATION not found for the site usage
of &SITE_USAGE
4. The error out message if the org cannot be determined from the address.
OE_OI_ORG_NOT_FOUND - &SITE_USAGE site usage is not found for address id
&ADDRESS_ID
6. The error out message if the customer cannot be identified before raising the
acknowledgment event.
OE_OI_CUST_NOT_FOUND - No Customer Found & OPT_TABLE for document
id &DOC_ID
Show_SalesOrder
No seeded messaged for this transaction exist.
Cancel_PO
1. Error message if invalid quantity is sent on the inbound Cancel_PO XML.
OE_OI_INVALID_QTY_3A9 - Attempt to cancel Invalid Quantity
A-2 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
7. Error message if the customer cannot be identified before raising the
acknowledgment event.
OE_OI_CUST_NOT_FOUND - No Customer Found &OPT_TABLE for document
id &DOC_ID
Change SO
Following message will be raised when status of 3A8 response is 'ACCEPT' but 3A8
does not match with the changes proposed on the original 3A7.
1. Message_Name: ONT_3A8_RESPONSE_COL_MISMATCH
3A8 Request Purchase Order Change response does not match with changes
proposed on the original 3A7.
A-4 Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide