Академический Документы
Профессиональный Документы
Культура Документы
This software and related documentation are provided under a license agreement containing restrictions on use
and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license
agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit,
distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The details contained herein is subject to change without notice and is not warranted to be error-free. If you find
any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf
of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs
installed on the hardware, and/or documentation, delivered to U.S. Government end users are commercial
computer software pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any
operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be
subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications. It is not
developed or intended for use in any inherently dangerous applications, including applications that may create a
risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to
take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation
and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous
applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used
under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD
logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a
registered trademark of The Open Group.
This software or hardware and documentation may provide access to or details about content, products, and
services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all
warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its
affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party
content, products, or services.
Documentation Accessibility
For details about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Introduction ....................................................................................................................... 7
Terminology ................................................................................................................. 7
Usage Requirements and Capabilities .................................................................... 8
Creating Cross-References When Your Implementation Uses the Product Hub .... 24
Using Reference Entities in the Order Management and Planning Repository ..... 25
4 Attributes You Can Use in Request Payloads ....................................................... 26
Required Attributes You Must Include in the Request Payload to Define the
Order Header ............................................................................................................ 28
Optional Attributes You Can Use in the Request Payload to Define the
Order Header ............................................................................................................ 28
Other Optional Attributes You Can Include in the Request Payload ...................... 44
Source Transaction Details ...................................................................................... 44
Lot Numbers and Serial Numbers ........................................................................... 44
Sales Credits .............................................................................................................. 45
Payments ................................................................................................................... 46
Attachments.............................................................................................................. 46
Document References............................................................................................. 47
Transaction Items ...................................................................................................... 48
Charges...................................................................................................................... 48
Charge Components ............................................................................................... 50
Operations and Payloads for Each Operation ..................................................... 51
5 Processing Change Orders ..................................................................................... 51
6 Cancelling Orders .................................................................................................... 51
7 Using Security with Web Services ........................................................................... 52
8 Using Web Services with Configured Products..................................................... 52
Change History
This topic describes changes to the web services that you can use with Order
Management Cloud, according to each release.
Release 12
It is strongly recommended that you use the Order Import Service web service instead of
the Receive Order Request web service. Starting with Release 12, you can use Order
Import Service instead of Receive Order Request. Order Management continues to
support Receive Order Request in Release 12, but will retire it and no longer support it in
a subsequent release.
Introduction
You can use web services to create an integration with Order Management Cloud.
Various types of upstream systems and applications can use these web services, such
as:
Channels
Legacy systems
Quoting systems
Contract systems
Service request systems
Inventory systems
Purchasing systems
For details about integrations and the architecture that Order Management uses, see
the section that describes the Order Management architecture in the Implementing
Order Management Guide on the Oracle Applications Help website.
Terminology
This document uses the following terminology:
Source system. An order capture system or an application that sends the Order
Request object to the Order Import web service. For brevity, this document mentions
only source system.
Internal. An action, process, or object that resides in Order Management. A cross-
reference that resides in the Order Management and Planning Repository is an
example of an internal object.
according to the SubmitFlag attribute in the payload. For details about SubmitFlag, see
Attributes That Define Order Preferences.
Response Payload
The response payload returns one of the following statuses:
SUCCESS. The response includes the source keys and the Order Management keys. It
sends this response after Order Management successfully creates the sales order.
FAILURE. The response includes the first validation error message.
The response payload uses the following structure:
Field Description
For example, if you add a check mark to Enable for
Trading Community Members, then you can choose the
source system as a data source on various pages in the
Order Management work area and the Order
Orchestration work area.
Field Description
Trading Community
Model
3. Navigate to the Search Authorization Policies tab, and then search for
DOOCustomAppRole.
4. In the Functional Policies tab, click New.
5. In the Untitled tab, set the following value, and then save your changes.
Field Description
Name DOOCustomRolePolicy
8. Add the privileges you require for each of the web services that you must grant to
the user.
3 Creating Cross-References
Your source system might send identifiers or values that reside in the source system but
do not reside in Order Management or are different in Order Management. Web
services use the cross-reference data that collections creates for each reference entity.
Product Information Management and Oracle Trading Community Architecture
maintain a cross-reference between the item master data and customer master data
that reside in Oracle, and the reference data that resides in your source system.
If you must cross-reference a large volume of items, then it is recommended that you
use Open Interface tables to import them. You can automatically create cross-
references for a spoke system when you use item batches through Open Interface
tables or web services to import a spoke system item. For details about cross-references
and how to import them, see Doc ID 1311629.1 (Fusion PIM: Sample SQL to Import Items
Cross References into Fusion Product Information Management Using Open Interface
Tables) on My Oracle Support.
Field Description
Choose the date when this relationship must go into
Start Date
effect.
3. Click Save and Close.
Order Management creates a cross-reference between the item that you specified
in the Item field and the item that you specified in the Source System Item field.
4. Repeat steps 1 through 3 for each item that you must cross-reference.
Receipt methods
Return reasons
Sales credit types
Ship class of service
Ship mode of transport
Shipment priority
Tax classification codes
Tax exemption reason
UOMs
Warehouses
Required Attributes You Must Include in the Request Payload to Define the
Order Header
You must include the following attributes in the request payload to define the order
header when you use the Receive Order Request web service. For details about the
attributes you must define in the order header and other child entities when you use the
Order Import service, see the Service section in SOAP Web Services for Oracle Supply
Chain Management Cloud, on Oracle Help Center.
Table 6. Required Attributes You Must Include in the Request Payload for Each Order
Header
Attribute Type Description
BuyingPartyId Value that identifies the person,
company, or organization that placed
the source order, sometimes known as
Number the Sold To Customer.
TransactionalCurrencyCode Currency code for pricing the
Varchar2 transaction.
TransactionOn Date and time that the transaction
started. This value identifies the date
that the customer committed to
purchase the items that this source
order contains. Order Management
uses this date to measure the time
Timestamp required to fulfill the sales order.
RequestingBusinessUnitIdentifier Value that identifies the internal
organization that sold the source
Number order.
SourceTransactionNumber Transaction number that the source
Varchar2 system uses.
SourceTransactionSystem Source system that placed the request
Varchar2 for fulfillment.
SourceTransactionIdentifier Value that uniquely identifies the
Varchar2 transaction.
SourceTransactionRevisionNumb Revision number of the transaction.
er Varchar2
Optional Attributes You Can Use in the Request Payload to Define the Order
Header
You can include the following optional attributes in the request payload to define the
order header. You are not required to include them.
Table 7. Optional Attributes You Can Include in the Request Payload for Each Order
Header
Attribute Type Description
BuyingPartyName Name of the person, company, or
organization that placed the source
order, also known as the Sold To
Varchar2 Customer.
BuyingPartyNumber Person, company, or organization
number that placed the source
order, also known as the Sold To
Varchar2 Customer.
BuyingPartyOrigSystemReference Cross-reference value for the person,
company, or organization number
that placed the source order. The
customer master in the TCA maintains
this value.
Varchar2
BuyingPartyContactId Value that identifies the person who
placed the source order or who is the
Number primary contact for the source order.
BuyingPartyContactName Name of the person who placed the
source order or who is the primary
Varchar2 contact for the source order.
BuyingPartyContactNumber Contact number for the person who
placed the source order or who is the
Varchar2 primary contact for the source order.
BuyingPartyContactOrigSystemRe Cross-reference value of the person
ference who placed the source order or who
is the primary contact for the source
order. The customer master in TCA
Varchar2 maintains this value.
CustomerPONumber The purchase order number that the
customer sends to identify the source
Varchar2 order.
TransactionalCurrencyName Currency name that Order
Management must use to price the
Varchar2 transaction.
CurrencyConversionType Varchar2 Conversion type for foreign currency.
CurrencyConversionRate The exchange rate that Order
Management must use if it converts
the value from one currency to
Number another currency.
CurrencyConversionDate Date Currency conversion date.
TransactionDocumentTypeCode Indicates the type of request as one
Varchar2 of the following:
Sales order
Purchase order
Internal material transfer
CancelReasonCode Brief text that identifies the cancel
Varchar2 reason.
CancelReason Varchar2 Reason for the cancel.
RequestCancelDate Time and day when the user
Date requested the cancel.
Comments Varchar2 Text that describes the transaction.
RequestingLegalUnitIdentifier Value that identifies the legal entity
that formed a contract with the
Number customer.
RequestingLegalUnit Name of the legal entity that formed
Varchar2 a contract with the customer.
OrigSysDocumentReference Document number from the source
Varchar2 system.
PartialShipAllowedFlag
Indicates how to ship the items that
the source order contains. Use one of
the following values:
True. Ship items in multiple
shipments, if necessary.
False. Ship all items in a single
shipment.
Varchar2
ShipToPartyIdentifier Value that identifies the party that
Varchar2 must receive the goods.
ShipToPartyName Name of the party that must receive
Varchar2 the goods.
ShipToPartyNumber Number that identifies the party that
Varchar2 must receive the goods.
ShipToAddress1 Address Line 1 of the ship-to
Varchar2 destination.
ShipToPartySiteIdentifier Value that identifies the party site of
Varchar2 the ship-to destination, such as 1036.
ShipToAddress2 Address Line 2 of the ship-to
Varchar2 destination.
ShipToAddress3 Address Line 3 of the ship-to
Varchar2 destination.
ShipToAddress4 Address Line 4 of the ship-to
Varchar2 destination.
ShipToCity Varchar2 City of the ship-to destination.
ShipToPostalCode Varchar2 Postal code of the ship-to destination.
Required Attributes You Must Include in the Request Payload to Define Order
Lines
You must include the following attributes in the request payload to define the order lines.
Table 8. Required Attributes You Must Include in the Request Payload for Each Order
Line
Attribute Type Description
SourceTransactionNumber Transaction number that resides in the
Varchar2 source system.
SourceTransactionSystem Name of the source system that
Varchar2 placed the request for fulfillment.
SourceTransactionIdentifier Value that uniquely identifies the
Varchar2 internal transaction.
SourceTransactionRevisionNumber Varchar2 Revision number of the transaction.
SourceTransactionLineIdentifier Value that uniquely identifies the
Varchar2 internal transaction line.
SourceTransactionLineNumber Line number of the transaction line.
Order Management uses this value to
Varchar2 sort transaction lines.
SourceTransactionScheduleIdentifi Value that uniquely identifies the
er Varchar2 source transaction schedule number.
SourceTransactionScheduleNumbe Line number of a schedule line,
r shipment line, or subline. The source
system assigned this value when it
captured the source order in the
Varchar2 source system.
ProductIdentifier Value that uniquely identifies the
internal product that Order
Management processes to fulfill the
Number sales order.
OrderedQuantity Quantity of the product that the
Number source system requested.
OrderedUOMCode Code for the unit of measure that the
source system requested, such as Unit
Varchar2 or Kg.
Optional Attributes You Can Include in the Request Payload to Define the
Order Lines
You can include the following optional attributes in the request payload to define the
order lines. You are not required to include them.
Table 9. Optional Attributes You Can Include in the Request Payload for Each Order Line
Attribute Type Description
ProductNumber SKU (stock keeping unit) that
Varchar2 identifies the product to fulfill.
ProductDescription Varchar2 Display name of the product.
SourceSystemProductReference Varchar2 Cross-Reference value of the item.
Table 11. Optional Attributes You Can Include in the Request Payload to Define Source
Transaction Details
Attribute Type Description
SourceTransactionNumber Varchar2 External transaction number.
SourceTransactionSystem Name of the source system that
Varchar2 placed the request for fulfillment.
SourceTransactionIdentifier Value that uniquely identifies the
Varchar2 internal transaction.
SourceTransactionRevisionNumber Varchar2 Revision number of the transaction.
SourceTransactionLineIdentifier Value that uniquely identifies the
Varchar2 internal transaction line.
SourceTransactionScheduleIdentifier Value that uniquely identifies the
internal transaction for a schedule,
shipment, or subline. The source
Varchar2 system assigns this value.
You typically include these details when you specify one of the following items:
Lot Numbers and serial numbers
Sales credits
Payments
Attachments
Document references
Transaction items
Charges
Charge components
Table 12. Optional Attributes You Can Include in the Request Payload for Lot Numbers
and Serial Numbers
Attribute Type Description
SourceTransactionLotIdentifier Value that uniquely identifies the internal
lot. The source system assigns this value.
LotNumber Number assigned to a quantity of items
for identification purposes. A lot number is
an identification number that a
manufacturer assigns to a quantity of
material, typically for quality control.
Some manufacturers combine the lot
number with the serial number to form an
Varchar2 identification number.
SerialNumberFrom Starting serial number of a range of serial
Varchar2 numbers.
SerialNumberTo Ending serial number of a range of serial
Varchar2 numbers.
ItemRevisionNumber Varchar2 Number that identifies the revision.
LocatorIdentifier Value that identifies the locator where
Order Management ships the item from
Number or received into.
Sales Credits
You can include the following optional attributes in the request payload to define sales
credits.
Table 13. Optional Attributes You Can Include in the Request Payload to Define Sales
Credits
Attribute Type Description
SourceTransactionSalesCreditIdentifier Value that uniquely identifies the
internal sales credit. The source
Varchar2 system assigns this value.
SalesPersonIdentifier Value that uniquely identifies the
internal salesperson. The source
Number system assigns this value.
Brief text that identifies the sales
SalesCreditTypeCode Varchar2 credit type.
Foreign key that references the
sales credit type. This type is
SalesCreditTypeReference Varchar2 Revenue or Non Revenue.
Percent Number that specifies the sales
credit percentage for a
Number salesperson.
Payments
You can include the following optional attributes in the request payload to define
payments.
Table 14. Optional Attributes You Can Include in the Request Payload to Define
Payments
Attribute Type Description
PaymentMethodCode Brief text that identifies the payment
Varchar2 method.
PaymentMethod Payment method that is associated
with the payment instrument for the
Varchar2 customer account.
PaymentTransactionIdentifier Value that identifies the payment
details. The source system contains
Number this value.
PaymentSetIdentifier Value that uniquely identifies a
group of payments that belong to
one prepaid order. If the set
identifies a prepayment, then the
Number foreign key references billing.
SourceTransactionPaymentIdentifier Value that uniquely identifies the
internal payment. The source
Varchar2 system assigns this value.
Attachments
You can include the following optional attributes in the request payload to define
attachments.
Table 15. Optional Attributes You Can Include in the Request Payload to Define
Attachments
Attribute Type Description
Title Varchar2 Title of the document.
FileContent Mime type for BLOB (Binary Large OBject)
Varchar2 attachment.
FileName File name of the attached document. If the
attachment is a URL, then Order Management
Varchar2 does not use this attribute.
Data Blobdomain Data that the attachment contains.
Description Varchar2 Description of the attachment.
URL Varchar2 URL.
DataTypeCode Varchar2 Type of attachment.
Document References
You can include the following optional attributes in the request payload to define
document references. The service currently accepts only the original sales order or order
line reference when creating a return line for the document reference entity.
Table 16. Optional Attributes You Can Include in the Request Payload to Define
Document References
Attribute Type Description
DocumentReferenceType Type of business document or
object that the source order
references, such as asset, sales
Varchar2 order, or purchase order.
DocumentIdentifier Value that uniquely identifies the
Varchar2 document.
DocumentAdditionalIdentifier Value that identifies more qualifiers
for the ID. Used when multipart
Varchar2 keys are present.
DocumentNumber User-friendly number that identifies
the document, such as asset
number, sales order number, or
Varchar2 purchase order number.
DocumentAdditionalNumber Number that identifies the
document. You can use it as
another way to identify the object
instance. You can use it to
capture more identifying details,
Varchar2 as necessary.
DocumentLineIdentifier Value that uniquely identifies the
document line. Order
Management creates this value
Varchar2 internally.
DocumentAdditionalLineIdentifier Value that identifies more qualifiers
for the document line. Used when
Varchar2 multipart keys are present.
DocumentLineNumber User-friendly number that identifies
the document line, such as the line
number in a sales order, or the line
Varchar2 number in a purchase order.
DocumentAdditionalLineNumber Number that identifies the
document line. You can use it as
another way to identify the object
instance. You can use it to
capture more identifying details,
Varchar2 as necessary.
DocumentSubLineIdentifier Varchar2 Value that uniquely identifies the
Transaction Items
You can include the following optional attributes in the request payload to define
transaction items.
Table 17. Optional Attributes You Can Include in the Request Payload to Define
Transaction Items
Attribute Type Description
TransactionAttributeName Varchar2 Item attribute name.
CharacterValue Varchar2 Item attribute value of type character.
NumberValue Number Item attribute value of type number.
DateValue Date Item attribute value of type date.
TimestampValue Timestamp Item attribute value of type time.
Charges
You can include the following optional attributes in the request payload to define
charges.
Table 18. Optional Attributes You Can Include in the Request Payload to Define Charges
Attribute Type Description
BatchIdentifier Number Number that identifies the batch.
ChargeDefinitionCode Varchar2 Brief text that identifies the charge definition.
Value for the charge definition entity. A
charge definition defines the price type,
charge type, and the charge subtype. Order
Management typically denormalizes these
ChargeDefinition Varchar2 objects on this entity.
Charge Components
You can include the following optional attributes in the request payload to define
charge components.
Table 19. Optional Attributes You Can Include in the Request Payload to Define Charge
Components
Attribute Type Description
Brief text that identifies the currency
that the charge component uses.
Order Management uses this code
ChargeCurrencyCode Varchar2 to standardize service.
Brief text that identifies the currency
that the header uses. Order
Management uses this code to
HeaderCurrencyCode Varchar2 standardize service.
Extended amount in the header
HeaderCurrencyExtendedAmount Number currency.
Brief text that identifies the price
element, such as LISTPRICE,
PriceElementCode Number NETPRICE, and so on.
Sequence number for the charge
SequenceNum Number component.
Brief text that specifies how to use
the charge component. A QP
lookup provides the values for this
attribute. Order Management
comes predefined to use one of the
following values:
List Price
Invoice Price
PriceElementUsageCode Varchar2
Price or adjustment for each unit in
the charge currency for the UOM
ChargeCurrencyUnitPrice Number that the order line uses.
HeaderCurrencyUnitPrice Number Price or adjustment for each unit in
Operations_and_Attri
butes_of_the_Receive_Order_Request_Service.xlsx
6 Cancelling Orders
To cancel a sales order or order line, you call the web service with a payload that
includes the following details:
Cancel sales order. Set the OperationCode for the order header to CANCEL. You
must also identify the source transaction system and include the source transaction
identifier.
Cancel an order line. Do the following:
o Set the OperationCode for the order line to CANCEL.
o Set the Ordered Quantity attribute to 0.
M1
|_SI1
|_SI2
|_SI5
Assume the model in PIM includes the following hierarchy:
M1
|_SI1
|_OC1
|_SI2
|_SI3
|_M2
|_OC2
|_SI4
|_SI5
In this example, the createConfigForModelLine service modifies the structure from the
payload to the following structure:
M1
|_SI1
|_OC1
|_SI2
|_M2
|_OC2
|_SI5
record as a sales order. For details, see the guide titled Using External Data Integration
Services for Oracle ERP Cloud.
You use the following parameters to run the scheduled process.
10 Example Payloads
Example Payloads for OrderImportService
This section includes example payloads for OrderImportService.
single_line_priced_in_ single_line_priced_in_
source_system.xml oracle_fusion.xml
Description Payload
Get Sales Order That
Includes Child Entities
child_entity_transacti child_entity_payment. child_entity_manual_
onal_item_attribute.xml xml price_adjustment.xml
child_entity_lot_serial
.xml
The following payload is an example of a successful response for the Create Order
operation:
successful_response_
for_CreateOrder.xml
The following payload is an example of a failed response for the Create Order
operation:
failed_response_for_
CreateOrder.xml
lines 3 and 10 for the stage order operation. To use the Create Orders operation, you
replace stageOrders on lines 3 and 10 with createOrders.
1. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
2. <soap:Body>
3. <ns1:stageOrders
xmlns:ns1="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImpor
tService/types/">
4. <ns1:request
xmlns:ns2="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImpor
tService/">
5. <ns2:BatchName/>
6. <ns2:Order>
7. . . .
8. </ns2:Order>
9. </ns1:request>
10. </ns1:stageOrders>
11. </soap:Body>
12. </soap:Envelope>
The following payload is an example of a successful response for the Stage Order
operation:
successful_response_
for_StageOrder.xml
submit_draft_order_s
ync.xml
single_line_priced_in_source_system.xml
single_line_priced_in_oracle_fusion.xml
Description Payload
Get Sales Order Details
check_availability_inp
ut.xml
release_hold_output.x release_hold_input.x
ml ml
Import Orders
order_import_service.
xml
The following payload is an example of a successful response for the Receive Order
Request web service:
successful_response_for_ReceiveOrderRequest.xml
The following payload is an example of a failed response for the Receive Order Request
web service:
failed_response_for_ReceiveOrderRequest.xml