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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Question of the Week! You only have until tomorrow, October 23, 2025, 2PM ET to comment your answers and earn rewards! Click here for more details.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
Update Line Items on Fulfillments
I am trying to run a scheduled script that mass updates past item fulfillments. We have a custom column for projects (custcol_col_project), and we need the main line project to populate that column for each line item.
Right now, the script is Completing, and all the logging is done, including getting the project ID. However, when I look at the item fulfillments, nothing has changed.
function updateJob_LineItem() { var records = nlapiSearchRecord('transaction', 607, null, null); //this is the internalID for the search to find related item fulfillments for ( var i = 0; records != null && i < records.length; i++ ) { try { var record = nlapiLoadRecord( records[i].getRecordType(), records[i].getId() ); var project = record.getFieldValue('entity'); var tranid = record.getFieldValue('tranid'); nlapiLogExecution('DEBUG', 'Record #' + (i+1) + ' Details', 'TranID = ' + tranid +', Project = ' + project); lines = record.getLineItemCount('item'); for ( var j = 1 ; j<= lines ; j++ ) { record.setLineItemValue('item', 'custcol_col_project', j, project); nlapiLogExecution('DEBUG', 'line updated'); } nlapiSubmitRecord(record, false,
0