acp_invoice_update.lwm 680 Bytes
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: zhuxianfei 
    $Date: 2018/7/26 14:11
    $Revision: 1.0 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            begin
                   Update acp_invoice_ln t
                   Set t.invoice_status   = 'ARCHIVED',
                       t.last_updated_by  = ${/session/@user_id},
                       t.last_update_date = Sysdate
                   Where t.invoice_line_id = ${@invoice_line_id};
             end;
         ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>