Report with several radiogroup based on Collection, onChange event?

Hello all,
my Re: Report with multiple choice Radio Group possible thread gave me a report with three radiogroup items.
The report is based now on a collection with 50 members.
Checking /unchecking the state of an option should change the value for one member_attribute of the affected member.
Each change Event should fire a update_member_attribute against the collection.
A submit Item after completing will bulk insert all members into a different table.
Can I implement a simple onChange process against the Apex_Item.Radio_Group statement of the query ?
Or is there a process type which suits my needs ?
Regards
Franz

I was able to schedule the report based on the event by hardcoding the id with the code snippet that you provided - Thanks
But actually my question really should have been...
I have an event with the following attributes:
Type: File
Event Name: Indicative Data
Description: Indicative data trigger file.
Server:  XXXXXXX.eventserver 
Filename: D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Trigger\Indtrigger.txt
My assumption is that I would need to query CI_SYSTEMOBJECTS to get the ID of this event using this query:
Select * From CI_SYSTEMOBJECTS Where SI_NAME = 'CrystalEnterprise.Event'
But unsure how to proceed from there to get event information that I need.  If this is not the correct way of retrieving events, would you be able to provide me the correct query and/or code snippets?

Similar Messages

  • Building a report with a text based on table rows

    Hello!
    I have in my database a table named "Support_Request" and another table named "Request_Advance", the first one have a brief description of each support request problem and some information related, the second one have each participation of technicians and customers in the resolution of the case (i.e a knowledge base about the request)....
    Well, i want to take each advance related to a support_request and concat them in a unique text to show this information in a report, how i do that?....
    acctually iam trying without results with a before report trigger with the following code:
    function BeforeReport return boolean is
         advance_report request_advance.advance%type;
    cursor cur is
    select advance from request_advance
    where id_caso=:id_caso;
    begin
    open cur;
    loop
    fetch cur into advance_report;
    :TOTAL_ADVANCE:=:TOTAL_ADVANCE || advance_report || '********';
    exit when cur%NOTFOUND;
    end loop;
    return (TRUE);
    end;
    please can somebody help me? :$

    Thanks Claudine, i do the following function (spanish version) and works:
    CREATE OR REPLACE FUNCTION Avance_Total(caso IN soportebwv2.avance_caso.id_caso%type) RETURN VARCHAR2
    IS
         avance_total VARCHAR2(15000);
         avance_reporte soportebwv2.avance_caso.avance%TYPE;
         CURSOR cur IS
         SELECT avance FROM avance_caso
         WHERE id_caso=caso;     
    BEGIN
         OPEN cur;
    LOOP
         FETCH cur INTO avance_reporte;
         avance_total:= avance_total || avance_reporte || '*************************************';
         EXIT WHEN cur%NOTFOUND;
    END LOOP;
    CLOSE cur;
    RETURN avance_total;
    END;
    SHOW ERRORS;
    but my advance appear repeating several times, you have any idea why?
    Beatriz

  • 1 PO with several invoices based on %

    One of our customers has the requriement where they create a purchase order (say for the following below)
    Purchase Order
    Product            QTY         Unit price     line total
    Item A               1              $10 each         $10
    Item B               2              $5                   $10
                                                       TOTAL  $20
    They then create AP invoices in stages based on a % total (the % will vary per invoice and below is an example
    Invoice
    AP Invoice 1 = 10% of the total PO
    AP invoice 2 = 25% of the total PO
    AP invoice 3 = 65% of the total PO
    Is there a way to process these invoices based on the total % which are linked to the one PO?

    Hi,
    It is not possible to raise invoice based on %. I tried for one of my customer the same.My customer has 3 invoices for one PO
    First he will raise 50% invoice(i.e 50% of total value of PO) then 30% then 20%.
    There are Three Queries
    First- If i suggest my customer to raise first invoice as item invoice for 50% and rest as service invoice.
    How can i do this?
    Second-The purchase order gets closed once you draw to higher level,so the same PO can't be drawn back again.
    Third-If I want to raise 50% invoice should i give 50% discount for the document or is there any other way to reduce the value of the invoice keeping the quantity same.
    Please suggest if any other ideas.
    Thank you

  • Report with sub-reports have to put ODBC credential several times

    I designed a report with several sub-reports in Crystal XI, which all have same  ODBC connection, when other developers got the .rpt file, they open the designer to run this report from their local PC, it will prompt them to put their user name and password for the ODBC SEVERAL TIMES. We all have the same ODBC connection set up, after they put the user name and password several times, the report works, but itu2019s so annoying.
    Is there a way to avoid putting ODBC user name and password in Crystal Designer? Or put once at main report and pass to all subreports?

    Hi,
    According to my understanding if we are using an odbc connection and the username and password for the database is same for the entire user, then you can just create an ODBC connection string in crystal report. Where in you will manually specify the dsn to be used, username and password will also be stored in that connection string.
    So next time you run a crystal report, it would take the username and password for this connection string.
    Thanks,
    kuldeep

  • Portal contrainst with several BW systems

    Hello,
    Can you tell me what are the possible different architecture if we use portal for reporting with several BW systems ?
    One of the BW systems would be used for group reporting.
    One portal ? several portal ?
    Thanks for your help.
    Christophe

    Hi,
    One portal is enough.What you need is to define as a backend those BW systems them based on role you will create you can split repoting on portal.
    Regards.

  • How to split a report in several parts, displayed next to each other ?

    Hi all,
    I searched the forum, read the manuals, but couldn't find a way to do the following:
    I have a page, containing several regions. The bottommost region contains a narrow (2 small columns) report, with several tens of rows. This forces the user to always scroll the page vertically to get a complete overview.
    What I'd like to do is to split the display in sets of eg. 10 rows and display these sets horizontally next to each other. Something like this:
    xxx xxx               xxx xxx               xxx xxx
    xxx xxx               xxx xxx               xxx xxx
    xxx xxx               xxx xxx               xxx xxx
    Is this at all possible ? And if so, can you hint me how ?
    Thanks a lot in advance,
    Mark

    This thread might be helpful (but not my contributions I fear ;-)
    Re: SQL query report columns

  • Report with piped Column incl. html-code

    Hi,
    I have a SQL Report with a table based function behind, like:
    SELECT * FROM table(my_function());
    One of the column in this report is with html-code. In the Column Attributes of this column I have changed the "Display As" to "Standard Report Column". That works perfect for me. But if I enable the report to print (pdf or excel) the export shows the html-code.
    Is it possible to change the html-code in the pdf/excel export to the same view like the "Display As"/"Standard Report Column"?
    thanks,
    carsten

    I dont think so.
    How will you display a textbox in PDF?
    If you need similar look and feel then using XML Publisher you can create a similar output.
    Regards,
    Abhishek

  • Using apex_item in a report based on collection

    Hi:
    Need some assistance please.
    I have a report based on a collection and have used apex_item.text to create some of the text fields.
    I need an onchange event to call javascript on one of the columns. I have found that when the colum (created by apex_item.text) is set to "Standard Report Column" that onchange fires as expected but does not when set to "text field".
    The issue is that because the column is set to standard report column it displays the html and I don't want this.
    Can I use the text field and still make use of onchange, or, can I eliminate the display of the html in the field?
    Any assistance would be most appreciated.
    Regards,
    Bruce

    Post Author: wendy biyela
    CA Forum: WebIntelligence Reporting
    Hi Kiran
    Try this. Assumed measures: [Date] and [Closing balance]
    Assuming this is your table in the report, below i have shown you the formulae that should be in your table. Previous() is a function and will work depending on your table. In this case Previous is the previous date so the first Opening balnce will always be null.
    Date                    Opening Balance                                     Closing balance
    =[Date]               =Previous([Closing balance)                    =[Closing Balance]
    Regards,

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • Several AR reports with BI contents

    Hi all:
    Recently I am designing several reports with BI contents. Since I am not so familiar with BI contents, I can only find the majarity of my reports, while for below reports, I can not find the corresponding content for them. Can any body give me some guide like which contents are suitable for those reports? Many thanks~
    Report Name:
    - DSO Planning
    - Bad Debt Reserve
    - Credit Review Reporting
    - Expiring Securities Report
    - Credit Reference Reporting (Web site)
    Thanks and Best Regards!
    Steven

    already resolved, close this thread.

  • Date based report with multiple record return

    Hello all,
       Here is the situation. Running MAS 4.1 and using Crystal 10 for doing reports. I currently have a custom report that shows all invoices that have been paid for any given date range. This works great except when there is a "credit Memo" against an invoice. The way I'm getting all paid invoices is via a formula. The record set I have to pull against lists the invoice amount, date paid and amount paid. Simple calculation on the returned record will tell you if it has been paid off or not. The problem I'm having is those invoice records that also have a credit memo against them. The credit memo entries do not have a "paid date" and since that is my main selection criteria those records will not pull into my report, and therefor those invoices will not be showed as being paid. What I need to happen (and I don't know how to do it). Is for the report to run based upon the date range specified, and pull in related records even if there is no "paid date" on them. The way MAS stores it's invoice/credit memo records is the same for both. The main difference is that invoice has the "type" field set to "IN" and a credit memo has the "type" field set to "CM". So the actual "invoice number" is the same for both kinds of records. I hope my request makes sense, if not let me know and I will try to explain what does not make sense.  Thanks in advance.  Bill

    Jason,
        You've been very helpful, but I guess I'm just not explaining myself that well. The Credit Memo's throw things off because they do not contain a "Paid Date" value. That field in the record is blank. Since it is blank the report query ignores them. Therefore when the report query returns all records that have a "Paid date" range of "x to y" they are never returned. This is a problem whenever a credit memo exists for an invoice because the "invoice total" never changes. So when a customer pays on their account for a particular invoice, they only pay what is due which is the "invoice total" minus any "credit" from the "Credit Memo". So when my A/R person receives payment they are showing the invoice paid in full because MAS automatically includes all invoices and credit memo's. My report does not because there is no data in the "Paid Date" field of the record for Credit Memos.
    I've been doing alot research in trying to resolve this "exception" to my report. I think I may be on to something, but my knowledge of arrays is extremely limited. My resolution involves populating an array with the "invoice numbers" that are returned from the initial query from the supplied date range. Then using the "invoice numbers" from the array have it then populate my details section of the report with all of "invoice records" both the actual invoice record and any "credit memo" records. I can then group the records returned  based upon the "invoice number". then within that grouping I can performing my calculations to show whether or not the invoice has been paid in full. What do you think?  I've been able to populate an array with the invoice numbers based upon my date search range, but I have yet to figure out how to take that information and perform another lookup to pull in the rest of the data I need. Do you have any ideas?
    Thanks.  Bill

  • Report With Multiple Radio Button ,How to reset the values of when selected

    Reaching out to the experts here. I have a report which i created a radio group which saves the value rownum when the radio buton is selected to a hidden item based on an on click event. There are currently 3 radio button , i need to be able to "reset" the value of the other items when more than of the button are selected .I.E. There are 3 buttons, user clicks button one , but then decides they need to click button two , then realizes they really wanted to perform button 3 , I want to be able to "reset" the value of the 1st two hidden items so the only value populated is the 3rd hidden item. I am new to working with these features and scenarios so any and help would be appreciated.
    Here is the report
    SELECT APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN1'').value=' || ROWNUM|| '"') UPDATE_RECORD
    ,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN2'').value=' || ROWNUM|| '"') DELETE_RECORD
    ,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN3'').value=' || ROWNUM|| '"') SET_PRIMARY
    ,papf.first_name
    ,papf.last_name
    ,hl.meaning
    ,pp.phone_number
    ,case when phone_type is not null then (select meaning from hr_lookups where lookup_type ='PHONE_TYPE' and pp.phone_type=lookup_code)
    end as phone_type
    ,emrg.primary_contact_flag
    from hr.per_all_people_f papf
    ,apps.hr_lookups hl
    ,apps.per_contact_relationships pcr
    ,apps.per_phones pp
    ,(select contact_person_id,primary_contact_flag
    from apps.per_contact_relationships pcr
    where pcr.person_id = :P5_PERSON_ID
    and contact_type = 'EMRG') emrg
    where pcr.contact_person_id in emrg.contact_person_id
    and pcr.personal_flag='Y'
    and contact_type <> 'EMRG'
    and trunc(sysdate) between date_start and NVL(date_end,'31-DEC-4712')
    and pcr.contact_type = hl.lookup_code
    and hl.lookup_type='CONTACT'
    and pcr.contact_person_id = papf.person_id
    and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
    and pcr.contact_person_id = pp.parent_id
    and pp.phone_type in (select lookup_code from hr_lookups where lookup_type ='PHONE_TYPE')

    Related thread here How to Pass values from SQL Report into TEXT ITEM ?
    Regards,

  • Summary report from several forms

    Hi,
    Example: I am on a Plus/paid-plan and I work with five partners that all would like to collect the same data (name, email, address etc) from customers.
    Lets say John is a partner of mine, and I make a form for him, place the HTML code on a webpage so that he can collect data from customers this way.
    Q1: Dos he have to be on the (Plus) paid-plan to receive a notification when someone fills out data in that form ?
    If not, how will I receive the notification, and I receive the data on email ?
    Q2: If I as the "admin" for the webpages and forms, can I see a summary report for several of the forms/partners ?
    Best regards
    Kenneth

    Hi,
    Here is a page on how to allow others to receive email notifications: How do I allow others to receive email notifications when responses are received? . It should answer your first questions. As for your second questions, if you designed the form or the form is shared to you by someone, you can see summary report of the form data.
    Thanks,
    Wenlan

  • Changing database server on a report with subreports = formula error

    Good morning,
    I currently have several reports that print out, and were developed attached to our development database. However, I need to be able to dynamically change the server that the report uses according to the server configured in our application. Each of these reports contains one or more subreports, which point to the same server and database as the main report. All reports, both the main and subreports, are based on manual SQL commands.
    I'm running into some significant issues. So significant, in fact, that we were forced to deploy our application with reports that had been switched to our production environment in the designer in order to get them functional. This is, obviously, not an acceptable or long-term solution.
    I've gone round and round a couple of times I get different results with different methods of changing this information. I'll outline them below. First, my current code:
    ConnectionInfo connectionInfo = new ConnectionInfo();
                    TableLogOnInfo logOnInfo = new TableLogOnInfo();
                    Console.WriteLine("Report \"{0}\"", report.Name);
                    foreach (Table table in report.Database.Tables)
                        logOnInfo = table.LogOnInfo;
                        connectionInfo = new ConnectionInfo(logOnInfo.ConnectionInfo);
                        connectionInfo.ServerName = "panthers-dev";
                        connectionInfo.DatabaseName = "Prosys";
                        logOnInfo.ConnectionInfo = connectionInfo;
                        //table.Location = "Prosys.dbo." + table.Location.Substring(table.Location.LastIndexOf(".") + 1);
                        table.ApplyLogOnInfo(logOnInfo);
                        table.LogOnInfo.ConnectionInfo = connectionInfo;
                        Console.WriteLine("\t\"{0}\": \"{1}\", \"{2}\", \"{3}\", {4}", table.Name, table.LogOnInfo.ConnectionInfo.ServerName, table.LogOnInfo.ConnectionInfo.DatabaseName, table.Location, table.TestConnectivity());
                    foreach (Section section in report.ReportDefinition.Sections)
                        foreach (ReportObject ro in section.ReportObjects)
                            if (ro.Kind == ReportObjectKind.SubreportObject)
                                SubreportObject sro = (SubreportObject)ro;
                                ReportDocument subreport = report.OpenSubreport(sro.SubreportName);
                                Console.WriteLine("\tSubreport \"{0}\"", subreport.Name);
                                foreach (Table table in subreport.Database.Tables)
                                    logOnInfo = table.LogOnInfo;
                                    connectionInfo = new ConnectionInfo(logOnInfo.ConnectionInfo);
                                    connectionInfo.ServerName = "panthers-dev";
                                    connectionInfo.DatabaseName = "Prosys";
                                    logOnInfo.ConnectionInfo = connectionInfo;
                                    //table.Location = "Prosys.dbo." + table.Location.Substring(table.Location.LastIndexOf(".") + 1);
                                    table.ApplyLogOnInfo(logOnInfo);
                                    table.LogOnInfo.ConnectionInfo = connectionInfo;
                                    Console.WriteLine("\t\t\"{0}\": \"{1}\", \"{2}\", \"{3}\", {4}", table.Name, table.LogOnInfo.ConnectionInfo.ServerName, table.LogOnInfo.ConnectionInfo.DatabaseName, table.Location, table.TestConnectivity());
    Using this approach, my console output prints what I expect and want to see: the correct server and database information, and True for TestConnectivity for all reports and subreports. The two reports I have that have no subreports print out correctly, with data from the proper server. However, all of the reports with subreports fail with formula errors. If this procedure is not run, they work just fine on either server.
    I had to place the assignment of table.LogOnInfo.ConnectionInfo = connectionInfo after the call to ApplyLogOnInfo, as that function did not behave as expected. If I perform the assignment first (or not at all), then calling ApplyLogOnInfo on the outer report's table did NOT affect the values of its ConnectionInfo object, but it DID affect the values of the ConnectionInfo object's of its subreports!
    In any event, if anyone could post a code sample of changing database connection information on a report containing subreports, I would appreciate it.
    Any help is greatly appreciated and anxiously awaited!

    Hi Adam,
    Code for changing database connection information on a report containing subreports :
    private ReportDocument northwindCustomersReport;
        private void ConfigureCrystalReports()
            northwindCustomersReport = new ReportDocument();
            string reportPath = Server.MapPath("NorthwindCustomers.rpt");
            northwindCustomersReport.Load(reportPath);
            ConnectionInfo connectionInfo = new ConnectionInfo();
            connectionInfo.ServerName = "localhost";
            connectionInfo.DatabaseName = "Northwind";
            connectionInfo.IntegratedSecurity = false;
            SetDBLogonForReport(connectionInfo, northwindCustomersReport);
            SetDBLogonForSubreports(connectionInfo, northwindCustomersReport);
            crystalReportViewer.ReportSource = northwindCustomersReport;
        private void Page_Init(object sender, EventArgs e)
            ConfigureCrystalReports();
        private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            Tables tables = reportDocument.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                tableLogonInfo.ConnectionInfo = connectionInfo;
                table.ApplyLogOnInfo(tableLogonInfo);
        private void SetDBLogonForSubreports(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            Sections sections = reportDocument.ReportDefinition.Sections;
            foreach (Section section in sections)
                ReportObjects reportObjects = section.ReportObjects;
                foreach (ReportObject reportObject in reportObjects)
                    if (reportObject.Kind == ReportObjectKind.SubreportObject)
                        SubreportObject subreportObject = (SubreportObject)reportObject;
                        ReportDocument subReportDocument = subreportObject.OpenSubreport(subreportObject.SubreportName);
                        SetDBLogonForReport(connectionInfo, subReportDocument);
    Hope this helps!!
    Regards,
    Shweta

  • Creating Multi-Column API radiogroup based on LOV

    Hi everyone!
    I was wondering whether or not it is possible to create a 3 column radiogroup based on the APEX_ITEM.RADIOGROUP API in APEX 3.0?
    For instance, my radiogroup is based on a user's interest level and is supposed to look like: oTest oProduction oBoth
    The values returned by whichever button is selected is based on a table value.
    I'm having trouble making this multi column instead of 1 column with multiple rows. I need to set these up with an LOV similar to STATIC2:Test;TEST,Production;PROD,Both;BOTH
    I also cannot create this radio group as a page item because they must display based on a query issued by a report region on this page.
    Any ideas // suggestions?
    Thanks,
    Eric
    Edited by: user11685190 on Oct 12, 2009 9:50 AM

    Andy,
    I'm actually going to have a radiogroup within the report column itself. The suggestion you gave is actually why I'm mixed up as to how to do this....I've always used Apex page items to create my radiogroups, and then you can simply add the LOV and change the number of columns and it's all set up for you.
    This radio group is actually going to be within a row queried by the report. The report is essentially a 'checkbox selection screen' that also allows the user to select which interest level they hold for each selection (interest level is represented by this 3-option radio group). Therefore what you're going to see on the screen is ( [] represent checkboxes, o represent radio buttons):
    Banner INB
    []Planned Outage Notification oTest oProduction oBoth
    []Unplanned Outage Notification oTest oProduction oBoth
    Banner Self Service
    []Planned Outage Notification oTest oProduction oBoth
    []Unplanned Outage Notification oTest oProduction oBoth
    My question was mainly geared towards whether or not you can add a static LOV to an API radiogroup (apex_item.radiogroup(1,interest_lvl,blah)), so that it could look like:
    apex_item.radiogroup(1,1:2:3, NULL, 'Test':'Production':'Both') as result.
    The only documentation I can find deals with issuing a single return value to these API radiogroups. I actually need a three column API radiogroup that hold's three different values based on which group member the user selects. If you can only issue one return value per group, I would have to define three under the same global variable except changing the return value and displayed text for each...such as:
    apex_item.radiogroup(1,1,NULL,'Test') || apex_item.radiogroup(1,2,NULL,'Production') || apex_item.radiogroup(1,3,NULL,'Both) which will hopefully display as: oTest oProduction oBoth
    I'm going to have to concatenate some &nbsps in between so my radio group buttons and labels are actually seperated, but this may be the right idea.
    I'm going to toy around with this a little more today, I'll post my results.
    Thanks for your quick responses!
    Eric

Maybe you are looking for

  • How do I use my airport extreme with my FIOS router?

    How do I use my AirPort Extreme base station with my FIOS Router to extend my network?  I have hard disks connected to my AirPort Extreme and would lik to access them.

  • Importing fdf with js always get security warning

    Hi, I have a form with some options (1 category as text with drop down and 5 radio button). The selection get the name of the fdf file to import. On import I get every time the security warning. I select the "Remember this action..." and I click "All

  • Database connection dailog opens with missing fields

    Greetings all, I have one user who has a couple reports that do not display all the fields in the database connection dialog box when she attempts to refresh the data in a report. Normally this dialog box opens with the Datasource, UserID (of the las

  • Flat file with chinese characters

    Hi all, I am working on a solution to map a file with this structure (not xml): //.comment 1 0~keyh2..hn~ 0~it1it2..itn~key 0~it1it2..itn~key //.comment 2 0~keyh2..hn~ 0~it1it2..itn~key 0~it1it2..itn~key 0~it1it2..itn~key This is my conversion setup

  • Iphoto 'freezes' if print option selected, cannot force quit

    iphoto 'freezes' if printing option selected and cannot resolve even by restarting imac as iphoto seems to stay in printing mode and wheel carries on turning!