FA: SCM: OM: Is It Possible to Execute salePriceTransaction REST API in Batch Mode for parallelization?
(Doc ID 2808019.1)
Last updated on SEPTEMBER 21, 2021
Applies to:
Oracle Fusion Order Management Cloud Service - Version 11.13.21.07.0 and laterInformation in this document applies to any platform.
Goal
Does salePriceTransaction support Batch Mode? It only provides a success or failure result.
For Example:
Ran Below Payload in Batch Mode with Two Parts
==============================================
"parts": [
{
"id": "part1",
"path": "/priceExecution/documentPrices/priceSalesTransaction",
"operation": "update",
"payload": {
"Header": [
{
"CustomerName": "HENDERSON INC",
"CustomerNumber":"24079",
"HeaderId": 1,
"OverrideCurrencyCode": "USD",
"SellingBusinessUnitId": 300000001700507,
"TransactionTypeCode": "ORA_SALES_ORDER",
"AppliedCurrencyCode": "USD",
"CalculatePricingChargesFlag": "true",
"CalculateShippingChargesFlag": "true",
"CalculateTaxFlag": "false",
"SellingLegalEntityId": 300000002634076
}
],
"PricingServiceParameter": [
{
"PricingContext": "SALES",
"CalculateToPriceElement":"List Price"
}
]
,
"PricingTerm" : [ {
"ApplyToEntityCode" : "LINE",
"PricingTermId" : 100000005073091,
"ApplyToEntityId" : 1 ,
"SourceIdentifierId1" : 300000005084288,
"SourceIdentifierId2" : 300000005084303,
"SourceIdentifierId2" : 1,
"SourceTypeCode" : "SALES_AGREEMENT"
}] ,
"Line": [
{
"DefaultTaxationCountry": "US",
"HeaderId": 1,
"InventoryItemId": 100000002546545,
"InventoryOrganizationId": 300000003873705,
"LineCategoryCode": "ORDER",
"LineId": 1,
"LineQuantityUOMCode": "EA",
"LineQuantity": {
"Value": 1,
"UomCode": "EA"
},
"LineTypeCode": "ORA_BUY",
"SkipShippingChargesFlag": "false",
"TaxClassificationCode": "CA_STANDARD",
"ProductType": "GOODS"
}
]
}
}
, {
"id": "part2",
"path": "/priceExecution/documentPrices/priceSalesTransaction",
"operation": "update",
"payload": {
"Header": [
{
"CustomerName": "HENDERSON INC",
"CustomerNumber":"24079",
"HeaderId": 1,
"OverrideCurrencyCode": "USD",
"SellingBusinessUnitId": 300000001700507,
"TransactionTypeCode": "ORA_SALES_ORDER",
"AppliedCurrencyCode": "USD",
"CalculatePricingChargesFlag": "true",
"CalculateShippingChargesFlag": "true",
"CalculateTaxFlag": "false",
"SellingLegalEntityId": 300000002634076
}
],
"PricingServiceParameter": [
{
"PricingContext": "SALES",
"CalculateToPriceElement":"List Price"
}
]
,
"PricingTerm" : [ {
"ApplyToEntityCode" : "LINE",
"PricingTermId" : 100000005073091,
"ApplyToEntityId" : 1 ,
"SourceIdentifierId1" : 300000005084288,
"SourceIdentifierId2" : 300000005084303,
"SourceIdentifierId2" : 1,
"SourceTypeCode" : "SALES_AGREEMENT"
}] ,
"Line": [
{
"DefaultTaxationCountry": "US",
"HeaderId": 1,
"InventoryItemId": 100000002546545,
"InventoryOrganizationId": 300000003873705,
"LineCategoryCode": "ORDER",
"LineId": 1,
"LineQuantityUOMCode": "EA",
"LineQuantity": {
"Value": 1,
"UomCode": "EA"
},
"LineTypeCode": "ORA_BUY",
"SkipShippingChargesFlag": "false",
"TaxClassificationCode": "CA_STANDARD",
"ProductType": "GOODS"
}
]
}
}
]
RESPONSE
============
{
"PricingServiceParameter": [
{
"CalculateRollupFlag": false,
"OutputStatus": "Success",
"PopulateCoverageLineChargesFlag": false
}
]
}
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |