| | |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>Applicant_CancelReason_Active_Only</fullName> |
| | | <active>true</active> |
| | | <errorConditionFormula>(($User.ProfileId <>'00eC800000005Cb')&& |
| | | ($User.ProfileId <>'00eC600000004y5')&& |
| | | <errorConditionFormula>(($User.ProfileId <>'00e10000000Y3o5')&& |
| | | ($User.ProfileId <>'00e10000000xnoT')&& |
| | | (NOT(CONTAINS($Label.ProfileId_EquCenAdmin, $User.ProfileId)))&& |
| | | ($User.ProfileId <>'00e10000000xo1D') && |
| | | (NOT(CONTAINS($Label.ProfileId_EquCenCheckAndDepot, $User.ProfileId)))) |
| | | && Text(Cancel_Reason__c) <> '主动取消' |
| | | && ISPICKVAL(Status__c, '取消') && NOT($User.Batch_User__c) && $User.ProfileId <>'00eC600000003SX'</errorConditionFormula> |
| | | && ISPICKVAL(Status__c, '取消') && NOT($User.Batch_User__c) && $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula> |
| | | <errorDisplayField>Cancel_Reason__c</errorDisplayField> |
| | | <errorMessage>申请人只能选择主动取消。</errorMessage> |
| | | </ValidationRule> |