You need to sign in to do that
Don't have an account?
Board salesforce
after insert and after update in apex class
Hi Guys ,
I have a Requirement please help me out
I have account with 5 checkbox fields and contact objects with 5 checkbox fields ,on contacts their is a vf overrided ,when i check the checkboxes whenever i insert and updates in contact then it has to be updated in account with according to checkboxes automatically?
please help me out!!!
Thanks ,
Ram
I have a Requirement please help me out
I have account with 5 checkbox fields and contact objects with 5 checkbox fields ,on contacts their is a vf overrided ,when i check the checkboxes whenever i insert and updates in contact then it has to be updated in account with according to checkboxes automatically?
please help me out!!!
Thanks ,
Ram
In order to achieve your requirement you have to create a trigger on your contact object that will fire each time when your contact is inserted and updated.
I have written a trigger as per your requirement.
Please find the code below :
Please let me know if you have any issue with the above trigger code or if you need any further help on this.
Thanks,
Abhishek Bansal.
All Answers
Even if updating your Contacts is done through Visualforce, the insert/update transaction will still trigger Process Builder flows.
Prolay
I think it is clearly Mentioned that i have 5 checkboxes in account as well contact when i insert a new contact and update the existing contact then the updates has to be affected on to the account checkboxes automatically that is checked or unchecked things hope u understand
Thanks For the Reply Philip Southern
i have some validations over it and error messages , need a vf with class thanks for the suggestion
In order to achieve your requirement you have to create a trigger on your contact object that will fire each time when your contact is inserted and updated.
I have written a trigger as per your requirement.
Please find the code below :
Please let me know if you have any issue with the above trigger code or if you need any further help on this.
Thanks,
Abhishek Bansal.