<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>ComplaintStatus__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF( RecordType_ID__c != '01210000000Qeky',
|
'非对象',
|
(IF(TEXT(Status__c) = '草案中',
|
'非对象',
|
IF(ISNULL(Repair_ConfirmationDate__c),
|
'待Intake判定',
|
IF(ISBLANK(Complaint_Number__c)
|
&&OR(AE_DetermineResult__c = 'AE' ,
|
PAE_DetermineResults__c = 'PAE' ,
|
PAE_DetermineResults__c = 'Unknown',
|
AND(!ISNULL(OCSM_RC_CordingDate__c),PAE_DetermineResults__c = 'Unknown') ),
|
'待EtQ Initiation' ,
|
IF( OR(
|
ISNULL(OCSM_RC_CordingDate__c),
|
PAE_reappear_confirm__c !='已确认'),
|
'待Final判定',
|
IF(AND(!ISNULL(OCSM_RC_CordingDate__c),
|
ISBLANK(Complaint_Number__c),
|
PAE_reappear_confirm__c ='已确认',
|
OR(AE_DetermineResult__c = 'nonAE',
|
PAE_DetermineResults__c = 'nonPAE')),
|
'待EtQ Initiation',
|
IF(PAE_reappear_confirm__c ='已确认'&&!ISNULL(OCSM_RC_CordingDate__c) &&!ISBLANK(Complaint_Number__c)
|
&& OR( AE_DetermineResult__c = 'AE',
|
AE_DetermineResult__c = 'nonAE' ,
|
OR(PAE_DetermineResults__c = 'PAE',PAE_DetermineResults__c = 'Unknown'),
|
PAE_DetermineResults__c = 'nonPAE') ,
|
'完毕',
|
''
|
)
|
)
|
)
|
)
|
)
|
)
|
)
|
)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Complaint状态</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</CustomField>
|