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
nlapiGetFieldValue('parentrecord.custcol19');