1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  | <?xml version="1.0" encoding="UTF-8"?> 
 |  <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> 
 |      <fullName>OCM_period__c</fullName> 
 |      <externalId>false</externalId> 
 |      <formula>Case((year(DATEVALUE(CreatedDate))+  
 |  Case(month(DATEVALUE(CreatedDate)),  
 |  1,-1,  
 |  2,-1,  
 |  3,-1,0)),  
 |  2025,"158P",  
 |  2024,"157P",  
 |  2023,"156P",  
 |  2022,"155P",  
 |  2021,"154P",  
 |  2020,"153P",  
 |  2019,"152P",  
 |  2018,"151P",  
 |  2017,"150P",  
 |  2016,"149P",  
 |  2015,"148P",  
 |  2014,"147P",  
 |  2013,"146P",  
 |  2012,"145P",  
 |  2011,"144P",  
 |  2010,"143P",  
 |  2009,"142P",  
 |  2008,"141P",  
 |  2007,"140P",  
 |  2006,"139P",  
 |  2005,"138P",  
 |  2004,"137P",  
 |  "ERROR") &  
 |  CASE(month(DATEVALUE(CreatedDate))  
 |  ,4,"A",5,"A",6,"A",7,"A",8,"A",9,"A",  
 |  10,"B",11,"B",12,"B",1,"B",2,"B",3,"B","")</formula> 
 |      <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> 
 |      <label>OCSM期(Old)</label> 
 |      <required>false</required> 
 |      <trackHistory>false</trackHistory> 
 |      <trackTrending>false</trackTrending> 
 |      <type>Text</type> 
 |      <unique>false</unique> 
 |  </CustomField> 
 |  
  |