binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Status2_Elapsed_Date_Function__c</fullName>
    <externalId>false</externalId>
    <formula>if ( 
  isblank( Authorized_Start_Date__c),
  if ( 
    isblank( Closing_Bid_Date__c),
    if ( 
      isblank( Assistant_Applied_Date__c),
      if ( 
        isblank( Agency_Contract_Date1__c),
        if ( 
          isblank( Sales_Shop_Hospital_Contract__c),
          if ( 
            isblank( SFDCLast_Process_Date__c),
            today() - Last_Follow_Up_Date__c,
            SFDCLast_Process_Date__c - Last_Follow_Up_Date__c
          ),  
          Sales_Shop_Hospital_Contract__c - Last_Follow_Up_Date__c
        ),  
        Agency_Contract_Date1__c - Last_Follow_Up_Date__c
      ),  
      Assistant_Applied_Date__c - Last_Follow_Up_Date__c
    ),  
    Closing_Bid_Date__c - Last_Follow_Up_Date__c
  ),  
  Authorized_Start_Date__c - Last_Follow_Up_Date__c
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>フォロー中滞留日数(数式)</label>
    <precision>18</precision>
    <required>false</required>
    <scale>2</scale>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Number</type>
    <unique>false</unique>
</CustomField>