con_req_status.lwm 762 Bytes
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
<?xml version="1.0" encoding="UTF-8"?>

<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:fields>
        <bm:field name="value_code" />
        <bm:field name="value_name" />
    </bm:fields>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                select a.code_value value_code, a.code_value_name value_name
                  from sys_code_values_v a
                 where a.code = 'CON_CHANGE_REQ_STATUS'
                   and a.code_enabled_flag = 'Y'
                   and a.code_value_enabled_flag = 'Y'
                   and a.code_value IN ('APPROVED','APPROVING')
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>