| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>After_Request_approve_PIPL</fullName> |
| | | <active>true</active> |
| | | <active>false</active> |
| | | <description>申请单批准后,不能编辑备品借用信息 |
| | | 2018/01/10: IT修改 |
| | | 2022/05/13: Change Phone_number__c和direct_shippment_address__c to encrypted fields</description> |
| | | 2022/05/13: Change Phone_number__c和direct_shippment_address__c to encrypted fields |
| | | 2022/10/14:停用后再启用</description> |
| | | <errorConditionFormula>((TEXT( Status__c) <> '草案中' && TEXT( Status__c) <> '填写完毕' && TEXT( Status__c) <> '申请中' ) |
| | | |
| | | && |
| | |
| | | || ISCHANGED(Loaner_received_staff__c) || LEFT(Direct_Shippment_Address_Encrypt__c, 200)!=LEFT( PRIORVALUE(Direct_Shippment_Address_Encrypt__c),200 ) || ISCHANGED(direct_send__c) || ISCHANGED(pickup_time__c) || ISCHANGED(Loaner_received_staff_phone__c) || ISCHANGED(Post_Code__c) || ISCHANGED(GI_Diff__c) || ISCHANGED(Hope_Lonaer_date_Num__c) |
| | | ) |
| | | && NOT($User.Batch_User__c) && NOT($User.Batch_User__c) && $User.ProfileId <>'00e10000000dEQx'</errorConditionFormula> |
| | | <errorDisplayField>Combine_Pack__c</errorDisplayField> |
| | | <errorMessage>申请单批准后,不能编辑备品借用信息</errorMessage> |
| | | </ValidationRule> |