The Sublist.updateTotallingFieldId(options) method is used in NetSuite’s SuiteScript 2.x to update the field ID responsible for calculating the total value of a sublist. This is particularly useful when dealing with custom transaction sublists where a total field needs to be dynamically reassigned based on business logic. SYNTAX: sublist.updateTotallingFieldId({ id: ‘total_field_id’ }); Key Use… Continue reading Understanding Sublist.updateTotallingFieldId(options) in NetSuite SuiteScript
Tag: sublist total calculation
Item field value population and the Total value calculation
When an item is added in a sales order, purchase order, and estimate record, item weight and M3 should be calculated and set in the column fields. Also, the total weight and M3 should be set in the body fields. The script is deployed to Sales order, purchase order, quote/estimate records, and is applicable only… Continue reading Item field value population and the Total value calculation