binxie
2024-01-18 22bd41f13147fce1df6ff35b592720c9cb387de9
force-app/main/default/workflows/Asset.workflow-meta.xml
@@ -760,7 +760,7 @@
        <criteriaItems>
            <field>Asset.IF_Information_From__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.AssetMark__c</field>
@@ -818,7 +818,7 @@
        <criteriaItems>
            <field>Asset.CIC_call_back_check__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.CIC_call_back_confirm_day__c</field>
@@ -833,7 +833,10 @@
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>OR(ISCHANGED(Status),  ISCHANGED(Installation_Site__c),  ISCHANGED(Final_Examination_Date__c),  ISCHANGED(Hospital_Manage_Number__c))</formula>
        <formula>OR(ISCHANGED(Status),
ISCHANGED(Installation_Site__c),
ISCHANGED(Final_Examination_Date__c),
ISCHANGED(Hospital_Manage_Number__c))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -864,12 +867,12 @@
            <name>Product_Code_Plus_Serial_No</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <booleanFilter>1 AND NOT(2 AND 3 AND 4 AND 5)</booleanFilter>
        <criteriaItems>
            <field>Asset.IsCompetitorProduct</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.Manage_type__c</field>
@@ -884,12 +887,12 @@
        <criteriaItems>
            <field>Asset.Loaner_accsessary__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.unknow_serial_NO_product__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -903,7 +906,7 @@
        <criteriaItems>
            <field>Asset.IsCompetitorProduct</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -921,7 +924,7 @@
        <criteriaItems>
            <field>Asset.unknow_serial_NO_product__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -936,7 +939,7 @@
        <criteriaItems>
            <field>Asset.IsCompetitorProduct</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.Manage_type__c</field>
@@ -951,12 +954,12 @@
        <criteriaItems>
            <field>Asset.Loaner_accsessary__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.unknow_serial_NO_product__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -1026,7 +1029,7 @@
        <criteriaItems>
            <field>Asset.Request_manager_deleter_manaual_input__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
@@ -1039,7 +1042,8 @@
        <active>false</active>
        <description>一部分调拨后设备有问题,回库后需要立即修改
add lxy 20221104  回库后跟UK-21-4041997 建立Link</description>
        <formula>CONTAINS(&apos;02i10000003awbi&apos;, LEFT(Id,15)) &amp;&amp; ISCHANGED(Rental_Count__c)</formula>
        <formula>CONTAINS(&apos;02i10000003awbi&apos;, LEFT(Id,15))
&amp;&amp; ISCHANGED(Rental_Count__c)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1168,7 +1172,7 @@
        <criteriaItems>
            <field>Asset.New_logic_data__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>Asset.Guarantee_period_year__c</field>
@@ -1255,7 +1259,7 @@
            <name>Installation_ToDo_Normal</name>
            <type>Task</type>
        </actions>
        <active>false</active>
        <active>true</active>
        <formula>AND(ISCHANGED( Inspection_Result__c ) , ISPICKVAL( Inspection_Result__c , &quot;正常&quot;))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -1468,7 +1472,9 @@
        </actions>
        <active>false</active>
        <description>AccountId = &apos;0011000000VAiwz&apos;  &amp;&amp;  RecordTypeId = &apos;01210000000kOPR&apos; &amp;&amp;  Delete_Flag__c= TRUE</description>
        <formula>((ISCHANGED(RecordTypeId) &amp;&amp; RecordTypeId = &apos;01210000000kOPR&apos;) ||  (ISCHANGED(AccountId) &amp;&amp; AccountId = &apos;0011000000VAiwz&apos; )) &amp;&amp;  Delete_Flag__c= TRUE</formula>
        <formula>((ISCHANGED(RecordTypeId) &amp;&amp; RecordTypeId = &apos;01210000000kOPR&apos;) ||
(ISCHANGED(AccountId) &amp;&amp; AccountId = &apos;0011000000VAiwz&apos; ))
&amp;&amp;  Delete_Flag__c= TRUE</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <tasks>