csh_payment_update.lsc 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"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" trace="true">
    <!--  <a:init-procedure>
        <batch-apply sourcepath="/parameter">
            <p:switch test="@current_parameter/@_status">
                <p:case value="update">
                    <a:model-insert model="csh.CSH501.csh_payment_req_hd"/>
                    <a:batch-apply sourcepath="@current_parameter/sub/">
                        <a:model-insert model="csh.CSH501.csh_payment_req_ln"/>
                    </a:batch-apply>
                    <a:model-delete model="csh.CSH501.del_csh_pay_cashflow_id_temp"/>
                </p:case>
            </p:switch>
        </batch-apply>
    </a:init-procedure> -->
    <a:init-procedure>
        <a:model-update model="csh.CSH501.csh_payment_req_hd"/>
        <a:batch-apply sourcepath="/parameter/details">
            <a:model-update model="csh.CSH501.csh_payment_req_ln"/>
        </a:batch-apply>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>