<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: niujiaqing1265 $
    $Date: 2010/12/09 05:48:38 $
    $Revision: 1.2 $
    $Purpose: “科目层次定义”选择“科目表代码”用的lov文件
-->
<ns1:model xmlns:f="leaf.database.features" xmlns:ns1="http://www.leaf-framework.org/schema/bm" alias="gas" baseTable="gld_account_sets">
    <ns1:fields>
        <ns1:field name="account_set_id" databaseType="BIGINT" datatype="java.lang.Long"/>
        <ns1:field name="account_set_code" databaseType="VARCHAR" datatype="java.lang.String" displayWidth="200" forDisplay="true" forQuery="true" prompt="GLD_ACCOUNT_SETS.ACCOUNT_CODE"/>
        <ns1:field name="account_set_name" databaseType="VARCHAR" datatype="java.lang.String" displayWidth="200" forDisplay="true" forInsert="false" forQuery="true" forUpdate="false" prompt="GLD_ACCOUNT_SETS.ACCOUNT_DESCRIPTION"/>
    </ns1:fields>
    <ns1:primary-key>
        <ns1:pk-field name="account_set_id"/>
    </ns1:primary-key>
    <ns1:query-fields>
        <ns1:query-field field="account_set_code" queryOperator="like"/>
        <ns1:query-field field="account_set_name" queryExpression="exists (select 1 from fnd_descriptions fd where gas.account_set_name_id=fd.description_id and fd.description_text like ${@account_set_name} and fd.language = ${/session/@lang})"/>
    </ns1:query-fields>
    <ns1:features>
        <f:multi-language-display/>
    </ns1:features>
    <ns1:ref-fields/>
</ns1:model>
