You need to sign in to do that
Don't have an account?
Parth Srivastava
Please help with apex trigger
please help me as i am new in apex triggers ....My requirement :
When user selects any contact through Add Contact lookup and save account then attach selected contact under Account and update “xyz ” text type field on Account with newly added contact’s rank. (for example, if there are two contacts already under an account with rank 1 and 4 & you added a contact of rank 7 then account's sequenece will be 1,4,7. Trigger will be on account and event will be before update.Suggest
When user selects any contact through Add Contact lookup and save account then attach selected contact under Account and update “xyz ” text type field on Account with newly added contact’s rank. (for example, if there are two contacts already under an account with rank 1 and 4 & you added a contact of rank 7 then account's sequenece will be 1,4,7. Trigger will be on account and event will be before update.Suggest