You need to sign in to do that
Don't have an account?
frank2anil
How to make it as bulk trigger
Hi guys,
can anyone help me how to make this trigger as bulk trigger.
trigger upcom on Finance__c (after insert,after update) {
Finance__c f;
for(Finance__c fs:trigger.new){
f=fs;
}
if(f.Opportunity__c!=null){
// opportunity op=[select id,name from opportunity where id=:
for(Comments__c cm:[select id,opportunity__c,Finance__c from Comments__c where Opportunity__c=:f.opportunity__c limit 1]){
cm.finance__c=f.id;
update cm;
}
}
}
Thanks
Frank
Hi,
Please find the Bulk Trigger
This trigger will work as Bulk trigger.
If any changes are required with respect to functionality modify it accordingly and use the trigger
All Answers
Hi,
Please find the Bulk Trigger
This trigger will work as Bulk trigger.
If any changes are required with respect to functionality modify it accordingly and use the trigger
Hi Haridinesh
Thanks u a lot for the help!
Thanks
Frank.