Create Outgoing Payment

Hi,
Here's a newby question I guess.
I'm able to create an Incoming Payment
by the use of
SAPbobsCOM.Payments Payment = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments);
but I didn't find any object to use for an Outgoing Payment
So how do I create an Outgoing Payment

Hi Marc
trying wiht:
oVendorPayments (nº 46):  Payments object that represents payments to vendors.
In code:
SAPbobsCOM.Payments Payment = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(BoObjectTypes.oVendorPayments );
I hope useful
kinds regards

Similar Messages

  • Using DTW to create Outgoing Payment for two Incoming Payment on Accounts

    Hi Experts,
    I hope you can help me with something i'm trying to do please.
    The scenario is this:
    Customer has two Incoming Payment on Accounts:
    £0.30
    £10.00
    I am trying to create a DTW Outgoing Payment for the same Customer which selects these two Payment on Accounts.
    I am using the spreadsheets OVPM and VPM2.
    OVPM:
    DocNum  DocType    CardCode      TrsfrSum
    1              rCustomer  C23900          10.3
    VPM2:
    ParentKey   DocEntry   InvType          PaidSum
    1                  77              it_Receipt       10
    1                   78             it_Receipt        0.30
    Please note:  77 and 78 are the Incoming Payment Numbers.   I have not left any columns out of my templates when I do the import.
    I keep getting an error message which says u201CBase document card and target document card do not matchu201D, I found Note 1254839 for this but I have the correct BP and upper/lower case.
    I have tested on 8.81 PL04 and PL07 and get the same results.
    Any advice would be greatly appreciated!
    Thanks so much,
    Caroline

    Hi Gordon,
    Thanks for your email.
    The sceanrio is that the Incoming Payments have already been made (as POA) in SAP on a Customer Account. 
    Now the situation is that an Outgoing Payment needs created via DTW against the same Customer, but which selects the two POA which were made as Incoming Payments.
    I can do it in SAP whereby I don't use DTW, but whenever I use DTW I get that error message.
    Any help would be appreciated.
    Thanks again,
    Caroline

  • How to create a single outgoing payment?

    Hi All,
    Can any body tell me that how can i create an Outgoing Payment without Invoic references? I can In the BusinessOne UI, but I can't with DI API.
    If any body having the code for creating Outgoing Payment without Invoice reference, please send to me.
    Please Help me!
    Thanks in Advance,
    J

    Hi József,
    Just look at the SDK Helpcenter for the Payment sample,  and don't use the oPayment.Invoice part.
    Hope this helps,
    Ian

  • Outgoing Payment (Check) via DI API SDK

    Hey everyone, I'm trying to create an outgoing payment to a customer as a check through the DI API and I'm getting this error "[ORCT] , 'Error (-1004) encountered.'". I believe this is the incoming payment table so I'm not sure why it's part of the message.
    The payment object I am creating is "GetBusinessObject(oIncomingPayments)" so that may be part of it but there isn't an "oOutgoingPayments" for me to use. I've only completed the required fields to reduce the chance of errors being caused by something else (except for object code indicating it's an outgoing payment but maybe outgoing payments require more info). Also, these checks aren't based on any invoices.
    I noticed there is an "oVendorPayments" object as well so I'm not sure if I should be using this one or not.
    Here's the code I am using:
    Payments _payment = (Payments)SBOCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments);
    _payment.CardCode = "C0001";
    _payment.CashSum = 19.95;
    _payment.TransferAccount = "112200-01";
    _payment.TransferSum = 19.95;
    payment.DocObjectCode = BoPaymentsObjectType.bopotOutgoingPayments;
    _payment.Checks.BankCode = "CBT-GA";
    _payment.Checks.CheckSum = 19.95;
    _payment.Checks.Add();
    if (_payment.Add() != 0)
      //failed

    Hi Barend,
    Thanks for the help. I'm now able to create outgoing payments after much trial and error ;). My only question now is how can I use the GL Account number (eg. 112200) instead of the internal account code (_SYS00000000004)? If I switch to 112200 or 112200-01 I get an error "[OACT] , 'No matching records found (ODBC -2028)'" but when I look in the OACT table, the SYS00000000004 record has 112200 for Segment0 and 01 for Segment_1. All the samples I've seen just use the GL account number so I'm not sure what I'm doing wrong.
    Payments _payment = (Payments)SBOCompany.GetBusinessObject(BoObjectTypes.oVendorPayments);
    _payment.CardCode = "C0001";
    _payment.DocDate = DateTime.Now;
    _payment.DocType = BoRcptTypes.rCustomer;
    payment.CheckAccount = "SYS00000000004";
    _payment.Checks.BankCode = "TEST";
    _payment.Checks.CheckSum = 19.95;
    _payment.Checks.Add();
    if (_payment.Add() != 0)
      //failed

  • Payment Wizard :outgoing payments for customers

    Hi,
    it would be very nice if the payment wizard could handle outgoing payments for customers.
    I can pay a credit memo for customers manually but not by payment wizard.
    For example:
    1 invoice +1000u20AC
    1 credit note -1500u20AC
    total = -500u20AC
    --> payment wizard should create outgoing payment about 500u20AC.
    best regards
    Markus

    This Requirement is very important. I can't understand that the payment wizard can't handle this case.

  • Error: Journal for Outgoing Payment in 2005A SP01 PL10

    Hello all,
    Our customer creates Outgoing Payment for A/P Invoice in FC, and the document is successfully created (added).
    They check the Account Balance from Business Partner Master Data, and the JE for the payment is created. When they click on the yellow arrow on the left of Origin No., the system replies "No matching record found. Outgoing Payment (OVPM) (ODBC 2028) [Message 131-183]".
    Well, they then try to view the last journal created in Journal Entry, but there is no journal with the same number listed in Journal Entry. Afterward, they try to create a new Journal Entry, a new Goods Issue, a new Outgoing Payment, or any new transaction with journals; but all failed with the message: "This entry already exists in the following tables " (JDT1) (ODBC -2035) [Message 131-183]. Well, anyone can help?
    Thanks,
    Alvin

    Dear Alvin,
    Please log a message with SAP Business One support immediately providing the details and screenshot.
    This seems to be missing header issue.
    regards
    Preety Goel
    SAP Business One Forums Team

  • Post Dated Cheque for Outgoing Payment

    Dear All Experts,
                When i Create outgoing payment for post dated cheque then it will be effected in our current Bank Account Balance.
            So, How to create outgoing Payment for Post dated Cheque? Plz. Give me the Solution .
    Thanks,
    Arabinda Pal

    Hi Arabinda Pal,
    the current balance in the CoA will always reflect the balance of all transactions, not just the transactions up to the system date.
    To make a postdated cheque outgoing payment, the dates on the payment should be that future date. As soon as you post the payment, the balance of the gl account will be affected. To see the balance of that account up to a certain date, clickon the orange arrow to get to the account balance window. In the criteria, tick By Posting Date & in the 'to' field, enter the date until which you want to see the transactions. Scrolling to the bottom of the window will give you the balance of that account at that date.
    All the best,
    Kerstin

  • Add Outgoing Payment

    This is my code for creating Outgoing Payment.
    Dim payment As SAPbobsCOM.Payments = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oVendorPayments)
    payment.DocDate = Date.Now
    payment.CardCode = "Testing"
    payment.PayToCode = "Testing PTD"
    payment.DocType = SAPbobsCOM.BoRcptTypes.rCustomer
    payment.IsPayToBank = SAPbobsCOM.BoYesNoEnum.tNO
    payment.CashSum = 15
    payment.CashAccount = 123456
    if payment.Add() 0 Then
    oWrite.WriteLine(SBO_Company.GetLastErrorDescription)
    oWrite.WriteLine("Add Outcoming Payment: Record Fail")
    end if
    Question:
    When the CashSum is 15, the AddOn will have an error message: Data cannot be empty in one of the tables Doc1, Doc3, Doc10. http://VPM2.InvoiceIdline: 0
    But When the CashSum is changed to 50, the outgoing payment can successfully create.
    Do the code have any problem to make this error?
    SAP Version: SAP Business One Verison 2005B Patch 35

    Yes, it can successfully create in SAP B1 (UI).
    But Using the addon for the same data, the error will orrur.
    Actually, I don't know why it can create when I change the Amount of the payment using the addon.
    PE: FOR MY FINDING: the DI API cannot create the payment when it is lower than or equal than $30.
    Which version of SAP Business One can solve this problem?
    Edited by: Gordon Ho on Apr 19, 2010 8:04 AM
    Edited by: Gordon Ho on Apr 19, 2010 9:02 AM
    Edited by: Gordon Ho on Apr 19, 2010 9:03 AM

  • Outgoing Payment Issues - No matching records found (ODBC - 2028)

    Hi Experts,
    I am trying to create the add-on which automatically create Check payment against the vendor for the AP invoice and i am getting the issue, "No matching records found (ODBC - 2028)". 
    To know the exact reason of the issue i hardcode invoice, vendor name, cash account, bank code, bank account etc... but i am getting the same error. I also tried by using check account for both header and detail (check detail transaction) and i am getting the same error.
    The weird thing is the same code work in my development and test machine but it is not working on Live machine and another development machine. The machines which is getting error is one Live company with SAP 8.8 PL13 and another is OEC demo company having SAP 8.8 PL13. I dont think there could be account missing issue since i am getting the issue in OEC demo company as well, please correct me if i am missing something.
    I tried different things to resolve the issue you can see my code below where i have commented lot of things after trial. 
    I was trying to resolve the issue in this simple piece of code for last few weeks without any luck, so can you please help to resolve the issue. Please refer by below code which i was trying to create Outgoing payment.
                oOutgoingPayments = gCompany.GetBusinessObject(BoObjectTypes.oVendorPayments)
                oOutgoingPayments.DocType = BoRcptTypes.rSupplier
                oOutgoingPayments.CardCode = "V10000"
                'oOutgoingPayments.CardName = "Acme Associates"
                'oOutgoingPayments.CheckAccount = "_SYS00000000006"
                'oOutgoingPayments.CheckAccount = "11100000"
                oOutgoingPayments.DocDate = Date.Now
                oOutgoingPayments.DueDate = Date.Now
                'oOutgoingPayments.TaxDate = Date.Now
                oOutgoingPayments.JournalRemarks = "V10000"
                'oOutgoingPayments.TransferDate = Date.Now
                oOutgoingPayments.CashAccount = "11100000"
                oOutgoingPayments.Invoices.InvoiceType = BoRcptInvTypes.it_PurchaseInvoice
                oOutgoingPayments.Invoices.DocEntry = 89
                'oOutgoingPayments.Invoices.DocLine = 0
                oOutgoingPayments.Invoices.DiscountPercent = 10
                oOutgoingPayments.Invoices.SumApplied = 324
                'oOutgoingPayments.Invoices.Add() '// I tried with add also but no luck
                'oOutgoingPayments.Checks.CountryCode = "USA"
                oOutgoingPayments.Checks.BankCode = "BNY"
                oOutgoingPayments.Checks.AccounttNum = "145-4267-6703"
                oOutgoingPayments.Checks.Branch = "Main"
                'oOutgoingPayments.Checks.CheckAccount = "11220000"
                oOutgoingPayments.Checks.DueDate = Date.Now
                oOutgoingPayments.Checks.CheckSum = 324
                'oOutgoingPayments.Checks.Add()
                intErrCode = oOutgoingPayments.Add()
                If intErrCode <> 0 Then
                    gCompany.GetLastError(intErrCode, strErrMsg)
                Else
                    blnSuccessPayments = True
                End If
    I will wait for your positive Feedback.
    Thanks & Regards,
    Naresh

    Dear Naresh,
    The following could be the causes of the error.
    1. The BP is not avaliable in the other companies.
    2. The account which you have given is wrong. I guess you are using Account segmentation so the accounts would start with _sys... so please check with the correct account settings.
    Hope it helps,
    Vasu Natari.

  • Approval procedure for Outgoing payment

    Dear all expert,
    I want to know how to make approval procedures for outgoing payment. So, everytime user create outgoing payment, it can't be printed until it's approved by Chief Acct. Where do i set this approval, because i see in the approval module, there is no  outgoing payment document.
    Thanks

    I have checked that, at least until 2007A version PL49 Outgoing payment has not yet added to Approval Template.  You may use SP Transaction Notification to block some users for posting.
    Thanks,
    Gordon

  • Approval procedure on outgoing payment for Cash and bank transfer

    Dear Expert
    I want to know about outgoing payment approval
    Is it possible to set approval on payment means base ?
    Like I need to set approval for my user
    case 1 is : - If my user make payment by cash more then 5000 then approval it should be approved by manager
    And if my user make a outgoing payment by cash more then 100000 then it should be approved by MD
    Case 2 is If my user create outgoing payment by Bank transfer then more then 25000 then it should be approved by manager
    And if it is by bank transfer more then 500000 then it should be approved by MD
    IS it possible ????? Please guide me
    Thanks
    Riny

    Hello Sir
    Thanks for reply , Well I created query and executed but its giving false value but when i attached this query on approval , Its not working ..
    Please help me and also please comment on my another thread which is about No matching record found error
    Thanks

  • I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the "Recommendation Report" screen, I clicked "Non-Included Trans." and saw that one of the vendors (Vendor Code: WILCO) has the followi

    Hello,
    I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the “Recommendation Report” screen, I clicked “Non-Included Trans.” and saw that one of the vendors (Vendor Code: WILCO) has the following error:
    “The document amount is greater than the max. amount allowed in the payment methods linked to the BP”
    Upon checking, the “PCF-W” Payment Method linked to WILCO does not have any restrictions, nor does WILCO have any credit/commitment limit set. I have also appropriately defined the Dummy Business Partner Bank (under Payment Terms) as well as checked the “Included” box for PCF-W on the Payment Run-Payment Methods screen.
    Could anyone please help me on this?
    Salamat,
    Cat

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • A/R Invoice - Create two outgoing payments

    Hi,
    We have issue here regading A/R Invoice Payment.
    The A/R Invoice is $100, the payment is $200 with Interact card (Direct account payment) with $100 cash return.
    The present does not work in B1; but will be developed in future release.
    The present can be solved according to Peter Dominik, B1 Solution Management as follow:
    Create two outgoing payments:
    - payment to vendor (payment for his bill)
    - payment on account reposting balance from Bank Account to some
    PettyCash account (cash
    withdrawal from bank account)
    Now I need to source code for the present solution; because all SDK is 1 A/R Invoice and 1 Payment. Now we have to do 2 outgoing payments. We need your help for this solution.
    Please find the code for one transaction below; we need 2 payment transactions.
    Thank you,
    Rune
    oPayments = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments);
    oPayments.Invoices.DiscountPercent = 0;
    oPayments.Invoices.DocEntry = vmp_DocEntry_Int32;
    oPayments.Invoices.DocLine = 0;
    oPayments.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Invoice;//13;
    oPayments.Invoices.SumApplied = vmp_Amount_double;
    oPayments.Invoices.Add();
    oPayments.CardCode = vmp_CardCode_string;
    oPayments.DocDate = DateTime.Now;
    oPayments.JournalRemarks = "Incoming - Payment Bank Transfer";
    oPayments.TaxDate = DateTime.Now;
    oPayments.TransferAccount = vmp_BankAccount_string;// "_SYS00000000343";
    oPayments.TransferDate = DateTime.Now;
    oPayments.TransferReference = vmp_CardCode_string;
    oPayments.TransferSum = vmp_Amount_double;
    vc_Message_Result_Int32 = oPayments.Add();
    if (vc_Message_Result_Int32 != 0)

    hi Vitor,
    I need a code sample for Peter's suggestion using the code I provided:
    Create two outgoing payments:
    - payment to vendor (payment for his bill)
    - payment on account reposting balance from Bank Account to some
    PettyCash account (cash
    withdrawal from bank account)
    Thank you,
    Rune

  • Problem creating an outgoing payment with DI API

    Hi
    I've created a form that allows a user to select a BP and automatically reconcile the accounts for this BP by creating an Outgoing Payment. It all works fine for Invoices, Credits, Purchase Invoices etc., however if the account balance contains Incoming or outgoing payments I am not sure how to treat these as there is not an invoice type (SAPbobsCOM.BoRcptInvTypes) for these. For the other types of document I simply declare what type of invoice the document to be added to the outgoing payment is by looking at the Transtype field of the record from the JDT1 table. I then use the JDT1.BaseRef field to retrieve the document's DocNum which I use to return the DocEntry by looking in the relevant table e.g. for invoices - OINV. All I then need to do is set the OutgoingPayments.Invoices.DocEntry value to this DocEntry and Add the line.
    I also have the same problem with Opening Balances as I can't seem to figure out what to set the DocEntry value to as this seems to be stored as a Journal Entry which uses the TransId for it's primary key, however this does not seem to work.
    Thanks a lot.
    Steve

    Hello Steven,
    You can use createdby field to determine the docentry of the base document instead of quering docentry by docnum
    select createdby, transtype, baseref from jdt1
    Note: Always set the correct document type for payments: (createdby is ok in integer format)
    Example:
    Opening Balance:  JE # 8 amount 1000, created by Opening balance (not JE)
       vPay.Invoices.DocEntry = 8
       vPay.Invoices.InvoiceType = BoRcptInvTypes.it_OpeningBalance
       vPay.Invoices.SumApplied = 1000
       Call vPay.Invoices.Add
    Opening Balance:  JE # 8 amount 1000, created by Journal Entry
       vPay.Invoices.DocEntry = 8
       vPay.Invoices.InvoiceType = BoRcptInvTypes.it_JournalEntry
       vPay.Invoices.SumApplied = 1000
       Call vPay.Invoices.Add
    Sales Invoice:  DocEntry: 11  amount 1000
       vPay.Invoices.DocEntry = 11
       vPay.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice
       vPay.Invoices.SumApplied = 1000
       Call vPay.Invoices.Add
    Regards,
    J.

  • FB01 - Create an outgoing payment with a Bapi

    Hi there, I'm trying to simulate outgoing payments with BAPI_ACC_GL_POSTING_POST but I'm finding problems, does someone knows if this is the right bapi ??
    I'm finding problems 'cause the bapi needs a gl account but I have to put the vendor code and I don't know if I'm doing right, I'm putting the code for the items (25 and 50) in the accountgl-doc_type field.

    You don't need to put posting key ( In fact with the Doc Type and the amount sign +/-, the Bapi deduce posting keys )
    For the header you need :
    [code]
      documentheader-obj_type = 'BKPFF'.
      documentheader-obj_key = '$'. " If external Num.
      CONCATENATE sy-sysid 'CLNT' sy-mandt INTO documentheader-obj_sys.
      documentheader-username   = sy-uname.
      documentheader-bus_act    = 'RFBU'.
      documentheader-header_txt = s_notilus-header_txt.
      documentheader-comp_code  = s_notilus-comp_code.
      documentheader-fisc_year  = sy-datum(4).
      documentheader-doc_date   = s_notilus-doc_date.
      documentheader-pstng_date = sy-datum.
      documentheader-doc_type   = s_notilus-doc_type.
      documentheader-ref_doc_no = s_notilus-ref_doc_no.
    [/code]
    Hope it helps
    erwan

Maybe you are looking for

  • Mac Pro 5,1 (mid 2010) constantly crashes / reboots

    I'm running the Marverick on Mac Pro 5,1 and over the last 4 weeks it is rebooting itself every frew hours. On a few occasions it happened before I've managed to save my work - meaning all changes were lost. It's really irritating as you can imagine.

  • Trouble connecting via airport

    Hey everyone, so I am having trouble connecting to my wireless router. Everytime I want to connect I have to change my IP address, any solutions to this? Thanks.

  • Prob in Order Creation

    Dear All Gurus,                             in the time of creating Order systems giving error "routing not found" .how to asign routing with order. i am new in pp .I am a mm consultant.pls help me out thanks sandip

  • Layout ICONs disabled ECC 6

    Hi, I am not able use the Layout ICONs, as they are disabled. For eg. after executing the report FBL5N I am not able to change the layout. This is disabled. I have checked the setting Accouting Editing Option using FB00 Kindly give me your valuable i

  • Poor Performance using Videos on Networked Attached Drive (NAS)

    Finally I got tired of trying to keep all 5 of our home computers syncronized together. The NAS box solves many of the problems. Two issues have arrived. First the playback of my videos from the NAS seems to robbed my CPU performance. Song files perf