<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: DJ $Date: 2013-7-4 下午5:06:06 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm"> <bm:operations> <bm:operation name="update"> <bm:update-sql><![CDATA[ begin ACR_INVOICE_PKG.invoiceTmp_update(p_record_id => ${@record_id}, p_invoice_kind => ${@invoice_kind}, p_billing_amount => ${@billing_amount}, p_product_name => ${@product_name}, p_user_id => ${/session/@user_id}); end; ]]></bm:update-sql> </bm:operation> <bm:operation name="execute"> <bm:update-sql><![CDATA[ begin ACP_INVOICE_PKG.create_invoice(p_session_id => ${/session/@session_id}, p_company_id => ${/session/@company_id}, p_invoice_date => to_date(${@invoice_date},'yyyy-mm-dd'), p_accounting_date => to_date(${@accounting_date},'yyyy-mm-dd'), p_user_id => ${/session/@user_id}, p_role_id => ${/session/@role_id}); end; ]]></bm:update-sql> </bm:operation> </bm:operations> </bm:model>