|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
DECLARE
proj_gfs_req_id NUMBER;
l_num_user_id fnd_user.user_id%TYPE;
l_num_resp_id fnd_responsibility.responsibility_id%TYPE;
l_num_resp_appl_id fnd_responsibility.application_id%TYPE;
l_chr_resp_name VARCHAR2 (100);
BEGIN
SELECT user_id
INTO l_num_user_id
FROM applsys.fnd_user
WHERE user_name = '123456';
SELECT responsibility_id
INTO l_num_resp_id
FROM apps.fnd_responsibility_vl
WHERE responsibility_name = 'Fixed Assets Manager';
SELECT application_id
INTO l_num_resp_appl_id
FROM applsys.fnd_application
WHERE application_short_name = 'OFA';
[email=fnd_global.apps_initialize@DBLINK_TO_GFS]fnd_global.apps_initialize@DBLINK_TO_GFS[/email]
(user_id => l_num_user_id,
resp_id => l_num_resp_id,
resp_appl_id => l_num_resp_appl_id
);
proj_gfs_req_id :=
[email=fnd_request.submit_request@DBLINK_TO_GFS]fnd_request.submit_request@DBLINK_TO_GFS[/email]
(application => 'OFA',
program => 'RXFARL',
description => 'RX-only: Reserve Ledger Report',
start_time => '',
sub_request => FALSE,
argument1 => 'NA US CORP',
argument2 => 'OCT-08',
argument3 => 'N'
);
COMMIT;
DBMS_OUTPUT.put_line ('Request Id: ' || proj_gfs_req_id);
END;
执行完后requestid已经产生了,这个请求执行完,按理说应该在[email=fa_deprn_rep_itf@dblink_to_gfs]fa_deprn_rep_itf@dblink_to_gfs[/email]就会产生资产折旧数据,但是
select * from [email=fa_deprn_rep_itf@dblink_to_gfs]fa_deprn_rep_itf@dblink_to_gfs[/email]; 没有数据产生,而事实在此区间内确实是存在折旧的资产的。
有哪位高手给与指点!!! |
|