You need to sign in to do that
Don't have an account?
Vivek Chaudhari
How To write Trigger for after insert event? please suggest?
I have one custom SObject Book__c having fields Book_name__c, Author_name__c and Price__c.
Now i want to write a trigger where one author can write only 5 books i.e.
we should be able to insert 5 book record having same author,
when we try to insert 6th book record and having same Author same as above five book then it should not allow...?
Now i want to write a trigger where one author can write only 5 books i.e.
we should be able to insert 5 book record having same author,
when we try to insert 6th book record and having same Author same as above five book then it should not allow...?
All Answers