How to query a list of open Incoming Payment with its Payment Means
Dear Experts,
As subjected, can anyone throw some light onto writing a query which list Open Incoming Payment and its total and payment means.
Much Thanks!
Warmest Regards,
Chinho
Try this one to start:
SELECT T0.CardCode Customer, T0.CardName 'Customer Name', CASE WHEN T0.CashSum > 0 THEN 'Cash' WHEN T0.CreditSum > 0 THEN 'Credit Card' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Method', T0.DocNum, T0.DocDate
FROM dbo.ORCT T0
WHERE DateDiff(DD,T0.DocDate,GetDate())< 31
Thanks,
Gordon
Similar Messages
-
Error while opening Incoming Payments
Dear all,
I'm getting error called 'Linking Primary Sales Accounts has not been completed' when I open Incoming Payments. Please advise how to rectify this error.
Regards,
BalajiHiii Balji
check this out , exact solution for ur question
Error: Linking primary sales accounts has not been completed
Good Luck
RIYAZ -
Query to view no of incoming payments for invoices.
HI Experts,
I want a query to see all the incoming payments(like payment1 and its cancellation and payment2 and its cancellation due to Bounce of cheque and subsequent new cheque, like that) for particular Invoices.
For Instances.
Like customer name,code, payment type, due date,cheque amount,check no ,status and such for all payments for the particular Invoice.
Can anyone help me out in this ground.
Thanks in advance,
Regards,
Dwarak.Hi Expert,
You are almost near to my Requirement.
Actually my Client Scenario is,
there are few Customers who will give PDC(Post Dated Cheque) to the Invoice. and that cheque either will be asked to HOLD or Bounce from Bank during maturity.(this is usual with few customers)
and again he will give new cheque1 and again that new cheque might also be bounced and another new cheque2 will be issued.
So, here i want to see a quick list , where i can see Related Payment and its status for that Particular Invoice.This will give the related old cheques and its corresponding new Cheque.
Examples:
By Giving Invoice NO: 222666(Our Invoice no)
Its Should List out,
Customer Code - Customer Name - Payment1(with its due date, status, chq no, chq amount)- if its has payment2(and its due date, status, chq no, chq amount)- its should continue with the N number of payments to that Invoice.
Thanks in Advance, -:)
Regards,
Dwarak. -
How do I get firefox to open pdf files with Adobe reader instead of google?
Firefox is unsucessfully using google to open pdf files. How do I get firefox to open pdf files with Adobe reader?
Message was edited by: veeryTalonted"Google" is a search engine (website) and NOT (repeat: NOT) a PDF viewer. It can't and won't open PDFs in any real or imaginable way.
Firefox added their own proprietary PDF viewer with version 20 - they're on 21 now. I'll be the first to admit "it sucks". You CAN'T fill in PDF forms with it, and you can't email them from the page like with Opera, Safari or Chrome (which use the reader plug-in still).
Unfortunately, the ONLY option you have now that they've added it and killed the ability for the Reader plug-in to work with Firefox, is Tools>Options>Applications - select Portable Document Format(PDF) and choose "Use Adobe Reader (Default)". What that will do is FORCE Firefox to download the PDF instead of opening it in their terrible PDF viewer in the browser window.
Or... use one of the other browsers I mentioned. They're all free. -
Add Invoice with Payment Terms set 'Open Incoming Payment' = Cash - with DI
Hi,
I have this type of problem: I have defined a Payement Terms (Payment Terms - Setup) and I have set the field 'Open Incoming Payment' = Cash.
In this way, when I create an Invoice and I put this 'Payment Terms' in Accounting Label, when I Add the Invoice, Sap open the 'Payment Means' form, and I must set the Total Cash of the payment. I set this field, click Ok, and then I'm able to Add the Invoice (and his Payment).
If I try to do this operation with DI API, when I call .Add() method, I retrieve this error: "Invoice & receipt must be paid exactly [OINV.GroupNum]". There is a method or property in SAPbobsCOM.BoObjectTypes.oInvoices that I must set to do automatically this operation?
What can I do this???
Thank you
MarcoHi Niall,
yes, I have set the property vInvoice.PaymentGroupCode = 2 , infact i retrive the error.
If i try to set PaymentGroupCode = 1 or PaymentGroupCode = 3 (other 'normal' Payments Terms), my procedure work correctly, and the Invoice are added.
If I try to set PaymentGroupCode = 2, i retrieve the error.
This is my simple code:
vInvoice.Series = 26
vInvoice.CardCode = "C0001"
vInvoice.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
vInvoice.DocDate = "10/01/2009"
vInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Service
vInvoice.PaymentGroupCode = 2
vInvoice.Lines.AccountCode = "11005010"
vInvoice.Lines.Quantity = 1
vInvoice.Lines.Currency = "Eur"
vInvoice.Lines.Price = 110
ret = vInvoice.Add()
If ret <> 0 Then
myDB.GetLastError(errCode, errMsg)
myapp.SetStatusBarMessage(errMsg, SAPbouiCOM.BoMessageTime.bmt_Medium, True)
End If
Thank
Marco -
Open a file with its defualt associated application
is there any way to open any file with its defualt associated application from a java program ?
Example:
In Windows I have a file example.txt and, from a java program, I would like opening it by the defualt associated application Notepad.
ThxTake a look at this thread:
http://forum.java.sun.com/thread.jsp?forum=31&thread=161228 -
How to calculate the RMS level of a signal with its spectral representation
hi!
how to calculate the RMS level of a signal with its spectral representation
thanks1. Find the length, N, of the spectral signal.
2. Convolve the magnitude of the signal with itself.
3. Take the Nth element of the resulting signal
4. Take the square root.
5. This should be the RMS value of your signal.
Randall Pursley
Attachments:
RMS.bmp 616 KB -
How to find the list of open shopping carts
Hi ,
i want to develop a custom program to find out the list of open shopping cart ( that is shopping cart in approved state but no follow on document created ). what is the best way to find this ?
the idea is to find the lsit of all open shopping carts created for a user who has left the organization and then change the goods recipient of shopping cartsHi,
I guess you could use the function BBP_PD_SC_GETLIST to provide some output of incomplete documents or narrow down a list based on various criteria like maybe of any BE_* objects are empty etc:
BE_REFOBJ_TYPE
BE_LOG_SYSTEM
BE_REFOBJ
BE_REFOBJ_ITEM
BE_OBJECT_TYPE
Regards,
Jason -
How can I save list of open tabs "on command"?
Would like to save list of open tabs so that I can go back to the same list of open tabs. Bookmarking saves them but does not tell me explicitly which tabs were open at any one time. I sometimes have more than 15 open, something happens and I have to start from scratch - i will miss some that I had open. Thus a "command" to save currently open urls to a file would solve this problem. Thanks
'''[https://addons.mozilla.org/en-US/firefox/addon/send-tab-urls/ Send Tab URLs]''' {web link}
Send a list of browser tab URLs to email, Web mail, or the clipboard -
Customer Aging Report Query (without invoices offset by incoming payment)
Hi All Experts,
May I know is there any field from JDT1 mention which invoices is already offset by the Incoming payment or AR Credit note? Because I do not want those invoices that already offset by incoming payment appear at the Customer Aging Report. Meaning, the data appear in the Customer Aging Report is only show those invoices that yet to pay by the customer. Kindly give some advise on it. Thanks a lot.
Thanks and regards,
Angie NgHi David,
Thanks for your suggestion. I have try it, but all of my JDT1.IntrnMatch is in 0 value. Meaning in my situation it is none of any reconcilliation making. But from my SBO window, i manage to see that actually this incoming payment is pay for which invoices. Problem is it is difficult for me to do the possiblity logic that might be happen in my Customer Aging Report Query. Please give some advise that how to show only those invoices yet to pay? The current query will show all the data no matter the invoices or credit memo has been offset.
select OCRD.cardcode 'Supplier Code',OCRD.cardname 'Name',sysdeb 'Debit GBP',syscred 'Credit GBP',
case JDT1.transtype
when '13' then 'INV'
when '14' then 'AR CN'
when '24' then 'INCOMING'
else 'Other'
end 'Type',
Ref1,
fccurrency 'BP Currency',
CONVERT(VARCHAR(10), refdate, 103)'Posting Date' ,
CONVERT(VARCHAR(10), duedate, 103) 'Due Date',
CONVERT(VARCHAR(10), taxdate, 103) 'Doc Date' ,
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 < 31
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "0-30 days",
case when ((datediff(dd,refdate,current_timestamp))+1 > 30
and (datediff(dd,refdate,current_timestamp))+1< 61)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "31 to 60 days",
case when ((datediff(dd,refdate,current_timestamp))+1 > 60
and (datediff(dd,refdate,current_timestamp))+1< 91)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "61 to 90 days",
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 > 90
then
case
when syscred= 0 then sysdeb
when sysdeb= 0 then syscred * - 1
end
end "90 + days"
from JDT1,OCRD where JDT1.shortname = OCRD.cardcode and cardtype = 'c' and intrnmatch = '0'
ORDER BY OCRD.CARDCODE, taxdate -
When Thunderbird starts, it opens incoming mail into the lower panel with a single click. But after an hour or two this no longer works and i have to double click to open the message which goes into a new window.
''abowie [[#question-1040591|said]]''
<blockquote>
When Thunderbird starts, it opens incoming mail into the lower panel with a single click. But after an hour or two this no longer works and i have to double click to open the message which goes into a new window.
</blockquote>
''Matt [[#answer-675789|said]]''
<blockquote>
sounds like a bad add-on to me. Restart holding the shift key and see if the issue arises again.
</blockquote>
Thanks for your response, Matt. I have now run for a fortnight without having to double click to see a new message. All add-ons are disabled and the trick will be to eliminate them one by one till I find the culprit.
Cheers, Alan -
How to make a draft of an incoming payment
I want to do a draft of an incoming payment, but i don't know how to do it, if is there any special object that o this(like odraft for document object). Anyone knows how to do ti? Thanks!
Hi Miguel,
Here is a sample:
Dim sboDraft As SAPbobsCOM.Documents
Dim lngRetVal As Long
Dim lngErrCode As Long
Dim strErrmsg As String
Dim strTransfer As String
sboDraft = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
sboDraft.DocObjectCodeEx = SAPbobsCOM.BoObjectTypes.oIncomingPayments
sboDraft.DocDate = YourDate
sboDraft.DocDueDate = YourDate
sboDraft.Lines.SetTheLineItemsYouWantInTheDocument()
lngRetVal = sboDraft.Add
If lngRetVal <> 0 Then
sboDraft.GetLastError(lngErrCode, strErrmsg)
MsgBox("Error: " & strErrmsg)
Else
Call sboDraft.GetNewObjectCode(strTransfer)
MsgBox("Draft Incoming Payment Created")
End If -
Query report for details of incoming payment received based on invoice
Hi expert
Can any one Improve this query !!!
SELECT T0.DocNum as 'AR Invoice Number',T0.DocDate as 'Posting Date', T1.CardCode, T1.CardName,
T0.DocTotal as 'AR Invoice Total',T0.VatSum as Tax,T1.CashSum, T1.TrsfrSum, T2.DocNum as 'Incoming Payment Number ', T2.DueDate as 'Check Due Date' ,
T2.CheckNum as 'Check Number', T2.CheckSum as 'Amount'
FROM OINV T0 INNER JOIN ORCT T1 ON T0.ReceiptNum= T1.DocEntry Left JOIN RCT1 T2 ON T1.DocNum = T2.DocNum ;
where T0.DocDate >=[%0] and T0.DocDate <=[%1]
For one particular invoice no 88 Amount INR 1345 the customer paid two cheques of amount INR 1000 ( Incomining payment no 21) dated 10/10/2009 and INR 345( Incoming payment no 25) dated 12/10/2009.
But My problem is this query showing only last one that is amount INR 345 of incoming payment no 25 of date 12/10/2009
Regards
Arun K SinghHi Arun,
Couple of things
RCT2 is the table which has links to the Invoices associated with a incoming payment, so you need to include that. Also the relation is between OINV and RCT2..so check this query
NOTE: You date range for selection in the WHERE statment is Invoice Date. You should consider using T1.DocDate which will be receipt rate.
The SQL below is just to show you the relationship between the tables. Based on the results requirement you will need to work with your JOINS
SELECT T0.DocNum as 'AR Invoice Number',T0.DocDate as 'Posting Date', T1.CardCode, T1.CardName,
T0.DocTotal as 'AR Invoice Total',T0.VatSum as Tax,T1.CashSum, T1.TrsfrSum, T2.DocNum as 'Incoming Payment Number ', T2.DueDate as 'Check Due Date' ,
T2.CheckNum as 'Check Number', T2.CheckSum as 'Amount'
FROM [dbo].[ORCT] T1
INNER JOIN [dbo].[RCT1] T2 ON T2.DocNum = T1.DocNum
INNER JOIN [dbo].[RCT2] T3 ON T3.DocNum = T1.DocNum
INNER JOIN [dbo].[OINV] T0 ON T0.DocEntry = T3.DocEntry
WHERE T0.DocDate >= '[%0]' and T0.DocDate <= '[%1]'
Suda -
How to trace deposit number for an incoming payment
Hi all
May I know how to trace a deposit number for an incoming payment that had already made deposit transaction?
Thanks alot
Regards,
Catea k.Under Incoming Payment, Check Register is the next menu item.
Just enter the selection including your required payment, you can find it.
Thanks,
Gordon -
How do you cancel a "credit card" (incoming payment, deposit)
Hi
How do you cancel a credit card payment
customer cancelled the deposit than the credit card summary, went to cancel incoming payment and it will not "no records found in credit card management"
how do we do it and if the above incorrect how do we fix itHi,
Check the following thread :
[Cancel Incoming payment|Re: Cannot cancel incoming payment]
Regards,
Jitin
Maybe you are looking for
-
How do you view the code differences for .java files versioned in a web dynpro project? They are not in the src fiolder for either active or inactive DC. I do see they are under the gen_wdp folder but the version tools are disabled there. This I a
-
Hi people, I would like to migrate a Performance Manager environment from DEV to PROD but I'm facing problems with linked objects. For example, I have an "Interactive Metric" from which I can open a Webi report, using the commad : Detail Analysis||ht
-
Hi, I'm writing some HTML code that includes multiple elements nested together, such as: <html><head></head><body> <b> <i> <p>The 2009 Spring Schedule</p> <table> <tr> <td> Cell 1 </td> <td> Cell 2 </td> </table> </
-
Hi , I have two version of oracle in my computer : 9i,10g, but i have my db only in 10g. others use 9i. the problem is that when i want to launch a batch on 10g , the DOS launch 9i , and i don't know what to do . exemple I want to execute this script
-
Acrobat 8.1 - Office 2007 Conversion Problem
Hello, I am having a problem converting a word document into a pdf. The problem is no text appears on graphs in the pdf. I pasted the graphs from Excel 2007 into Word 2007 as an Enhanced Metafile and Windows Metafile but neither seem to work. Does an