con_print_incept.lwm 923 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="execute">

            <bm:update-sql><![CDATA[
                DECLARE
                    v_print_contract_id NUMBER;
                BEGIN
                    CON_CONTRACT_PKG.con_incept_print(p_contract_id=>${@contract_id},
                                                       p_print_contract_id=>${@v_print_contract_id},
                                                       p_user_id=>${/session/@user_id});

                END;
                ]]>
            </bm:update-sql>
            <bm:parameters>
                <bm:parameter name="v_print_contract_id" dataType="java.lang.Long" input="false" output="true" outputPath="@print_contract_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>