binxie
2023-06-26 6e4766bc135c30fa9e02a2b527dcdf8fd5eeec8d
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>OPDBuchang__c</fullName>
    <externalId>false</externalId>
    <formula>IF( NOT((ISPICKVAL(Owner:User.Dept__c, &apos;能量事业本部&apos;)
|| ISPICKVAL(Owner:User.Dept__c, &apos;医疗东北营业本部&apos;)
|| ISPICKVAL(Owner:User.Dept__c, &apos;医疗华东营业本部&apos;)
|| ISPICKVAL(Owner:User.Dept__c, &apos;医疗华南营业本部&apos;)
|| ISPICKVAL(Owner:User.Dept__c, &apos;医疗备品管理中心&apos;)
|| ISPICKVAL(Owner:User.Dept__c, &apos;医疗服务本部&apos;)
|| ISPICKVAL(Owner:User.Dept__c, &apos;消化·呼吸领域解决方案本部&apos;)
))
,&apos;&apos;
,IF(AND(!ISBLANK(Old_Rental_Apply__c),ISBLANK(OriginalOpdPlanApplication__c))
    ,OPDBuchang_Text__c
    ,IF(!ISBLANK(OPDBuchangApprover__c)
        ,OPDBuchangApprover__c
        ,
        IF(OR( AND(!ISBLANK(Request_demo_day__c), Request_demo_day__c &gt; DATE(2022,09,29)),DATEVALUE(CreatedDate) &gt; DATE(2022,09,29)) 
            ,OPDBuchangApprover__c
            ,if( BuchangApprovalManagerSalesSubmit__c == OPDPlan__r.BuchangApprovalManagerSales_Txt__c||( ISBLANK(Old_Rental_Apply__c) &amp;&amp; BuchangApprovalManagerSales__c == OPDPlan__r.BuchangApprovalManagerSales__c) ,OPDPlan__r.BuchangApprovalManagerSales_Txt__c,&apos;&apos;)
        )
    )
)
)</formula>
    <label>OPD计划审批CL5 总监级</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>