Create Sales Order Rest Api Sample Payload Oracle Fusion

Below is the Create Sales Order Rest Api Sample Payload to create Sales order in oracle Fusion

The Rest API URL is

https://yourfusiondomain.om/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub

Basic Order Creation Json Payload

{
	"SourceTransactionNumber": "PS_REST_324",
	"SourceTransactionSystem": "OPS",
	"SourceTransactionId": "PS_REST_324",
	"TransactionalCurrencyName": "US Dollar",
	"BusinessUnitName": "US1 Business Unit",
	"BuyingPartyName": "Computer Service and Rentals",
	"TransactionOn": "2019-12-19T19:51:48+00:00",
	"SubmittedFlag": true,
	"FreezePriceFlag": true,
	"FreezeShippingChargeFlag": true,
	"FreezeTaxFlag": true,
	"RequestingBusinessUnitName": "US1 Business Unit",
	"billToCustomer": [{
			"PartyName": "Computer Service and Rentals",
			"AccountNumber": "10060",
			"SiteUseId": 300000047368650
			}],
			
	"shipToCustomer": [{
			"PartyName": "Computer Service and Rentals",
			"SiteId": 300000047368648
		
	}],
	"lines": [{
		"SourceTransactionLineId": "1",
		"SourceTransactionLineNumber": "1",
		"SourceScheduleNumber": "1",
		"SourceTransactionScheduleId": "1",
		"OrderedUOMCode": "zzu",
		"OrderedQuantity": 1,
		"ProductNumber": "TDC0016",
		"FOBPoint": "Destination",
		"FreightTerms": "Add freight",
		"PaymentTerms": "30 Net",
		"ShipmentPriority": "High",
		"RequestedShipDate": "2019-12-19T19:51:48+00:00",
		"ContractStartDate": "2019-12-19T19:51:48+00:00",
		"RequestedFulfillmentOrganizationId": 300000047274447,
		"charges": [
                {
                    "SourceChargeId": "SC1",
                    "PriceTypeCode": "ONE_TIME",
                    "ChargeTypeCode": "ORA_SALE",
                    "ChargeDefinitionCode": "QP_SALE_PRICE",
                    "ChargeSubtypeCode": "ORA_PRICE",
                    "PricedQuantity": 1,
                    "ChargeCurrencyCode": "USD",
                    "PricedQuantityUOMCode": "zzu",
                    "SequenceNumber": 1,
                    "PrimaryFlag": true,
                    "RollupFlag": false,
                    "AverageUnitSellingPrice": 25,
                    "CanAdjustFlag": "N",
                    "ApplyTo": "Price",
                    "ApplyToCode": "PRICE",
                    "chargeComponents": [
                        {
                            "SourceChargeComponentId": "SCL1",
                            "ChargeCurrencyUnitPrice": 25,
                            "ChargeCurrencyExtendedAmount": 75,
                            "ChargeCurrencyCode": "USD",
                            "PriceElement": "List Price",
                            "PriceElementCode": "QP_LIST_PRICE",
                            "PriceElementUsageCode": "LIST_PRICE",
                            "SequenceNumber": 1,
                            "RollupFlag": false,
                            "HeaderCurrencyUnitPrice": 25,
                            "HeaderCurrencyExtendedAmount": 75,
                            "HeaderCurrencyCode": "USD",
                            "PercentOfComparisonElement": 1,
                            "TaxIncludedFlag": false
                        },
                        {
                            "SourceChargeComponentId": "SCL2",
                            "ChargeCurrencyUnitPrice": 25,
                            "ChargeCurrencyExtendedAmount": 75,
                            "ChargeCurrencyDurationExtendedAmount": null,
                            "ChargeCurrencyCode": "USD",
                            "ChargeCurrency": "US Dollar",
                            "PriceElementCode": "QP_NET_PRICE",
                            "PriceElementUsageCode": "NET_PRICE",
                            "PriceElementUsage": "Net price",
                            "SequenceNumber": 2,
                            "RollupFlag": false,
                            "Explanation": null,
                            "ExplanationMessageName": null,
                            "HeaderCurrencyUnitPrice": 25,
                            "HeaderCurrencyExtendedAmount": 75,
                            "HeaderCurrencyDurationExtendedAmount": null,
                            "HeaderCurrencyCode": "USD",
                            "HeaderCurrency": "US Dollar",
                            "PercentOfComparisonElement": 1,
                            "PricingSourceId": null,
                            "PricingSourceTypeCode": null,
                            "PricingSourceType": null,
                            "SourceMpaId": null,
                            "TaxIncludedFlag": false
                        }
                    ]
                }
            ],
		
		
		"billToCustomer": [{
			"PartyName": "Computer Service and Rentals",
			"AccountNumber": "10060",
			"SiteUseId": 300000047368650
		}],
		"shipToCustomer": [{
			"PartyName": "Computer Service and Rentals",
			"SiteId": 300000047368648
		}]
			}]
}

Order Creation With Prices

{ 
    "SourceTransactionNumber": "PS_REST_328",
    "SourceTransactionSystem": "OPS",
    "SourceTransactionId": "PS_REST_328",
    "TransactionalCurrencyName": "US Dollar",
    "BusinessUnitName": "US1 Business Unit",
    "BuyingPartyName": "Pinnacle Technologies",
    "TransactionOn": "2019-12-19T19:51:48+00:00",
    "CustomerPONumber": "IDC123",
    "SubmittedFlag": true,
    "FreezePriceFlag": true,
    "FreezeShippingChargeFlag": true,
    "FreezeTaxFlag": true,
"RequestedShipDate": "2022-04-14T11:52:32+00:00",
    "RequestingBusinessUnitName": "US1 Business Unit",
    "billToCustomer": [{
            "AccountNumber": "10080",
        "Address1": "601 4TH AVE",
        "City": "Seattle",
        "Country": "US",
        "County": "King",
        "PartyName": "Pinnacle Technologies",
        "PostalCode": "98104",
        "State": "WA"
            }],
    "shipToCustomer": [{
            "Address1": "601 4TH AVE",
        "City": "Seattle",
        "Country": "US",
        "County": "King",
        "PartyName": "Pinnacle Technologies",
        "PartyNumber": "10080",
        "PostalCode": "98104",
        "State": "WA"
    }],
    "lines": [{
        "SourceTransactionLineId": "1",
        "SourceTransactionLineNumber": "1",
        "SourceScheduleNumber": "1",
        "SourceTransactionScheduleId": "1",
        "OrderedUOM": "Ea",
        "OrderedQuantity": 100,
        "ProductNumber": "TDC0017",
        "FOBPoint": "Destination",
        "FreightTerms": "Add freight",
        "PaymentTerms": "30 Net",
        "ShipmentPriority": "High",
     
        "RequestedShipDate": "2022-04-14T19:51:48+00:00",
        "ContractEndDateTime": "2023-04-14T23:59:59+00:00",
                    "ContractStartDateTime": "2022-04-15T19:28:43+00:00",
        "RequestedFulfillmentOrganizationId": null,

		"charges": [
                {
                    "SourceChargeId": "SC1",
                    "PriceTypeCode": "ONE_TIME",
                    "ChargeTypeCode": "ORA_SALE",
                    "ChargeDefinitionCode": "QP_SALE_PRICE",
                    "ChargeSubtypeCode": "ORA_PRICE",
                    "PricedQuantity": 1,
                    "ChargeCurrencyCode": "USD",
                    "PricedQuantityUOMCode": "zzu",
                    "SequenceNumber": 1,
                    "PrimaryFlag": true,
                    "RollupFlag": false,
                    "AverageUnitSellingPrice": 10000,
                    "CanAdjustFlag": "N",
                    "ApplyTo": "Price",
                    "ApplyToCode": "PRICE",
                    "chargeComponents": [
                        {
                            "SourceChargeComponentId": "SCL1",
                            "ChargeCurrencyUnitPrice": 10000,
                            "ChargeCurrencyExtendedAmount": 100000,
                            "ChargeCurrencyCode": "USD",
                            "PriceElement": "List Price",
                            "PriceElementCode": "QP_LIST_PRICE",
                            "PriceElementUsageCode": "LIST_PRICE",
                            "SequenceNumber": 1,
                            "RollupFlag": false,
                            "HeaderCurrencyUnitPrice": 10000,
                            "HeaderCurrencyExtendedAmount": 100000,
                            "HeaderCurrencyCode": "USD",
                            "PercentOfComparisonElement": 1,
                            "TaxIncludedFlag": false
                        },
                        {
                            "SourceChargeComponentId": "SCL2",
                            "ChargeCurrencyUnitPrice": 10000,
                            "ChargeCurrencyExtendedAmount": 10000,
                            "ChargeCurrencyDurationExtendedAmount": null,
                            "ChargeCurrencyCode": "USD",
                            "ChargeCurrency": "US Dollar",
                            "PriceElementCode": "QP_NET_PRICE",
                            "PriceElementUsageCode": "NET_PRICE",
                            "PriceElementUsage": "Net price",
                            "SequenceNumber": 2,
                            "RollupFlag": false,
                            "Explanation": null,
                            "ExplanationMessageName": null,
                            "HeaderCurrencyUnitPrice": 10000,
                            "HeaderCurrencyExtendedAmount": 100000,
                            "HeaderCurrencyDurationExtendedAmount": null,
                            "HeaderCurrencyCode": "USD",
                            "HeaderCurrency": "US Dollar",
                            "PercentOfComparisonElement": 1,
                            "PricingSourceId": null,
                            "PricingSourceTypeCode": null,
                            "PricingSourceType": null,
                            "SourceMpaId": null,
                            "TaxIncludedFlag": false
                        }
                    ]
                }
            ],



        "billToCustomer": [{
            "AccountNumber": "10080",
        "Address1": "601 4TH AVE",
        "City": "Seattle",
        "Country": "US",
        "County": "King",
        "PartyName": "Pinnacle Technologies",
        "PostalCode": "98104",
        "State": "WA"
        }],
        "shipToCustomer": [{
            "Address1": "601 4TH AVE",
        "City": "Seattle",
        "Country": "US",
        "County": "King",
        "PartyName": "Pinnacle Technologies",
        "PartyNumber": "10080",
        "PostalCode": "98104",
        "State": "WA"
        }]
            }]
}

Oracle Document on Order Creation rest API

OIC Articles

wpsadmin
We will be happy to hear your thoughts

Leave a reply

Cloud Technologies Blog
Logo
Enable registration in settings - general
Compare items
  • Total (0)
Compare
0
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock
Shopping cart