<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: PengLei-7207  
    $Date: 2015-6-10 11:35:51  
    $Revision: 1.0  
    $Purpose: 应付属性的lov
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    t.quality_id,
                    t.company_id,
                    t.quality_code,
                    t.quality_description
                FROM
                    cux_payment_quality t 
                #WHERE_CLAUSE#
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="quality_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EXPENSE_TYPE_ID"/>
        <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID"/>
        <bm:field name="quality_code" databaseType="VARCHAR2" datatype="java.lang.String" forDisplay="true" forQuery="true" physicalName="QUALITY_CODE" prompt="CUX_PAYMENT_QUALITY.QUALITY_CODE" queryWidth="100"/>
        <bm:field name="quality_description" databaseType="VARCHAR2" datatype="java.lang.String" forDisplay="true" forQuery="true" physicalName="QUALITY_DESCRIPTION" prompt="CUX_PAYMENT_QUALITY.QUALITY_DESCRIPTION" queryWidth="100"/>
    </bm:fields>
    <bm:data-filters>
        <bm:data-filter name="flag" enforceOperations="query" expression="t.flag = &apos;Y&apos;"/>
        <bm:data-filter name="company_id" enforceOperations="query" expression="t.company_id=${/session/@company_id}"/>
    </bm:data-filters>
    <bm:query-fields>
        <bm:query-field field="quality_code" queryOperator="like"/>
        <bm:query-field field="quality_description" queryOperator="like"/>
    </bm:query-fields>
</bm:model>
