<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Fixture_Status__c</fullName>
|
<externalId>false</externalId>
|
<formula>/* if 过期状态*/
|
IF (Guaranteen_end__c > TODAY() , '已过期',
|
|
/* else if 数量管理 */
|
IF (ISPICKVAL(Manage_type__c, '数量管理'), Fixture_Status3_Text__c,
|
|
/* else 个体管理 */
|
IF (
|
/* if 已连上Last (分配, 暂定分配) */
|
NOT(ISBLANK(Last_Reserve_RAES_Detail__c)),
|
IF(NOT(ISBLANK(Last_Reserve_RAES_Detail__r.Confirm_Lost_Date__c)) && Last_Reserve_RAES_Detail__r.Check_lost_Item_F__c = '欠品', '确认遗失', Last_Reserve_RAES_Detail__r.RAESD_Status__c)
|
/* else 没有连上Last */
|
, Fixture_Status2_text__c
|
)))</formula>
|
<label>备品状态</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</CustomField>
|