- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 09:39 AM
Is there a way to set the default value to a dot walked field of a reference field on the same table? See example below on the Change Order table. Would like to set the "Requested for" default value to be the business contact which comes from the Project itself (referenced in Project Number). Is there any way to do this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 01:20 PM
Hmm...If it's not working this way I would try it in a before insert business rule instead.
current.u_requested_for = current.u_project.u_business_contact;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 10:46 AM
Hi Emily,
Thanks for the suggestion. Unfortunately it didn't seem to work for me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 10:23 AM
Hi Jennifer,
Have you validated that u_project and u_business_contact are the correct field names? Also, is u_business_contact a reference field to the user table? I would not do this through a client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 10:45 AM
Yes, those are the correct field names. And yes, u_business_contact is a reference field to the user table, so is the Requested For field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 10:57 AM
How is the u_project field getting populated on the record? If that field is not yet populated when the record is created then we may not be able to use a default value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2015 12:56 PM
It's being populated automatically to be whatever project is open when you click "New" from the Change Orders related list (which is on the Project form) - not sure if that answers your question? Thanks again for your help!