<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qianming  
    $Date: 2015-9-4 上午10:51:28  
    $Revision: 1.0  
    $Purpose: 进项发票导入临时表
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="ACR_INVOICE_CREATE_TMP">
    <bm:fields>
        <bm:field name="record_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECORD_ID" prompt="ACR_INVOICE_CREATE_TMP.RECORD_ID"/>
        <bm:field name="cashflow_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CASHFLOW_ID" prompt="ACR_INVOICE_CREATE_TMP.CASHFLOW_ID"/>
        <bm:field name="billing_object" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BILLING_OBJECT" prompt="ACR_INVOICE_CREATE_TMP.BILLING_OBJECT"/>
        <bm:field name="cf_billing_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CF_BILLING_AMOUNT" prompt="ACR_INVOICE_CREATE_TMP.CF_BILLING_AMOUNT"/>
        <bm:field name="bp_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BP_ID" prompt="ACR_INVOICE_CREATE_TMP.BP_ID"/>
        <bm:field name="bp_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_NAME" prompt="ACR_INVOICE_CREATE_TMP.BP_NAME"/>
        <bm:field name="session_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SESSION_ID" prompt="ACR_INVOICE_CREATE_TMP.SESSION_ID"/>
        <bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="ACR_INVOICE_CREATE_TMP.CONTRACT_ID"/>
        <bm:field name="due_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="DUE_AMOUNT" prompt="ACR_INVOICE_CREATE_TMP.DUE_AMOUNT"/>
        <bm:field name="invoice_kind" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_KIND" prompt="ACR_INVOICE_CREATE_TMP.INVOICE_KIND"/>
        <bm:field name="billing_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BILLING_AMOUNT" prompt="ACR_INVOICE_CREATE_TMP.BILLING_AMOUNT"/>
        <bm:field name="invoice_title" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_TITLE" prompt="ACR_INVOICE_CREATE_TMP.INVOICE_TITLE"/>
        <bm:field name="invoice_bp_address_phone_num" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_BP_ADDRESS_PHONE_NUM" prompt="ACR_INVOICE_CREATE_TMP.INVOICE_BP_ADDRESS_PHONE_NUM"/>
        <bm:field name="invoice_bp_bank_account" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_BP_BANK_ACCOUNT" prompt="ACR_INVOICE_CREATE_TMP.INVOICE_BP_BANK_ACCOUNT"/>
        <bm:field name="head_description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="HEAD_DESCRIPTION" prompt="ACR_INVOICE_CREATE_TMP.HEAD_DESCRIPTION"/>
        <bm:field name="times" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TIMES" prompt="ACR_INVOICE_CREATE_TMP.TIMES"/>
        <bm:field name="received_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECEIVED_AMOUNT" prompt="ACR_INVOICE_CREATE_TMP.RECEIVED_AMOUNT"/>
        <bm:field name="cf_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CF_TYPE" prompt="ACR_INVOICE_CREATE_TMP.CF_TYPE"/>
        <bm:field name="cf_item" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CF_ITEM" prompt="ACR_INVOICE_CREATE_TMP.CF_ITEM"/>
        <bm:field name="checked_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CHECKED_FLAG" prompt="ACR_INVOICE_CREATE_TMP.CHECKED_FLAG"/>
        <bm:field name="invoice_bp_tax_registry_num" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INVOICE_BP_TAX_REGISTRY_NUM" prompt="ACR_INVOICE_CREATE_TMP.INVOICE_BP_TAX_REGISTRY_NUM"/>
        <bm:field name="product_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PRODUCT_NAME" prompt="ACR_INVOICE_CREATE_TMP.PRODUCT_NAME"/>
        <bm:field name="currency" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY" prompt="ACR_INVOICE_CREATE_TMP.CURRENCY"/>
        <bm:field name="exchange_rate_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EXCHANGE_RATE_TYPE" prompt="ACR_INVOICE_CREATE_TMP.EXCHANGE_RATE_TYPE"/>
        <bm:field name="exchange_rate_quotation" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EXCHANGE_RATE_QUOTATION" prompt="ACR_INVOICE_CREATE_TMP.EXCHANGE_RATE_QUOTATION"/>
        <bm:field name="exchange_rate" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EXCHANGE_RATE" prompt="ACR_INVOICE_CREATE_TMP.EXCHANGE_RATE"/>
    </bm:fields>
    <bm:primary-key>
        <bm:pk-field name="record_id"/>
    </bm:primary-key>
</bm:model>
