how to implement in the oracle reports just create Data Model [message #618134] |
Tue, 08 July 2014 06:37  |
 |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
Hi all,
I have package and having 5 Functions.I need to create XML report on this.
create or replace xxc_pkg
as
procedure xxc_proc(p_id in varchar2)
is
CURSOR c_dd(p_num IN VARCHAR2)
IS
select ....
...............
...............
where some column = v_num;
FOR c_rec IN c_dd(v_num) LOOP
I am calling all the 5 Functions.
end loop;
Fuction a(x_id in number)
Fuction b(x_id in number)
Fuction c(x_id in number)
Fuction e(x_id in number)
Fuction f(x_id in number)
END xxc_pkg;
Can you please help me on this ?
How to implement on this in the report.
Thanks
|
|
|
|
|
|
|
|
|
|
Re: how to implement in the oracle reports just create Data Model [message #618219 is a reply to message #618212] |
Wed, 09 July 2014 08:37   |
 |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
Hi cookiemonster,
SELECT a.inventory_item_id,
XX_NUMBER(p_id,p_cust_id)
FROM mtl_system_items_b a,
ar_customers x,
WHERE x.customer_id = p_cust_id
(or)
SELECT a.inventory_item_id,
XX_NUMBER(a.inventory_item_id,x.customer_id)
FROM mtl_system_items_b a,
ar_customers x,
WHERE x.customer_id = p_cust_id
How can i call the Function which are created in the Program Units. Which is one correct? Please correct my issue.
Thanks
|
|
|
|
|
|
|
|
|
|