Rest API to create Sales Order gives error
Summary:
I am trying to create Sales order via /fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub REST API and getting error as mentioned below
Content (please ensure you mask any confidential information):
Trying to create sales order with below payload
{"SourceTransactionNumber": "OC_04",
"SourceTransactionSystem": "OPS",
"SourceTransactionId": "OC_04",
"SourceTransactionRevisionNumber": 1,
"TransactionalCurrencyName": "US Dollar",
"BusinessUnitName": "MS_GEN_US_USD_BU",
"BuyingPartyName": "Torman Software Inc",
"TransactionOn": "2024-04-16T05:25:36+00:00",
"CustomerPONumber": null,
"RequestingBusinessUnitId": 300000003325003,
"billToCustomer": [
{
"PartyName": "Torman Software Inc",
"AccountNumber": "1001",
"SiteUseId": 300000006546203
}
],
"shipToCustomer": [
{
"PartyName": "Torman Software Inc",
"SiteId": 300000006546201
}
],
"lines": [
{
"SourceTransactionLineId": "1",
"SourceTransactionLineNumber": "1",
"SourceScheduleNumber": "1",
"SourceTransactionScheduleId": "1",
"ProductNumber": "CN92777",
"OrderedUOMCode": "EA",
"OrderedQuantity": 1,
"TransactionCategoryCode": "ORDER",
"TransactionLineType": "Buy",
"RequestedShipDate": "2024-04-16T05:25:36+00:00",
"RequestedFulfillmentOrganizationName": "GEN_US_DIST",
"billToCustomer": [
{
"PartyName": "Torman Software Inc",
0