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
Marco
Hi 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
Similar Messages
-
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,
ChinhoTry 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 -
Vendor wise payment term or po wise payment term with details
Dear All,,
Please provide us detail of payment terms from PO Sr. No. 5500000839 to 5500001284 . any sap standard report of any sap standard tcode
or
vendor wise payment term or po wise payment term with details
with warm regards
pritpalPO wise payment term u can get in ME2n report..
Vendor wise from LFM1 or LFA1 table
Check MKVZ report -
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 -
Payment methods for automatic incoming payment processing.
Hi,
We have been using 'f110' program for automatic outgoing payment processing. Now we are trying to set the incoming payment processing using the same program. It should be mentioned that its a Canadian organization. For outgoing payment, we have been using Bank transfer method, one of the available methods for outgoing payment. Our organization wants the same bank transfer method for the incoming payment processing. However, Bank transfer method is not belong to the group of incoming payment methods, rather it has the following methods:
1. Debit memo
2. Bill/ex
3. Bill/ exch. pyt req.
4. Payment demand .
I am just wondering is there anyway we can include the bank transfer method inside the incoming payment group or we can use any of the existing method for the same purpose.
Reagrds,
LokmanDear Lockman,
The payment method "B" can just be:
If outgoing payment: Bank Transf
If incoming payment: Debit memo
So Debit memo means Bank transfer for incoming payment.
I hope this helps.
Mauri -
We currently have a batch jobs running for each, automatic incoming payment and open items. This was set up in the past and we are trying to determine what the difference is for each of these functions? Do you need to have the automatic incoming run prior to the open items for residuals and payments on accounts?
Hi Chris,
Program RFDM3000 creates dispute cases for residual items arising during automatic incoming payments (account statement, lockbox), during check presentation, or in postprocessing.
Alternatively, you can use the program to create dispute cases for open receivables items. You can use the selection criteria to restrict the quantity of open items (for example, using the document type and posting key for residual items from incoming payment postings).
You will find more information in the link below
http://help.sap.com/saphelp_erp2004/helpdata/en/0b/e07340b0c6980ae10000000a155106/content.htm
Regards,
Jose -
Payment Terms in Vendor Advance payment & automatic set off aganist invoice
Dear Team,
As on 01.08.2014 there is advance payment made to vendor is Rs.10000 and the payment terms in vendor master 30 days and as on 16.08.2014 the vendor invoice has been raised for Rs.15000/- and the payment terms is same 30 days. According to the payment terms in the vendor invoice the net due date is calculated as 15.09.2014. Since already the advance payment is rs.10000 then how we can tel the system to consider this also and then calcuate net due date for the invoice raised as on 16.08.2014. Please suggest.
We suggested client to enter manually 0000 payment terms at the time of invoice. But they are not convinced.
Kindly check & do the needful
Regards,
Babu.Hi Babu,
You have to clear the advance through F-54 and here you have to provide the invoice doc.no. under the relevant invoice-invoice. Then system will consider net due date of invoice for advance also. I have attached screen shot for your reference.
Regards,
Mukthar -
Payment terms for open sales order
Hi All,
we are using a bapi in to create a open sales order:
BAPI_SALESORDER_CREATEFROMDAT1.
for this the payment terms are being checked against the t052 table .we have no errors in the test run .But when we upload the order it shows the payterm say 'z500' is not defined.
please let provide the info.
Thanks and regards
Anitha T SPayment terms comes from the Customer Master ? have u cross checked that one ?
regards
Prabhu -
Payment on Account in Incoming payment
Dear All,
We are creating a addon for incoming payment through DI API. We are adding incoming payment based on journal entry and Invoice. While creating this entry in incoming payment, Payment on account checkbox is automatically enabled for the balance amount if the amount of incoming payment is less than the value of Invoice or outstanding in the journal entry. In this scenario we are unable to do the next incoming payment for the same invoice or the same journal entry(Customer outstanding amount). The following is the coding we are using for this purpose. Can any one suggest us as how to solve this problem.?
ocompany.GetNewObjectCode(CStr(jeno))
oPmt = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
oPmt.DocType = SAPbobsCOM.BoRcptTypes.rCustomer
sNum = invno
oPmt.CardCode = custcode
oPmt.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry
oPmt.Invoices.DocEntry = jeno
oPmt.Remarks = crno
oPmt.DocDate = docdate.Date
oPmt.DocTypte = SAPbobsCOM.BoRcptTypes.rCustomer
oPmt.CashSum = chqsum
If oPmt.Add() <> 0 Then
MessageBox.Show(ocompany.GetLastErrorDescription)
SBO_Application.MessageBox("Problem in Payment for Invoice no: " & crno & " Problem found is - " & ocompany.GetLastErrorDescription)
Else
End If
Regards,
ChandramohanHello Thiya,
see this thread: [Re: How to do an incoming payment based on journal entry whit SDK ?]
I did post some example code from the sdk help.
HTH
Regards Teun Aben -
Payment terms - 31 days and payment next
Our customer wants to have a new payment term, with the following condition:
31 days after invoice date, payment next month in the same day. I want to know, if it's possible to have this kind of payment term?
Ex:
invoice date: 02/01
payment next (D+31): 03/02
payment next: 03/03
I did this configuration on OBB8:
Baseline date calculation addition months: 1 (for 1 month); 2 (for two months)..
Default for baseline date: Document date
Payment terms number of days = 1
So, whit this configurations, for months with 30 days the rule is rigth, but for the other months, it isn´t work.
Thank´Hi,
Define Fixed day = 3, and Additional months = 1.
rgds -
From where does the payment terms being determined while payment run.
Hello Friends,
When we run payment proposal, where did the system pick the payment term to determine if the vendor is due for payment? Did the system pick from the vendor masterdata or from Purchase Order?
Please help.
Thanks
MercyDear,
For any due date determination system always check into the document not the master data........if somehow payment term is not into document then system will not further look into master data but it will ignore the line item..
Regards,
Chintan Joshi -
Payment block set for Down payment requests processed via F110
When I process a vendor down payment request from F-47, it gets paid during F110. However it gets posted to Vendor a/c with special GL indicator and with a "payment block". I am not sure why the payment block is put automatically. Can this be functionality be changed.
Hello Krishna,
Can u pls elaborate the question.
Step1: Post down payment request F-47
Step2: Post down payment against request F110
When your getting this payment block.
however pls go through this path
IMG/FA/ARAP/Business transactions/Outgoing payments/Outgoing Payments Global Settings/Payment Block Reasons/Define Payment Block Reasons or Define Default Values for Payment Block
Regards
Murali -
Number range for payment advice note for Incoming payment
Hi
Where do we maintain the number ranges for internal generation of payment advice note?
Regards
Sanil K BhandariHi experts;
I would like to generate the number range externally (because we don't work with the payment advice).
precisely;
In FEBA TCODE I don't want that a payement advice number appear in the screen, I want the field empty for a manually clearing of ledger post.
regards. -
Hi There:
With the new Safari 7.0, sometimes a new windows open with propaganda or publicity. That's very unusual because I block the new windows in Safari preferences.
What can I do. My new Safari are vulnerable.
Please Comment.
Hola :
Con el nuevo Safari 7.0, algunas veces se abren nuevas ventanas con propaganda o publicidad. Eso es inusual porque está bloqueada la apertura de v entanas emergentes en las preferencias de Safari.-
Que puedo hacer? El nuevo Safari es vulnerable?
Comenten por favor.From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit. -
Payment terms for Customer Invoice with a credit line item
Hi all,
We have a business scenario where we create customer invoices on a weekly basis. The payment terms for these items are a certain payment discount if paid within 365 days. Included in these invoices are credit items which relate to refunds that are due to the customer.
Below is a scenario for Customer XXXX:
Invoice 1 Baseline date 12.01.2007
Invoice 2 Baseline date 08.02.2008
Invoice 3 Baseline date 15.02.2008
I have set up a payment run for this customer to direct debit their items. In my scenario I only want to pick up the first two invoices.
Therefore I set up the payment run to pick up those items which are due up to 09.02.2009, setting the next payment run posting date to 10.02.2009. I would expect the system to pick up only the first two invoices.
What the system does is that it pays/collects the first two invoices in total, but then selects only the credit items of invoice 3. I would expect it to ignore Invoice 3 altogether.
In another example if I had the same invoices, but invoice 3 did not have any credit items involved, then it does ignore invoice 3 as
expected.
I need to understand why for the credit items within a customer invoice are treated differently in relation to payment terms.
Thanks
NatalieIn the customer master assign a different credit memo term than the payment term.
Try changing the credit memo term for 3rd Invoice as such it do not fall in your selection criteria.
Maybe you are looking for
-
Error while updating the configuration files (MOB20003)
hi, After installing the BI 4.0 server, i am trying to configure mobile using mobile server configuration tool. When i enter all the information for non Blackberry option as i would like to access through ipad, its giving me the error message" Error
-
MPEG2 broken when upgrading to 7.0.2
Hello all, I upgraded to QT7.0.2 and afterward OSX can not recognize ANY MPEG2 file. The file shows up in finder but there is no QT icon. In fact, if I try to open one up it crashes my finder. I am running Panther 10.3.9 - G5 Dual 2.0 - 2.5Gig RAM -
-
Why isn't java working with safari 5.1?
I've been playing an online game lately that is powered by java. I saw there was a software update for my mac (os x lion i think) so i updated the software on my computer. Now, Java does not run on my computer, and i dont know how to downgrade to the
-
how to make a page header
-
Insertingand retrieving images in database using jdbc
i am new to jsp.i have to store and retrieve image files using oracle 8i.Then i have to display it using jsp. my code for storing image is package sample; import oracle.jdbc.driver.*; import oracle.sql.*; import java.sql.*; import java.io.*; import j