<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Direct_Delivery_Logic_SORC_CLVS200IR</fullName>
|
<active>true</active>
|
<errorConditionFormula>$Profile.Id != '00e10000000dEQx' /* GPI_系统管理员 不报错 */
|
/*&& $Profile.Id != '00e10000000Y3o5' 系统管理员 不报错 */
|
&& $User.Id != '00510000000fSYI' /* Batch User 不报错 */
|
&& OR(Text(Status__c) = '草案中', IsBlank(Text(Status__c))) /* 草案中 だけチェックする */
|
&& AND(Delivered_Product__r.Product2.Asset_Model_No__c = 'CLV-S200-IR',OR(Affiliation_RC__c='SHRC',Affiliation_RC__c='SYRC',Affiliation_RC__c='HZRC'),TEXT(On_site_repair__c) != '直送SORC修理')</errorConditionFormula>
|
<errorDisplayField>On_site_repair__c</errorDisplayField>
|
<errorMessage>本机型只开放直送SORC修理</errorMessage>
|
</ValidationRule>
|