<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: lpc 9874 
    $Date:  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    'Y' loan_flag
                FROM
                    dual
                WHERE
                    EXISTS
                    (SELECT
                        1
                    FROM
                        csh_payment_req_debt_ln_lv t
                    WHERE
                        t.payment_req_id =${/parameter/@payment_req_id} AND
                        t.cf_item        = 5
                    )
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
