get_loan_flag.lwm 616 Bytes
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11
<?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[
niminmin's avatar
niminmin committed
12 13 14 15 16 17 18 19 20


            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

Spencer Chang's avatar
Spencer Chang committed
21 22 23 24
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>