For example
First field: Rep Name
Picklist Options: Amos, Avant, Quantum, Titus
Second Field: Rep Fee (%)
15 or 20
If Amos or Avant are chosen the second field should automatically populate with 20 and if Quantum or Titus are chosen it should automatically populate with 15
Is this possible?
Many thanks.
Ramsay
답변 5개
Hi Ramsay,
You need to create a New formula field on the Opportunity Object,
Setup - Customize - Opportunity - Fields - New Field - Select Formula as Data Type , Give a Name to your Field Rep FeeAssuming you want the Value to be displayed in % i.e. 15%, 20% select the Return Type as Percent and the formula is
CASE(Rep_Name__c,
"Amos",0.2,
"Avant",0.2,
"Quantum",0.15,
"Titus",0.15,
0)
If you want your values to be displayed just as 15 and 20, select the return type as Number and the formula is
CASE(Rep_Name__c,
"Amos",20,
"Avant",20,
"Quantum",15,
"Titus",15,
0)
If you want to use your existing field then you need a workflow with a field update to update the value in the field.