<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qianming  
    $Date: 2015-7-7 上午11:54:07  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="BGFL_ACR_INVOICE_INF_BACK" defaultOrderBy="update_flag">
    <bm:fields>
        <bm:field name="session_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SESSION_ID" prompt="BGFL_ACR_INVOICE_INF_BACK.SESSION_ID"/>
        <bm:field name="document_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_NUMBER" prompt="BGFL_ACR_INVOICE_INF_BACK.DOCUMENT_NUMBER"/>
        <bm:field name="invkind_desc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVKIND_DESC" prompt="BGFL_ACR_INVOICE_INF_BACK.INVKIND_DESC"/>
        <bm:field name="invoice_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_CODE" prompt="BGFL_ACR_INVOICE_INF_BACK.INVOICE_CODE"/>
        <bm:field name="invoice_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_NUMBER" prompt="BGFL_ACR_INVOICE_INF_BACK.INVOICE_NUMBER"/>
        <bm:field name="invoice_date" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_DATE"/>
        <bm:field name="period" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PERIOD" prompt="BGFL_ACR_INVOICE_INF_BACK.PERIOD"/>
        <bm:field name="invoice_status" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_STATUS" prompt="BGFL_ACR_INVOICE_INF_BACK.INVOICE_STATUS"/>
        <bm:field name="is_list_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="IS_LIST_FLAG" prompt="BGFL_ACR_INVOICE_INF_BACK.IS_LIST_FLAG"/>
        <bm:field name="amount" databaseType="NUMBER" datatype="java.lang.Double" physicalName="AMOUNT" prompt="BGFL_ACR_INVOICE_INF_BACK.AMOUNT"/>
        <bm:field name="rate" databaseType="NUMBER" datatype="java.lang.Double" physicalName="RATE" prompt="BGFL_ACR_INVOICE_INF_BACK.RATE"/>
        <bm:field name="tax_amount" databaseType="NUMBER" datatype="java.lang.Double" physicalName="TAX_AMOUNT" prompt="BGFL_ACR_INVOICE_INF_BACK.TAX_AMOUNT"/>
        <bm:field name="total_amount" databaseType="NUMBER" datatype="java.lang.Double" physicalName="TOTAL_AMOUNT" prompt="BGFL_ACR_INVOICE_INF_BACK.TOTAL_AMOUNT"/>
        <bm:field name="bp_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_NAME" prompt="BGFL_ACR_INVOICE_INF_BACK.BP_NAME"/>
        <bm:field name="bp_invoice_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_INVOICE_NUMBER" prompt="BGFL_ACR_INVOICE_INF_BACK.BP_INVOICE_NUMBER"/>
        <bm:field name="bp_address" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_ADDRESS" prompt="BGFL_ACR_INVOICE_INF_BACK.BP_ADDRESS"/>
        <bm:field name="bp_bank" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_BANK" prompt="BGFL_ACR_INVOICE_INF_BACK.BP_BANK"/>
        <bm:field name="note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NOTE" prompt="BGFL_ACR_INVOICE_INF_BACK.NOTE"/>
        <bm:field name="confirm_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CONFIRM_NAME" prompt="BGFL_ACR_INVOICE_INF_BACK.CONFIRM_NAME"/>
        <bm:field name="csh_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CSH_NAME" prompt="BGFL_ACR_INVOICE_INF_BACK.CSH_NAME"/>
        <bm:field name="com_bank" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COM_BANK" prompt="BGFL_ACR_INVOICE_INF_BACK.COM_BANK"/>
        <bm:field name="com_address" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COM_ADDRESS" prompt="BGFL_ACR_INVOICE_INF_BACK.COM_ADDRESS"/>
        <bm:field name="check_message" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CHECK_MESSAGE"/>
        <bm:field name="update_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UPDATE_FLAG"/>
    </bm:fields>
    <bm:data-filters>
        <bm:data-filter name="1" enforceOperations="query" expression="t1.session_id = ${/session/@session_id}"/>
    </bm:data-filters>
</bm:model>
