| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>IF_IsBody_Need_SerialManageType</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <description>20171128该规则只针对于备品</description> |
| | | <errorConditionFormula>RecordTypeId = '012C600000003Hv' && Loaner_accsessary__c == False && Text(Manage_type__c) <> '个体管理' && AssetManageConfirm__c = TRUE && NOT($User.Batch_User__c)&& $User.ProfileId <>'00eC600000003SX' |
| | | && $User.ProfileId <>'00eC600000003SX' |
| | | <errorConditionFormula>RecordTypeId = '01210000000kOPR' && Loaner_accsessary__c == False && Text(Manage_type__c) <> '个体管理' && AssetManageConfirm__c = TRUE && NOT($User.Batch_User__c)&& $User.ProfileId <>'00e10000000dEQx' |
| | | && $User.ProfileId <>'00e10000000dEQx' |
| | | && Account.AgentCode_Ext__c != $Label.Account_Asset_FJZ</errorConditionFormula> |
| | | <errorDisplayField>Manage_type__c</errorDisplayField> |
| | | <errorMessage>主体附属品必须是 [个体管理]</errorMessage> |