| | |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>work_location_select_self_or_4RC</fullName> |
| | | <active>true</active> |
| | | <description>受理办事处只能选自己省内的办事处 或 七大RC</description> |
| | | <errorConditionFormula>$Profile.Id != '00e10000000dEQx' /* GPI_系统管理员 不报错 */ |
| | | <description>受理办事处只能选自己省内的办事处 或 四大RC</description> |
| | | <errorConditionFormula>$User.Username !='buli@deloitte.com.cn.stagefull' |
| | | && |
| | | $Profile.Id != '00e10000000dEQx' /* GPI_系统管理员 不报错 */ |
| | | && |
| | | $User.Id != '00510000000fSYI' /* Batch User 不报错 */ |
| | | && |
| | |
| | | Not(Delivered_Product__r.RecordTypeId='01210000000kOPR') |
| | | && |
| | | /* 受理办事处只能选自己省内的办事处 或 四大RC */ |
| | | IF(Incharge_Staff__r.Salesdepartment__c='3.西北' && Text(On_site_repair__c)='现场修理' && Text(work_location_select__c)='北京办事处',False, |
| | | IF(Text(Incharge_Staff__r.Province__c)='浙江省' && Text(On_site_repair__c)='现场修理' && Text(work_location_select__c)='浙江办事处',False, |
| | | IF(Text(work_location_select__c)='北京办事处', False, |
| | | IF(Text(work_location_select__c)='沈阳办事处', False, |
| | | IF(Text(work_location_select__c)='上海办事处', False, |
| | |
| | | IF(Text(work_location_select__c)='共通办事处', False, |
| | | IF(Text(work_location_select__c)=Incharge_Staff__r.RepairSalesPoint_Province_China__c, False, |
| | | True) |
| | | )))))))))))</errorConditionFormula> |
| | | )))))))))))))</errorConditionFormula> |
| | | <errorDisplayField>work_location_select__c</errorDisplayField> |
| | | <errorMessage>受理办事处只能选自己省内的办事处 或 七大RC</errorMessage> |
| | | </ValidationRule> |