<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Mouse Chow  
    $Date: 2012-12-23 下午12:57:45  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" extend="hls.HLS103.hls_division" extendMode="reference">
    <bm:fields>
        <bm:field name="division" forDisplay="true" forQuery="true"/>
        <bm:field name="description" forDisplay="true" forQuery="true"/>
        <bm:field name="enabled_flag"/>
    </bm:fields>
    <bm:data-filters>
        <bm:data-filter expression=" t1.enabled_flag = &apos;Y&apos;  AND (T1.division IN(&apos;01&apos;,&apos;02&apos;) AND ${@document_type}!=&apos;PRJF&apos;) OR (T1.division IN (&apos;05&apos;) AND ${@document_type}=&apos;PRJF&apos;)"/>
    </bm:data-filters>
    <bm:query-fields>
        <bm:query-field field="division" queryOperator="like"/>
        <bm:query-field field="description" queryOperator="like"/>
    </bm:query-fields>
</bm:model>
