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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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