1
2
3
4
5
6
7
8
9
10
11
12
  | <?xml version="1.0" encoding="UTF-8"?> 
 |  <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 |      <fullName>Telephone_Digits_Check</fullName> 
 |      <active>false</active> 
 |      <errorConditionFormula>AND(OR(RecordTypeId='01210000000QemG' 
 |        ,Parent.RecordTypeId='01210000000QemG' 
 |        ,Parent.Parent.RecordTypeId='01210000000QemG' 
 |      ) 
 |    , LEN(Phone) > 15 
 |  )</errorConditionFormula> 
 |      <errorMessage>電話番号を15桁以下に入力してください</errorMessage> 
 |  </ValidationRule> 
 |  
  |