<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: qianming $Date: 2015-6-29 下午4:09:07 $Revision: 1.0 $Purpose: 北京国资租赁-用友财务接口-凭证数据接口 --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="BGFL_YONGYOU_JOURNALS"> <bm:fields> <bm:field name="journals_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="JOURNALS_ID"/> <bm:field name="system_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SYSTEM_FLAG" prompt="是否系统生成"/> <bm:field name="update_times" databaseType="NUMBER" datatype="java.lang.Long" physicalName="UPDATE_TIMES" prompt="更新次数"/> <bm:field name="csign" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CSIGN" prompt="凭证类别"/> <bm:field name="cbill" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CBILL" prompt="凭证制单人"/> <bm:field name="ccode" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CCODE" prompt="凭证科目"/> <bm:field name="ccus_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CCUS_ID" prompt="客户编码"/> <bm:field name="cdept_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDEPT_ID" prompt="部门编码"/> <bm:field name="cdigest" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDIGEST" prompt="摘要"/> <bm:field name="cexch_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CEXCH_NAME" prompt="币种名称"/> <bm:field name="cperson_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CPERSON_ID" prompt="业务员编码"/> <bm:field name="csup_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CSUP_ID" prompt="供应商编码"/> <bm:field name="dbill_date" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DBILL_DATE" prompt="制单日期"/> <bm:field name="inid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INID" prompt="凭证行号"/> <bm:field name="ino_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INO_ID" prompt="凭证编号"/> <bm:field name="iperiod" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="IPERIOD" prompt="会计期间"/> <bm:field name="mc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MC" prompt="贷方金额"/> <bm:field name="mc_f" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MC_F" prompt="外币贷方金额"/> <bm:field name="md" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MD" prompt="借方金额"/> <bm:field name="md_f" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MD_F" prompt="外币借方金额"/> <bm:field name="nc_s" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NC_S" prompt="数量贷方"/> <bm:field name="nd_s" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ND_S" prompt="数量借方"/> <bm:field name="nfrat" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NFRAT" prompt="汇率"/> <bm:field name="cdefine10" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDEFINE10" prompt="业务类型"/> <bm:field name="cdefine11" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDEFINE11" prompt="项目名称"/> <bm:field name="cdefine12" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDEFINE12" prompt="合同名称"/> <bm:field name="cdefine13" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDEFINE13" prompt="融资租赁合同名称"/> <bm:field name="cdefine14" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDEFINE14" prompt="借款机构名称"/> <bm:field name="import_flag" databaseType="VARCHAR2" datatype="java.lang.String" lookupCode="YONGYOU_IMPORT_FLAG" lookupField="import_flag_desc" physicalName="IMPORT_FLAG"/> <bm:field name="import_flag_desc" databaseType="VARCHAR2" datatype="java.lang.String"/> <bm:field name="import_date" databaseType="DATE" datatype="java.util.Date" physicalName="IMPORT_DATE" prompt="导入日期"/> <bm:field name="import_user_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="IMPORT_USER_ID"/> <bm:field name="import_user" expression="(select description from sys_user where user_id = t1.import_user_id)" prompt="导入用户"/> <bm:field name="error_message" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ERROR_MESSAGE" prompt="错误信息"/> </bm:fields> <bm:data-filters> <bm:data-filter name="1" enforceOperations="query" expression="upper(t1.ino_id) = upper(${@ino_id})"/> </bm:data-filters> </bm:model>