Matt Gochee
06/17/2025, 8:35 PMMia Li
06/18/2025, 2:13 AMCraig
06/18/2025, 2:34 PMLucas
06/20/2025, 6:26 AM_.extend(LiveOrderModel.prototype, {
initialize: _.wrap(LiveOrderModel.prototype.initialize, function (fn) {
fn.apply(this, _.toArray(arguments).slice(1));
this.on('after:sync', function () {
this.set('custbody_test_field', 'T');
}.bind(this));
})
});
Craig
06/23/2025, 6:10 PMSohan Kumar Dash
06/24/2025, 3:07 PMCraig
06/24/2025, 4:34 PMLucas
06/25/2025, 7:33 AMvar cart = container.getComponent('Cart');
var data = {
fieldId: "custbody_test_field",
type: "string",
value: "C123456"
}
cart.setTransactionBodyField(data).then(function() {
console.log(data.fieldId + ' was set to ' + data.value);
}).fail(function(error) {
console.log('setTransactionBodyField failed.');
});
Any of the following circumstances will cause this method to fail and return an error:
• If there are no transaction body fields on the page.
• If the specified transaction body field is not on the page.
• If the value of value
does not match the specified type
in the TransactionBodyFieldData object.
• If the value of type
in the TransactionBodyFieldData object does not match the field type in NetSuite.Francisca Galperin
06/25/2025, 12:48 PMSebastian Alexis Gonzalez
06/25/2025, 7:08 PMeminero
06/26/2025, 9:03 PMJohn Shaw
06/27/2025, 7:51 AMMia Li
06/30/2025, 6:15 AMSohan Kumar Dash
06/30/2025, 3:34 PMMia Li
07/01/2025, 9:27 AMTodd Juenemann
07/03/2025, 6:32 PMChris
07/07/2025, 3:23 PMNick
07/07/2025, 7:47 PM.ss
service scripts, or is it only required for .SSP
files?Diego Gallo
07/08/2025, 6:05 AMMatt Gochee
07/09/2025, 1:17 PMFrancisca Galperin
07/09/2025, 1:34 PMCharan
07/10/2025, 3:25 PMChristine Nicole Ramos
07/10/2025, 10:32 PMMJ
07/13/2025, 1:02 PMChandrakala
07/14/2025, 10:46 AMAccount.Model.js
using SuiteScript. However, it seems the actual flow is handled within SC.Model.Init.js
.
When I try to log anything in SC.Model.Init.js
, I encounter the following error:
"Cannot find default value for object" (or similar)Has anyone faced this issue before or can guide me on how to approach this customization? Thanks in advance for your help!
Benjamin Cookson
07/14/2025, 4:41 PMChristine Nicole Ramos
07/16/2025, 11:41 PMCraig
07/17/2025, 11:54 AMZohaib Ahmed
07/17/2025, 4:04 PMMatt Gochee
07/17/2025, 6:20 PM