binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Request_NotesApprovedNo</fullName>
    <active>true</active>
    <description>SAP上传的时候,除了ET24小时订单合同申请决裁编码是必填项的</description>
    <errorConditionFormula>/* 00e10000000dEQx 是 GPI_系统管理员 */ 
/* 01210000000QjCN 是 经销商合同的询价 */ 
 
AND($User.ProfileId &lt;&gt; &quot;00e10000000dEQx&quot;, 
SAP_Send_OK__c = True , PRIORVALUE(SAP_Send_OK__c) = False,
If_Need_PriceApply__c = True,
Whether_FALSE_order__c = False,
Isblank(NotesApprovedNo__c))</errorConditionFormula>
    <errorDisplayField>NotesApprovedNo__c</errorDisplayField>
    <errorMessage>除了ET24小时订单,合同申请决裁编码是必填项的字段</errorMessage>
</ValidationRule>