You need to sign in to do that
Don't have an account?
hari0853701703454959
Field Update
Hi Everyone,
I have Custom object DSR is a detail object of Opportunity
-On the DSR object, when the Status = Cancelled transfer ownership or DSR record to related Opportunity Owner
thanks®ards
hari
I have Custom object DSR is a detail object of Opportunity
-On the DSR object, when the Status = Cancelled transfer ownership or DSR record to related Opportunity Owner
thanks®ards
hari
For Lookup, You can write a Trigger.
trigger updateowner {
List<DSR> own = [SELECT DSR__r.Opportunity.owner FROM DSR WHERE Trigger.new];
if( DSR.Status == Cancelled) //check the previous value too
{
DSR__c.owner == own.Opportunity.owner
}
}
This is a bad example. But will show you how to do it.