<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Elapsed_day_each_status__c</fullName>
|
<description>6月3日
|
契約書未回収の状態であれば、引合のSFDC最終処理日をみるように変更。変更部分
|
IF( ISBLANK(opportunity__r.SFDCLast_Process_Date__c) , null,
|
IF( ISBLANK(ContractReceivedDate__c) , (today() - opportunity__r.SFDCLast_Process_Date__c),
|
|
|
2/8のレポートダッシュボードデモのために追加。
|
|
if(ISNULL(LastApproveDate__c)
|
,null,LastApproveDate__c -
|
if(AND(ISNULL(ContractReceivedDate__c),ISNULL(FirstApproveDate__c)),null,
|
if(ISNULL(ContractReceivedDate__c),
|
if(ISNULL(FirstApproveDate__c),null,FirstApproveDate__c
|
),ContractReceivedDate__c
|
)
|
)
|
)</description>
|
<externalId>false</externalId>
|
<formula>IF( ISBLANK(Opportunity__r.SFDCLast_Process_Date__c) , null,
|
IF( ISBLANK(ContractReceivedDate__c) , (today() - Opportunity__r.SFDCLast_Process_Date__c),
|
IF( ISBLANK(FirstApproveDate__c) , (today() - ContractReceivedDate__c) ,
|
IF( ISBLANK(LastApproveDate__c) , (today() - FirstApproveDate__c) ,
|
IF( ISBLANK(X30_Deposit_Day__c) , (today() - LastApproveDate__c) ,
|
IF( ISBLANK(Deposit_In_Full_Day__c) , (today() - X30_Deposit_Day__c) ,
|
IF( ISBLANK(DeliveryDate__c) , (today() - Deposit_In_Full_Day__c) , null
|
)
|
)
|
)
|
)
|
)
|
)
|
)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>各状态经过天数</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</CustomField>
|