AND(
OR(
$RecordType.Name="ES RES Opportunity Record Type",
$RecordType.Name="ES TSR Opportunity Record Type"),
AND(
$Profile.Id="00e40000000jtCQ",
$Profile.Id="00e40000001BTwS",
$Profile.Id="00e40000000jtCV",
$Profile.Id="00e40000001BTwI",
$Profile.Id="00e40000001BU94",
$Profile.Id="00e40000000jtCa",
$Profile.Id="00e40000001BTgi",
$Profile.Id="00e40000001BTwN"),
AND(
TEXT(Lead_Source_New__c)<>"Sales Internal Referral"),
AND(
TEXT(StageName)<>"Gained Access",
TEXT(StageName)<>"Executive Overview Scheduled",
ISBLANK(TEXT(NAS_Partner_Opportunity__c ))))
4 réponses
Gotcha! This is the one then -
AND(
OR(
$RecordType.Name = "ES RES Opportunity Record Type",
$RecordType.Name = "ES TSR Opportunity Record Type"
),
OR(
$Profile.Id = "00e40000000jtCQ",
$Profile.Id = "00e40000001BTwS",
$Profile.Id = "00e40000000jtCV",
$Profile.Id = "00e40000001BTwI",
$Profile.Id = "00e40000001BU94",
$Profile.Id = "00e40000000jtCa",
$Profile.Id = "00e40000001BTgi",
$Profile.Id = "00e40000001BTwN"
),
TEXT(StageName) <> "Gained Access",
TEXT(StageName) <> "Executive Overview Scheduled",
TEXT(Lead_Source_New__c) <> "Sales Internal Referral",
ISBLANK(TEXT(NAS_Partner_Opportunity__c))
)