李彤
2022-04-28 df2bc98882909da04e60e542c566e78a1550ef6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>contractAmountForRate__c</fullName>
    <description>IF(RecordType_DeveloperName__c == &apos;VM_Contract&apos;, Maintenance_Price_Amount__c , previousTotalContractAmount__c +(Contract_Amount__c - Estimation_Id__r.Asset_Repair_Sum_Price__c) * if( today() &gt; Contract_End_Date__c,1, (DATE(Year(today()),MONTH(today()),1) - Contract_Start_Date__c )/(Contract_End_Date__c- Contract_Start_Date__c +1) ))</description>
    <externalId>false</externalId>
    <formula>previousTotalContractAmount__c + ContractAmount_F__c * if( today() &gt; Contract_End_Date__c,1, (DATE(Year(today()),MONTH(today()),1) - Contract_Start_Date__c )/(Contract_End_Date__c- Contract_Start_Date__c +1) )</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>