Apex Trigger Practice (3) – Trigger on Attachments to count the number of attachments
Question Hints: Account is standard object and attachment is child object. Requirement: We need to create an Apex Trigger on Attachments to count the number of attachments on the object – let’s take Account – and store in number field “Number of attachments”. Trigger is considering all the possible scenarios in this – after insert, after …
Apex Trigger Practice (3) – Trigger on Attachments to count the number of attachments Read More »