Problem in Reports6i

Hi
I have a report with 4 Repeating Frames.It works perfectly fine until it gets same Client names which is one of the Repeating frames.
Means the name of the Client is not printed and its relevent details are printed.
Following is the query used
Select hdr.INV_HDR_ID
, hdr.INVOICE_DATE
,decode(hdr.run_type ,'REAL_INVOICE','Definitieve versie'
,'TEST_INVOICE','Proefversie') Invoice_type
, hdr.YEAR
, hdr.PERIOD
, hdr.MONTH
, dtl.week_number
, hdr.INVOICE_TYPE_ID
,decode(zv.sex, 'M', 'Dhr.', 'F', 'Mevr.', 'Dhr. of Mevr.')||
decode(zv.initials, null, null, ' '||zv.initials)||
decode(zv.prefix_name, null, null, ' '||zv.prefix_name)||
decode(zv.last_name, null, null, ' '||zv.last_name)||
decode(zv.maiden_name, null, null, ' '||zv.maiden_name) zv_name
, zv.PREFIX_NAME
, zv.FIRST_NAME
, zv.MAIDEN_NAME
,ZV.LAST_NAME
,ZV.INITIALS
,ZV.SEX
, ZV.ADDRESS ||' ' ||ZV.HOUSE_NO||' '|| ZV.POST_CODE||' ' ||ZV.CITY address
,ZV.MAIL_ADDRESS ||' ' || ZV.MAIL_POST_CODE||' ' ||ZV.MAIL_CITY postal
,ZV.MOBILE_PHONE||' ' ||ZV.TELEPHONE
,ZV.FAX_NUMBER
,ZV.EMAIL_ADDRESS
,ZV.BANK_ACCOUNT_NO ||' ' || ZV.GIRO_NUMBER Bank
,ZV.CREDITOR_NO
,dtl.CLIENT_ID
,decode(cl.sex, 'M', 'Dhr.', 'F', 'Mevr.','O','','Dhr. of Mevr.')||
decode(cl.initials, null, null, ' '||cl.initials)||
decode(cl.prefix_name, null, null, ' '||cl.prefix_name)||
decode(cl.last_name, null, null, ' '||cl.last_name)||
decode(cl.prefix_maiden_name, null, null, ' '||cl.prefix_maiden_name)||
decode(cl.maiden_name, null, null, ' '||cl.maiden_name)||
decode(cl.organisation_name, null, null, ' '||cl.organisation_name) cl_name
,cl.sex
,cl.client_name
,cl.PREFIX_NAME
, cl.INITIALS
, cl.FIRST_NAME
, cl.LAST_NAME
, cl.MAIDEN_NAME
, hdr.TOTAL_AMOUNT
, hdr.invoice_version
, dtl.PRODUCT_GROUP_ID
,pg.attribute1
,pg.name
, dtl.OT_RATE_IND
, dtl.SPECIAL_RATE_IND
, dtl.LOW_RATE_IND
, sum(dtl.NORMAL_HOURS)
, sum(dtl.OVERTIME_HOURS )
, dtl.NORMAL_RATE
, dtl.OVERTIME_RATE
, dtl.LOW_RATE
, dtl.SPECIAL_RATE
, sum(dtl.NORMAL_AMOUNT )
, sum(dtl.OVERTIME_AMOUNT )
, sum(dtl.BASE_SURCHARGE_AMOUNT )
, sum(dtl.OT_SURCHARGE_AMOUNT)
, SUM(NVL(dtl.TRAVEL_KMS,0)) TOTAL_KMS
, DTL.RATE_PER_TRAVEL_KM TRAVEL_RATE
, SUM(TRAVEL_AMOUNT) TOTAL_TRAVEL_AMOUNT
, dtl.TIMESHEET_ID
, dtl.ACT_DTL_ID
from invoice_hdr hdr
, invoice_dtl dtl
,clients cl
,freelancers zv
,product_groups pg
where dtl.inv_hdr_id = hdr.inv_hdr_id
and invoice_type = 'ZORGVERLENER'
and cl.client_id = dtl.client_id
and cl.zb_branch_id = hdr.INV_BRANCH_ID
--AND HDR.INV_HDR_ID in (506,5067,5068,4972,4966,4973)
--and hdr.invoice_type_id=272
and zv.freelancer_id = hdr.invoice_type_id
and zv.zb_branch_id = hdr.INV_BRANCH_ID
and pg.zb_branch_id = hdr.INV_BRANCH_ID
and pg.product_group_id = dtl.product_group_id
and hdr.year =2004
and hdr.month =11
and hdr.invoice_version = 1
group by hdr.INV_HDR_ID
, hdr.INVOICE_DATE
,decode(hdr.run_type ,'REAL_INVOICE','Definitieve versie'
,'TEST_INVOICE','Proefversie')
, hdr.YEAR
, hdr.PERIOD
, hdr.MONTH
, dtl.week_number
, hdr.INVOICE_TYPE_ID
,ZV.CREDITOR_NO
, zv.PREFIX_NAME
, zv.FIRST_NAME
, zv.MAIDEN_NAME
,ZV.LAST_NAME
,ZV.INITIALS
,ZV.SEX
,ZV.ADDRESS ||' ' ||ZV.HOUSE_NO||' '|| ZV.POST_CODE||' ' ||ZV.CITY
,ZV.MAIL_ADDRESS ||' ' || ZV.MAIL_POST_CODE||' ' ||ZV.MAIL_CITY
,ZV.MOBILE_PHONE||' ' ||ZV.TELEPHONE
,ZV.FAX_NUMBER
,ZV.EMAIL_ADDRESS
,ZV.BANK_ACCOUNT_NO ||' ' || ZV.GIRO_NUMBER
,dtl.CLIENT_ID
,cl.sex
,cl.client_name
,cl.PREFIX_NAME
, cl.INITIALS
, cl.FIRST_NAME
, cl.LAST_NAME
, cl.prefix_maiden_name
, cl.MAIDEN_NAME
, cl.organisation_name
, dtl.PRODUCT_GROUP_ID
,dtl.week_number
, hdr.TOTAL_AMOUNT
, hdr.invoice_version
,pg.attribute1
,pg.name
, dtl.OT_RATE_IND
, dtl.SPECIAL_RATE_IND
, dtl.LOW_RATE_IND
, dtl.NORMAL_HOURS
, dtl.OVERTIME_HOURS
, dtl.NORMAL_RATE
, dtl.OVERTIME_RATE
, dtl.LOW_RATE
, dtl.SPECIAL_RATE
, dtl.NORMAL_AMOUNT
, dtl.OVERTIME_AMOUNT
, dtl.BASE_SURCHARGE_AMOUNT
, dtl.OT_SURCHARGE_AMOUNT
--- , dtl.TRAVEL_KMS
, DTL.RATE_PER_TRAVEL_KM
, dtl.TIMESHEET_ID
, dtl.ACT_DTL_ID
order by zv.creditor_no
Do let me know if any extra info required.

Does this query bring back the correct results outside of reports in SQL*PLUS or another tool?

Similar Messages

  • PDF Problem in Reports6i

    Hi,
    I have problem with pdf format in reports6i,
    i'm usually using pdf in my reports, but i have problem with it. When I print a reports in PDF format it's always shown my old data that i have open previously, this is cause by the cache on Browser. I have to clean the cache to see the new data. But if I clean the cache, when i open the forms it'll be takes a long time, because forms downloading the jars again.
    Any body ever meet this problem, by the way i'm using IE5.
    Please Help.
    Silvia
    null

    Syed
    Arabic and BiDi support for PDF output of reports is supported from Reports 9i.
    Thanks
    Tha Oracle Reports Team

  • Problem in reports6i parameter form customization

    I am calling report developed under reports6i using rwservlet from j2ee web application. I was able to successfully customize the parameter form internal to report using Report Escapes properties, Before Form value and After Form value. I am using header.htm and footer.htm to render header and footer related html. I am able to use style sheet file also. Everything is working fine with this file. But when I try to repeat the same changes to another report (rdf), it is not taking the changes. No matter what I do, report is taking the settings from parameter form builder tool. When I run the report outside of web ie., from report builder, it is showing the parameter fields and labels I have made changes to, but when I run as web report it is taking the parameter fields and labels that report builder tool has. I am frustrated and do not understand, everything working fine with one report is not working with the other. Is that a bug? or am I missing something? Please help. I really appreciate your help.
    Thanks in advance,
    Raju

    Thanks Philipp for the response. Yes I verified whether server picking the changes. That's how I found its only picking from the parameter form builder. Whatever changes I made to the actual parameter form I was not seeing. But I was seeing whatever changes I made in the parameter form builder. I do not want to use parameter form builder wizard. It's kind of weird and that's why I do not see logic behind what's going on? I am wondering is it a bug in the reports developer tool. I am using oracle reports6i (Report Builder 6.0.8.11.3).
    Thanks,
    Raju

  • Problem in Reports6.0

    I generated a report using Oracle reports6.0 in "Report bulider"
    After getting the out put I am choosing the
    File
    Generate to file
    To PDF
    The report is fine
    I compiled the report and run this compiled report from " Reports Runtime " .
    In live previewer it is correct then if I choose
    File
    Generate
    PDF Format
    When I am doing this The data is correct but some of the User Parameters are not visible .
    What I have to do If I want the same output in "pdf" format as we got in Live previewer
    null

    sorry sorry sorry.... posted this query to a wrong channel ....
    first time here ... :P
    i'll post this message to the JES channel
    see u there

  • Tab char problem in reports6i

    hi
    I have a long column, and text data in it.
    I show it in reports. I use flush justify in the reports(left and right justify). In some lines there is tab character(chr(9)). I use fix length fonts.
    Fisrt; in the reports I see the tab char only one space length. Can I manullay change it?
    Second; altough I use flush justify, right side is ok, but in the lines of which has tab character at the begining does not start in the same vertical order. (Two different lines with one(or same number of) tab at the begining has different left margins.)
    Do you have any suggections for this urgent problem?
    Thanks...

    have u find any solution to ur problem. i am also facing the same problem.
    zafar
    [email protected]

  • Using stored function in the Report Trigger

    I have faced this problem in Reports6.0.
    When a stored function is called in the after form trigger as
    below
    val := func1(abc,def);
    the report is hanging
    If I write like this i.e.,
    select func1(abc,def) into val
    from dual;
    it is working fine . Is this a bug ? Or Is there any reason
    behind it . Please Clarify !
    ThanX in Advance !
    Rajesh Mudiganti
    null

    Hi,
    You can define your own PF-STATUS and in that assign the function code for BACK button anything except 'BACK'.
    The code would somewhat look like this:
    SET PF-STATUS 'TEST'.
    write : itab-col1,
               itab-col2.
    in the PF-STATUS 'TEST', assign the function code to BACK button as 'BCK'.
    Now in your program you can use the event AT USER-COMMAND.
    In this you can handle the functionality of BACK button.
    Hope this helps.
    Regards,
    Himanshu

  • Connect Window Appears While Running Report From Forms 6i

    Hi.
    I have a problem ie. Using Oracle Server 8.0.5 In the parameter file when I use RESOURCE_LIMIT=TRUE Then
    Every time When report runs from Forms 6 It displays conection Window. But When RESOURCE_LIMIT=FALSE It does not appears.
    How to Control this while Using RESOURCE_LIMIT=TRUE
    Thans In advance.
    Shahzad

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    there are no known issues with reports and this setting. did you check your database ? maybe there is a problem on the database side or you have defined limits that would cause call to report to initiate a new session.
    i would suggest you open a TAR with oracle support services in this matter.
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    Though I'm not aware that I use this setting, I also have a similar problem with Reports6.0. Randomly, while running a report from a Form using the RUN PRODUCT built-in, I see the database logon Form! Would looding my connection while the report was running cause this same thing?

  • Problems with a query in Reports6i

    Hello,
    hope someone can help me with this issue. I have a query like this in my reports:
    select c_id ,dat_tim,glo,utr
    from ce_pro
    where c_id IN ('X1200', 'X1210')
    and glo not like 'null' or utr not like 'null'
    group by c_id, dat_tim,glo, utr
    having dat_tim between '11-JAN-2001'
    and '29-JAN-2001'
    order dat_tim desc,c_id asc;
    If X1200 and X1210 have glo or utr like null, then this query give me other c_id(for example X909 and X880) values different from X1200 and
    X1210 because they have glo not like null or utr not like null.
    What I like to get is this:If X1200 and X1210 have glo and utr values like null, then my query shall only return
    X1200 and X1210 with glo and utr like null. It seems like
    the condition glo not like 'null' or utr not like 'null' decide the outcome of my query and not the condition c_id IN ('X1200', 'X1210'). Hope someone can help.
    Best Regards
    Roar

    Well I can tell you this - Unless you physically store the value 'NULL' in the database, that is the reason you are not pulling back the values you expect.
    If a column does not have a value, then its value is null. You can NEVER use =, <>, or like with a null value. The null value does not exist, so saying like 'null' is useless.
    And besides, why are you using like in this case? Since you dont have the % % wildcards, like in this case would be equivalent to =. Both of which are not valid with null.
    Hopefully this will help you a bit - if not, post the table descriptions and some sample data to show what the query is bringing back. I think you should work on the null/not null part first.

  • Installation Problem in windows XP

    Hello,
    I install oracle 8i on windows XP, then I install Forms 6i successfully, But when I go to install Repors 6i, the installations termenates, Now I dont Know whats the problem, If anyone know something about this problem then please guide me in this regard...
    Thanks in advance

    Don't restart your PC after installing Forms6i. Then try to install Reports6i. In first try u would get an error but the second attempt should be successful.
    Take care

  • We are facing some probelms with reports6i

    hai,
    I am facing some probelms with reports6i.
    1.when i try to mail one report it is coming in the 'eps' format.how
    can i open this format.
    2.we are calling the report using the command line method not
    run_product.for these reports 'Generate to File' menu is not working.It say
    an error like Umimplemented Error (rep-0999)
    3.In one report we are using clob field.but when we take the print output of
    this field some of the characters are missing in paper.the problem what we
    think is that, there is no entre key padding when a word wrap is
    occuring.We have to give it manually which is not applicable in all
    cases.Please give some methods to solve these probelms.
    Please treat this as an urgent matter.
    thanking you,
    dilip

    If you have not set desformat you will get a file format determined by the driver of your default printer (even though you are not printing !). The file extension always seems to be .eps regardless of whether it is actually an eps (postscript) file.
    You can get other formats eg. pdf by setting desformat.
    If you do want to work with eps files you can download 'Ghostscript and GSView' which can display and convert them.

  • In Reports6i is "srw.do_sql" still applicable?

    Hi guys,
    I just want to know if in Oracle Reports6i the "srw.do_sql" still applicable? In report trigger afterform i have problem with this line.
    srw.do_sql('create table owner.tablename (column1 char(6), column2 (varchar2(50))');
    Can anyone help me solve this problem. Thank you.
    Regards,
    Lala

    I think you forgot to write tha actual owner name !!
    or does your user has the rights for DDL statements ??
    SRW.DO_SQL ('CREATE TABLE ' || :owner||'.'||:tname || ' (COL1 NUMBER
    NOT NULL, COL2 NUMBER (10,2))' );
    Edited by: Dora on Dec 7, 2009 12:42 PM

  • Excel output in Reports6i

    Hi,
    I am having problem in generating excel output. I am using reports6i and i am generating output from web. While generating,i am getting the output in excel. But my problem is, in my excel output i am having a field called barcode which is a varchar2 type and having values like (7889999677)number data. So if i generated the excel output file automatically it is showing that data in excel as right aligned data cell. I want that particular cell should be left aligned since it is varchar2 type. Can anybody solve this problem.
    Thanks in advance
    M.C. Meenakshi

    I guess that you are using DESFORMAT=DELIMITED. If so, you don't have any control over formatting etc. Remember that a delimited file only consists of data and a delimiter like 2.4;1.6;6.3;1.1;1.2!
    If it's possible, install Oracle Reports10g (part of Developer Suite 10g) and use the new way to generate an Excel Report.
    Metalink Note 24819.1 describes how to make a report template in MS Excel. This will be opened and customized in Oracle Reports. When running the report, MS Excel will be automatically started (or via Excel browser plugin) and display the data. Quite nice!!!
    Regards,
    Martin Malmström

  • Statusformat=xml in Reports6i

    Reports9i servlet has a parameter statusformat=xml which allows you to get back jobid and some statusinformations after starting them over web.
    Are there any plans backport and incorporate this in a current Reports6i patch?
    This would help us a lot!
    Cheers, Stefan

    nhmm ... what a pitty!
    That makes Oracle Reports6i pretty unflexible to integrate with it!
    I am looking for a generic way to handle delayed/asynchronous printing from our application ... but of course monitoring the whole process in an administration screen.
    So the only way to get back a reports internal jobid to access the reports api tables for checking status is by using run_report_object in Oracle Forms. No other way (Reports OCI doesn't return anything, and websubmit also doesn't return anything).
    statusformat=xml would solve our problems (and a lot of other peoples). Any chance this feature can get implemented in a upcomming patch?
    Cheers, Stefan

  • Pipelined function in reports6i....1

    Hi,
    i have a problem with using pipelined function in
    reports6i.
    can i use pipelined function in reports6i.
    The following code is used to return rows
    based on the parameter i am passing:
    my package declaration and body is as follows:
    PACKAGE P_RET_ARRAY IS
    TYPE array1 AS TABLE OF NUMBER;
    FUNCTION ret_array(str VARCHAR2)
    RETURN ARRAY1 PIPELINED;
    END;
    PACKAGE BODY P_RET_ARRAY IS
    FUNCTION ret_array(str VARCHAR2)
    RETURN ARRAY1 pipelined
    IS
    str1 VARCHAR2(100);
    num1 NUMBER(5);
    BEGIN
    str1 := str ||',';
    WHILE LENGTH(str1)>=0
    LOOP
    num1 := TO_NUMBER(SUBSTR(str1,1,INSTR(str1,',',1)-1));
    pipe (num1);
    str1 := SUBSTR(str1,INSTR(str1,',',1)+1);
    END LOOP;
    --NULL;
    RETURN ;
    END;
    END;
    I got the above piece of code from one of the oracle forums:
    now if i am trying to use this code in my reports6i it's not recognizing
    pipelined.any suggestions plz .
    it's urgent....

    Hi,
    i have a problem with using pipelined function in
    reports6i.
    can i use pipelined function in reports6i.
    The following code is used to return rows
    based on the parameter i am passing:
    my package declaration and body is as follows:
    PACKAGE P_RET_ARRAY IS
    TYPE array1 AS TABLE OF NUMBER;
    FUNCTION ret_array(str VARCHAR2)
    RETURN ARRAY1 PIPELINED;
    END;
    PACKAGE BODY P_RET_ARRAY IS
    FUNCTION ret_array(str VARCHAR2)
    RETURN ARRAY1 pipelined
    IS
    str1 VARCHAR2(100);
    num1 NUMBER(5);
    BEGIN
    str1 := str ||',';
    WHILE LENGTH(str1)>=0
    LOOP
    num1 := TO_NUMBER(SUBSTR(str1,1,INSTR(str1,',',1)-1));
    pipe (num1);
    str1 := SUBSTR(str1,INSTR(str1,',',1)+1);
    END LOOP;
    --NULL;
    RETURN ;
    END;
    END;
    I got the above piece of code from one of the oracle forums:
    now if i am trying to use this code in my reports6i it's not recognizing
    pipelined.any suggestions plz .
    it's urgent....

  • Arabic in reports6i on web

    Hi
    I am testing reports6i on web for arabic applications. I tried following as advised by users in this forum, even then Arabic characters are getting displayed as symbols.
    1. Tried Changing fonts.
    2. Made default language as Arabic on middle tier m/c (win2000).
    I am running forms6i & Reports6i servers on win 2000 server with patch5 and clients PC having oper system Win'98. I am trying to generate reports in PDF format.
    When I generate report in HTML format then its fine. But users are asking for PDF format. Please help to solve this problem or tell if there is any other way to run reports and open it in clinets browser.
    Thanks in Advance
    Syed

    Syed
    Arabic and BiDi support for PDF output of reports is supported from Reports 9i.
    Thanks
    Tha Oracle Reports Team

Maybe you are looking for

  • How many times can you "Export - Quicktime movie" the same ProRes 422 file until it starts to lose quality?

    Lets say you are done with your project & you want an uncompressed copy of it as your master. If you keep importing it back into Final Cut Pro, & keep exporting (Quicktime movie), will it ever start to lose quality?

  • File Sharing with Windows PC

    I've just purchased a Mac Book Air.Is it possible for me to share files with my older Windows PC working on the same wireless network as that of the new Mac Book Air?

  • Face time is not working in qatar

    i cant able to see face time icon in my phone i purchase factory unlocked phone from vodafone store but i tried a lot but i cant able to find it if any 1 found it please help me out on my mail id sahil4ever (at) rediffmail (dot) com <Edited by Host>

  • How to relocate the abs-tree

    Hi, I reinstalled my laptop, I wanted to save the abstree and I found a line in /etc/makepkg.conf: # the top-level directory of all your PKGBUILDs export ABSROOT="/usr/abs/" Cewl, this make it easier for me to keep my own costumized abs-repository at

  • After signing in, keep getting message that I've been signed out

    I just downloaded Creative cloud onto my computer and it's my first time trying to use these applications, like Photoshop. I go to log into the Creative Cloud app and it loads but comes back saying "You've been signed out, please continue to sign in.