<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Can_Not_Create_Detail</fullName>
|
<active>true</active>
|
<description>加ISBLANK(Canceled_Id__c)是为了解决,追加附属品是申请中,这个是否出库前点检NG时,这个入力规则的check</description>
|
<errorConditionFormula>Text(Consum_Apply__r.Status__c) = '申请中'
|
&& ISNEW()
|
&& ISBLANK(Canceled_Id__c)
|
&& DataMigration_Flag__c == false</errorConditionFormula>
|
<errorMessage>申请中不能增加明细</errorMessage>
|
</ValidationRule>
|