SSRS 2008 Created Commssion Report, now getting error message when I run this ( need Help)

in SSRS 2008 2 years ago created Commission with sub reports added, it was working fine, some how started to get error  
message when we entered some invoice # see below screen shot of error message
but same time if I enter different invoice # it process the report without any error message , donot understand the problem
what's causing this issue, I have looked each sub report,
can some one suggest any idea,
I have spent hrs to figure it out, no luck so far.
thanks in advance
see the 2nd screen shot with report process
any help will be greatly appreciated

Hi Wendy
thanks for your reply
I tried creating new report , I have 1 main report and 3 sub report on this
on main report when I enter some invoice# and accountnum  data shows up with no problem,
but same time if I enter different invoice# and accountnum , there is no data return  on same query, I have checked my query so many times, donot understand this issue, what's causing this problem, since all the data pulling from same tables, why its
not pulling for some invoices,
 other strange thing , I created this report , year ago, there was no problem until now,
all of the sudden this problem just shows up,'
I am not that expert in sql , can I really use advise
see below by query , if you can tell me what's wrong with my query I will be really greatfull I have spend so much time to figure it out, but so far no luck
SELECT        VENDTRANS.DATAAREAID, SALESTABLE.SALESID, VENDTRANS.VOUCHER, SALESTABLE.SALESTYPE, SALESTABLE.SALESSTATUS, VENDTRANS.TRANSDATE,
                         CUSTINVOICEJOUR.INVOICEAMOUNT, VENDTRANS.INVOICE, VENDTRANS.PAYMMODE, VENDTRANS.ACCOUNTNUM, VENDTRANS.TRANSTYPE,
                         VENDTRANS.LASTSETTLEVOUCHER, VENDTRANS.TXT, CUSTINVOICEJOUR.INVOICEACCOUNT, CUSTINVOICEJOUR.INVOICINGNAME,
                         VENDTRANS.LASTSETTLEDATE, LEDGERJOURNALTRANS.ACCOUNTTYPE, LEDGERJOURNALTRANS.AMOUNTCURCREDIT, LEDGERJOURNALTRANS.LINENUM,
                         CUSTINVOICETRANS.INVOICEDATE
FROM            SALESTABLE INNER JOIN
                         CUSTINVOICETRANS ON SALESTABLE.DATAAREAID = CUSTINVOICETRANS.DATAAREAID AND SALESTABLE.SALESID = CUSTINVOICETRANS.SALESID
INNER JOIN
                         CUSTINVOICEJOUR ON CUSTINVOICETRANS.INVOICEID = CUSTINVOICEJOUR.INVOICEID AND CUSTINVOICETRANS.SALESID = CUSTINVOICEJOUR.SALESID
AND
                         CUSTINVOICETRANS.INVOICEDATE = CUSTINVOICEJOUR.INVOICEDATE INNER JOIN
                         VENDTRANS ON CUSTINVOICETRANS.INVOICEID = VENDTRANS.INVOICE AND CUSTINVOICETRANS.DATAAREAID = VENDTRANS.DATAAREAID
AND
                         CUSTINVOICEJOUR.DATAAREAID = VENDTRANS.DATAAREAID AND CUSTINVOICEJOUR.INVOICEDATE = VENDTRANS.TRANSDATE INNER JOIN
                         LEDGERJOURNALTRANS ON VENDTRANS.DATAAREAID = LEDGERJOURNALTRANS.DATAAREAID AND
                         VENDTRANS.ACCOUNTNUM = LEDGERJOURNALTRANS.ACCOUNTNUM AND CUSTINVOICETRANS.LINENUM = LEDGERJOURNALTRANS.LINENUM AND
                         VENDTRANS.INVOICE = LEDGERJOURNALTRANS.INVOICE AND VENDTRANS.VOUCHER = LEDGERJOURNALTRANS.VOUCHER AND
                         VENDTRANS.PAYMMODE = LEDGERJOURNALTRANS.PAYMMODE AND VENDTRANS.TRANSDATE = LEDGERJOURNALTRANS.TRANSDATE
WHERE        (VENDTRANS.DATAAREAID = N'AR1') AND (SALESTABLE.SALESTYPE = 3) AND (SALESTABLE.SALESSTATUS = 3) AND (VENDTRANS.ACCOUNTNUM = @Accountnum)
                         AND (VENDTRANS.INVOICE = @Invoice) AND (LEDGERJOURNALTRANS.ACCOUNTTYPE = 2)

Similar Messages

  • New MacPro 10.9.4 included Keynote. Worked fine. An update was released August 21. Just downloaded the 6.2.2 update and now get error message "You can't open the application because PowerPC applications are no longer supported". Any ideas?

    New MacPro 10.9.4 purchased three weeks ago included Keynote. App worked fine. New update for Keynote was released August 21. Just downloaded the 6.2.2 update. Tried to launch app and now get error message "You can’t open the application “Keynote.app” because PowerPC applications are no longer supported." Confused as to why it worked prior to update. Nothing else has changed. No issues with recent iMovie, Pages or Numbers updates. Any ideas?

    I tested this:
    Reinstalled Aperture 3.1 from the Trial Installer.
    In some way it seems to be working. But the whole thing is a scary Chimera.
    It can create an Aperture library. I can import and edit images, even in Graphic Converter ias an external editor.
    But the Media Browser does not show the aperture Library that I created.
    The versioning is inconsistent. The library appears as an Aperture 3.4 library in the Finder.  Aperture 3.5 seems to be able to read this library and to upgrade it to 3.5
    The Applications folder is showing the application as version 3.4 and as compatible. Spotlight is showing it as illegal.
    When opening the chimera Aperture, I see plenty of warnings in the Console window:
    An Aperture "Hang" report
    xpcproxy assertion failed
    com.apple.IconServiceAgent: main failed to composite image
    quicklookd: Warning
    and more ... the hang was critical. I had to force quit Aperture more than once.
    So be careful. I would not trust any important Aperture library to this patched application, without testing thoroughly. Be careful with your  precious photos.

  • I recently upgraded to iCloud 3.0 on home computer and now i get error messages when I open Outlook 2010.  It worked fine before with iCloud 2.1.2.  Any solutions?  I'm on Windows 7, Outlook 2010.

    I recently upgraded to iCloud 3.0 on home computer and now i get error messages when I open Outlook 2010.  It worked fine before with iCloud 2.1.2.  Any solutions?  I'm on Windows 7, Outlook 2010.

    HOW FRUSTRATING! NOW WHAT IS HAPPENING? WHEN I GO TO ANY WEBSITE THE PAGE FREEZES. TOP OF PAGE READS, MOZILLA FIREFOX NOT RESPONDING, THINK I"LL GO BACK TO IE, WAY TOO MANY ERRORS AND NO TECH SUPPORT ANSWERS

  • Deleted items from Ipod Nano to make room for new. Emptied trash. Still getting error message when I try to copy items from ITunes to Ipod. What should I do now?

    Deleted items from Ipod Nano to make room for new. Emptied trash. Still getting error message when I try to copy items from ITunes to Ipod. What should I do now?

    If you delete songs (and other items) from the main iTunes library, yes, you need to empty the Trash because iTunes puts the song files into the Trash.  When deleting items from an iPod, the items are not being deleted from the main iTunes library, so nothing should end up in the Trash.
    Hopefully, you are not deleting items from your main iTunes library, just to sync those deletions from the iPod.  If you are, there is a better way.  You can post back if you want more info...

  • I installed 3.6.12 and now get error message that says - Error: Platform version 1.9.2.12 is not compatible with miniversion = 1.9.2.10 maxversion = 1.9.2.19 and it won't launch unless outside of sandbox. I cannot navigate to yahoo. Please help.

    I down loaded latest version and get error message when I launch it. Error message is entitled XUL Runner and says - Error: Platform version 1.9.2.12 is not compatible with miniversion >= 1.9.2.10 maxversion <= 1.9.2.19 and it won't launch. I can launch if I use Run Outside of Sandbox option, but I cannot navigate my home page on yahoo. What happened? Please send fix. Thanks, [email protected]

    Do a clean (re)install:
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • I had to reinstall CS4 and now have error messages when opening bridge and photoshop

    The error message is "The specified module could not be found. C:\Program Files (x86)\Common Files\Adobe\Adobe Version Cue CS4\Client\4.0.1\Version Cue.DLL

    I tried what you suggested and it did not help.  whenever I try to open either photoshop or bridge, I get a message saying that there was a problem loading scripts the last time that Bridge was open and do I want to try loading them again?  If I click yes, I get that same error message that I reported in my original question and photoshop/bridge will immediately close.  If I click no, photoshop and bridge will open but it will not let me open a raw format document.  It seems like Adobe Camera Raw is not being recognized.   One of the updates I downloaded was an update to Adobe Camera Raw so the functionality is there, it just can't be accessed.  do you think I should try to uninstall and re-install Photoshop again?
    Date: Mon, 3 Sep 2012 19:48:31 -0600
    From: [email protected]
    To: [email protected]
    Subject: I had to reinstall CS4 and now have error messages when opening bridge and photoshop
        Re: I had to reinstall CS4 and now have error messages when opening bridge and photoshop
        created by Arpit Kapoor in Downloading, Installing, Setting Up - View the full discussion
    Go To Help->Updates and install the latest update. It should work.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4670793#4670793
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4670793#4670793. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I keep getting error message when trying to sign in for iMessage with my Apple ID since upgrading to iOS 7

    I keep getting error messages when I try to activate iMessage on my iPad since installing iOS7. Anyone else having this issue or a solution. I can obviously sign in with the same Apple ID information/password as I have done here and I am connecting with Wifi now and in all other apps.

    After looking at some other posts I signed into iTunes and edited my password with my Mac. Then I powered off and restarted my iPad and all is good now.

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Why am I now receiving error messages when I am trying to send texts?

    Why am I now receiving error messages when I am trying to send texts?  People that I have texted before I am now getting error messages and I have to click on the excalmation point and hit send as a SMS text.  What's up?

    Hi dwalker130,
    If you are having issues with iMessages being sent to your friends, then take a look at the article below. It will walk you through checking your settings and even resetting your network settings on your iPhone. Let me know if this helps or need more assistance. It is a big article, so make sure to go over all the troubleshooting that is relevant to you.
    iOS: Troubleshooting Messages
    http://support.apple.com/en-us/TS2755
    Regards,
    -Norm G. 

  • Keep getting error message when trying to sign in to make a Genius Bar Reservation

    Keep getting error message when trying to sign in to make a Genius Bar Reservation

    Make the reservation by phone. 

  • I get error message when I try to load lightroom 5 -unable to laod application correctly (oxooooo7b)

    I get error message when I try to load lightroom 5 -unable to laod application correctly (oxooooo7b)
    what can I do

    Search here or Google ... https://helpx.adobe.com/lightroom/kb/error-unable-start-correctly-0xc00007b.html

  • I get error message when trying to add key tags

    I get error message when trying to add key tags

    You should always backup your iPad before ever doing anything major that coould result in a catastrophic loss is something goes wrong. You can then usually restore from the backup when your iPad has recovered.
    You should also be sure to have transfered any new purchases directly to your iPad to the iTunes app on your computer on a regular basis.

  • Get error message when trying to install windows. need to remort hd. how to

    tried to install xp with bootcamp. get error message when trying to partion the disk:"the disk can not be partioned because some files cannot be moved.
    back up the disk and use Disk Utility to format it as a single Mac OS Extended
    (Journaled) volume. Restore your information to the disk and try using Boot Camp
    Assistant again."
    bought an external hd and used time machine to back up everything. do not understand how to reformat the hd with disk utilities. any help is appreciated

    Hi and welcome to Discussions,
    have a look at the answers in this thread http://discussions.apple.com/thread.jspa?threadID=1972468&start=0&tstart=0 for an easier way to do this.
    Regards
    Stefan
    Message was edited by: Fortuny

  • Get error message when trying to launch bridge from CC 64 bit.

    Get error message when trying to launch Bridge from Photoshop CC 64 bit.  "Cannot complete command because extension cannot be loaded."  Need fix.  Thanks.

    Hi Adobe Bubba,
    Please uninstall the software, run the cleaner tool, restart your machine and install again.
    Cleaner tool: http://www.adobe.com/support/contact/cscleanertool.html .
    Regards,
    Romt Sinha

  • Get error message when trying to sync iphone to puter that says"cannot connect because apple mobile divise is not started? what do i do?

    get error message when trying to sync iphone to puter that says"cannot connect because apple mobile divise is not started? what do i do?

    Restart your computer and the iPhone. Press & hold the Power and Home buttons together for 10+ seconds, ignoring the red power-off slider, until you see the Apple logo. It is safe to do, there should be no content loss. It is the same as rebooting your computer.

Maybe you are looking for