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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Direct_Separate__c</fullName>
    <description>①IF(AND(NOT(ISBLANK(Agency1__c)),ISBLANK(Agency2__c)), &apos;直売&apos;, IF(AND(NOT(ISBLANK(Agency1__c)),NOT(ISBLANK(Agency2__c))), &apos;分売&apos; , &apos;OCM直売&apos;))
②IF(AND(NOT(ISBLANK(OCM_Agent1_Price__c)),ISBLANK(Agent1_Agent2_Price__c)), &apos;直売&apos;, IF(AND(NOT(ISBLANK(OCM_Agent1_Price__c)),NOT(ISBLANK(Agent1_Agent2_Price__c))), &apos;分売&apos; , &apos;OCM直売&apos;))
 
2012/1/9
引合に紐付く見積が無い場合は、空白となるため、条件に「IF( ISNULL(Wholesale_Price__c), &apos;&apos;, 」を追加
 
2013/5/20
引合に紐付く見積が無い場合は、空白となるため、条件に「IF( ISBLANK(TEXT(Sales_Root__c )), &apos;&apos;, 」を追加</description>
    <externalId>false</externalId>
    <formula>IF( ISBLANK(TEXT(Sales_Root__c )), &apos;&apos;,
 
IF( ISNULL(Wholesale_Price__c), &apos;&apos;, 
IF(AND(ISBLANK(Agency1__c),ISBLANK(Agency2__c)),&quot;&quot;,
 
IF(ISPICKVAL(Sales_Root__c, &apos;OCM直接販売&apos;), &apos;OCM直销&apos;, IF(AND(NOT(ISBLANK(Agency1__c)),ISBLANK(Agency2__c)), &apos;经销商直销&apos;, &apos;经销商分销&apos;) ))))</formula>
    <label>直销/分销</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>