Skip to content

Commit

Permalink
Merge pull request #5 from helloextend/TAM-235-Add-Sales-Origin-Objec…
Browse files Browse the repository at this point in the history
…t-to-order-JSON

Tam 235 add sales origin object to order json
  • Loading branch information
amillerExtend authored Feb 27, 2024
2 parents 0dbaea6 + 19d0192 commit 2562883
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/FileCabinet/SuiteScripts/lib/customscript_ext_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,11 @@ define([

}
},
'saleOrigin': {
'integratorId': 'NetSuite',
'channel': 'NetSuite',
'platform': 'NetSuite'
},
'storeId': objExtendConfig.storeId,
'lineItems': objValues.lineItems,
'total': parseInt(objValues.total_amount * 100),
Expand Down

0 comments on commit 2562883

Please sign in to comment.