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.
Client SuiteScript on line item throws NULL
Hi,
I have a client suite script that collects informations of three different item fields and should place them together in one column field on a transaction after entering an the item. I chose validateLine to place the action and the script looks like this:
______________________________
function validateLine(type)
{
// Only validate the 'item' sublist
if (type == 'item')
{
var valueA = nlapiGetCurrentLineItemValue('item', 'custitemharmonized');
var valueB = nlapiGetCurrentLineItemValue('item', 'custitem29');
var result = valueA + '\n' + valueB;
nlapiSetCurrentLineItemValue('item', 'custcol34', result);
}
return true;
}
______________________________
After entering an item and adding the line I get just this on my column field:
NULL
NULL
Any Idea what I'm doing wrong?