You need to sign in to do that
Don't have an account?
bhanu_prakash
update lookup field from another object
I have 3 objects expense report, Region and Resource and all have lookup fields need to update using trigger.
1. Expesene report has fields
Expense Report Name :
Region :
Company :
2. Region object has fields
Region Name:
Resource :
3. Resource object has fields
Resource Name :
Company :
I need to write trigger that when expense report has created need to update company name automatically from (Expesene_report__r.Region__r.Resource__r.Company__c
1. Expesene report has fields
Expense Report Name : Travel to company
Region : England
Company :
2. Region object has fields
Region Name: England
Resource : Rajeev
3. Resource object has fields
Resource Name : Rajeev
Company : Sunny Industries
If Expense report (Travel to comapny ) is saved i need to update company as (Sunny Industries ) automatically..
1. Expesene report has fields
Expense Report Name :
Region :
Company :
2. Region object has fields
Region Name:
Resource :
3. Resource object has fields
Resource Name :
Company :
I need to write trigger that when expense report has created need to update company name automatically from (Expesene_report__r.Region__r.Resource__r.Company__c
1. Expesene report has fields
Expense Report Name : Travel to company
Region : England
Company :
2. Region object has fields
Region Name: England
Resource : Rajeev
3. Resource object has fields
Resource Name : Rajeev
Company : Sunny Industries
If Expense report (Travel to comapny ) is saved i need to update company as (Sunny Industries ) automatically..
If this solves your need, kindly mark as best answer. thanks
All Answers
If this solves your need, kindly mark as best answer. thanks