Rest API is returning success but charges are not getting applied to sales order
Summary:
hi Gurus,
we have a requirement to apply freight charges onto a sales order as part of update API. I am using the below payload and post method . I can see status 200 and sales order revision also getting incremented but costs are not reflecting from fullfilment page. Any setup is required or ESS job needs to be run for the charges to be reflect on sales order
POST https://xxxxx/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub
{
"OrderKey": "OPS:87920034",
"lines": [
{
"FulfillLineId": 300000159508758,
"SourceTransactionLineId": "1",
"SourceTransactionLineNumber": "1",
"SourceTransactionScheduleId": "1",
"SourceScheduleNumber": "1",
"charges": [
{
"SourceChargeId": "TEST879011",
"PriceTypeCode": "ONE_TIME",
"ChargeTypeCode": "ORA_SHIPPING_FREIGHT",
"ChargeDefinitionCode": "QP_SHIP_FREIGHT",
"ChargeSubtypeCode": "ORA_PRICE",
"ChargeSubType": "Price",