<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="CUS_PI_REPORT_HEAD" defaultOrderBy="order_seq">
    <bm:fields>
        <bm:field name="column_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COLUMN_NAME" prompt="CUS_PI_REPORT_HEAD.COLUMN_NAME"/>
        <bm:field name="column_prompt" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COLUMN_PROMPT" prompt="CUS_PI_REPORT_HEAD.COLUMN_PROMPT"/>
        <!-- <bm:field name="rpt_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="RPT_TYPE" prompt="CUS_PI_REPORT_HEAD.RPT_TYPE"/> -->
        <bm:field name="control_id"/>
        <bm:field name="data_type"/>
        <bm:field name="order_seq" databaseType="NUMBER" datatype="java.lang.Long" physicalName="ORDER_SEQ" prompt="CUS_PI_REPORT_HEAD.ORDER_SEQ"/>
    </bm:fields>
    <bm:data-filters>
        <bm:data-filter name="init_filter" enforceOperations="query" expression="t1.control_id=${@control_id}"/>
        <!-- <bm:data-filter enforceOperations="query" expression="t1.rpt_type=&apos;PI&apos;"/> -->
        <!-- <bm:data-filter enforceOperations="query" expression="t1.company_id=${/session/@company_id}"/> -->
    </bm:data-filters>
</bm:model>
