gld_account_set_lov.lwm 1.43 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?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>