<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Fixture_Status2__c</fullName>
|
<description>个体管理的备品状态</description>
|
<externalId>false</externalId>
|
<formula>IF ( ISPICKVAL(Status, '廃棄'), '废弃',
|
IF (Freeze_sign__c, '冻结',
|
IF ( ISPICKVAL(Status, '待报废'), '待废弃',
|
IF(Abandoned_Inventory__c > 0, '丢失',
|
IF (Draft_Repair_Count__c > 0, '修理草案中',
|
IF (Repairing_Count__c > 0, '修理中',
|
IF (You_Xiao_Ku_Cun__c <= 0, '无库存',
|
CASE(Status
|
,'使用中', '可分配'
|
,'未使用', '可分配'
|
,'不明', '可分配'
|
,text( Status ))
|
)
|
)
|
)
|
)
|
)
|
)
|
)</formula>
|
<label>备品状态(个体管理状态)</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</CustomField>
|