<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>Ceiling100</fullName>
        <description>代理商售卖辐射产品上限</description>
        <protected>false</protected>
        <recipients>
            <recipient>changyi_li@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>wei_pan@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>zhou_fang@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <field>MailRecipient__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Ceiling100</template>
    </alerts>
    <alerts>
        <fullName>Ceiling80</fullName>
        <description>代理商售卖辐射产品上限80%</description>
        <protected>false</protected>
        <recipients>
            <recipient>changyi_li@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>wei_pan@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>zhou_fang@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <field>MailRecipient__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Ceiling80</template>
    </alerts>
    <alerts>
        <fullName>Ceiling90</fullName>
        <description>代理商售卖辐射产品上限90%</description>
        <protected>false</protected>
        <recipients>
            <recipient>changyi_li@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>wei_pan@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>zhou_fang@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <field>MailRecipient__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Ceiling90</template>
    </alerts>
    <alerts>
        <fullName>olympusCeiling100</fullName>
        <description>奥林巴斯代理商售卖辐射产品上限</description>
        <protected>false</protected>
        <recipients>
            <field>OSHSafeguardOne__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <field>OSHSafeguardTwo__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>changyi_li@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>zhou_fang@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <field>MailRecipient__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Ceiling100</template>
    </alerts>
    <alerts>
        <fullName>olympusCeiling80</fullName>
        <description>奥林巴斯代理商售卖辐射产品上限80%</description>
        <protected>false</protected>
        <recipients>
            <field>OSHSafeguardOne__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <field>OSHSafeguardTwo__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>changyi_li@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>prectech@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>zhou_fang@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Ceiling80</template>
    </alerts>
    <alerts>
        <fullName>olympusCeiling90</fullName>
        <description>奥林巴斯代理商售卖辐射产品上限90%</description>
        <protected>false</protected>
        <recipients>
            <field>OSHSafeguardOne__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <field>OSHSafeguardTwo__c</field>
            <type>email</type>
        </recipients>
        <recipients>
            <recipient>changyi_li@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>zhou_fang@ssbg.com</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Ceiling90</template>
    </alerts>
    <rules>
        <fullName>代理商售卖辐射产品上限</fullName>
        <actions>
            <name>Ceiling100</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling100__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling90__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling80__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.AccountRecordType__c</field>
            <operation>equals</operation>
            <value>Dealer</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>代理商售卖辐射产品上限80%25</fullName>
        <actions>
            <name>Ceiling80</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling80__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling90__c</field>
            <operation>equals</operation>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.AccountRecordType__c</field>
            <operation>equals</operation>
            <value>Dealer</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling100__c</field>
            <operation>equals</operation>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>代理商售卖辐射产品上限90%25</fullName>
        <actions>
            <name>Ceiling90</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling90__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling80__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.AccountRecordType__c</field>
            <operation>equals</operation>
            <value>Dealer</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling100__c</field>
            <operation>equals</operation>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>奥林巴斯代理商售卖辐射产品上限</fullName>
        <actions>
            <name>olympusCeiling100</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling100__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling90__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling80__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.AccountRecordType__c</field>
            <operation>equals</operation>
            <value>OlympusCompany</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>奥林巴斯代理商售卖辐射产品上限80%25</fullName>
        <actions>
            <name>olympusCeiling80</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling80__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling90__c</field>
            <operation>equals</operation>
            <value>假</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.AccountRecordType__c</field>
            <operation>equals</operation>
            <value>OlympusCompany</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling100__c</field>
            <operation>equals</operation>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>奥林巴斯代理商售卖辐射产品上限90%25</fullName>
        <actions>
            <name>olympusCeiling90</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling90__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling80__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.AccountRecordType__c</field>
            <operation>equals</operation>
            <value>OlympusCompany</value>
        </criteriaItems>
        <criteriaItems>
            <field>CertificationDetails__c.Ceiling100__c</field>
            <operation>equals</operation>
            <value>假</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>
