<?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 cc.business_type
      From csh_payment_req_ln t, con_contract cc
     Where t.payment_req_id = ${/parameter/@payment_req_id}
       And t.ref_doc_category = 'CONTRACT'
       and t.ref_doc_id = cc.contract_id
       and rownum = 1

            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
