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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Referencing a parent and child fields
I'm building a script to execute when a child record (project task) is created. The parent record is Project. Using the 'on submit' event I want the script to grap a field on the project record and write it to a field on the child record.
I'm reasonably new to scripting, but I understand how to get values from fields and manipulate them and write them back to other fields. I'm just grappling with how I get data from records other than the one which the script is running in.
Can I access the parent record fields as if they are on the child record or do I have to preface the custom field in some way eg
0