| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>After_Request_approve</fullName> |
| | | <active>true</active> |
| | | <active>false</active> |
| | | <description>申请单批准后,不能编辑耗材备品借用信息</description> |
| | | <errorConditionFormula>((TEXT( Status__c) <> '草案中' && TEXT( Status__c) <> '填写完毕' && TEXT( Status__c) <> '申请中' )) |
| | | && |
| | |
| | | || ISCHANGED(Loaner_received_staff__c) || ISCHANGED(direct_shippment_address__c) || ISCHANGED(direct_send__c) || ISCHANGED(pickup_time__c) || ISCHANGED(Loaner_received_staff_phone__c) || ISCHANGED(Post_Code__c) || ISCHANGED(Is_Special_Rental__c) |
| | | ) |
| | | && NOT($User.Batch_User__c) && NOT($User.Batch_User__c) && $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula> |
| | | <errorDisplayField>Repair__c</errorDisplayField> |
| | | <errorMessage>申请单批准后,不能编辑耗材备品借用信息</errorMessage> |
| | | </ValidationRule> |