Oracle Apps Reports

To discuss Oracle Forms & Reports related technical issues.
Post Reply
venkatxmi
Posts: 1
Joined: Sat May 12, 2007 9:12 am
Location: India

Oracle Apps Reports

Post by venkatxmi »

Please If anybody can help me out for how to use the temporary tables in reports. And how to manipulate data in temporary tables in reports.
How to delete data from the temporary tables after report execution.
ahmadbilal
Posts: 615
Joined: Mon Sep 18, 2006 1:32 am
Location: United Arab Emirates
Contact:

Post by ahmadbilal »

You can populate or create table by writing code in <b>before report</b> trigger
i am just adding a small example here
function BeforeReport return boolean is
begin

delete from temp;
/* You can also write here create statement */
commit;


insert into temp (SELECT '200'||';'||splno||';'||TO_CHAR(P_DATE,'DDMMYYYY')||';'||'KOOR'||';'||'30295'||';'||lpad(pO_iD,8,'0')||';'
FROM CONTRACT C,PACKING_LIST P
WHERE C.CON_ID = P.CON_ID
AND P.PL_NO = :PPLNO);
commit;


return (TRUE);
end;
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests