<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    v.code_value,
                    v.code_value_name
                FROM
                    sys_code_values_v v
                WHERE
                    v.code                    = ${@hn_industry_classification} AND  -- IN ('WITHIN_GROUP', 'MARKETIZATION')
                    v.code_enabled_flag       = 'Y' AND
                    v.code_value_enabled_flag = 'Y' 
                ORDER BY
                    v.code
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="code_value" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_VALUE"/>
        <bm:field name="code_value_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE_VALUE_NAME"/>
    </bm:fields>
</bm:model>
