Query Correction and Guidance Needed

Dear Experts
I am adding a query I have developed from three tables ORCT, RCT1 and JDT1. I wanted to get the reconciliation report for Bank Statement. ORCT is used to get the BP Name, RCT1 for check number and JDT1 to get the Debit and Credit fields. I have been successful only to out that transation for Cash are missing can you please correct the query if possible and guide me where I went wrong I will be greatly obliged. Below is the query
SELECT '1Icoming - Reconciled' as grp, T2.RefDate, T1.CheckNum, T0.CardName,
T2.Debit, T2.Credit 
FROM ORCT T0, RCT1 T1, JDT1 T2
WHERE (T0.DocEntry = T1.DocNum AND
T0.TransId =  T2.TransId AND
T2.Line_ID =  T1.LineID) AND
T2.Account IN ('_SYS00000004973') AND
T2.ExtrMatch IN (1,2,3,4,5,6) AND
T2.RefDate BETWEEN '04-30-2010' AND {?To}

Hi Faisal,
Try this query:
SELECT '1Icoming - Reconciled' as grp, T2.RefDate, T1.CheckNum,T0.[CheckSum] , T0.CardName, T0.CashSum ,T0.CashAcct,
T2.Debit, T2.Credit
FROM ORCT T0, RCT1 T1, JDT1 T2
WHERE (T0.DocEntry = T1.DocNum AND
T0.TransId = T2.TransId AND
T2.Line_ID = T1.LineID) AND
T2.Account IN ('_SYS00000004973') AND
T2.ExtrMatch IN (1,2,3,4,5,6) AND
(T2.RefDate >= [%1] and T2.RefDate <= [%2])
Thanks,
Neetu

Similar Messages

  • My Apple album discovery widget does not function correctly and I needed a little help from an expert

    Hi,
    I can't get my official iTunes album discovery widget from Apple.com to play audio on my website.  If you hit view, it will take you to the iTunes page, which is very good, but if you press play on my website where I have the widget displayed, the buttons for play and stop move and seem to function, but no audio.  I contacted Apple app software, but they said they are not responsible for their own widgets and to contact the Apple Support Community.  I even put major label acts into the widget and they did not work either and I am thinking this could be a widget that just never worked correctly in the first place.  I think it just needs a tweak to fix it in the code, but I can't figure anymore out. 
    http://widgets.itunes.apple.com/builder/  this is the link to get to Apple's widgets for itunes
    this is my link on the website: http://www.woodshampoo.net/    just scroll down on the music page to check it out
    Thanks,
    missingsock

    Hey missingrock,
    Hope u get round to following this up. I had the same problem and got a quick response from sending message via phg console. They told me to install QuickTime Player and it worked fine for me. That is if your country has an iTunes Music Store.
    Good Luck

  • Query Correction and Please Explan

    Dear Experts
    I have created a query to Sales Order ORDR and its Data from RDR1 and RDR1 and Connected it to Delievery ODLN. I want all the Sales Order irrespective of the Delievery is made or not. I some documents I am getting cartesian product. Please check the query and if can correct the mistake and Please do explain the your joining statement as the problem lies their.
    Please find the query is below:
    SELECT *  FROM
    ORDR T0  INNER JOIN RDR1 T1 ON T0.DocNum = T1.DocEntry
    LEFT JOIN RDR2 T2 ON T0.DocEntry = T2.DocEntry
    LEFT JOIN ODLN T3 ON T0.DocNum = T3.DocNum AND
    T1.LineNum=T2.LineNum
    Ill be grateful.
    Faisal

    Hi Faisal.......
    Try this.....
    SELECT * FROM
    ODLN T0 LEFT JOIN RDR1 T1 ON T0.DocEntry = T1.TrgetEntry
    LEFT JOIN RDR2 T2 ON T1.DocEntry = T2.DocEntry
    Hope this will help you.....
    Regards,
    Rahul
    Edited by: RAHUL MOUNDEKAR on Nov 26, 2010 2:03 PM

  • Visual studio online - Excel power query usage and samples needed

    Background
    Visual Studio Online does not offer much in the way of reporting, when compared to (onsite) TFS... unless you utilize the REST API functionality.
    The Visual Studio Online REST API is fairly extensive, but not very 'reporting' friendly to applications like Microsoft Excel.
    Question
    Are there any good examples of Microsoft Excel Power Query usage - to acquire and create reports via the Visual Studio Online REST API?  I've searched - but surprisingly haven't found anything of substance.  It is fairly simple to call a VSO REST
    query using Excel Power Query, but not so simple to iterate through the lists within lists, etc... unless you are familiar with 'M language'.

    Hi,
    Thank you for reaching out to us. I am currently researching to gather more information with regards to your request. I shall revert back to you with an update at the earliest. Sincerely appreciate your patience.
    Regards,
    Nithin Rathnakar

  • It says that itunes was not installed correctly, and i cant fix it. what do i do?

    first it said that a file was missing and i needed to uninstall and reinsall. so i tried that and it did nothing. so i got the new virsion (10.3 ?) now it says that it was not installed correctly and i need to reinsall to fix it. so i did and it didnt do anything. i still get the same massage, "not insalled correctly. please reinstall"

    Hello megszlee
    It sounds like there was an issue when installing the update. The following article may be of assistance:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thanks,
    Matt M.

  • My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    All devices signed into the same iCloud account will finish up with the same contacts. Of course if prior to joining iCloud two family members each had an entry for Uncle Fred, then you will finish up with two contact cards for Uncle Fred, and so on. If you tidy this up on your computer then the changes will propagate to everyone else.

  • When i bought this iMac i failed to register correctly and as i am trying to install a printer i need to do this when i am logging on. How can i create new password

    When i bought this iMac i failed to register correctly and as i am trying to install a printer i need to do this when i am logging on. How can i create new password

    See
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/ and
    http://osxdaily.com/2011/09/19/change-password-mac-os-x-10-7-lion-without-knowin g-current-password/
    which also apply to Mtn Lion and Macericks.

  • When entering my phone serial number it shows "We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. If your information is correct, you may need to contact us."

    Hi,
    I had purchased an iPhone 5 last month and got the OS updated to iOS 7, yesterday.
    The data cable was of very bad quality and when I took it to the retailer for replacement, they said that its not covered under the one year warranty.
    Secondly, I have also been experiencing network coverage issues with this phone. So, I decided to contact apple care through the web. When entering my serial number/IMEI it says, "We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. If your information is correct, you may need to contact us."
    Does anybody have any idea what the reason behind this could be.
    - First time with iPhone and frustrated.
    Briju

    If you purchased the iPhone from Apple or an authorized Apple reseller,
    contact them for assistance. If you purchased elsewhere, go back
    to that retailer and get them to give you a new iPhone or your money
    back.
    If you have checked the serial number carefully and re-entered it
    and that gave you the same error message, contact Apple if purchased
    from Apple or authorized retailer; otherwise you have been scammed
    and need to pursue the matter with the business you obtained the
    iPhone from.

  • Trying hard to add a common identifier with a bunch of rows in my query....Need guidance please

    Hi,
         Below is table structure as i/p of my query.
    I/P
    with temp1 as
    (select 1 trans_id,'USD' currency,1500 amount,'B' orientation_buysell,'www' counterparty from dual
    union
    select 2,'USD',500,'S','www' from dual
    union
    select 3,'USD',1000,'S','www' from dual
    union
    select 4,'SGD',2500,'B','xyz' from dual
    union
    select 5,'SGD',500,'S','xyz' from dual
    union
    select 6,'SGD',1000,'S','xyz' from dual
    union
    select 7,'SGD',1000,'S','xyz' from dual
    union
    select 8,'JPY',3000,'B','yyy' from dual
    union
    select 9,'JPY',2000,'S','yyy' from dual
    union
    select 10,'JPY',500,'S','yyy' from dual
    union
    select 11,'JPY',500,'S','yyy' from dual
    select * from temp1;
    O/P should be like smthing below.
    Alert_id start_trans_id end_trans_id currency orientation_buysell counterparty
    1                  1                      2              USD                       B      www
    1                  1                      3              USD                       B      www
    2                  4                      5              SGD                       B      xyz
    2                  4                      6              SGD                       B      xyz
    2                  4                      7              SGD                       B      xyz
    3                  8                      9              JPY                        B      yyy
    3                  8                      10            JPY                        B      yyy
    3                  8                      11            JPY                        B      yyy
    So i have used below query, i got all my requirement done except Alert_id, could you please help me how to generate this alert id.
    Query
    Select a.trans_id Start_trans_id,b.trans_id End_trans_id,a.currency,a.orientation_buysell,a.counterparty 
    from temp1 a
                     inner join
           temp1 b
                     on a.counterparty = b.counterparty
    where a.orientation_buysell = 'B'
    and      b.orientation_buysell='S'
    order by a.trans_id,b.trans_id;
    Actually these all data i need to pick from a table (here temp1), make its data as per my requirement(o/p) and also need to add a new column 'Alert_id' that should be populated as i have shown in o/p & Finally insert into a particular ALERT Table.
    I am not getting this Alert id concept in my query, how to make this one generic.
    Any help, would be really appreciable. Thanks

    Hi,
    So,
    all the rows with the lowest value of trans_id need alert_id=1,
    all the rows with the 2nd lowest value of trans_id need alert_id=2,
    all the rows with the 3rd lowest value of trans_id need alert_id=3,
    all the rows with the Nth lowest value of trans_id need alert_id=N.
    That sounds like a job for the analytic DENSE_RANK function:
    Select
           DENSE_RANK () OVER (ORDER BY  a.trans_id)  AS alert_id,    -- ***** NEW *****
           a.trans_id Start_trans_id,b.trans_id End_trans_id,a.currency,a.orientation_buysell,a.counterparty
    from temp1 a
                     inner join
           temp1 b
                     on a.counterparty = b.counterparty
    where a.orientation_buysell = 'B'
    and      b.orientation_buysell='S'
    order by a.trans_id,b.trans_id;
    I added 1 line of code near the beginning; otherwise, this is exactly what you posted.

  • My hard drive is DEAD.I have to reinstall all my Adobe programms and I need to know exactly the correct process to do ( Indesign CS6-Photoshop CS6 - Photoshop CS5 -Illustrator CS6 - Ligntroom 4 )....

    My hard drive is DEAD.I have to reinstall all my Adobe programms and I need to know exactly the correct process to do ( Indesign CS6-Photoshop CS6 - Photoshop CS5 -Illustrator CS6 - Ligntroom 4 )....
    is any friendly tutorial available ?
    Thank you
    Albert

    If you didn't have the opportunity to deactivate the installations then you should contact Adobe Support thru chat and ask them to reset your activations for all the serial numbers involved.
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Make sure you are logged in to the Adobe site, have cookies enabled, clear your cookie cache.  If it continues to fail try using a different browser.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    Then you just reinstall the programs and activate using the same serial numbers.  If you need to download you can find download available thru the following links...
    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
    You might also find the following helpful...
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html

  • HT1454 I have the correct cable but my purchased movies say they are unable to play on my smart TV and they need to be unlocked.  Can anyone advise please?  Thanks,

    I have the correct cable but my purchased movies say they are unable to play on my smart TV and they need to be unlocked.  Can anyone advise please?  Thanks,

    It's possible that the DRM (digital rights management) disallows you to port those movies onto a TV. What app are you using? Some apps are 'ipad only' and will not push out to another screen.

  • The verification lists my card data and address etc. correctly but I need to keep entering the card security number.  Support keep telling me to delete and re-enter my car info which does not help. Anyone else seen this issue?  Seems to be something to do

    The verification lists my card data and address etc. correctly but I need to keep entering the card security number.
    Support keep telling me to delete and re-enter my car info which does not help. Anyone else seen this issue?
    Seems to be something to do with a new security check they have put in the system that does not work correctly and support is totally incapable of helping me out.
    wth am i gonna do im feed up and on top i have no one to help me been calling itunes for days now im ****** off to the maxxx

    I've been jumping through the hoops with Apple Support on this issue....first time I called they said I should try updating from IOS 4.0 to 4.1....tried that and the issue still persisted...then I called back to update the ticket and get the next steps...they said that the Bank is rejecting the request for verification and that is why it keeps prompting (which doesn't make sense since the confirmation seems to go through successfully). The rep also contacted the iTunes dept and had them run the verify manually and said the bank rejected it. The next hoop they want me to jump through is calling the bank to verify that the account is in good standing and inquire about the rejected requests. I'm fairly certain the bank account is in good standing....will verify of course....but I find it hard to believe that all the people who have posted here, plus countless others that are experiencing the same issue but haven't, are ALL having banking issues in the last 24hrs...I'm more convinced there is a disconnect on the back end between iTunes and Financial institutions...
    I'm not sure I buy in to everything I was told...he also told me he has had several calls on this issue and they were all told to check with their banks. He could not verify that any of his past calls were resolved. Needless to say I'm not 100% believing everything he told me....weak response from Apple support on this issue so far.

  • My current system is OS X 10.4.11 and I need a 10.5 to update my iPhone, where can I download the correct 10.5 update?

    My current system is OS X 10.4.11 and I need a 10.5 to update my iPhone, where can I download the correct 10.5 update?

    Hi, and welcome to Apple Support Communities.
    You can't download Mac OS X 10.5; you need to purchase it.
    Which exact iBook model is it?
    You can choose from this list:
    http://www.everymac.com/systems/apple/ibook/index-ibook.html
    Not all iBooks are compatible with Mac OS X 10.5, so we need to know which iBook you have.

  • We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. If your information is correct, you may need to contact us.

    i am going to buy iphone 5 32 gb from some before i bought i check the serial number of that iphone on apple web site to cross check but massage is appering that ......'
    We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. If your information is correct, you may need to contact us....
    can any one tell me what is that mean..... replace what ?

    In most cases, what you said is true...however, this is not always the case.  Take myself for example...
    1: I posted my phone online to sell
    2: Someone saw my serial number and called AppleCare to get a replacement phone
    3: An inferior AppleCare representative bypassed a component validation (check serial number to the device on hand) and approved the replacement under my AppleCare plan.
    4:  After noticing this (about 4 days after it happened) and  a trip to Apple and a call to AppleCare, all was resolved.  My phone is back to being covered under AppleCare+
    5:  I learned my lesson.
    So, as you can see, there is a chance that it can be something else.  Although, if the person selling the phone notices, it shouldn't take long to resolve it. Chances are that it is what you said.
    Hope this helps

  • We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. If your information is correct, you may need to contact us. iPhone 4s.

    Hi everyone! I have iphone 4s, which was bought about 6 mounts later and has serial number C2*******TD6 and IMEI ****. When i try to check warranty on the page https://selfsolve.apple.com/wcResults.do i see
    We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. If your information is correct, you may need to contact us.
    And if i try to enter IMEI here i see
    Our records indicate that this product has been replaced. Please provide the serial number for your replacement product to find the support and warranty coverage information. For more information, please contact us.
    Does it means, that I was bought a non exist iPhone? Or it was refurbished? I need an official answer to take them to seller because I was bought iPhone as a new.
    Thank you.
    <Edited By Host>

    Not from Apple reseller( Im apologize, that you right) Seconв question: how can i contact apple via email to get an official answer?

Maybe you are looking for

  • XML reader and get the value from another class

    Hello to all, I have stupid question. I have main.java and ConfigXML.java(read my config xml file). Code from ConfigXML.java NodeList flnamelist = flcon.getElementsByTagName("filename"); Element flnameEL= (Element)flnamelist.item(0); NodeList flnameT

  • How to get system popup menu in java?

    I want to know how to get windows xp or any operating systems default popupmenu in java. And i also have problem for using mnemonic for JPopupMenu, it works well when i first press right click of my mouse and use the specified mnemonic for that the a

  • Just installed tiger, can't shutdown

    Hi I just installed Tiger on my Emac. It works great. Just that when I initiate shut down,screen stays on. everything quits o.k. after finder quits all I have is the desktop picture, and the computer stays on. I am able to shutdown by pressing power

  • Reducing app size and using memory

    Building with release preference Blank App template will give you a ~200kb .exe, which in running state use ~7mb of memory. It has a huge list of external dependencies. So, is it possible to reduce app size and using memory? Or, how safely unlink fro

  • Can't install Skype (6.18), Code 1638

    Instead of auto-updating skype, the program manually asked me to install the recent update. When I tried to, it gave me an error saying: Installing Skype Failed; code 1638 Another version of this product is already installed. Installation of this ver