binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
force-app/main/default/objects/Maintenance_Contract__c/validationRules/CheckService_Contract_Staff.validationRule-meta.xml
@@ -3,7 +3,7 @@
    <fullName>CheckService_Contract_Staff</fullName>
    <active>true</active>
    <description>除了新建和继续合同,主担当者必填</description>
    <errorConditionFormula>And(Not( ISNEw() || ISClone() || CreatedDate &lt;=    DATETIMEVALUE(&quot;2019-07-13 00:00:00&quot;) || $Profile.Id = &apos;00eC800000005Cb&apos; || $Profile.Id !=&apos;00E10000001R1E4&apos;),
    <errorConditionFormula>And(Not( ISNEw() || ISClone() || CreatedDate &lt;=    DATETIMEVALUE(&quot;2019-07-13 00:00:00&quot;) || $Profile.Id = &apos;00e10000000Y3o5&apos; || $Profile.Id !=&apos;00E10000001R1E4&apos;),
ISBLANK(Service_Contract_Staff__c) )</errorConditionFormula>
    <errorDisplayField>Service_Contract_Staff__c</errorDisplayField>
    <errorMessage>请填写主担当者</errorMessage>