Cannot pay to account when the payment is to a business partner  [VPM4.AcctCode][line: 1]

Hi All,
I'm trying to Add through the DI a vendor payment, and to use transfer funds account as the paying method, however I get the error "Cannot pay to account when the payment is to a business partner  [VPM4.AcctCode][line: 1]" , when i tested it through the UI its working great.
anyone has an idea how to solve it?
               di.Payments payObj = (di.Payments)ClsConnection.Company.GetBusinessObject(di.BoObjectTypes.oVendorPayments);
                payObj.CardCode = "נ" + lender;
                payObj.DocType = di.BoRcptTypes.rSupplier;
                payObj.DocTypte = di.BoRcptTypes.rSupplier;
                payObj.IsPayToBank = di.BoYesNoEnum.tNO;
                payObj.ProjectCode = project;
                payObj.AccountPayments.AccountCode = lender.Replace("נ", "");
                payObj.AccountPayments.SumPaid= dicLenders[lender];
                //payObj.AccountPayments.VatGroup = ;
                payObj.AccountPayments.Add();
                payObj.Invoices.InvoiceType = di.BoRcptInvTypes.it_JournalEntry;
                payObj.Invoices.DocEntry = jdtID;
                payObj.Invoices.DocLine = LineId;
                payObj.Invoices.SumApplied = dicLenders[lender];
                payObj.Invoices.Add();
                //payObj.TransferAccount = lender;
                //payObj.TransferSum = dicLenders[lender];
                if (payObj.Add() != 0)
                    String err;
                    int errCode;
                    ClsConnection.Company.GetLastError(out errCode, out err);
                    ClsConnection.ShowMessage(err);
                    res = false;
Thanks.
Erez

Hi Erez,
You can't specify both - a BP for the payment and the accounts to pay (table VPM4) - this is a Contradiction!
If this is a payment to a vendor, then remove all line dealing with payObj.AccountPayments object.
If this is a payment to accounts, then leave objPay.CardCode empty and also set:
payObj.DocTypte = di.BoRcptTypes.rAccount;
Beni.

Similar Messages

  • Using Firefox, I can login and browse my financial institution (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads 66% and then hangs. Has anyone else reported having this issue?

    Using Firefox, I can login and browse my financial institution website (NFCU) but I cannot pay bills. When I click the bill pay tab, the tab loads about 66% and then hangs (loading). I have let it load until NFCU asks me if I want to cancel the session, a much to long of a load time. Has anyone else reported having this issue with NFCU or Mozilla Firefox 3.6.18?
    I have also posed the question to NFCU, currently awaiting response and will share what was given.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • Hello - I live in the UAE and my itunes account is regsitered here. Unfortunately the choice of music is not as good as when my account was registered in the UK. I cannot register my account in the UK as my bank details are all in the UAE now. HELP!

    Hello - I live in the UAE and my itunes account is regsitered here. Unfortunately the choice of music is not as good as when my account was registered in the UK. I cannot register my account in the UK as my bank details are all in the UAE now. HELP!

    Sorry, but no help is possible. You can only use the UAE iTunes Store, and Apple can only offer what content they are able to license for sale in that country. You'll have to look elsewhere for content. Whether there are any other download stores able to sell in the UAE I don't know. You may need to purchased CDs and import them into iTunes.
    Regards.

  • I cannot pay for subscription cause the system says the address for the invoice doesn't correspond to my credit card

    i cannot pay for subscription cause the system says the address for the invoice doesn't correspond to my credit card. It's not possible, my credit card doesn't correspond to any address

    These transactions help Adobe confirm that the credit card used is valid and not reported as lost or stolen. The transaction isn't charged to your account, and once your credit card company verifies it, Adobe removes the charge.
    http://helpx.adobe.com/x-productkb/policy-pricing/adobe-stores-online-order-payment-faq.ht ml
    You can also contact Adobe Support to place the order.
    Regards
    Rajshree

  • HT204088 i have balance in my account when my payment method decline

    i have balance in my account when my payment method was decline

    If you have a credit card on your account (I don't think that debit cards are still accepted), whether or not you have a balance on your account, then it needs to be registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, be issued by a bank in your country and you need to be in that country - otherwise you may get the 'declined' message. If you can't see anything wrong with the card details, and you've checked with the card issuer in case it's them that are declining it, then you could try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I cannot change apple id when the app store asks me to update anything

    i cannot change apple id when the app store asks me to update anything

    App Store products can only be updated by signing in to the store with the same Apple ID that was originally used to download them. You can't update anything, including your own purchases, as long as there are pending updates linked to the other ID.
    If you can't sign in with the other ID, you have to delete all the apps that are linked to it. If you don't know which apps those are, see below.
    1. Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    2. In the Finder, press command-F to open a search window, or select
              File ▹ Find
    from the menu bar. In the search window, select
              Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu of search criteria, initially showing Kind. From that menu, select
              Other...
    A sheet will drop down. In that sheet, select
              Raw Query
    as the criterion, then click OK or press return.
    Now there will be a text box to the right of the menu of search criteria. That's where you enter the raw search query. Click in that box and paste the text you copied earlier by pressing command-V.
    3. The search window will now show all the App Store products that are installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    4. At least one of the apps in the Spotlight search results is not among your purchases in the App Store. Delete each such item by following the instructions in the Apple Support article linked above.
    5. Quit and relaunch the App Store.
    If you find these instructions confusing, ask for an alternative method.

  • How do I verify my iCloud account when the email address apple wants to send the instructions to no longer exists?

    How do I verify my iCloud account when the email address Apple wants to send the instructions to doesn't exist?  I know I need to change the email account associated with iCloud but there doesn't seem to be a way to do so.  Any help would be greatly appreciated!! 

    Did you create an entirely new ID or did you just change the Gmail address to a new email address on your existing ID?

  • Triggering a workflow when the payment proposal F110 is confirmed/finished.

    Hi All,
    Please kindly give me your good advices that how can I start to create a workflow for payment proposal F100. The requirement is that after the payment proposal has been confirmed and completed. It needs to be triggered and automatically send out an email notice for the those vendors, the vendor email address is collected from vendor master record FK03.
    I guess it can use REGUH-XVORL, If "X" means that this is proposal record only. If " " means that it's not a proposal record, which should be a confirmed record yet.
    Please kindly instruct me how to get this task done, since I am a fresher SAP and workflow.
    Thank You Very Much.
    JC

    Hi,
    I have exactly the same requirement.  I need to trigger a workflow when the payment proposal is completed. 
    I've been searching for the answer on the internet.  Several people have asked the same question, but I haven't seen any real answer to the question yet. 
    There is no standard SAP business object for payment proposal, there is one for payment request which uses F111.  There is no standard workflow template, the one for payment release is only for releasing individual invoice.  There are answers about restricting the authorisation, it helps, but it doesn't meet all requirements.  We have people create payment proposals in UK for companies in Europe.  We really need a workflow resolution.  Seperating the authorisation will still require the person who created the proposal sending email to people in different countries to approve the payment.
    Two technical problems that we are facing. 
    1. There is no existing business object. I've been told that we should should ABAP Class.  And include the IF_WORKFLOW in the interface.
    2. There is no event created when the payment proposal is completed.  We are working on creating an event.  I've been told to use SWE_EVENT_CREATE function module. 
    If you have more information about how this can be done, or if there is any easier way, please let me know.  I will be very grateful.
    Thanks,
    Manlee

  • Sending an email when the payment run its finished

    Dear experts,
    I need to generate an email to only one recipient when the payment run its finished (F110).
    Can you help me with this?
    Points will be rewarded.
    Rgs.

    Hi
    If its just sending an email this can be achieved.
    An ABAP program can be developed to trigger this email and the same can be attached in the print programs tab of Automatic payment run with proper variant.
    But, if an workflow needs to be triggered then its a very huge task.
    Check if there is any standard SAP workflow for the same, i think there isn't any like that.
    Let me know if you require any further details.
    Kalyan
    Assign points if helpful

  • Hi, I want to purchase the complete creative cloud at S$60 , however, in my account, at the payment page, it's appear RM currency and the selection of country does not include singapore. How am I suppose to purchase?

    Hi, I want to purchase the complete creative cloud at S$60 , however, in my account, at the payment page, it's appear RM currency and the selection of country does not include singapore. How am I suppose to purchase?

    Hi there,
    The country selected while creating the Adobe account was selected as Malaysia, so you get to see the price in RM.
    ^Ani

  • 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream cont

    I am getting error while accessing url of lyncweb.domain.com, dialin.domain.com and meet.domain.com pointing to RP server.
    502 - Web server received an invalid response while acting as a gateway or proxy server.
    There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
    Regards, Ganesh, MCTS, MCP, ITILV2 This posting is provided with no warranties and confers no rights. Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

    When i try with https://lyncfrontend.domain.local:4443 and https://lyncfrontend.domain.com:4443 both opens but when i open the external domain name i get certificate .
    ARR version installed is 3.0
    To throw more light on the configuration:
    Lync 2013 implemented, internal domain name is : domain.local and external domain name is : domain.com
    All servers in VMs are with 4 core processor, 24gb ram, 1TB drive.
    Frontend : Windows 2012r2 with Lync 2012 Standard Edition - 1 No (192.168.10.100)
    Edge : Windows 2012 with Lync 2012 Std - 1 No 
    (192.168.11.101 DMZ) in workgroup
    ISS ARR Reverse Proxy 3.0 : Windows 2012 with ARR and IIS configured. (192.168.11.102)
    Certificate : Internal Domain root CA for internal and External (Digicert).
    Internal Network : 192.168.10.x /24
    External Network (DMZ) : 192.168.11.x /24
    Public Firewall NAT to DMZ ip for firewall and RP server. So having two public IP facing external network.
    Edge has : sip.domain.com, webconf.domain.com, av.domain.com
    IIS ARR RP server has : lyncdiscover.domain.com, lyncweb.domain.com, meet.domain.com, dialin.domain.com
    Have created SRV record in public : _sip.tls.domain.com >5061>sip.domain.com, _sipfederationtls._tcp.domain.com>5061>sip.domain.com, _xmpp-server._tcp.domain.com>5269>sip.domain.com
    Installed frontend server using MS Lync server 2013 step by step for anyone by Matt Landis, Lync MVP.
    Internal AD Integrated DNS pointing Front-end
    Type of Record FQDN
    IP Description 
    A sip.domain.com
    192.168.10.100 Address internal Front End  or Director for internal network clients 
    A admin.domain.com
    192.168.10.100 URL Administration pool
    A DialIn.domain.com
    192.168.10.100 URL Access to Dial In 
    A meet.domain.com
    192.168.10.100 URL of Web services meeting
    A lyncdiscoverinternal.domain.com
    192.168.10.100 Register for Lync AutoDiscover service to internal users
    A lyncdiscover.domain.com
    192.168.10.100 Register for Lync AutoDiscover service to external users  
    SRV Service: _sipinternaltls Protocol: _tcp Port: 5061
    sip.domain.com Record pointer services to internal customer connections using TLS 
    External DNS pointing Edge & Proxy
    Type of Record FQDN
    IP Endpoint
    A sip.domain.com
    x.x.x.100 Edge
    A webconf.domain.com
    x.x.x.100 Edge
    A av.domain.com
    x.x.x.100 Edge
    SRV _sip._tls.domain.com
    sip.domain.com: 443 Edge
    SRV _sipfederationtls._tcp.domain.com
    sip.domain.com:5061 Edge
    A Meet.domain.com
    x.x.x.110 Reverse Proxy
    A Dialin.domain.com
    x.x.x.110 Reverse Proxy
    A lyncdiscover.domain.com
    x.x.x.110 Reverse Proxy
    A lyncweb.domain.com
    x.x.x.110 Reverse Proxy
    In IIS ARR proxy server following server farms are added and configured as per link ttp://y0av.me/2013/07/22/lync2013_iisarr/
    In proxy server had setup only following server farm : While running remote connectivity web service test : meet, dialin, lyncdiscover and lyncweb.
    The client inside works fine internally and through vpn. Login with external client also working fine. But we are getting error in MRCA as follows.
    a) While testing remote connectivity for lync getting error : The certificate couldn't be validated because SSL negotiation wasn't successful. This could have occurred as a result of a network error or because of a problem with the certificate installation.
    Certificate was installed properly.
    b) For remote web test under Lync throws error : A Web exception occurred because an HTTP 502 - BadGateway response was received from IIS7.
    HTTP Response Headers:
    Content-Length: 1477
    Content-Type: text/html
    Date: Wed, 14 May 2014 10:03:40 GMT
    Server: Microsoft-IIS/8.0
    Elapsed Time: 1300 ms.
    Regards, Ganesh, MCTS, MCP, ITILV2 This posting is provided with no warranties and confers no rights. Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

  • Does the EBCC takes the timestamp of the files into account when the synchronisation occurs?

    We are running WL Portal 7.0 sp2.
    I had to re-deploy an older version of our portal application.
    I put back the old portal webapp and ran the EBCC to synchronize the approprate
    portalApp-project.
    In the EBCC I specified "Update all the files in the project." but after the deployment
    I received several stacktraces concerning webflows that couldn't be found.
    Does the EBCC takes the timestamp of the files into account when the synchronisation
    occurs?

    tomk wrote:
    The PKGBUILD has a depends array and a makedepends array. Anything that's required at runtime goes in the depends array, and must be installed for the application to run successfully. Anything that's only required at buildtime foes in the makedepends array, and can be removed from the system after the application has been built.
    man PKGBUILD and various wiki pages for more details.
    Anything that's only required at buildtime foes in the makedepends array, and can be removed from the system after the application has been built.
    ==================
    Who remove them ? user or the abs ??
    I think the best method is file dependence , not package dependence.....
    Software is arranged by package. but its dependence is file. When Install a package, pacman check its file dependence, and install the packages which include those files....
    If a  not explicit installed package 's file does not required by any other packages , it can be removed automatically !
    In this situation ,pacman can find packages that not needed after compilation, and remove them.
    Last edited by iamybj (2010-03-22 03:15:06)

  • Custom screen field in the SRM portal screen for Business Partner Bidder

    I need to add a custom screen field in the SRM portal screen for Business Partner. I have added this custom field in the include structure: CI_EEW_BUT000 and activated it.
    I was expecting to see the enhanced field available in the SRM portal screen when I create the bidder. But is not available.
    The new field are available if I edit an Business partner only.

    Hi,
    Please look into the following OSS Notes:
    Note 675800 - Business partner enhancement SRM on maintenance screen
    Note 672960 - User-defined fields 2
    Thanks,
    Pradeep

  • What is the importance of Only One Business Partner Allowed

    Hi all,
    We know that the Relation between BP and Contract account is :
    1 BP : n CA.
    If the above relation is true, I would like to know the importance of the configuration "Only One Business Partner Allowed" in the below path:
    Financial Accounting(New) >>Contract Acounts and Recievables>>Basic Functions >>Contract Accounts >>Field Modifications>>Configure Field Attributes for Contract Account Category.
    If we don't check the field for "Only One Business Partner Allowed" , Does it contradict to the 1BP : n CA relation ?
    Regards,
    Sai
    Edited by: kantesai on Aug 10, 2011 10:35 PM

    n BP : n CA relation is possible.
    One BP must be account holder from all BPs of CA. Rest of BPs can be Alternate Account, Spouse etc.
    Please check table FKKVKP from technical perspective, as both BP and CA are primary key. If it was 1 BP : n CA then there would have only VKONT been as primary key.
    Thanks,
    Murtuza

  • Price to Customer Changes When the Payment Method is Changed on Sales Order

    This is one I have never seen before and wonder how this can be corrected/blocked/changed...
    When a customer has a payment method of let's say "Check" and they place an order and decide to pay it with a "Credit Card", a system message comes up and asks if you would like to change the prices on the order according to the way the customer is payiing - say what???
    Well, first off that is about the wierdest thing I have ever heard - you are going to change a price because a person pays in a different manner???  Does anyone pay a different  price when they go to a restaurant, have a meal, and use their credit card instead of cash???  Does the restaurant charge you more because you are paying with a check???  Heavens no - so why would SAP make that function as a default instead of making it the exception it should be???  I am truly puzzled on this one.
    Sure there are discounts, but overall changing a price by way of payment is very bad - 99% of the time a person is going to pay the same price no matter how they pay - cash, check, COD, 1% 10 days, 2% 5 days, etc...
    I know, I know - the vast majority of answers will be just say "No" on the System Message Screen BUT since SAP B1 throws up so many useless System Messages, users tend to ignore them and just hit yes.  Changing the price of an order like this can be disastorous and I just cannot believe this function has not been challanged by someone in the user/customer community who have some common sense in seeing how bad/dangerous this can be...
    I am looking for a way to shut this off.  The payment method window requires you to enter a price list under the "BP" section.  How do I get this to be blank under the BP section and not change the prices of an item on an order just because someone is paying with a credit card instead of a check...
    Maybe I am missing something here but does anyone know what to change or what setting needs to checked???
    Thanks in advance...Zal

    Thanks for the reply Julie...
    I have heard of some places where there is a difference, but as I said before...that is the exception and certainly not the rule.  I do a good bit of traveling and a surcharge like that has happened to me maybe once - at the max twice.  I am not sure where the vast majority of SAP B1 installations are being used, but those some countries are definitely in the minority.
    Let's just face it, this is a bad system design.  First off, the payment terms should never have had a required connection to a price list - OR - SAP should have given the option to leave the price list field blank during the initial set up of payment methods and terms, and then leave the system message by the wayside.  When you have personnel who are paid commission on getting out orders quickly, this is just another button to click and their chance to take the next incoming order is delayed - not good.
    I have received about six Emails saying I should post this in a forum for consideration of changes/enhancements to SAP B1, and that is exactly what I am going to do.
    Take care - Zal

Maybe you are looking for

  • Time Machine repeatedly does full backups, including FileVault while logged in

    So let me preface this - for months I'd hoped for a way that Time Machine could backup my FileVault encrypted account without logging out.  Last night Snow Leopard spontaneously started doing this.  I know many may think that I'm looking a gift horse

  • Family sharing doesn't work with music

    I finally switched the kids over to their own iCloud accounts and turned on Family Sharing. They've been successfully added as members and when they want an app I get an approval request. I can also view their location. That all works fine, but they

  • Implicit enhancement for report painter (CJE2 & GRR3 reports)

    Hi, We have a client requirement to add 5 fields (In selection screen) to report painter reports ( Reports of CJE3 and GRR3 ).We created Z reports as a copy of standard reports, added required 5 fields by implementing SAP notes and other settings.We

  • Transition advices to new Mac Pro needed

    hi everyone ... I would like to ask your opinion in how to transition from my old Mac Pro to the new one that will arrive soon. my main concern is my old habit in using the 4 hard-drive slots of my old MP for so many years now: disk 1: contains the o

  • Writing data to log file

    Is it possible to write data to a log (text) file from within Crystal Reports, possibly in a UFL?  Is there a way that's already built in to CR? Thanks. Ron