Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Help with sublist GetLineItemText
I'm trying to build a script for fulfillments, the idea is that if there is only one bin with items in it, the script will fill in the bin field on the fulfillment page.
The script runs successfully until current_item.GetLineItemText('binnumber', 'onhand', b), and then I'm getting an error that
TypeError Object #<a nlobjRecord> has no method 'GetLineItemText'
Not sure what I have wrong here, the object is valid, and current_item.getLineItemCount('binnumber'); is working correctly. Any help is appreciated
Here's my code
// function to fill in bins if only one bin has stock
function automatebins()