<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: DJ $Date: 2013-7-4 上午9:34:53 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="ACR_INVOICE_LN"> <bm:fields> <bm:field name="invoice_ln_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="INVOICE_LN_ID" prompt="ACR_INVOICE_LN.INVOICE_LN_ID"/> <bm:field name="invoice_hd_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="INVOICE_HD_ID" prompt="ACR_INVOICE_LN.INVOICE_HD_ID"/> <bm:field name="line_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LINE_TYPE" prompt="ACR_INVOICE_LN.LINE_TYPE"/> <bm:field name="line_number" databaseType="NUMBER" datatype="java.lang.Long" physicalName="LINE_NUMBER" prompt="ACR_INVOICE_LN.LINE_NUMBER"/> <bm:field name="cashflow_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CASHFLOW_ID" prompt="ACR_INVOICE_LN.CASHFLOW_ID"/> <bm:field name="cf_item" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CF_ITEM" prompt="ACR_INVOICE_LN.CF_ITEM"/> <bm:field name="cf_type" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CF_TYPE" prompt="ACR_INVOICE_LN.CF_TYPE"/> <bm:field name="product_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PRODUCT_ID" prompt="ACR_INVOICE_LN.PRODUCT_ID"/> <bm:field name="product_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PRODUCT_NAME" prompt="ACR_INVOICE_LN.PRODUCT_NAME"/> <bm:field name="specification" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SPECIFICATION" prompt="ACR_INVOICE_LN.SPECIFICATION"/> <bm:field name="quantity" databaseType="NUMBER" datatype="java.lang.Long" physicalName="QUANTITY" prompt="ACR_INVOICE_LN.QUANTITY"/> <bm:field name="uom" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UOM" prompt="ACR_INVOICE_LN.UOM"/> <bm:field name="price" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PRICE" prompt="ACR_INVOICE_LN.PRICE"/> <bm:field name="price_quantity" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PRICE_QUANTITY" prompt="ACR_INVOICE_LN.PRICE_QUANTITY"/> <bm:field name="price_quantity_uom" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PRICE_QUANTITY_UOM" prompt="ACR_INVOICE_LN.PRICE_QUANTITY_UOM"/> <bm:field name="net_price" databaseType="NUMBER" datatype="java.lang.Long" physicalName="NET_PRICE" prompt="ACR_INVOICE_LN.NET_PRICE"/> <bm:field name="tax_type_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TAX_TYPE_ID" prompt="ACR_INVOICE_LN.TAX_TYPE_ID"/> <bm:field name="tax_type_rate" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TAX_TYPE_RATE" prompt="ACR_INVOICE_LN.TAX_TYPE_RATE"/> <bm:field name="tax_included_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TAX_INCLUDED_FLAG" prompt="ACR_INVOICE_LN.TAX_INCLUDED_FLAG"/> <bm:field name="tax_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TAX_AMOUNT" prompt="ACR_INVOICE_LN.TAX_AMOUNT"/> <bm:field name="net_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="NET_AMOUNT" prompt="ACR_INVOICE_LN.NET_AMOUNT"/> <bm:field name="total_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TOTAL_AMOUNT" prompt="ACR_INVOICE_LN.TOTAL_AMOUNT"/> <bm:field name="responsibility_center_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RESPONSIBILITY_CENTER_ID" prompt="ACR_INVOICE_LN.RESPONSIBILITY_CENTER_ID"/> <bm:field name="account_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="ACCOUNT_ID" prompt="ACR_INVOICE_LN.ACCOUNT_ID"/> <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="ACR_INVOICE_LN.DESCRIPTION"/> <bm:field name="ref_v01" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V01" prompt="ACR_INVOICE_LN.REF_V01"/> <bm:field name="ref_v02" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V02" prompt="ACR_INVOICE_LN.REF_V02"/> <bm:field name="ref_v03" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V03" prompt="ACR_INVOICE_LN.REF_V03"/> <bm:field name="ref_v04" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V04" prompt="ACR_INVOICE_LN.REF_V04"/> <bm:field name="ref_v05" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V05" prompt="ACR_INVOICE_LN.REF_V05"/> <bm:field name="ref_v06" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V06" prompt="ACR_INVOICE_LN.REF_V06"/> <bm:field name="ref_v07" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V07" prompt="ACR_INVOICE_LN.REF_V07"/> <bm:field name="ref_v08" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V08" prompt="ACR_INVOICE_LN.REF_V08"/> <bm:field name="ref_v09" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V09" prompt="ACR_INVOICE_LN.REF_V09"/> <bm:field name="ref_v10" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V10" prompt="ACR_INVOICE_LN.REF_V10"/> <bm:field name="ref_n01" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N01" prompt="ACR_INVOICE_LN.REF_N01"/> <bm:field name="ref_n02" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N02" prompt="ACR_INVOICE_LN.REF_N02"/> <bm:field name="ref_n03" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N03" prompt="ACR_INVOICE_LN.REF_N03"/> <bm:field name="ref_n04" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N04" prompt="ACR_INVOICE_LN.REF_N04"/> <bm:field name="ref_n05" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N05" prompt="ACR_INVOICE_LN.REF_N05"/> <bm:field name="ref_n06" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N06" prompt="ACR_INVOICE_LN.REF_N06"/> <bm:field name="ref_n07" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N07" prompt="ACR_INVOICE_LN.REF_N07"/> <bm:field name="ref_n08" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N08" prompt="ACR_INVOICE_LN.REF_N08"/> <bm:field name="ref_n09" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N09" prompt="ACR_INVOICE_LN.REF_N09"/> <bm:field name="ref_n10" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N10" prompt="ACR_INVOICE_LN.REF_N10"/> <bm:field name="ref_d01" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D01" prompt="ACR_INVOICE_LN.REF_D01"/> <bm:field name="ref_d02" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D02" prompt="ACR_INVOICE_LN.REF_D02"/> <bm:field name="ref_d03" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D03" prompt="ACR_INVOICE_LN.REF_D03"/> <bm:field name="ref_d04" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D04" prompt="ACR_INVOICE_LN.REF_D04"/> <bm:field name="ref_d05" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D05" prompt="ACR_INVOICE_LN.REF_D05"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> <bm:primary-key> <bm:pk-field name="invoice_ln_id"/> </bm:primary-key> <bm:query-fields> <bm:query-field field="invoice_hd_id" queryOperator="="/> </bm:query-fields> </bm:model>