cus_incept_submit.lwm 1.06 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
<?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="contract_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="function_code" input="true"/>
                <bm:parameter name="inception_of_lease" input="true"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    CUS_CON_INCEPT_WF_PKG.CUS_INCEPT_SUBMIT
                    (
                        p_contract_id=>${@contract_id},
                        p_user_id=>${/session/@user_id},
                        p_function_code=>${@function_code},
                        p_inception_of_lease=>to_date(${@inception_of_lease},'YYYY-MM-DD')
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>