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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Scripting Project Resources Tab
Hi all,
Can anyone help me out on retrieving and then adding Employees to the Resources tab?
I plan to load an existing Project and retrieve those listed in the Resources tab. Then I would like to create a new Project record and add those previously retrieved to the new Project's Resources tab.
I have read previous posts, but not much final on the matter.
I have read the following posts:
https://usergroup.netsuite.com/users/showthread.php?t=20957&highlight=project+resources
https://usergroup.netsuite.com/users/showthread.php?t=22955&highlight=project+resources
What I have so far is...
//load project template and gather resources tab var recProjectTemplate = nlapiLoadRecord('project',stCurrProjTemp); var arrProjectResources = []; for(var x=1; x<recProjectTemplate.getLineItemCount('jobresources'); x++){ arrProjectResources[arrProjectResources.length] = recProjectTemplate.getLineItemValue('jobresources', 'jobresource',i); } 0