You need to sign in to do that
Don't have an account?
Pankaj Sharma 53
Update Child Object Field value
I have two custom objects related with lookip. I want to update all Child objects address field according to Parents. I know for that, I have to write a trigger so plz help me.
Please find the below code.
Account and contact has lookup relation. When i update the accounts billing street the same is applied on the contacts mailing street.
All Answers
Please find the below code.
Account and contact has lookup relation. When i update the accounts billing street the same is applied on the contacts mailing street.
Thanks for this code this is working fine.
but in my case i have two custom object
Policy_Holder__c(Parent)and Premium_Amount__c and Duration__c is custom field
Life_Insurance__c (child)and Premium_Amount__c and Duration__c is custom field
Policy_holder_name__c is lookup field
and i want to populate both field value of child from parent
I tried but failed please suggest
Please find the code below and let me know if you face any issues
I checked this is not working.