You need to sign in to do that
Don't have an account?
kd T 2
Hi everyone, I have urgent requirement regarding Trigger. Please help me on this.
There is one object called Compliance__c, on Compliance__c there is one field called ‘order__c' that contains the case 7 digit sales order no. We’ve to pull Account from Compliance__c by matching sales order 7 digit with order__c on case Account field(Account Id).
It should run only for QA record type.
It should run only for QA record type.
Try the following trigger and its handler it may be helpful for you:
Trigger:
Trigger-Handler:
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
I have a doubt on above code
This order__c is not available on Account. So why you've taken order__c on Account.
Try the following code it may be helpful for you:
Trigger-Handler:
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi