Skip to content

Commit

Permalink
small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
amillerExtend committed May 10, 2024
1 parent 709ad19 commit 2a60254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"defaultAuthId":"ExtendSandbox"}
{"defaultAuthId":"Extend-SB-new"}
1 change: 1 addition & 0 deletions src/FileCabinet/SuiteScripts/lib/customscript_ext_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ function (runtime, search, record, error, EXTEND_API, EXTEND_CONFIG) {
objExtendData.currency = 'USD';
objExtendData.order_number = objSalesOrderRecord.getValue({ fieldId: 'tranid' });
objExtendData.total_amount = objSalesOrderRecord.getValue({ fieldId: 'total' });
objExtendData.shipping_total_amount = 0;
objExtendData.shipping_total_amount = objSalesOrderRecord.getValue({ fieldId: 'shippingcost' });
objExtendData.tax_total_amount = objSalesOrderRecord.getValue({ fieldId: 'taxtotal' });
objExtendData.name = objSalesOrderRecord.getText({ fieldId: 'entity' }).replace(/[0-9]/g, '');
Expand Down

0 comments on commit 2a60254

Please sign in to comment.