credit_line_check.lwm 1.28 KB
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 21 22 23 24 25 26 27
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="result" dataType="java.lang.String" input="false" output="true"/>
                <bm:parameter name="result_level" dataType="java.lang.Long" input="false" output="true"/>
                <bm:parameter name="result_msg" dataType="java.lang.String" input="false" output="true"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    RSC_CREDIT_LINE_PKG.CREDIT_LINE_CHECK
                    (
                        p_credit_check_point=>${@credit_check_point},
                        p_credit_date=>trunc(sysdate),
                        p_document_type=>${@document_type},
                        p_document_id=>${@document_id},
                        p_company_id=>${/session/@company_id},
                        p_user_id=>${/session/@user_id},
                        p_result=>${@result},
                        p_result_level=>${@result_level},
                        p_result_msg=>${@result_msg}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>