binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>EditChargeState</fullName>
    <active>false</active>
    <errorConditionFormula>AND( !ISNEW() , !ISBLANK(PRIORVALUE(ChargeState__c)) , ISCHANGED(ChargeState__c) ,LEFT($Profile.Id, 15) != &apos;00e10000000xnoJ&apos;,LEFT($Profile.Id, 15) != LEFT($Label.ProfileId_SystemAdmin, 15)
)</errorConditionFormula>
    <errorDisplayField>ChargeState__c</errorDisplayField>
    <errorMessage>您不具备该字段修改权限</errorMessage>
</ValidationRule>