<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: niujiaqing1265 $ $Date: 2010/12/09 05:48:38 $ $Revision: 1.2 $ $Purpose: EXP_LEVEL_SERIES 表 对应的bm文件 --> <ns1:model xmlns:e="leaf.service.exception" xmlns:ns2="leaf.database.local.oracle" xmlns:ns1="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="els" baseTable="EXP_LEVEL_SERIES" defaultOrderBy="level_series_code"> <ns1:fields> <ns1:field name="level_series_id" databaseType="NUMBER" datatype="java.lang.Double"/> <ns1:field name="level_series_code" databaseType="VARCHAR2" datatype="java.lang.String" prompt="EXP_LEVEL_SERIES.LEVEL_SERIES_CODE"/> <ns1:field name="description_id" databaseType="NUMBER" datatype="java.lang.Double" multiLanguage="true" multiLanguageDescField="description" physicalName="DESCRIPTION_ID"/> <ns1:field name="description" databaseType="VARCHAR" datatype="java.lang.String" forInsert="false" forUpdate="false" prompt="EXP_LEVEL_SERIES.LEVEL_DESC"/> <ns1:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" prompt="EXP_ORG_UNIT_TYPES.ENABLED_FLAG"/> </ns1:fields> <ns1:primary-key> <ns1:pk-field name="level_series_id"/> </ns1:primary-key> <ns1:query-fields> <ns1:query-field field="level_series_code" queryOperator="like"/> <ns1:query-field field="description" queryExpression="exists (select 1 from fnd_descriptions fd where els.description_id=fd.description_id and fd.description_text like ${@description} and fd.language = ${/session/@lang})"/> </ns1:query-fields> <ns1:features> <ns2:sequence-pk/> <f:standard-who/> <f:multi-language-storage/> </ns1:features> <ns1:ref-fields/> <e:exception-descriptor-config> <e:exception-descriptor exception="java.sql.SQLException" handleClass="leaf.database.SQLExceptionDescriptor"> <e:error-message code="1" message="EXP_EMPLOYEE_TYPES.TYPE_CODE_DISTINCT"/> </e:exception-descriptor> </e:exception-descriptor-config> </ns1:model>