You need to sign in to do that
Don't have an account?
Trigger: Update account field from custom object (lookup)
I have a custom object with a lookup relationship to accounts.
I need a trigger that updates an account field when a field from the custom object is populated with a value.
I need a trigger that updates an account field when a field from the custom object is populated with a value.
Ur post is not clear to give solution .What I understood is supose you have a custom object "AAA_c " which is the child of account .
IN the AAA_c you have two field A & B . If A value is there then you need to populate B value from account .
Correct me if I am wrong .
If this is the requirment you can achieve through formaula field and trigger .
Please confirm if my understanding is right .
If Finance_Object_Type__c = Open
Then, Account.Finance_Object_Type__c = Open
I wondered if you ever got a solutuon to your post "Trigger: Update account field from custom object (lookup)" dated March 12, 2015. I have the exact same issue and I'm relatively new to Apex: I have a custom object with a lookup relationship to accounts, and need to update an account field when a field from a custom object is populated with a value.
Francois
You will find an answer by Akhil Anil to this issue on https://developer.salesforce.com/forums/ForumsMain?id=906F00000005FnbIAE
Kind regards,
Francois Roux