You need to sign in to do that
Don't have an account?
Saurabh Bisht 19
Using Trigger Design Pattern and Trigger on Account.
-Firstly make two custom field on Account Object.
--Salutation(Type Picklist) Values:Dr , Proff ,Trainee
--Name(Type Text)
--------------------------------------------------------------
What we have to do that whenever user create new record and
filled Name field then after created record then we will see
Salutation field will filled automatically with Dr. and Before
Insert and Before Update trigger will be pass in trigger parameter.
----------------------------------------------------------------
--Salutation(Type Picklist) Values:Dr , Proff ,Trainee
--Name(Type Text)
--------------------------------------------------------------
What we have to do that whenever user create new record and
filled Name field then after created record then we will see
Salutation field will filled automatically with Dr. and Before
Insert and Before Update trigger will be pass in trigger parameter.
----------------------------------------------------------------
Whatever the name created an account, you need to auto populate salutation as Dr. Am i correct?
thanks!!
Dr. mANISH Accountname will whatever you wish do it with trigger design bulkyinhg trigger
Create two fields on account object.
Name__c ==> Data type ==> text
Salutation__c ==> Data type==> Picklist
try with below code.
If this helps, Please mark it as best answer.
Thanks!!