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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Retrieving package dimensions from an item record (client script)
Hello,
I am trying to get package dimensions from an item record from a client script. Presently I have some code that accesses inventoryitem using nlapiLoadRecord.
Following
https://system.netsuite.com/help/helpcenter/en_US/RecordsBrowser/2013_2/Records/inventoryitem.html
I've attempted to get access to the package data. Using
itemRecord.getFieldValue('shippackage');
Results in it returning "1". I'm assuming this is the line number corresponding to the package in the shipping setup.
If I alert the following:
alert('Dims = ' + itemRecord.getFieldValue('packagelength') + ' x ' + itemRecord.getFieldValue('packagewidth') + ' x ' + itemRecord.getFieldValue('packageheight'));
I get "null x null x null". I know for a fact this package I have this item set up with has dimensions.