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.
Internal id of record is showing blank on matrix item creation
Hi,
On Matrix item creation, record id is returning blank using api nlapiGetRecordId() .
I am creating matrix item manually, i am using following code on after submit event on item creation.After creation of item, creating record in custom record but for matrix item creation the record id is getting blank so can not create in custom record .
function InventoryTabAfterSubmit(type)
{
if (nlapiGetRecordId() > 0) // getting value blank for Matrix item but getting record id for other item type.
{
if (type == 'create')
{
var record = nlapiCreateRecord('customrecord_avaitemmapping');
AVA_ItemSet = 'T'
if(AVA_ItemSet == 'T')
{
nlapiLogExecution('DEBUG', 'AVA_InventoryTabAfterSubmit','nlapiGetRecordId() = '+nlapiGetRecordId());