<?xml version="1.0" encoding="UTF-8"?> <bm:model xmlns:ns2="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="fc" baseTable="fnd_calendar" defaultorderby="calendar_code"> <bm:fields> <bm:field name="calendar_id" databaseType="BIGINT" datatype="java.lang.Long"/> <bm:field name="calendar_code" databaseType="VARCHAR" datatype="java.lang.String" prompt="FND_CALENDAR.CALENDAR_CODE"/> <bm:field name="description_id" databaseType="BIGINT" datatype="java.lang.Long" multiLanguage="true" multiLanguageDescField="description"/> <bm:field name="description" databaseType="VARCHAR" datatype="java.lang.String" forInsert="false" forUpdate="false" prompt="FND_CALENDAR.DESCRIPTION"/> <bm:field name="start_date" databaseType="DATE" datatype="java.sql.Date" prompt="HAP_START_DATE"/> <bm:field name="end_date" databaseType="DATE" datatype="java.sql.Date" prompt="HAP_END_DATE"/> </bm:fields> <bm:primary-key> <bm:pk-field name="calendar_id"/> </bm:primary-key> <bm:query-fields> <bm:query-field field="calendar_id" queryOperator="="/> <bm:query-field field="calendar_code" queryOperator="like"/> <bm:query-field field="description" queryExpression="exists (select 1 from fnd_descriptions fd where fc.description_id=fd.description_id and fd.description_text like ${@description} and fd.language = ${/session/@lang})"/> </bm:query-fields> <bm:features> <ns2:sequence-pk/> <f:standard-who/> <f:multi-language-storage/> </bm:features> <bm:ref-fields/> </bm:model>