| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>Must_Input_InspectionNo</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <description>点検の4項目を変更した場合、かつ 点検番号がない、あるいは「OCM-」の場合、エラーにします。</description> |
| | | <errorConditionFormula>(ISBLANK(Inspection_report_number__c) || Inspection_report_number__c == "OCM-" || Inspection_report_number__c == "OCM" || Inspection_report_number__c == "OCSM-" || Inspection_report_number__c == "OCSM")&& |
| | | ((NOT(ISBLANK(TEXT(Inspection_Result__c))) && ISCHANGED(Inspection_Result__c)) |