<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Administrator  
    $Date: 2011-6-13 下午04:56:19  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_ACR_EBANK_PROCESS_TEMP_V">
    <bm:fields>
        <bm:field name="record_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECORD_ID" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.RECORD_ID"/>
        <bm:field name="session_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SESSION_ID" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.SESSION_ID"/>
        <bm:field name="sequence_no" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SEQUENCE_NO" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.SEQUENCE_NO"/>
        <bm:field name="contract_credit_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_CREDIT_ID" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CONTRACT_CREDIT_ID"/>
        <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.COMPANY_ID"/>
        <bm:field name="contract_hds_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_HDS_ID" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CONTRACT_HDS_ID"/>
        <bm:field name="credit_category" databaseType="VARCHAR2" datatype="java.lang.String" lookUpCode="HLS_PRJ_CONTRACT_CREDIT_CATEGORY" lookUpField="credit_category_disp" physicalName="CREDIT_CATEGORY" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CREDIT_CATEGORY"/>
        <bm:field name="credit_category_disp" forInsert="false" forUpdate="false"/>
        <bm:field name="credit_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CREDIT_ID" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CREDIT_ID"/>
        <bm:field name="period_number" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PERIOD_NUMBER" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.PERIOD_NUMBER"/>
        <bm:field name="pre_payment_date" databaseType="DATE" datatype="java.util.Date" physicalName="PRE_PAYMENT_DATE" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.PRE_PAYMENT_DATE"/>
        <bm:field name="receivable_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECEIVABLE_AMOUNT" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.RECEIVABLE_AMOUNT"/>
        <bm:field name="real_revenue" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REAL_REVENUE" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.REAL_REVENUE"/>
        <bm:field name="currency_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY_CODE" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CURRENCY_CODE"/>
        <bm:field name="exempt_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EXEMPT_FLAG" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.EXEMPT_FLAG"/>
        <bm:field name="version_number" databaseType="NUMBER" datatype="java.lang.Long" physicalName="VERSION_NUMBER" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.VERSION_NUMBER"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.DESCRIPTION"/>
        <bm:field name="step_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="STEP_CODE" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.STEP_CODE"/>
        <bm:field name="write_off_amount" databaseType="NUMBER" datatype="java.lang.Double" physicalName="WRITE_OFF_AMOUNT" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.WRITE_OFF_AMOUNT"/>
        <bm:field name="contract_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CONTRACT_NUMBER" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CONTRACT_NUMBER"/>
        <bm:field name="customer_name" databaseType="CHAR" datatype="java.lang.String" physicalName="CUSTOMER_NAME" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CUSTOMER_NAME"/>
        <bm:field name="credit_balance" databaseType="NUMBER" datatype="java.lang.Double" physicalName="CREDIT_BALANCE" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.CREDIT_BALANCE"/>
        <bm:field name="bank_account_name" databaseType="CHAR" datatype="java.lang.String" physicalName="BANK_ACCOUNT_NAME" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.BANK_ACCOUNT_NAME"/>
        <bm:field name="bank_account_number" databaseType="CHAR" datatype="java.lang.String" physicalName="BANK_ACCOUNT_NUMBER" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.BANK_ACCOUNT_NUMBER"/>
        <bm:field name="partner_account_number" databaseType="CHAR" datatype="java.lang.String" physicalName="PARTNER_ACCOUNT_NUMBER" prompt="HLS_ACR_EBANK_PROCESS_TEMP_V.PARTNER_ACCOUNT_NUMBER"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:data-filters>
        <bm:data-filter enforceOperations="query" expression="t1.session_id=${/session/@session_id}"/>
    </bm:data-filters>
</bm:model>
