Method to not produce report if no records returned?

We have reports automatically emailing clients on a daily basis. If a report query does not return any records, can I tell BOXI not to email the report?
Clients want a report of any new incidents reported daily. If no new incidents occur on a given day, I would ideally not like the report to run, or at least, to not send an email.
How can I do this?
Thanks in advance.
Maria

Hi Maria,
You would create the events prior to the report generation i.e. the report is generated only if the event is triggered.
Use SSIS, DTS or xp_cmdshell to create the necessary trigger files.
Basically what you want to do is determine criteria of what must trigger your report i.e. count(*) > 0 then if the criteria returns true, create a file on the file system, if it returns false then do not create the file.
The file needs to be created on the file system.
On the CMS create a new file based event
Point the event to the UNC path where the file will be created.
Ensure the SIA has access rights to the UNC path.
Have a read through the admin guide - Page 883
http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bip_admin_en.pdf
There will of course be a performance overhead for the above as you will effectively be running your procedure twice - once to determine the number of rows followed by a second time to run the report.

Similar Messages

  • How to e-mail/not e-mail a scheduled report based on records returned

    Hi Everyone,
    Is there a way that there can be logic performed on a report that has been scheduled and ran before it gets sent via e-mail to the end users?  We have scheduled reports that often end up with 0 records returned but users still get the e-mail with the report that contains 0 records.  I would like to e-mail the reports only if the records returned is greater than 0.
    We are on v3.1 so if there is a solution for 3.1 that would be great.  If this capability exists in 4.0, that information would be very helpful as well.
    Thank you for your time.
    David Hellinger

    Apply an event on your report.
    First go to Cmc, create an event based for example on a file that should be created in certain route if the query won't return 0 rows.
    Then apply this event in your report Schedule option Event.

  • 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

  • Error when viewing report Only when records returned.

    We have a strange situtation in that when we view a particular report it errors out when viewing ONLY when there are records returned. To make matters worse this report takes several parameters, and only on one parameter does this occur. That is say we have param1, param2, param3, param4. if we fill in parameters and param3 has a value of "value1" and it returns results we are fine. The same happens for our second value ("value2"), however when we make param3's value "Value2" and it returns results the report throws an error 73. The stack trace is below. Any ideas on this one? It is really throwing me since it is only for one value of the parameter that we get the error.
    2009-01-26 07:34:25,892 ERROR [JRCCommunicationAdapter] JRCAgent3 detected an exception: 73
         at com.crystaldecisions.reports.saveddata.c.aj.a(Unknown Source)
         at com.crystaldecisions.reports.saveddata.c.p.if(Unknown Source)
         at com.crystaldecisions.reports.dataengine.r.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.s.if(Unknown Source)
         at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.getLastPageNumber(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getLastPageNumber(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getLastPageNumber(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getLastPageNumber(Unknown Source)
         at com.sacs.casi.oasis.action.reporting.ReportingAction.view(ReportingAction.java:117)
         at com.sacs.casi.oasis.action.reporting.ReportingAction.unspecified(ReportingAction.java:46)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:245)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1078)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:295)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:396)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:347)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:232)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.sacs.casi.oasis.filter.ActionFilter.doFilter(ActionFilter.java:101)
         at com.sacs.casi.oasis.filter.ActionFilter.doFilter(ActionFilter.java:53)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:222)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.sacs.casi.oasis.filter.SecurityFilter.doFilter(SecurityFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.sacs.casi.oasis.filter.Log4JRequestInfoFilter.doFilter(Log4JRequestInfoFilter.java:42)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
         at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Unknown Source)

    That's a strange issue.
    Now that you've mentioned stored procs - does the stored proc handle params set to null?
    I've seen issues where on verify Crystal sends null param values to stored proc, and if the stored proc doesn't handle them (or return a consistent schema), errors out.
    Above in case you'd like to revisit the issue or if you encounter the issue again.
    Sincerely,
    Ted Ueda

  • Why does my app store account tell me that my payment method does not match my bank's records. my card is valid and works for iTunes but not the app store.

    While trying to change my Credit Card info: The app store tells me that my payment method information does not match my bank records and to try again or enter a new payment method. My CC is valid and its the same CC ive had for a while. This CC info works for iTunes but is not being accepted for the App store.I have changed this info online but cannot change it on my iPhone. Can anyone tell me what i need to do?

    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..
    For Mac App Store: Apple - Support - Mac App Store.
    For iTunes: Apple - Support - iTunes.

  • On Submit process not firing -report (PL/SQL function returning SQL query)

    Can anyone suggest possible causes / solutions for the following problem?
    I have a report region that uses a PL/SQL function returning SQL query. The report allows the user to update multiple fields / rows and then click a button to submit the page which should run the On-Submit process to update the database. However the process does not run and I get a 'HTTP404 page cannot be found' error; and when I navigate back using the Back button I cannot then navigate to any other page in my application without getting the same error. The button was created by a wizard selecting the options to submit the page and redirect to a (same) page. The button does not actually have a redirect in its definition but the wizard created a branch to the same page which should work and the button has the text 'submit as SUBMIT' next to it so it appears to be set up correctly.
    I have recreated this page several times in my application and I cannot get the On-Submit process to run. However I have created a cut down version of the same page in the sample application on apex.oracle.com at http://apex.oracle.com/pls/otn/f?p=4550:1:179951678764332 and this works perfectly so I am at a loss to understand why it does not work in my application. I cannot post any part of the application itself but if anybody would like to check out page 30 of the sample application (Customer Update Test tab) updating the surnames only, using credentials ja, demo, demo this is pretty much what I have got in my application.
    Any ideas would be much appreciated?

    Thanks for the suggestions guys. I have now identified that the problem goes away when I remove the second table from my report query. The original report query retrieved data from two tables and the process was updating only one of the tables. I thought I had approached the task logically i.e. first get the report to display the records from the two tables, then get the process to update the first table and finally to modify the process further to update the second table.
    Can anyone point me to an example of multiple row updates on multiple tables using a PL/SQL function returning an SQL query?

  • Speed Issue in Report With 1130680 Records Returned

    Hi
    <b>Apologies to the mods if this is in the wrong section, it contains content related to Legacy SDKs (VB6/COM), newer .NET content as well as report design issue.</b>
    I'm using Windows XP SP3 with the database hosted on my machine, an [email protected] with 2GB DDR2 RAM. Neither the client's pc nor their server are as powerful as mine. (It sucks, I know.)
    A report has a speed issue for the end users. The query to the database (SQLS2008) takes 30 seconds and returns 1 130 680 records. And yes, this is the amount of records that need to be returned (the report is a Sales Details report for transactions from 2008/09/01 to 2009/03/31) Running the query through SQLSMS takes the same amount of time whether I execute the statement that the report sends or put the query into a stored procedure. The relevant indices are in place.
    Our application is written in VB6 and uses the CR9 unmanaged runtime. I've written a small little CR application in VS2008 to see if running the report through the CR.NET runtime would make it quicker. I built the .NET app in release mode (with optimization and no debug data) and ran the exe to do the speed tests. The times taken for the report to run:<ul>
    <li>VB6 app - 3:30s
    <li>.NET app - 4:30s
    <li>VS2008 IDE - 2:02s
    </ul>
    I have run the report three times for each app using my cellphone as a stopwatch and the times are reproducible to within two seconds.
    I accidentally ran the report in the VS2008 IDE and it took 2:02s to run. Thinking that the loading of the DLLs in .NET was part of the problem, I added code under a button on the form with the following code:
    CrystalReportsApplication1.Properties.Settings a = new CrystalReportsApplication1.Properties.Settings();
    Assembly aAss = Assembly.LoadFile(a.CR01Engine);
    Assembly bAss = Assembly.LoadFile(a.CR02EntFramework);
    Assembly cAss = Assembly.LoadFile(a.CR03EntInfoStore);
    Assembly dAss = Assembly.LoadFile(a.CR04ReportSource);
    Assembly eAss = Assembly.LoadFile(a.CR05Shared);
    Assembly fAss = Assembly.LoadFile(a.CR06WinForm);
    to preload the assemblies. Unfortunately it made virtually no difference to the running time of the report.
    Suggestion from The specified item was not found. on [this page|Speed issue - internal processing vs views;:
    8. For summaries, use conditional formulas instead of running totals when possible.
    I didn't know that, but we're doing that already.
    I even tried using ngen in a virtual machine for the .NET app, but the time was the same. And yes, I know that ngen is only supposed to aid startup times and that it is actually recommended to let the JIT optimize on the fly instead of ngen optimize beforehand. What really struck me was that even in a VM (using Virtual PC 2007) using 512MB of RAM and only a single core the time was the same.
    My questions:<ol>
    <li>I thought that VS2008 shipped with CR2008 Basic, but according the the references in my project it's CR10. Would the CR2008 runtimes improve the report speed?
    <li>Why do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes?
    <li>I really, really, really need the .NET runtime to outperform the COM runtimes as our purchase of CR2008 hinges on this. As you can probably guess, we're currently using ye olde CR9.2 from 2002.
    <li>Why oh why do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes?
    <li>The first level of grouping is a variable which changed the grouping depending on a parameter. I changed it to a field from one of the tables and the times for the apps are:
    <ul>
    <li>VB6 - 2:15s
    <li>.NET - 2:48s
    <li>CR9.2 IDE - 2:19s
    <li>VS2008 IDE - 2:34s
    </ul>I may or may not be able to push it out to the client like this, I don't know. Why did the VS2008 IDE take longer this time? All I did was change the grouping-on-parameter to ordinary grouping.
    <li>Why oh why oh WHY do the CR10 .NET runtimes take longer to execute than the CR9 COM runtimes? Are they just thunkers to the COM DLLs?
    <li>Why does the run in the VS2008 IDE (in debug mode BTW, not release mode) run quicker than both programs?
    <li><i>AndrewJ.requestACookie(Flavour.Strawberry, Flavour.Alternate.ChocChip, RequestMethod.Please); // Hey, it's 5:44PM and I want to go home for the long weekend! </i>
    </ol>
    Thank you and have a blessed Easter!
    Edited by: AndrewJ on Apr 14, 2009 10:04 AM. Changed the CPU, I was thinking of my CPU at home.

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly.
    Bottom line is CR Basic is version 10.5. CR 2008 is 12.2.x.xxxx. Install CR 2008 SP 1 to get .NET support.
    And you can't compare COM to .NET, it's like comparing apples and oranges, both fruits but different flavors.

  • Cannot optimize volume - Receive error "The specified extrinsic Method does not exist"

    When I try to optimize a volume on a server running Windows Server 2012 (R1). I receive the below error. This volume is an ISCSI target to our Compellent SAN. Other Servers don't have an issue with volumes created on the same SAN and I have already ran ChkDsk
    and it returned no errors. Oddly enough I can run a "Defrag T: /D" but a "Defrag T: /O" returns
    "Incorrect Function. (0x80070001)" (Incidentally an "Optimze-Volume T -Defrag" also works) 
    Any Ideas? I'm stumped!
    Command:
    Optimize-Volume -DriveLetter T -Verbose
    Error:
    VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...
    VERBOSE: Slab Analysis:  100% complete.
    optimize-volume : The specified extrinsic Method does not exist.
    At line:1 char:1
    + optimize-volume -DriveLetter T -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
        + FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume

    I did stumble upon that article as well and working through it didn't help. This is an Exchange 2013 server but I wouldn't think that that would exclusively cause a problem like this (unless there is something under the hood that Exchange 2013 is secretly
    doing). The C drive is for the OS, the M drive is for the Exchange DB, and the
    T drive is for the Logs.  The C drive is "directly" connected and the M and T drives are on the same SAN (different LUNs) via iSCSI. This is running as a virtual guest on VMWare ESXi v5.5.  I have other servers setup the
    same way (not Exchange servers though) with drives on the iSCSI SAN and there are no issues when I run those Optimize-Volume commands. Here is some more output from the console:
    PS C:\Users\administrator> Optimize-Volume -DriveLetter T -Analyze -Verbose
    VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...
    VERBOSE: Slab Analysis: 0% complete...
    Optimize-Volume : The specified extrinsic Method does not exist.
    At line:1 char:1
    + Optimize-Volume -DriveLetter T -Analyze -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
    + FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume
    PS C:\Users\administrator> Optimize-Volume -DriveLetter M -Analyze -Verbose
    VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchMailStoreDB (M:)...
    VERBOSE: Slab Analysis: 0% complete...
    Optimize-Volume : The specified extrinsic Method does not exist.
    At line:1 char:1
    + Optimize-Volume -DriveLetter M -Analyze -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-93f1-0050...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
    + FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume
    PS C:\Users\administrator> Optimize-Volume -DriveLetter C -Analyze -Verbose
    VERBOSE: Invoking analysis on (C:)...
    VERBOSE: Analysis: 0% complete...
    VERBOSE: Analysis: 22% complete...
    # ... Repeated ...
    VERBOSE: Analysis: 94% complete...
    VERBOSE: Analysis: 99% complete...
    VERBOSE: Analysis: 100% complete...
    VERBOSE: Analysis: 100% complete.
    VERBOSE:
    Post Defragmentation Report:
    VERBOSE:
    Volume Information:
    VERBOSE: Volume size = 84.48 GB
    VERBOSE: Cluster size = 4 KB
    VERBOSE: Used space = 63.18 GB
    VERBOSE: Free space = 21.29 GB
    VERBOSE:
    Fragmentation:
    VERBOSE: Total fragmented space = 4%
    VERBOSE: Average fragments per file = 1.23
    VERBOSE: Movable files and folders = 153593
    VERBOSE: Unmovable files and folders = 6
    VERBOSE:
    Files:
    VERBOSE: Fragmented files = 2745
    VERBOSE: Total file fragments = 35394
    VERBOSE:
    Folders:
    VERBOSE: Total folders = 4819
    VERBOSE: Fragmented folders = 2
    VERBOSE: Total folder fragments = 2
    VERBOSE:
    Free space:
    VERBOSE: Free space count = 74005
    VERBOSE: Average free space size = 296.00 KB
    VERBOSE: Largest free space size = 409.42 MB
    VERBOSE:
    Master File Table (MFT):
    VERBOSE: MFT size = 308.00 MB
    VERBOSE: MFT record count = 315391
    VERBOSE: MFT usage = 100%
    VERBOSE: Total MFT fragments = 4
    VERBOSE: Note: File fragments larger than 64MB are not included in the fragmentation statistics.
    VERBOSE:
    You do not need to defragment this volume.

  • Your credit card does not match your bank's records

    your credit card does not match your bank's records. appears at purchase in itunes store.
    2 months with no solution on this. Nothing has changed with my bank at all. Yet apple was able to bill the same card for my mobile me acct. so the card does in fact work! I emailed and got what I already knew. see below, then my reply.
    Dear Eric,
    You can change your iTunes Store billing information at any time. When you update your credit card number or billing address through the iTunes Store, any equivalent information you might use with MobileMe, iPhoto, Aperture, or the Apple Store online is also updated.
    To update your billing address or credit card number, follow these steps:
    1) Make sure you're using the latest version of iTunes. It can be downloaded free of charge from the Apple website:
    http://www.apple.com/itunes/download
    Eric, installing the latest version of iTunes will not affect your library or any items in your account that you haven't downloaded.
    2) Click this link: http://phobos.apple.com/accountSummary
    iTunes will automatically launch and the sign-in dialog will appear.
    3) If you are not already signed in, you will need to enter your iTunes Store account name and password and then click the Account Info button.
    4) On your Apple Account Information page, click Edit Payment Information
    Make the necessary changes. Your billing address should be exactly the same as the address on your credit card statement and with the United States Postal Service (click "Find a ZIP Code" at http://www.usps.com and follow the onscreen instructions). This is important, because even differences in punctuation, abbreviation, and capitalization can cause payment errors that might prevent you from using the iTunes Store.
    5) When all of the information is up to date, click Done.
    When you update your billing information, the iTunes Store places an authorization hold on your credit card to verify your account information. You might see this authorization request on your online statement. This is not an actual charge; it is simply a test to confirm that your credit card account is active and has credit available to accommodate transactions.
    Authorization requests are automatically removed from your account by your financial institution. The amount of time it takes to remove authorization requests varies by financial institution. If you have any questions about the way your financial institution handles authorization requests, please contact their customer-service department.
    Thank you for your time. If you have any other questions or concerns, regarding your iTunes Store account, Eric, please feel free to reply to this email. Have a great day.
    Sincerely,
    Timothy
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Please Note:I work Sunday 9:00 to 6:00 Tuesday and wednesday 9:00 to 6:00 Friday and Saturday 9:00 to 6:00 Central Standard Time
    Thank you for allowing me the opportunity to assist you. You may receive an AppleCare survey email; any feedback you provide would be greatly appreciated.
    My reply
    I've read the support pages through and through and have gone through all of these steps in the past. Nothing on my end has changed. This card has been used for approx three years now, never to have been edited. As stated... In the midst of all of this difficulty, you were able to bill the same card for my mobile me subscription. Which should technically not gone through due to the supposed billing info not matching my bank's records! So quite simply, my card does work, this is something on your end, not my bank.
    And I did however change the type case to match my statement to no avail. This never made a difference in the past, but I tried it regardless.
    After attempting things for two months, I am growing tired of trying to spend my money on Apple. I will try one more suggestion if one is available. After that, I have had great success with the amazon store and may have to flip over to them. My time is way too valuable to be troubleshooting a problem I did not create.
    any specific help would be appreciated (please do not copy and paste tips from the support pages... been there)
    Eric

    As a follow up to my last post, I thought I would offer you my customer service experience as I am hoping you can avoiding going through what I've been through and that this will save you some time.
    I'm listing the discourse chronologically for your convenience:
    Specific request: My credit card or billing information is not accepted
    Details:
    iTunes says my credit card information does not match my bank information and will not let me make purchases. I have updated my account information and I still cannot make purchases. I get the same message that my card does not match my bank's information- which it does.
    Please help.
    TrackID: 1--------------
    Dear ----------,
    Welcome to Apple iTunes Store Customer Support. My name is Snehashish.
    I am sorry to hear that you haven't been able to make purchases on the iTunes Store with your credit card. I know this is frustrating, and I will try to provide as much information as I can to help you resolve it.
    -----------, upon checking your account I find your credit card will be expired after this month. So you have to change it then. I suggest you to change it now or contact your credit card company as it is declined by iTunes.
    The iTunes Store has been unable to verify an authorization from your credit card company. There are several possible reasons for this:
    - Your credit card company's servers may have been busy. Trying again later may resolve the issue.
    - Your card may not have been activated yet. If so, you will need to activate it.
    - You may need to call your credit card company before the authorization is approved.
    - You may need to ensure that you correctly located the credit card's security code. To see instructions for locating the security code, choose View My Account from the iTunes Store menu, sign in to your account, click Edit Payment Information, and then click the "What is this?" link next to the Security Code field.
    - Your billing name or address does not match the address listed on your credit card statement. Any discrepancy in punctuation, abbreviation, or capitalization can cause errors, which might prevent you from purchasing from the iTunes Store. If you moved, or if your zip code changed recently, ask your credit card company to make sure its records are up to date and match exactly what you are entering as your billing information.
    --------, please follow these steps to confirm or update your account information:
    1) Go to the My Apple ID site at:
    http://appleid.apple.com/
    2) If the site is not displayed in your preferred language, click the Change Language link in the upper-right corner, type the name of your language in the field that appears, then click the Save button.
    3) Click the "Manage your account" link.
    4) Type your iTunes Store account name (which is your Apple ID) in the Apple ID field, type your password in the password field, then click the Sign In button.
    5) Click "Addresses" in the left column.
    6) Confirm or edit your information.
    7) Click "Phone Numbers" on the left. Make sure the area codes and phone numbers are entered correctly in their respective fields.
    8) Click Save Changes.
    Once your information is updated, try placing an order on the iTunes Store again. If the iTunes Store still cannot obtain an authorization for your card, it means that your billing information is still incorrect, either with your credit card company or with its verification system, which may be handled by another company.
    Fortunately, you may be able to make iTunes Store purchases with another payment method. For example, if PayPal accepts your credit card, you can use your PayPal account to buy from the iTunes Store. If you need more information about using PayPal on the iTunes Store, please let me know.
    ------, I hope this information is helpful. Thank you for your interest; I am pleased that you want to be an iTunes Store customer. Have a great day!
    Sincerely,
    Snehashish
    iTunes Store Customer Support
    Thank you for allowing me the opportunity to assist you. You may receive an AppleCare survey email; any feedback you provide would be greatly appreciated.
    Follow-Up: 1----------------
    Hello again,
    I wanted to send a quick note to see if you are still experiencing any difficulties with the iTunes Store. Resolving your issue is important to me, so please don't hesitate to reply if you need any further assistance.
    Sincerely,
    Snehashish
    iTunes Store Customer Support
    Greetings Snehashish,
    When I wrote my original ticket it was to address the issue of the fact I had already updated my credit card information and I was still receiving the error message of "my credit card not matching my bank information" in iTunes. Giving me instructions on how to update my account information was not helpful because I had already taken that step. So, no, my problem remains unresolved and I am unable to make any purchases in iTunes or update my iPhone.
    Luckily, the item I was looking to purchase was available on Amazon digitally so I went ahead and bought it there without any problem whatsoever with my credit card- furthering the mystery and the enigma that is iTunes rejection of my credit card.
    Please send the next step to resolve my issue or please forward my ticket to someone who can resolve this for me.
    Thank you,
    Dear ------------,
    Welcome back to Apple iTunes Store Customer Support. This is Snehashish again.
    I am glad to hear that your credit card works on another website. Some of our customer resolves this type of issue by removing credit card from their account, buy a free app and then re-add the credit card to account. I suggest you to try that.
    ---------, please delete the credit card information from your account:
    1) Open iTunes and sign in to the iTunes Store.
    2) Select "View My Account" from the Store menu.
    3) Enter your password and click the View Account button.
    4) Click the Edit Payment Information button.
    5) Select "None" as the payment type.
    6) Click the Done button at the bottom of the page.
    After you select the "None" option, please attempt to download a free App from iTunes Store. Then sign out from your account and sign in back and re-add your credit card information.
    --------, then, please follow these steps to confirm or update your account's information:
    1) Go to the My Apple ID site at:
    http://appleid.apple.com/
    2) If the site is not displayed in your preferred language, click the Change Language link in the upper-right corner, type the name of your language in the field that appears, then click the Save button.
    3) Click the "Manage your account" link.
    4) Type your iTunes Store account name (which is your Apple ID) in the Apple ID field, type your password in the password field, then click the Sign In button.
    5) Click "Addresses" in the left column.
    6) Confirm or edit your information.
    7) Click "Phone Numbers" on the left. Make sure the area codes and phone numbers are entered correctly in their respective fields.
    8) Click Save Changes.
    Once your information is updated, try placing an order on the iTunes Store again.
    If you have further questions or concerns, please feel free to contact me again. Have a nice day, ----------!
    Hello again Snehashish,
    My address is confirmed and matches my bank account. I followed the steps as you directed with deleting my information downloading the free application and then re-entering my payment information. I continue get the error message that my credit card information does not match my bank's records. I have as of today called the bank and confirmed twice that my banking address is correct. The error is not happening on the banking side of the equation.
    Please send the next step to resolve my issue or please forward my ticket to someone who can resolve this for me.
    Thank you very much,
    Dear -------,
    Welcome back to Apple iTunes Store Customer Support. This is Snehashish again.
    Thank you for your response. Upon reviewing your account I find you removed that credit card successfully. I suggest you to update that information to start purchasing. You can also use gift card as well.
    --------, you can change your iTunes Store billing information at any time. When you update your credit card number or billing address through the iTunes Store, any equivalent information you might use with MobileMe, iPhoto, Aperture, or the Apple Store online is also updated.
    To update your billing address or credit card number, follow these steps:
    1) Make sure you're using the latest version of iTunes. It can be downloaded free of charge from the Apple website:
    http://www.apple.com/itunes/download
    Note: Installing the latest version of iTunes will not affect your library or any items in your account that you haven't downloaded.
    2) Click this link:  <link to launch itunes>
    iTunes will automatically launch and the sign-in dialog will appear.
    3) If you are not already signed in, you will need to enter your iTunes Store account name and password and then click the Account Info button.
    4) On your Apple Account Information page, click Edit Payment Information
    Make the necessary changes. Your billing address should be exactly the same as the address on your credit card statement and with the United States Postal Service (click "Find a ZIP Code" at http://www.usps.com and follow the onscreen instructions). This is important, because even differences in punctuation, abbreviation, and capitalization can cause payment errors that might prevent you from using the iTunes Store.
    5) When all of the information is up to date, click Done.
    When you update your billing information, the iTunes Store places an authorization hold on your credit card to verify your account information. You might see this authorization request on your online statement. This is not an actual charge; it is simply a test to confirm that your credit card account is active and has credit available to accommodate transactions.
    Authorization requests are automatically removed from your account by your financial institution. The amount of time it takes to remove authorization requests varies by financial institution. If you have any questions about the way your financial institution handles authorization requests, please contact their customer-service department.
    ---------, if you have further questions or concerns, please feel free to contact me again. Have a nice day!
    Despite already having the current version of iTunes, I re-downloaded the program and installed it on my computer. I logged into the link you sent me. I entered in my banking (again and without mistake) information exactly as it is on my billing information. I have now entered my credit card information correctly on iTunes repeatedly- it has not deviated nor changed and there has never been a mistake in my data entry. I have used this credit card at other locations and online stores without error and my banking and credit card information is correct.
    I entered a credit card I DO NOT want to use in conjunction with my iTunes account and it was accepted without incident or error message. The problem is that the card I do want to use, that I NEED to use to make purchases on iTunes is not accepted. Both cards are issued through the same bank- one is debit and one is credit and they both link to the same bank account with the same home address. The debit card is being rejected and the credit card is accepted. My problem is not my address nor the account number as both have been entered correctly multiple times. iTunes is rejecting my particular card even though it is working and matches my bank information. This is the card I have always used to make purchases on iTunes and this error started when my old card expired and I attempted to update my account.
    Every time I re-enter my credit card and try to make a purchase and I always get the following message:
    "There are errors or omissions in the information. Please correct the indicated items: Your credit card does not match your bank's records. Please enter a US credit card and a matching billing address."
    I have reset, re-downloaded, and re-entered everything on my end multiple times resulting in the same error from iTunes. I want to know what is happening with my account. If you do not have a solution then please escalate this ticket and please put me in contact with someone who can help me.
    Thank you for your time,
    I found my solution in the Apple Support Community. It had nothing to do with my information being incorrect. I do not require your assistance any longer.
    My issue resolution was actual very simple and came from this page. iTunes has a bug where it will not accept your information but if you add your credit card under you account in the Apple Store and CONFIRM then it will appear in your iTunes account automatically. I could have saved hours of email, calls to the bank and stupid angst if I had looked this up instead of TRYING to use Apple Customer Support. I've learned my lesson. I just want you to know that iTunes is bugged and broken in this respect and no matter how many times you enter your information IT DOESN'T WORK. I hope this helps someone else.
    Apple please tell your customer support people how to actually help instead of having them paste in worthless form letters on how to use a credit card with iTunes. Obviously it iTunes that is broken.
    PLEASE FIX.

  • SQL 2012 SP1 - How to determine a query that causes Error 8623 in SQL Log: The query processor ran out of internal resources and could not produce a query plan. This is a rare event...

    We are getting multiple 8623 Errors in SQL Log while running Vendor's software.
    How can you catch which Query causes the error?
    I tried to catch it using SQL Profiler Trace but it doesn't show which Query/Sp is the one causing an error. 
    I also tried to use Extended Event session to catch it, but it doesn't create any output either.
    Error:
    The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that
    reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
    Extended Event Session that I used;
    CREATE EVENT SESSION
        overly_complex_queries
    ON SERVER
    ADD EVENT sqlserver.error_reported
        ACTION (sqlserver.sql_text, sqlserver.tsql_stack, sqlserver.database_id, sqlserver.username)
        WHERE ([severity] = 16
    AND [error_number] = 8623)
    ADD TARGET package0.asynchronous_file_target
    (SET filename = 'E:\SQLServer2012\MSSQL11.MSSQLSERVER\MSSQL\Log\XE\overly_complex_queries.xel' ,
        metadatafile = 'E:\SQLServer2012\MSSQL11.MSSQLSERVER\MSSQL\Log\XE\overly_complex_queries.xem',
        max_file_size = 10,
        max_rollover_files = 5)
    WITH (MAX_DISPATCH_LATENCY = 5SECONDS)
    GO
    -- Start the session
    ALTER EVENT SESSION overly_complex_queries
        ON SERVER STATE = START
    GO
    It creates only .xel file, but not .xem
    Any help/advice is greatly appreciated

    Hi VK_DBA,
    According to your error message, about which query statement may fail with error message 8623, as other post, you can use trace flag 4102 & 4118 for overcoming this error. Another way is looking for queries with very long IN lists, a large number of
    UNIONs, or a large number of nested sub-queries. These are the most common causes of this particular error message.
    The error 8623 occurs when attempting to select records through a query with a large number of entries in the "IN" clause (> 10,000). For avoiding this error, I suggest that you could apply the latest Cumulative Updates media for SQL Server 2012 Service
    Pack 1, then simplify the query. You may try divide and conquer approach to get part of the query working (as temp table) and then add extra joins / conditions. Or You could try to run the query using the hint option (force order), option (hash join), option
    (merge join) with a plan guide.
    For more information about error 8623, you can review the following article.
    http://blogs.technet.com/b/mdegre/archive/2012/03/13/8623-the-query-processor-ran-out-of-internal-resources-and-could-not-produce-a-query-plan.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Reporting on Merged Records

    I would like to know if there is a way to report on records that have been merged through Portal?  It would be nice to be able to report which records have been merged over a time period (like within the last month), but if that is not possible, I am just looking for a way to report on merged records through other criteria. I heard that an iView is being developed to do this, but I can't find one for this functionality right now. I can display the Key Mapping info without a problem. But there is no way to search against this information.
    Thanks,
    Justin
    Edited by: Justin Fountain on Apr 22, 2009 9:24 PM

    I found the answer:
    If you see the REP table, there is a column called REP_MAX_REP_SIZE which contains the maximum report size for each report. This value has a default value of 5000 for most of the reports. You can change this value to have a higher number so that the report returns the data. But increasing the number can reduce the response time since the number of records will be large.

  • Opening updated report fails because record selection filter is invalid

    I am trying to update a report stored in BOE XI.  The report has been modified and the main part of the report has been moved to a subreport.   I first replace the .rpt file with the updated report.  Then I attempt to open the report using the code below it, but it throws an error and complains about an unknown field being mentioned in the filter
    oReportAppFactory = (IReportAppFactory) es.getService("", "RASReportService");
    oReportClientDocument = oReportAppFactory.openDocument((IInfoObject) oReport, 0, Locale.ENGLISH);
    ERROR MESSAGE: Cannot open report document. --- This field name is not known.
    Details: errorKind
    Error in File /opt/bobje/bobje/tmp/{F395AC11-26FC-11DF-A70C-00065B8B38B5}.rpt:
    Error in formula  <Record Selection>.
    '// Filter on desired date range
    This field name is not known.
    Details: errorKind
    If I manually delete the record selection filter in CMC before upgrading the report all works fine.  So, do I need to remove the filter before attempting to open the report or is there another step I'm missing to refresh the report using the newly updated .rpt file? 
    thanks,
    Brett

    The relevant part of the stacktrace is below.  
    java.lang.UnsupportedOperationException
            at com.crystaldecisions.sdk.properties.internal.AbstractSDKList.remove(Unknown Source)
            at java.util.AbstractList$Itr.remove(AbstractList.java:436)
            at com.crystaldecisions.sdk.plugin.desktop.common.internal.i.do(Unknown Source)
            at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.f(Unknown Source)
            at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.f(Unknown Source)
            at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.refreshProperties(Unknown Source)
    The context is the same as the original post...
    An existing report is being updated.  The original report uses a single view and has a record selection filter.  The updated report uses the same view in a subreport, and the main report has no record selection filter.
    .rpt file is updated using IReport.replaceUnique(int, File).  
    Changes are committed to IInfoStore -> iStore.commit(IReport)
    Refresh options are enabled
    IReportRefreshOptions refreshOptions = oReport.getReportRefreshOptions();
    refreshOptions.removeOption(IReportRefreshOptions.CeRefreshOption.TITLE);
    refreshOptions.removeOption(IReportRefreshOptions.CeRefreshOption.DESCRIPTION);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.PROMPT_VALUES);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.RECORD_SELECTION_FORMULA);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.GROUP_SELECTION_FORMULA);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.PRINTER_OPTIONS);
    refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.DEFAULT_LOGON_INFO_VALUES);
    Properties are then refreshed using IReport.refreshProperties() which throws the UnsupportedOperationException
    changes are again committed.
    thanks,
    Brett

  • The getBuiltInScopes method was not found

      I have an application that has worked for quite a while. I have made no changes to the code since the last time I used it. Basically, the code creates a zip file with input for an involved report. I used it in March of this year it worked fine. I've been assured by the gov't sysadmins and DBAs that nothing has changed, but I still get the attached error. Any ideas?    I have just heard from a friend who knows CF, that it could be a version issue.  I am currently running 8 and I believe he is running 10.   If this is an issue, is the solution somewhere on this site?   I do minimal CF and am at a loss.   The function that is throwing the error is when a button is clicked, a javascript routine is run which combines all the files requred for the zip file.   Yesterday, another application started throwing the error.  I haven't been through the code yet, but it is another button being clicked, and I'm sure, another javascript error.

    The SysAdmin sent me the application log:  Since it is a government site, I changed identifying things to XXXX  or xxxx.
    "Error","ajp-bio-8012-exec-2091","09/26/14","11:43:33","XXXXransfer3","The getBuiltInScopes method was not found.Either there are no methods with the specified method name and argument types or the getBuiltInScopes method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. The specific sequence of files included or processed is: \\haffs002\ProdData\Sites\xxx\IE\XXXX\secure\Authorization\FundingRequestForm_Action.cfm, line: 113 "
    Line 113 is: document.form1.actiontaken.value = "approve"
    The user clicks on a button to Approve or Disapprove a request.  This causes another screen to be displayed.  The error is happening before the 2nd screen is displayed.

  • Using Reporting Services Web Service methods to run a report with query parameters

    I'm attempting to use the ReportExecutionService methods to process a report that contains four parameters,  two of them query parameters. In total, the report must execute two queries. The two query parameters are determined by the execution of
    the second query.
    So, I've read about GetExecutionInfo and SetExecutionParams. To quote the MSDN page for GetExecutionInfo, "Use this method iteratively with the SetExecutionParameters method to evaluate parameters that have query- or expression-based defaults."
    Can anybody explain how to use this, or any other method, to execute a report such as mine? The first query gets the rows of the report; the second query gets the row count. LoadReport does not seem to do the trick by itself. I need to use the technique
    described in the quote above, I think.
    I could really use some help. Thanks!

    Hello,
    If I understand correctly, you create a local report which choose report from Report Server. You have two query parameters in the report which are returned by stored procedure. Currently, you cannot get default values for these parameters when run the report.
    Based on my test, if we haven’t configure these parameter with Available Values, we can reproduce the same issue. Also, caching issue may cause the same issue. If the issue is persist, please delete the corresponding report in the report server. Then, redeploy
    it to check.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/en-US/6a548d65-35d0-4a3e-8b64-3b7b655c76ee/ssrs-2008-report-parameter-default-value-doesnt-work-when-deployed
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • URGENT : FRM-41219 Can not find report : INVALID ID

    hello all
    The same problem i have also posted in forms forum..
    i am getting the exception FRM-41219 when calling the report from my form with the method RUN_REPORT_OBJECT.
    I m calling the report in my program unit method as follows :
    DECLARE
    Pl_Id ParameterList;
    RepId REPORT_OBJECT;
    Vrep Varchar2(1000);
    BEGIN
    add_parameter(pl_id,'report_parameter',text_parameter,record_block.input_box);
    RepId := find_repor_object('report_name');
    Vrep := RUN_REPORT_OBJECT(RepId,Pl_Id);
    END;
    But when i run the fmx .. i get the exception "FRM-41219 can not find report :Invalid ID"
    I have checked all possiblities i.e. i have also called the method as RUN_REPORT_OBJECT(RepId) and also RUN_REPORT_OBJECT(ReportName)..but in all cases i am getting the same error..i have also checked the environment variable ..it contains the correct path of my application folder where the report is available.
    Kindly help me with this
    if any body knows the solution..or the cause for it..please let me know here or contact me on this address
    [email protected]
    thank you.

    Try this:
    DECLARE
    Report_Id report_object;
    v_rep varchar2(200);
    rep_status varchar2(20);
    BEGIN
    report_id:=FIND_REPORT_OBJECT('EMP');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,:REPORT_NAME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,:REPORT_DESFORMAT);
    if :REPORT_DESTYPE='CACHE' then
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    elsif :REPORT_DESTYPE='FILE' then
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
    end if
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:REPORT_DESNAME);
    v_rep := RUN_REPORT_OBJECT(report_id);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if rep_status = 'FINISHED' then
    message('Report Completed');
    else
    message('Error when running report.');
    end if;
    END;
    Thanks
    Rohit

Maybe you are looking for

  • How to connect external trigger PCIe-1433?

    I am having an issue getting the external trigger to work using a cameralink camera, a PCIe-1433 card and a signal generator.  The signal generator is connected to the SMB connector on the 1433 card and is providing a 20 Hz signal with a 20ms pulse w

  • How Do I Create A Link To  A Different Page?

    I'm using the v10.1.2 Portal. I created 6 Oracle Portlets implemented using JSP. I then created 2 pages within the same page group. On page 1 I put Portlet_1a, Portlet_1b and Portlet_1c. On page 2 I put Portlet_2a, Portlet_2b and Portlet_2c. In Portl

  • Aperture 3 - share library with another user account?

    Hi, I'm trying to share the aperture library with my wife (another user account on the same computer). I started to give her permissions to the file in <My User>/Pictures/Aperture Library. but it kept having permissions issues. So i changed the libra

  • Display Button on Overview Screen of iView

    Hello, Would someone please help me understand how I can insert a 'Display' button on an iView? Basically the requirement is as follows: The Personal Data iView is something for which I dont want to give Edit access to the users. I know I can disable

  • Where is my movie I downloaded on my iPad from itunes

    I downloaded a movie from iTunes on my iPad 3rd gen  for the first time. The download is complete but I cannot find it anywhere.