| <?xml version="1.0" encoding="UTF-8"?> | 
| <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>status__c</fullName> | 
|     <description>逻辑待确认</description> | 
|     <externalId>false</externalId> | 
|     <formula>if( OpportunityNum__c > 0, | 
|     if (isblank(OpportunityStatus__c) || OpportunityStatus__c ='跟进中', | 
|         '05.询价中', | 
|         if (OpportunityStatus__c = '成交',  | 
|             '06.成交', | 
|             if (OpportunityStatus__c = '失单',  | 
|                 '08.失单', | 
|                 if (OpportunityStatus__c = '部分成交',  | 
|                     '07.部分成交', | 
|                     '错误询价状态:' + OpportunityStatus__c | 
|                 ) | 
|             ) | 
|         ) | 
|     ), | 
|     if(isblank(Text(IsRelateProject__c)) || (Text(IsRelateProject__c)) = '是', | 
|         if (isblank(Text(IsRelateProject__c)), | 
|             '01.待确认', | 
|             if (Text(IsBid__c) = '否', | 
|                 if(Text(NotBidApprovalStatus__c)='批准', | 
|                     '03.不应标', | 
|                     '04.待关联询价'), | 
|                 '04.待关联询价' | 
|             ) | 
|         ), | 
|         '02.不相关' | 
|     ) | 
| )</formula> | 
|     <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> | 
|     <label>OLY确认状态</label> | 
|     <required>false</required> | 
|     <trackHistory>false</trackHistory> | 
|     <trackTrending>false</trackTrending> | 
|     <type>Text</type> | 
|     <unique>false</unique> | 
| </CustomField> |