Must_Is_Class
true
必须是科室
$User.ProfileId <>'00e10000000Y3o5'
&&
NOT($User.Batch_User__c)
&&
(Isnew() || Ischanged(Account__c)) && Not(Isblank(Account__c)) &&
OR (
/* 无效 ==> 报错 */
Account__r.Is_Active_Formula__c == "无效",
/* 看父记录,不是医院,不是经销商、 自己也不是医院 ==> 报错 */
Not(Account__r.Parent.Parent.RecordTypeId = "01210000000QemG")
)
Account__c
科室必须是战略科室下科室