Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Onepage Checkout Item
I'm working with the Beta Reference Cart and one Page Checkout and struggling with something.
I have one item in my cart.
in my custom .ss code I have :
var order = nlapiGetWebContainer().getShoppingSession().getOrder();
var items= order.getItems();
nlapiLogExecution( 'DEBUG', 'NeilS Message', items.length);
This outputs as expected = 1;
var itemfields = items[0].getFieldValues();
nlapiLogExecution( 'DEBUG', 'NeilS Message', itemfields.length);
This causes a problem, I see a "TypeError: Cannot find default value for object. (myss.ss#40)"
I've tried itemFields.getFieldValues(); too to no avail.
0