Amount to Reconcile in Debtors Outstanding  balance query

Hi Experts.
Below is the query i used to run Debtors Outstanding Balance. and its working fine but we need Amount To Reconcile Debit and Amount To Reconcile Credit Fields also..
so pls modify this query and help me...
SELECT T0.[TransId],T0.[RefDate], T0.[TransType] AS 'Origin Doc.Type', T1.[BaseRef] AS 'Origin Doc.No', T1.[ShortName], T2.[CardName],
T1.[Account], T1.[ContraAct], T1.[CreatedBy], T1.[Debit], T1.[Credit], T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo]
FROM dbo.OJDT T0 
INNER JOIN dbo.JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN dbo.OCRD T2 on T2.CardCode = T1.[ShortName]
WHERE T1.[MthDate] IS NULL AND T2.[CardName] LIKE '[%0]%'
Regards,
Vamsi

Do you mean this:
SELECT T0.[TransId],T0.[RefDate], T0.[TransType] AS 'Origin Doc.Type', T1.[BaseRef] AS 'Origin Doc.No', T1.[ShortName], T2.[CardName],
T1.[Account], T1.[ContraAct], T1.[CreatedBy], T1.[Debit], T1.[Credit], T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo], (T1.[Debit] - T1.[BalDueDeb]) AS 'Amount To Reconcile Debit', (T1.[Credit]-T1.[BalDueCred]) AS 'Amount To Reconcile Credit'
FROM dbo.OJDT T0 
INNER JOIN dbo.JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN dbo.OCRD T2 on T2.CardCode = T1.[ShortName]
WHERE T1.[MthDate] IS NULL AND T2.[CardName] LIKE '[%0]%'
Thanks,
Gordon

Similar Messages

  • Debtors Outstanding Balance

    Hi Experts,
    I need a report for Debtors Outstanding Balance(Unreconcilled Transactions)Bill Wise.
    It can be achieved by
    Business Partners>BP MasterData>AccountBalance -->Internal Reconcilliation.
    But everytime we have to go for each customer master data and we have to take the report.So pls guide to get the report all the debtors by writing a query..
    We need the Unreconcilled transactions  by each customer.. suppose if i give the customer details (From C001  to C1100) it needs to generate the report.
    We need(Customer Name,Transaction No,Origin No,Posting Date,Amount,Debit,Credit,Amount to Recomcile,Balance Due,Details)
    Thanks in advance,
    Vamsi.

    Hi Vamsi,
    Try this Query Report, it will be display the Unreconciled Transactions Report.
    SELECT T0.[TransId],T0.[RefDate], T0.[TransType] AS 'Origin Doc.Type', T1.[BaseRef] AS 'Origin Doc.No', T1.[ShortName],
    T1.[Account], T1.[ContraAct], T1.[CreatedBy], T1.[Debit], T1.[Credit], T1.[BalDueDeb], T1.[BalDueCred], T1.[LineMemo]
    FROM OJDT T0 
    INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
    LEFT JOIN OCRD T2 on T2.CardName = T1.[ShortName]
    WHERE T1.[MthDate] IS NULL
    AND
    T1.[ShortName] BETWEEN '[%0]' AND '[%1]'
    Regards,
    Madhan.

  • Outstanding balance on Invoice

    Is there any report or easy way to find the outstanding balance on a invoice .For example if the invoice amont is 1000 dollars and partial payment is $200,the outstanding balance is 800.My client want to see a report where he can see the total amount like 1000 dollars and outstanding balance $200.

    Srikanth
    There is no standard report for this kind of requirement but you can definitely build a custom ABAP report.
    Whenever you short pay an invoice, a new residual item will get created for the remaining amount. This new residual item has a field called "residual" which has the original invoice document number. Using this logic you can build your report.
    For instance, let's say your document type for payments in DZ. Your logic should be written in a way that it will look at all the documents with doc type DZ for which this field is not blank. These are your short-paid invoices. Then you will go to their corresponding invoices (using the residual doc number) and fetch the original invoice amount.
    Assign points if you find this useful.

  • Outstanding balances and Credit Limit Query

    Hi Experts!
    Can anyone write a query wherein it shows the following columns:
    1.) Customer Code
    2.) Customer Name
    3.) A/R Outstanding Balance
    4.) Total amount of checks of that particular customer that have due dates after  the current system date.
    5.) Sum of 3 and 4
    6.) Credit Limit
    Your immediate response is highly appreciated.
    Warm regards,
    Jen

    Hi!
    Thank you for your response.
    What I meant about the 'Total amount of checks of that particular customer that have due dates after the current system date' is let us say today is date in SAP, I want to see the total amount of checks that have due dates after today.
    Example:
    Current Date: 09-09-09
    Check 1: Amount: 1000, Due date: 09-09-09
    Check 2: Amount: 2000, Due date: 09-10-09
    Check 3: Amount: 3000, Due date: 09-11-09
    Total amount of checks of that particular customer that have due dates after the current system date = 5000
    5000 is the sum of Check 2 and Check 3.
    Hope you understand.
    Warm regards,
    Jen

  • Need Help to build a report "GL Account-wise Outstanding Balance as on"

    Hi All,
    i have a requirement to build a GL Account-wise Outstanding Balance as on date...
    report format
    1.Date of Transaction     
    2.Journal Source     
    3.Journal Category     
    4.Opening Balance     
    5.Debit for the period     
    6.Credit for the Period     
    7.Closing Balance
    Parameters
    Company Code
    Account No
    Account Description
    GL Date(As on)
    Currency
    my query
    select trunc(gjh.posted_date) "Date of Transaction",je_source "Journal Source",je_category"Journal Category",
    abs(sum((begin_balance_dr-begin_balance_cr))) "Opening balance",sum(period_net_dr) "Debit for the period",sum(period_net_cr) "credit for the period",
    abs(sum((begin_balance_dr-begin_balance_cr)+(period_net_dr-period_net_cr)))"Closing Balance"
    from gl_je_headers gjh,gl_je_lines gjl,gl_code_combinations gcc,gl_balances gb
    where gjh.je_header_id=gjl.je_header_id
    and gjl.code_combination_id=gcc.code_combination_id
    and gcc.code_combination_id=gb.code_combination_id
    and gjh.currency_code=gb.currency_code
    and gjl.set_of_books_id=gb.set_of_books_id
    and gjh.period_name=gb.period_name
    and gcc.segment1='01'
    --and gjl.code_combination_id=12854
    and gjh.currency_code='USD'
    and gb.actual_flag='A'
    and gjh.status='P'
    and gjl.status='P'
    and gjh.period_name=to_char(sysdate,'Mon-yy')
    group by gjh.posted_date,je_source,je_category
    pls someone help me to correct the query

    Well, you may want to look at the activity for one specific account, in detail, before you try to get involved in summarizing/grouping the detail. That way you will begin to understand what the grouping function in the SQL statement is going to do to you. You do not say what is wrong with your query, but I am assuming that your numbers for the Opening Balance and the Closing Balance are too high. Would that be a correct assumption? The problem, as I see it, is that you are joining the gl lines detail to the gl balances table. That means every record (row) in the join for that account for the desired period is going to have the beginning balance dr and cr columns. So if you sum up that column, you are going to sum up the beginning balances multiple times. What you need to do is first summarize your detail activity by the date, journal source, and journal category, and the debits and credits sums, for the period in question, and store that result, Then do a second query that joins that result set to the gl_balances table. Also not sure what null values are doing to you, if you have them in the debit and credit fields. You may have to convert the null values to a 0 as part of this whole process. Or do this via a custom program. Or if you have a data warehouse, you might want to see if you can handle this in the data warehouse. So some options to thiink about.
    John Dickey

  • I have been with Verizon since 1995 (I was an employee for years). I attempted to upgrade 2 of the 4 lines on our account today, but couldn't. We have an outstanding balance (though we have received no past due notice via mail, email, or text and make reg

    I have been with Verizon since 1995 (I was an employee for years). I attempted to upgrade 2 of the 4 lines on our account today, but couldn't. We have an outstanding balance (though we have received no past due notice via mail, email, or text and make regular payments every month) that I would love to pay, but our bank account number was stolen, so we can't access our account until Monday. Because we were unable to pay our outstanding balance, we were told we can't order the phones today during the special promotion (that ends today). No one can help us, though we have no way of doing anything until Monday when our bank reopens and can reimburse us for the money that was stolen from us. No one in customer service can help us (they can't process the order but not ship until after we make payment on Monday, they won't honor today's promotion on Monday due to our special circumstance, nothing). They stated that "corporate" makes the rules and they have no idea how I can reach corporate to discuss the matter. Without the promotion, we will be charged full price for the phones on Monday, which will cost us an additional $300.00. Any help would be appreciated. Thanks.

    I hope that you aren't complaining about dropped calls INSIDE your condo because no amount of switching or upgrading devices will solve that.
    VZW will not guarantee service inside of any structure. There are just too many factors. If the problem is inside then you might want to look at one of the following:
    1.) Network Extender (may cause issues for others in a condo or apartment style setting)
    2.) A Google Voice Number (Free with a Gmail email address), downloading Google Hangouts Dialer and forwarding your calls to the GVN so that you can make and receive calls over Wi-Fi.

  • Account has locked!pay your outstanding balance ? so what am i supposed to do ?

    I have a problem about billing information. "The billing of a previous purchase has fail because your payment card was declined. Please provide valid payment card information and lick Done to pay your outstanding balance..." . So what am i supposed to do? how i can use my account continue..Please help me!

    You will need to put in a valid payment method e.g. a credit card (I don't think that debit cards are still accepted) that is registered to the same name and address as on your iTunes account and was issued by a bank in that country, or possibly (if they are available in your country) you may be able to use iTunes gift cards - until any outstanding amounts have been paid you won't be able to buy or download content from the store.

  • How can I pay off my outstanding balance???

    So heres my story, I was dumb and used a pre-paid credit card to buy apps in the app store on my iphone 4. My account now has an outstanding balance of 25.17$ and I was looking for a way to pay it off. If I redeem 3 10$ iTunes gift certificates to my account, will it deduct the amount that i owe then I can have my account back to normal? I would prefer to NOT use a credit card if possible. Thanks

    I'm no expert (well this is a user forum!) but if you bought using the credit card (pre-pay or post pay) you will have to pay them.
    Apple doesn't run a tab (again as far as I know), they will have charged your credit card company already.
    So the credit card will be the one to pay.

  • HT1918 Change country whilst having an outstanding balance

    I have an outstanding balance on my UK iTunes account, but I no longer have a UK payment card.  When trying to change my address and country to the Netherlands, I'm presented with a text box saying I have an oustanding balance to pay.  Fine, I can pay, but with a Dutch card only.  Then another box appears which says I have no network connection, which isn't quite true as I'm connected to the internet and all other portals work fine.
    It seems I must pay my outstanding balance with a UK card, but I have none.  I can't change my country from the UK to the Netherlands without paying the balance with a UK card.  I feel like I'm in a stalemate.  Can anyone assist?

    Alas, the assistance offered from iTunes support has only made the situation worse.
    They suggested I purchase an iTunes gift card to clear the balance on my account and therefore be able to change the country and payment card. 
    So I bought €25 of gift card and now iTunes refuses to accept the credit....because it's not denominated in British Pounds.
    Original iTunes representative now refusing to respond to my query.

  • What does it mean when it says 'use this credit card for outstanding balance of.....'?

    hello. i got a gift card for itunes and it wouldnt let me use it. its on my account but i cant buy anything. everytime i try it takes me to my billing and i have a credit card on the info but i dont use it anymore and i dont know how to take it off. also its telling me that i have and outstanding balance of $39.06 and i had a limit on my credit card and i only use that or a gift card so i dont understand how i owe that much. can you please help me with this problem?
    thank you!
    Brittani Kinchen

    The problem is that iTunes allowes you to spend a certain amount on Gift cards/prepaid cards even if there is only $1 balance left on the card. It doesn't chack to see how much money you have left on the card, only that it can pre authorize for $1 only. Purchases of about $37 or less aren't charged right away at purchase allowing these negative balances.

  • Outstanding balances of vendor

    hi all
    how we will Transfer  Outstanding balances of one vendor to another vendor.
    thks in adv
    rgds
    sree

    Hello  Sree...
    If I tell ur answer how many marks u will give to me...
    If u want to know the answer cal me...
    Regs,
    Bhaskar

  • How do you pay the outstanding balance on your iTunes account?

    I have an outstanding balance on my iTunes account somehow, and o can't download anything or update anything on my phone, it just tells me to update my card info and then tells me my security code is invalid. Which it's not. I could update my stuff on the computer but I had to uncheck the box that says "authorize this card to pay the outstanding balance on your account" I have enough money to pay the balance, but I just wanna know know
    How to pay the dang thing so I can fix everything and make it so
    I can download the stuff again.

    Settings>iTunes and App Stores>Apple ID>View Apple ID>Sign-in>Payment Information

  • I cannot pay my outstanding balance as Apple will not let me.

    How in the world would I pay my outstanding balance of 40 dollars If apple will not let me? I had already voiced my concerns to apple via  email and the only means I could pay my outstanding balance as per their instruction is through itunes gift card. I am unable to use credit cards or debit cards as my apple id account is associated with too many cards (Yeah Right) so in effect I am compelled to  purchase an itunes gift card which I did from an online store. HOWEVER, I am unable to use the said gift card as it is only for the US itunes store as I found out in my attempt and my account is set on the Philippine itunes store which renders the gift card absolutely useless; furthermore I cannot switch countries due to the RESTRICTION. I went to support AGAIN and still got the intstruction that I need to use itunes gift cards to pay the balance. This time I went to a Power Mac center and told me that they do not sell itunes gift card for the itunes Philippine store and in fact they and all other branches are not engaged in selling itunes gift cards anymore. I went to other retail stores and told me itunes gift cards are readily available for purchase but it is for the US store only and NEVER for the Philippine store. In fact, they told me that itunes gift cards for the Philippine store DOES NOT EXIST. I went back to the Power Mac center, told them this and they did confirm with the fact that there is no such thing as an itunes gift card for the Itunes Philippine store and they even suggested that I need to make a new account. ***? I emailed apple about this and up to this moment no reply. Now, how am I supposed to pay my outstanding balance? This is such a huge inconvenience in my part, I wish apple would have been more wiser in giving instructions. Now, anyone... Suggestions?

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Payments and outstanding balances of a customer

    hi,
    we are using CRM 4.0. whats is the t-code to check the outstanding balances and pyaments made by a specific customer. similar to FBL5N in ECC. Pls help.
    I need to check the product availability[stock status[ while placing an order online. what is the t code for the same.
    Rgds,
    Anitha J

    hi,
    As CRM does not support accounting directly, CRM transaction is not available for checking Customer balances and payments.
    You have to use  backend transaction FBL5N to check that.
    reg,
    chait

  • In Debtors Trial Balance Report single customer only displaying

    When i run the India - Debtors Trial Balance Report the Parameter Customer LOV its showing only single customer..

    Hi Senthil,
    i just now checked this in my environment, i was able to see almost all of my customers in the LOV field...
    Also i checked the report is displaying all customers i.e. customers for which additional information is not configured in India Localisation module is also getting displayed ...
    Also i checked Oracle support environment, there are no reported issues on these lines till date ... Are you in the latest report version ...?
    Regards,
    Ivruksha

Maybe you are looking for

  • Remote app won't connect after using it and closing it

    Hello,     I currently have iTunes 11.1.3.8 installed on my computer which runs Windows 7. I am trying to get the remote app to work on my iPhone 4S running iOS 7.0.3. I connect to the Remote App using the remote 4-digit code. Once I do this it works

  • A centred page moves about when scroll bar appears DW Cs5?

    Hi everybody, I have noticed that when you have web pages centred, that the pages annoyingly move about when a scroll bar appears. Some times a page is longer than the browser window and so a scroll bar appears on the right which allows the viewer to

  • I have LR 4.1 installed and need CR 6.7 to edit in PS CS5.  Is it available?

    All links to CR 6.7 download that I can find point to PS CS6.

  • R12 : Find out portlist in an ebs R12

    Hello, In 11i we can find all port list used by EBS in a file named $APPL_TOP/admin/out/INST_SERVEUR/portpool.lst What is the equivalent in R12? Is there a file with all ports ? Or could you please suggest me an other way ? Thanks in advance.

  • Exporting HD to AVI or Mov

    Hi there We have produced a movie in HD (PAL 1440 x 1080 , 25 frame p/s) .. running CS4, all good so far! We are needing to get it to Eurosport on a digibeta tape, in Standard Definition 720x576. We have a local guy who can convert from either AVI or