| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>OPDPlan_ImplementDateCompare</fullName> |
| | | <active>true</active> |
| | | <active>false</active> |
| | | <description>opd计划实施日期不能小于创建日期 |
| | | SWAG-BW35YY |
| | | && SkipValidationRulesAndWorkflows__c != true</description> |
| | | <errorConditionFormula>((ISNEW() && OPDPlan_ImplementDate__c< TODAY() )|| (ISCHANGED(OPDPlan_ImplementDate__c) && OPDPlan_ImplementDate__c<DATEVALUE(CreatedDate)))&& ISBLANK(OriginalOpdPlanRental__c) && |
| | | SWAG-BW35YY</description> |
| | | <errorConditionFormula>((ISNEW() && OPDPlan_ImplementDate__c< TODAY() )|| (ISCHANGED(OPDPlan_ImplementDate__c) && OPDPlan_ImplementDate__c<DATEVALUE(CreatedDate)))&& ISBLANK(OriginalOpdPlanRental__c) && |
| | | ISBLANK(OriginalOpdPlanApplication__c)</errorConditionFormula> |
| | | <errorDisplayField>OPDPlan_ImplementDate__c</errorDisplayField> |
| | | <errorMessage>计划实施日不能早于今天</errorMessage> |