<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Qualifying_Check</fullName>
|
<active>true</active>
|
<description>增加IsUnlock__c <>true ,医院变更信息审批通过时可以同步更新客户</description>
|
<errorConditionFormula>!$User.Batch_User__c &&
|
(If_Qualifying__c = true) && IsUnlock__c <>true &&
|
or(ischanged(Alias_Name2__c)
|
, ischanged(Name)
|
, ischanged(Site)
|
, ischanged(Is_Medical_F__c)
|
, ischanged(Grade__c)
|
, ischanged(Speciality_Type__c)
|
, ischanged(Goverment_key_customer__c)
|
, ischanged(State_Master__c)
|
, ischanged(City_Master__c)
|
, ischanged(Town__c)
|
, ischanged(Street__c)
|
, ischanged(OCM_Category__c)
|
, ischanged(Ban_On_Use_Date__c)
|
)</errorConditionFormula>
|
<errorMessage>医院资质正在审批中。不可更新。</errorMessage>
|
</ValidationRule>
|