| <?xml version="1.0" encoding="UTF-8"?> | 
| <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>If_CurrentSeason_F__c</fullName> | 
|     <externalId>false</externalId> | 
|     <formula>/** | 
| IF(AND(text(Status__c)="计划中",OPDPlan_ImplementDate__c >= DATE(YEAR(today()), MONTH(today()), 1),OPDPlan_ImplementDate__c<= DATE(YEAR(today()), MONTH(today()) + 3, 1) - 1 ), 1, 0) | 
| **/ | 
| IF( | 
| AND(text(Status__c)="计划中", | 
|         OPDPlan_ImplementDate__c >= DATE(YEAR(today()), MONTH(today()), 1), | 
|         OPDPlan_ImplementDate__c<= if (MONTH(today()) + 3 <= 12,DATE(YEAR(today()), MONTH(today()) + 3, 1) -1,DATE(YEAR(today())+1, MONTH(today()) + 3-12, 1) -1)) , 1, 0)</formula> | 
|     <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> | 
|     <label>是否本季度OPD计划(公式)</label> | 
|     <precision>18</precision> | 
|     <required>false</required> | 
|     <scale>0</scale> | 
|     <trackHistory>false</trackHistory> | 
|     <trackTrending>false</trackTrending> | 
|     <type>Number</type> | 
|     <unique>false</unique> | 
| </CustomField> |