I am trying to inherit LDF attributes of my parent record in my child record. I have successfully enabled LDF permissions and tested them with a second user. It all works, except for the child records that need to inherit LDF attributes.
I have a parent object Realtor that has LDF enabled. I also have child object Website that has LDF enabled. Realtor has a 1 to Many relationship with Website. Realtor has a Department value. When I create a new Website record via Realtor or via New Website, it seems to inherit nothing. Am I overlooking something?
If those child record was already created and has different LDF values from the parent then those values will not be changed according to its parent's LDF.
If a a child will be created together with the parent record, like "embedded quick create" or "grid" then child record can have the same LDF values with the parent.
Your workaround is correct or it should be done that way to change the child's LDF values.
Regards,
Orchid
In the child object can you make sure that the Organization fields (Location, Department, Function) has the "Use user's Location value as default for new records" set to CHECKED?
Regards,
Orchid
Hey Orchid, the checkbox has been checked. The user's Location, Department and Function fields do not contain a value though.
I worked around this problem using a trigger mapper that runs after create or update. But I still wonder why I couldn't inherit from parent Realtor object.
If those child record was already created and has different LDF values from the parent then those values will not be changed according to its parent's LDF.
If a a child will be created together with the parent record, like "embedded quick create" or "grid" then child record can have the same LDF values with the parent.
Your workaround is correct or it should be done that way to change the child's LDF values.
Regards,
Orchid
Hi Orchid thanks for your reply. Now I understand the mechanism a bit more and I can also see that I would have to create the update triggers anyway. Thanks!