create or replace package mew_batch_impinvoices_pkg is
procedure main(p_batch_id number,
p_org_id number,
p_invoice_type varchar2,
p_vendor_number varchar2,
p_vendor_site_code varchar2,
p_invoice_date date,
p_invoice_number varchar2,
p_invoice_currency_code varchar2,
p_invoice_amount varchar2,
p_gl_date date,
p_exchange_rate_type varchar2 default null,
p_exchange_rate_date date default null,
p_exchange_rate number default null,
p_invoice_description varchar2 default null,
p_terms varchar2,
p_terms_date date,
p_line_type varchar2,
p_debit_account_amount number,
p_distribution_account_code varchar2,
p_line_description varchar2 default null);
end;
/
PB事務處理
1 資料視窗更新,只要dberror有錯誤,而事先沒有做過任何commit工作,那麼rollback可以回滾到上次commit位置,即上次commit後所有的資料將被回滾。2 如果是直接寫入sql語句,只要資料庫出現錯誤,那麼rollback可以回滾到上次commit的位置,即上次commit後所有...
MySQL事務處理
start transaction,commit和rollback語法 start transaction begin work commit work and no chain no release rollback work and no chain no release set autocom...
ASP事務處理
asp事務處理。測試資料庫為sql server,伺服器為本機,資料庫名為test,表名為a,兩個欄位id int 主鍵標識,num int set conn server.createobject adodb.connection strconn provider sqloledb.1 persi...