黄千龙
2023-03-08 ca1c0956ec5d16a44bd0a2c10e0e49db37c0fb32
force-app/main/default/objects/Repair__c/fields/Usage_Ratio_Price_Guarantee__c.field-meta.xml
@@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Usage_Ratio_Price_Guarantee__c</fullName>
    <description>IF(ISBLANK(Repair_Quotation_Id__c),
0,
Repair_Quotation_Id__r.Usage_Ratio_Price_Guarantee__c)</description>
    <externalId>false</externalId>
    <formula>IF(OR( Status2__c = &apos;00.删除&apos;,Status2__c = &apos;00.取消&apos;,ISBLANK(Repair_Quotation_Id__c)),
0,
if(not(  ISBLANK(VM_Maintenance_Contract__c) ),Repair_Quotation_Id__r.Usage_Ratio_Price_Guarantee__c,0 )
if(not( ISBLANK(VM_Maintenance_Contract__c) ),Repair_Quotation_Id__r.Usage_Ratio_Price_Guarantee__c,0 )
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>计入合同消费率的修理金额(多年保修)</label>