應收發票相關指令碼

2022-01-31 00:58:50 字數 1645 閱讀 9255

/* formatted on 2018/3/15 10:20:35 (qp5 v5.256.13226.35538) */

select * from hr_organization_units_v;

--ar 事物處理安全性限制

begin

mo_global.set_policy_context ('s', '107');

end;

-- 備份事物處理

create table bak.ra_customer_trx_all20120619

asselect *

from ra_customer_trx_all

where trx_number = '10102672';

-- 檢測備份情況

select * from bak.ra_customer_trx_all20120619;

-- 修改事物處理

select t.*, t.rowid

from ra_customer_trx_all t

where trx_number = '10102672';

-- 備份事物處理行

create table bak.ra_customer_trx_lines_all0619

asselect *

from ra_customer_trx_lines_all

where customer_trx_id = 978317;--customer_trx_line_id

-- 檢測備份資料

select * from bak.ra_customer_trx_lines_all0619;

-- 修改事物處理行

select t.*, t.rowid

from ra_customer_trx_lines_all t

where customer_trx_id = 978317;--customer_trx_line_id

-- 備份應收事物處理分配行

create table bak.ra_cust_trx_line_gl_dist0619

asselect *

from ra_cust_trx_line_gl_dist

where customer_trx_id = 978317;

-- 檢測備份資料

select * from bak.ra_cust_trx_line_gl_dist0619;

-- 修改應收事物處理分配行

select t.*, t.rowid

from ra_cust_trx_line_gl_dist t

where customer_trx_id = 978317;

-- 備份應收事物處理-稅行

create table bak.zx_lines20120619

asselect *

from zx_lines

where trx_number = '10102672';

-- 檢測備份資料

select * from bak.zx_lines20120619;

-- 修改應收事物處理-稅行

select t.*, t.rowid

from zx_lines t

where trx_number = '10102672';

應收發票相關指令碼

formatted on 2018 3 15 10 20 35 qp5 v5.256.13226.35538 select from hr organization units v ar 事物處理安全性限制 begin mo global.set policy context s 107 end 備...

AR 調整應收發票指令碼

declare g created by number fnd global.user id g creation date date sysdate g last updated by number fnd global.user id g last updated date date sysda...

應收發票及收款核銷相關的API和程式

收款 ar receipt api pub 發票 ar invoice api pub 下面是收款取消核銷和收款沖銷的程式包 收款沖銷 procedure mew ar receipt reverse p retcode out number p errbuf out varchar2 p cash...