Skip to main content
Phil Witzmann 님이 #Apex에 질문했습니다

Hi,

I have a field called "Lead Stage". This lead stage is composed by different stages: "Virgin", "No Answer (1)", "In Progress" and "To Follow Up";

My default value is "Virgin".

How can I develop a trigger that when I move the lead stage from "Virgin" to "No Answer (1)" the value "Virgin" disappears from the picklist?

Thank you

 
답변 2개
  1. 2015년 12월 3일 오후 3:59
    Hi,

    You cann't change the value in the picklist in the sense of metadata (Means you can't delete any value from picklist field)

    You can just strick to user to save the value Virgin if already selected "No Answer" through code.

    -Thanks

    Ashlekh Gera
0/9000