<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Received_Confirm_Not_Changed</fullName>
|
<active>true</active>
|
<description>2018/0115: IT修改
|
因为Phase2有分批发货的情况,修改了规则。</description>
|
<errorConditionFormula>DataMigration_Flag__c == false &&
|
($User.ProfileId <>'00e10000000dEQx')&&
|
($User.ProfileId <>'00e10000000xnoT')&&
|
(NOT(CONTAINS($Label.ProfileId_EquCenAdmin, $User.ProfileId)))&&
|
(NOT(CONTAINS($Label.ProfileId_EquCenCheckAndDepot, $User.ProfileId)))&&
|
($User.ProfileId <>'00e10000000Y3o5')&&
|
NOT(ISBLANK(Consum_Apply__r.HP_received_sign_text__c)) &&
|
(ISCHANGED(Received_Confirm__c) ||
|
ISCHANGED(Received_ng_detail__c)
|
)
|
&&
|
NOT(ISBLANK(TEXT(PRIORVALUE(Received_Confirm__c))))</errorConditionFormula>
|
<errorMessage>已上传签收单,不能再修改现场确认收货内容</errorMessage>
|
</ValidationRule>
|