You need to sign in to do that
Don't have an account?
SFDC Apex Dev
Hi!!! Created a validation rule but not working fine..
Created two field (data type-picklist) on the opportunity and have to make the fields mandatory when the Sales Occupy = Field Sales AND the stage is advancing beyond Stage 2, then these 2 fields mandatory.
I tried below... but not working....Could you please correct me??
AND ( NOT ( ISPICKVAL ( StageName, '2. Discover' ) ) ),
ISPICKVAL(Sales__c, 'Field Sales'), ISBLANK ( TEXT ( Fin_Se__c ) ) || ISBLANK ( TEXT ( Fin_Se_Type__c ) ) )
I tried below... but not working....Could you please correct me??
AND ( NOT ( ISPICKVAL ( StageName, '2. Discover' ) ) ),
ISPICKVAL(Sales__c, 'Field Sales'), ISBLANK ( TEXT ( Fin_Se__c ) ) || ISBLANK ( TEXT ( Fin_Se_Type__c ) ) )
I didn't find any difference in mine and yours...validation rule..
I have written below one.. which is working fine now.. but it is working for all record type.. i need for only one... Could you please help into that.. that i was not able to do..
AND ( NOT ( ISPICKVAL ( StageName, '2. Discover' ) ) || ISPICKVAL(Sales__c, 'Field Sales' ) ),
ISBLANK ( TEXT ( Fin_Se__c ) ) || ISBLANK ( TEXT ( Fin_Se_Type__c ) ) )
AND ( NOT ( ISPICKVAL ( StageName, '2. Discover' ) ) || ISPICKVAL(Sales__c, 'Field Sales' ) ),
( $Profile.Name <> "Data Loader" && RecordTypeId = "0121E000000MA76" ), ISBLANK ( TEXT ( Fin_Se__c ) ) || ISBLANK ( TEXT ( Fin_Se_Type__c ) ) )
Use this .. its well aligned
Hi Raj,
Mine one is working fine..
Thanks for your help.. :)