function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdc development hintssfdc development hints 

Hi , can you please help me out with my bulk trigger req

Hi , i need to write a trigger on a object called "enroll candidate" which is associated with candidate object and course detail object , where course detail object is a child object of course object, my req is there is a field called as booked slot and totalslot , when total slot is entered, booked slot is calculated automatically , i need to inactivate or stop the condition where bookslot  and automate the field bookslot when it is equal to totalslot and also booked slot should be incremented by ++ through a bulk trigger . can anyone please help me with this ....

Best Answer chosen by Admin (Salesforce Developers) 
Shashikant SharmaShashikant Sharma

You can see this : http://forceschool.blogspot.com/2011/05/writing-apex-trigger-save-limits-in.html

 

And some other posts as well on writing triggers.