Report on collection

Hi I have a IR on a collection -
SELECT c001, clob001,
       '<input type=button value=''Click Here'' onClick=''javascript:myFunction(this, "||c001||", "||clob001||")'' />' Col
  FROM APEX_COLLECTIONS
WHERE collection_name = 'MY_COLL'I want to pass the vales in the collection to my JS function when the button is pressed.
But, I am getting an error when the page loads, And hence the onClick doesn't call the function at all.
When I remove passing of the collection values ( onClick=''javascript:myFunction(this)" ) it works fine.
I tried doing similar thing with a report on a table, works fine.
Anything I am overlooking.
Please Suggest.
Thanks.
Edited by: machan on Jan 14, 2013 9:25 PM
Edited by: machan on Jan 14, 2013 9:25 PM

machan wrote:
Hi I have a IR on a collection -
SELECT c001, clob001,
'&lt;input type=button value=''Click Here'' onClick=''javascript:myFunction(this, "||c001||", "||clob001||")'' /&gt;' Col
FROM APEX_COLLECTIONS
WHERE collection_name = 'MY_COLL'I want to pass the vales in the collection to my JS function when the button is pressed.
But, I am getting an error when the page loads, And hence the onClick doesn't call the function at all.
When I remove passing of the collection values ( onClick=''javascript:myFunction(this)" ) it works fine.
I tried doing similar thing with a report on a table, works fine.
Anything I am overlooking.Providing the APEX version, browser/version used, and the actual error message?
And why are you using <tt>javascript:</tt> here?
Edited by: fac586 on 15-Jan-2013 08:02

Similar Messages

  • Turning off 504 non reporting performance collection rules in the Exchange 2010 MP

    Hello
    I read the following MS article about tuning the Exchange 2010 Management Pack
    http://support.microsoft.com/kb/2592561
    It advises to turn off 504 non reporting performance collection rules, then only turn back on the ones of interest.
    However it does not state how to identify / locate these 504 rules. I would prefer to find/disable them via PowerShell rather than manually.
    Can someone please advise how to locate these 504 rules please and disable on mass.
    Thanks
    AAnotherUser__
    AAnotherUser__

    you’ll need a script that performs the following steps:
    Retrieve the management pack in which to store the overrides
    Retrieve the class that will be targeted by the override
    Retrieve the rules or monitors that will be disabled
    Disable the rule or monitor
    To disable bulk of rule, Here is the sample that disables all rules matching the “*events/sec*” filter.
    $MP =
    Get-SCOMManagementPack -displayname
    "Exchange 2010 Overrides" |
    `
    where {$_.Sealed
    -eq $False}
    $Class =
    Get-SCOMClass -DisplayName
    "Exchange Performance rule"
    $Rule =
    Get-SCOMRule -DisplayName
    "*Events/sec"
    Disable-SCOMRule
    -Class $Class -Rule
    $Rule -ManagementPack
    $MP -Enforce
    Also, you can refer below link
    http://www.systemcentercentral.com/opsmgr-2012-disabling-rules-and-monitors-in-bulk-in-powershell/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • How do find Oustanding Sales Report and Collection Report for A/R Invoice

    Dear All,
                     I need to find the Sales Outstanding amount and Collection details like Check or Cash Or RTGS this is including A/R Invoice Amount and JE Pending Amount. Is it possible?
    Kindly any body let me know some idea or if any sql query, plz send me.
    Advance Thanks to all.
    Regards,
    A. Anvar

    Hi!
    Check this, with little modification you can get the report i think
    Declare @FromDate as Datetime
    Declare @ToDate as Datetime
    SET @FromDate = (Select Min(S0.TaxDate) from ORCT S0 where S0.TaxDate >='20110201')
    SET @ToDate = (Select Max(S1.TaxDate) from ORCT S1 Where S1.TaxDate < ='20110228')
    Select R0.TaxDate,R0.Docnum,R0.CardCode,
    'Cash' [Payment Mode],R0.CashSum [Amount]  from ORCT R0
    Where
    R0.TaxDate >=@FromDate and R0.TaxDate <=@ToDate   and R0.Canceled = 'N'
    Union All
    Select R0.TaxDate,R0.Docnum,R0.CardCode,
    'Cheque' [Payment Mode],R0.CheckSum  [Amount]  from ORCT R0
    Where
    R0.TaxDate >=@FromDate and R0.TaxDate <=@ToDate  and R0.Canceled = 'N'
    Union All
    Select R0.TaxDate,R0.Docnum,R0.CardCode,
    'Discount' [Payment Mode],R0.TrsfrSum  [Amount] from ORCT R0
    Where
    R0.TaxDate >=@FromDate and R0.TaxDate <=@ToDate and R0.Canceled = 'N'

  • Report for collect statistics of scenarios in PI

    Hi colleagues,
    I would like to know if there is any specific report i can execute in my box (PI 7.1) in order to get statistics regarding:
    Number of messages per scenario
    Average message size per scenario
    Ellapsed time
    Etc
    The aim is to prepare a document in which we can analyze how the system grows and which scenarios cause this growth, week after week.
    I have gone over the processes EWA carries out and got nothing, couldnt execute the reports i found there.
    I know I can get some of this info by means of Performance Monitoring, but i need to be able to collect all this data.
    Is there a report i can use for this purpose?
    Please, any help will be much appreciated.
    Best regards,
    David

    Thanks all for your valuable input,
    however that makes me realise there is no way to gather this info (scenario specific) without writing some code, am i correct?
    Does anybody of you know how SAP manage the data they collect from PI through EWA tasks? Despite slight differences, this is what i want to get.
    Any clue?
    Thanks a lot in advance and best regards!
    David

  • Report Sales & Collection

    Hi
    I am working on Sales and Collection Report, please let me know how to get sales and collection within the period using
    BSID AND BSAD tables .
    Regards
    Sebastian John

    Hi,
    check d link,
    Sales orders collective material requirment report .
    or
    1. GL Accounting -
    related tables are SKA1, SKB1 Master data
    BSIS and BSAS are the Transaction Data
    2. Account Receivables- related to Customer
    All the SD related data when transfered to FI these are created.
    Related Tables BSID and BSAD
    hope it will help u.
    with regards,
    Mamta Kumari

  • CHaRM Reporting Data Collection Background Job

    Hi CHaRM Gurus,
    I saw lot of thread about data collection for CHaRM Reporting using /tmwflow/Config_lock. Question is do we need to run everytime before run the report or is there anyway can schedule in background to collect data Asynch. There is a SAP Note 1269192 applied in both Solution Manager and Managed system. If any job to schedule what job and the ID to use run what authorization. Because this job need to collect transport request and objects, so definitely required different authorizations.
    Thanks
    RS

    Hi,
    The job is SM:TMWFLOW_CMSSYSCOL, program  /TMWFLOW/CMSSYSCOL2. The data collector program requires additional authorizations for Read RFC user you have defined for client '000' of the satellite systems.
    Authorization object: S_TRANSPRT
    ACTVT = 03 and TTYPE = <*> (full authorization)
    Refer to note 881553 for authorizations.
    Thanks & Regards,
    Kriti Bhalla

  • COOIS Capacity report for Collective Order

    Hello Expert,
    Need your help & assistance. I have an issue related to collective order, COOIS report display for list Capacity.
    For one collective order, when I check this COOIS>Capacity report it display only header order detail, not for dependent order.
    But for another collective order for same order type & Plant, it display for both header & dependent order.
    Please find the  attached word doc with screenshot for the steps I am following. Please point out the reason, that I can check so that for first order also it displays both header & dependent orders in the COOIS > Capacity list.

    Case:01: Wherin COOIS>Capacity list display only show for header order not dependent order
    Case 02:Wherin COOIS>Capacity list display show both for header order & dependent order
    Order type & Plant is same in both cases.
    For detail please check .xml attached
    Regards
    Piyush

  • Interactive Reports using collections - How to control column headings

    Hi,
    I found a link in the forum somewhere that showed a step by step how to to use collections with Interactive Reports so you can dynamically build the SQL and also control the column headings. Does anyone know where the How-To is ??
    If not, I know how to build the SQL dynamically but what is the best way to control the column headings.
    Sometimes the report will have 17 columns and other times up to 30 columns.
    Thank you, Bill

    Hi Bill,
    Without knowing more about the PL/SQL code, the underlying tables and the select statements used, it is difficult to say.
    I would firstly check that I had indexes on the right column or combination of columns. One minute sounds a lot for a query to me, but that may be ok if the tables are very large and the PL/SQL has to do a fair bit to construct the output. You could also do an Explain Plan for any query to check to see if indexes are being used if they exist - this would also show up any part of a query that takes an inordinate amount of time.
    I assume that the PL/SQL is only run once even if the page is reloaded multiple times? However, once the collection has been created, the report itself should be fairly quick as it should be just a simple select over the collection data. Switching on the debug mode should help identify which part is taking the time.
    Andy

  • Interactive Reports using Collections

    I need to prepare queries dynamically using PLSQL on apex 3.2; Since interactive reports are currently supported only using SQL queries , I am storing the results in a collection and then retrieving the results from the collection. I got this working and my report is returning the expected results, but I am running into a couple of issues.
    1. One of my reasons for switching to interactive report feature is to be able to let the user apply aggregate functions like sum, avg. etc. on numeric columns. But since the datatype for all collection columns are of type string , I can't use the aggregate functions now. Is it possible to change the string datatype to another datatype?
    2. the column headers are C01, C02 .. C50 ; Based on user input values, the actual query that is chosen to run is dynamically determined and the no. and the order of columns returned can vary depending on the query that was run. So I cannot manually change/map the C01, C02 ... headers to the column header names that I want. How do I dynamically generate the column headers?
    Any help is appreciated.
    Thanks.

    Hi Bill,
    Without knowing more about the PL/SQL code, the underlying tables and the select statements used, it is difficult to say.
    I would firstly check that I had indexes on the right column or combination of columns. One minute sounds a lot for a query to me, but that may be ok if the tables are very large and the PL/SQL has to do a fair bit to construct the output. You could also do an Explain Plan for any query to check to see if indexes are being used if they exist - this would also show up any part of a query that takes an inordinate amount of time.
    I assume that the PL/SQL is only run once even if the page is reloaded multiple times? However, once the collection has been created, the report itself should be fairly quick as it should be just a simple select over the collection data. Switching on the debug mode should help identify which part is taking the time.
    Andy

  • Syslog Reports not collect Syslog.log file Messages

    I am doing a installation on CiscoWorks 3.2. after two three weeks I found my syslog services is not working properly. Once I checked on the syslog.log its updated with the device logs as normal. But when I am going to generate report it’s not collect data from the syslog log file. I have notice my syslog analyzer and syslog collator processes are shown as = Program started - No mgt msgs received. Is this normal on the LMS serve?
    Anyway I found following error massagers on the SyslogAnalyzer.log file.
    cisco.nm.xms.ctm.common.CTMException: CTMRegistryClient::addNewURNEntry URN : SyslogAnalyzerService ErrMsg : URN already in use
                    at com.cisco.nm.xms.ctm.server.CTMServer.publish(CTMServer.java:253)
                    at com.cisco.nm.xms.ctm.server.CTMServer.publish(CTMServer.java:180)
                    at com.cisco.nm.rmeng.sa.SyslogAnalyzerEngine.registerWithCtm(SyslogAnalyzerEngine.java:2267)
                    at com.cisco.nm.rmeng.sa.SyslogAnalyzerEngine.start(SyslogAnalyzerEngine.java:2189)
                    at com.cisco.nm.rmeng.sa.SyslogAnalyzerService.main(SyslogAnalyzerService.java:109)
    please I need your expertise knowledge to sort out this problem.
    Thank you,
    Chandimal.k
    +94777420771

    Hi,
    Errors Found:
    SyslogCollector - [Thread: main] WARN , 15 Dec 2011 14:33:46,505, Unable to resurrect connection to a subscriber.
    URN : SyslogAnalyzerService ErrMsg : URN already in use
    Try deleting the ctmregistry and ctmregistry.backup files and regenerat your SSL certificate and then resubscribed to the syslog collector.
    1. net stop crmdmgtd
    2. delete all the server.* files in ../CSCOpx/MDC/Apache/conf/SSL
    3. Open a dos shell and cd to:
    ../CSCOpx/MDC/Apache, and run: perl ConfigSSL.pl -disable and then again perl ConfigSSL.pl -enable
    You will see now a lot of questions, please make sure that you enter correctly the question of FQDN!
    4. if you don't want to use SSL, run again: perl ConfigSSL.pl -disable
    If you use SSL please don't do anything.
    5. net start crmdmgtd
    Then wait fifteen minutes for all the LMS services to come up before testing.
    Thanks

  • How to filter the data on Reports from collected from differnet Agents

    1) I have to write a Plug-in which would fetch the same type of data from 7 Agents. I need to generate the report for each Agent separately,This plug-in will be deployed in various different environment. So I will not know the host name as it will be deployed different environment. Can anyone suggest how to filter the data for each agent from the table. I see one solution of using Bind variable for the Target GUID in PL/SQL file. Can you please suggest if there is any other better way of doing this.????
    Also Can you please suggest what are the best ways to debug the OEM Plug-in?
    Thanks Anyway.....

    What I mean filtering data means displaying data for each Agent Seperatly. Assume I have collected Filesystem data from 5 Agents (5 different server). Now I want do display file system data for Agent1 (server 1). How would I fetch it from MGMT$Metric_Current. Currently I use a bind variable
    ??EMIP_BIND_TARGET_GUID?? to filter the data for a Agent from MGMT$Metric_Current view. I compare Target Name entered while deploying Plug-in with the Target_Name column of specified view.Is there any other way of fetching data from this table for a Agent?
    I hope I am prety clear now. My Problem is IO dont want to force user to enter exact Server name while deploying Plug-in.
    Thanks......

  • Custom Report Syntax - Prompt for limiting collection

    I'm building a customer report that will display maintenance windows for multiple devices.  I'd like to be able to filter the number of devices reported by collection (as to not have EVERY device in the console listed all at once).
    I've got the report working for everything except the filtering part.  Do I need to add a new Dataset and then filter it somehow?  Here's my only dataset so far:
    FIELDS: Computername, CollectionName, Next_Maintenance_Window
    QUERY:
    select
    v_FullCollectionMembership.Name as Computername ,v_Collection.Name as CollectionName,
    v_ServiceWindow.Description as 'Next Maintenance Window'
    from v_ServiceWindow
    inner join v_FullCollectionMembership on (v_FullCollectionMembership.CollectionID = v_ServiceWindow.CollectionID)
    inner join v_Collection on (v_Collection.CollectionID = v_FullCollectionMembership.CollectionID)
    order By Computername
    What do I need to add to be able to select the collection 1st then run the query above?

    HI
    Or you could do it like this:
    Create a new dataset and paste in the following Query:
    SELECT
      v_Collection.Name
      ,v_Collection.CollectionID
    FROM
      v_Collection
    Where CollectionType=2
    Insert the following code in your own Query (dataset) right before order by Computername
    Where v_Collection.Name = (@CollID)
    Expand Parameters in Report Builder, you should see a paramter called @CollID
    Right-click CollID and fill in the following information on the general page:
    Name: CollID
    Prompt: Collection
    On the Available Values select Get values from a query
    Dataset: Dataset2 (the new dataset you just created)
    value field: Name
    Label field: Name
    Design your layout in report builder and run the report. You will get a drop-down box with all your device collections.
    This report is not "RBAC" enabled

  • Updateable Report : re-display collection & Update Button question

    This a sequel to a previous Updateable Report question I had.
    Varad pointed me to this doc which has been incredibly helpful .
    http://www.oracle.com/technology/products/database/application_express/
    howtos/tabular_form.html#RESTRICTIONS
    I was\am having the following issue :
    Let's zoom to the part where we create a region to display the tabular form for the previously saved collection , and drill down to the part where we create an UPDATE EMP button for that displayed collection :
    I was not able to display the collection again when I failed the validation a 2nd time. ie, clicking on the UPDATE EMP button after it displays both the errors-post validation and after displaying the collection ( of course) would return me to the previous report pre-collection creation. When I turned debug on I found out that it was not even creating the collection and was hence deleting it before displaying the subsequent page.
    So what I did differently from what the documention instructs is as follows :
    I removed the page reference on the 'branch to page' of the UPDATE EMP button. In my case, the default 'Branch to ' Page after Processing is the same page I am using for this part of the application.
    So when I remove the reference to the page number. for that button, the page is then able to re-create the collection and hence re-display the collection so I can re-fix the 2nd error ( ... and 3rd) and finally update the report .
    Just wondering if anyone else has had the same experience ?
    Thanks !

    The columns and rows have a set format for the Id, so if you know one Id you know the row and the ids of all the other columns.
    As an example, this will show the value of column 6 when you click on any column with the function call in the Element Attributes:
    Script:
    <script type="text/javascript">
    function showCol6(col){
      var col6 = document.getElementById("f06_" + col.id.substr(4,4));
      alert(col6.value);
    </script>Element Attributes:
    onclick=showCol6(this);You could also use a Named Column template, specific to this region, to include the column values directly in the function call, but I think it's best to stick with the ApEx defaults if possible.

  • Report RMMD07EX for collective MRP list

    Hi all
    I want to use the collective MRP list MD04 but by defining a range of plants and multiple MRP controllers at a time. SAP recommends using a report similar to RMMD07EX. This mimics MD07. Has anybody created a report for collective MRP list using MD04
    thanks

    How do you plan to switch from collective display to individual ? DO you plan to agregate some figures like stock for differents materials?
    Have you tried the LIS, with transactions like MCBZ? This is collective Stock/ Reqmts List !

  • Collection Ageing Report

    Hi Exports,
    We want to to developed an collection ageing report for open & cleared line items of customers.For example :-
    Collection 100000 during the period of 1st Jan to 31st Jan & diff.-2 Invoice of Rs.85000 are cleared against this with multiple amount & multiple date of Invoice.
    Report Output
    Collection                Open                  30 Day             60 Day                     90 Day              120 Day     Total
    100000                   25000                 25000              35000                      25000                       -          100000
    So some help me about this report.
    SSS

    Hi Experts,
    this link only for key date ageing means customer ageing on an particular date, but we need ageing of collection for particular period like we take collection during the month of Nov-11 & now we want to see ageing of this collection ag.cleared which invoice (bill).
    collection- 100000/- & 50000/- during the Nov-11
    Cleared invoice agianst these collection- 90000/- 15Th-July-11 & 50000/- 21st -Aug-11
    Output
    Collection for The period of 1st Nov-11 to 30th Nov-11
    Collection     Unadjsuted (Open)        0-30   31-60   61-90  91-120   121-180     Total
    100000/-             10000/-                    -          -              -           -        90000/-    100000/-
    50000/-                     -                         -          -              -      50000/-       -            50000/-
    So we need collection ageing not to customer ageing.
    SS

Maybe you are looking for

  • Mp3 converted to pdf

    My mp3 files coverted to PDF files of the album covers and the music is gone. How do I get my mp3 files back?

  • Migration Workbench download broken

    Unable to download Oracle Migration Workbench. Click on download and get "The page cannot be displayed".

  • How can use interface in JSP?

    hi! friends i have one dought in JSP? it's possible interface in JSP? how? waiting for ur reply!

  • I mac g5 display

    hi can any body help my mac display dimms without any notice so i have to reboot to get the required displayed brightnees back this has happenen since new now it is happening more often,,,,,,,,,

  • E330 - an unexpected error occurred (rc=9)

    Hi When I attempt to burn a Lenovo_Recovery, I get this error: "an unexpected error occurred (rc=9)" Do you have any solution please?