function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mahe_developermahe_developer 

Opportunity Custom field TYPE Pick list

Hi All,

 

   In Opportunity I have created one Custom field named TYPE  as filed Pick list Values are (New Business,Existing business), i have requirement like this when ever a opportunity created first time for account, Opportunity-TYPE Pick value should be Normal Business and if going on creating multiple opportunities for a single account, the opportunity-Type should be Existing Business...

 

Account.Infosys----Opportunity1 is CISCO...  TYPE----New Business

Account INfosys---Opportunity 2 is Ampro...TYPE----  eXISTING bUSINESS..

-

-

-

 

Mahesh

Steve :-/Steve :-/

If you're trying to do this with a simple Validation Rule you  probably need to create a Rollup Summary field on the Account that counts the number of Opportunities and then gives an error if the correct type is not selected.