About Me
- Muhammad Faizan Karim
- Dubai, United Arab Emirates
- My name is Muhammad Faizan Karim and my aim is to spread the knowledge to everyone who want to learn oracle HRMS. I will try to write the video blogs for beginners so they can understand e-business suits from HRMS perspective, and if you have any difficulty in oracle applications HRMS , please feel free to contact with me at this email : faizan.kareem.ocp@gmail.com
Powered by Blogger.
Sunday, April 19, 2020
DECLARE
l_request_id NUMBER ; -- The request id
l_two_task VARCHAR2 (256);
l_gwyuid VARCHAR2 (256);
l_url VARCHAR2 (1024);
CURSOR C1 IS
SELECT '8105566' REQUEST_ID FROM DUAL
UNION ALL
SELECT '8105565' REQUEST_ID FROM DUAL
UNION ALL
SELECT '8105564' REQUEST_ID FROM DUAL
UNION ALL
SELECT '8105563' REQUEST_ID FROM DUAL;
BEGIN
-- Get the value of the profile option named, Gateway User ID (GWYUID)
--- l_gwyuid := fnd_profile.VALUE ('APPLSYSPUB/PUB');
SELECT profile_option_value
INTO l_gwyuid
FROM fnd_profile_options o, fnd_profile_option_values ov
WHERE profile_option_name = 'GWYUID'
AND o.application_id = ov.application_id
AND o.profile_option_id = ov.profile_option_id;
-- Get the value of the profile option named, Two Task(TWO_TASK)
SELECT profile_option_value
INTO l_two_task
FROM fnd_profile_options o, fnd_profile_option_values ov
WHERE profile_option_name = 'TWO_TASK'
AND o.application_id = ov.application_id
AND o.profile_option_id = ov.profile_option_id;
FOR I IN C1 LOOP
l_request_id := TO_NUMBER(i.request_id);
l_url :=
fnd_webfile.get_url (file_type => fnd_webfile.request_out, -- for out file
ID => l_request_id,
gwyuid => l_gwyuid,
two_task => l_two_task,
expire_time => 500-- minutes, security!.
);
DBMS_OUTPUT.put_line (l_url);
END LOOP;
END;
l_request_id NUMBER ; -- The request id
l_two_task VARCHAR2 (256);
l_gwyuid VARCHAR2 (256);
l_url VARCHAR2 (1024);
CURSOR C1 IS
SELECT '8105566' REQUEST_ID FROM DUAL
UNION ALL
SELECT '8105565' REQUEST_ID FROM DUAL
UNION ALL
SELECT '8105564' REQUEST_ID FROM DUAL
UNION ALL
SELECT '8105563' REQUEST_ID FROM DUAL;
BEGIN
-- Get the value of the profile option named, Gateway User ID (GWYUID)
--- l_gwyuid := fnd_profile.VALUE ('APPLSYSPUB/PUB');
SELECT profile_option_value
INTO l_gwyuid
FROM fnd_profile_options o, fnd_profile_option_values ov
WHERE profile_option_name = 'GWYUID'
AND o.application_id = ov.application_id
AND o.profile_option_id = ov.profile_option_id;
-- Get the value of the profile option named, Two Task(TWO_TASK)
SELECT profile_option_value
INTO l_two_task
FROM fnd_profile_options o, fnd_profile_option_values ov
WHERE profile_option_name = 'TWO_TASK'
AND o.application_id = ov.application_id
AND o.profile_option_id = ov.profile_option_id;
FOR I IN C1 LOOP
l_request_id := TO_NUMBER(i.request_id);
l_url :=
fnd_webfile.get_url (file_type => fnd_webfile.request_out, -- for out file
ID => l_request_id,
gwyuid => l_gwyuid,
two_task => l_two_task,
expire_time => 500-- minutes, security!.
);
DBMS_OUTPUT.put_line (l_url);
END LOOP;
END;
Subscribe to:
Post Comments
(Atom)
1 comments:
https://amzrc.com/azref/48499/