force-app/main/default/objects/TransferApplyDetail__c/validationRules/Only_Can_Select_Same_asset_location.validationRule-meta.xml
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>Only_Can_Select_Same_asset_location</fullName> <active>false</active> <active>true</active> <description>只能分配和申请书相同备品存放地的保有设备</description> <errorConditionFormula>LEFT($User.ProfileId, 15) = LEFT($Label.ProfileId_EquipmentCenter, 15) && ISCHANGED(Asset__c)