| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>Repair_SalesOfficeCode</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <errorConditionFormula>OR($User.Id<>'00510000005sEEM',$User.Id<>'00510000000gT2R') && Delivered_Product__r.Product2.CanRepairAccsessary__c = True && |
| | | Isblank(CompanyCodeOfEquipment__c) |
| | | && Isblank(Delivered_Product__r.CompanyCodeOfEquipment__c) && TEXT(Status__c) = '草案中'</errorConditionFormula> |