Unable to add AP Invoice using DTW

Unable to add AP Invoice using dtw. Customer is trying to upload negative values,Both in the line and header.
We get the following error :Invalid Total [OPDN.doctotal]

Hi,
Depending on the SBO version, you cannot do negative AP invoices; as Gordon mentioned, you want to import those as AP credit memos. I believe it's in 8.8 that you can have negative AP/AR transactions.
Heather

Similar Messages

  • Partially Paying AR Invoices using DTW

    I am trying to add a cash payment for $500 against a $1000 invoice using DTW by filling in the below fields. However, it is closing the invoice even though it hasn't been fully paid.
    Are there additional fields that I need to fill in to specify that I want to keep the invoice open?
    Thanks,
    Mike
    Payments Object:
    Recordkey = 1
    CardCode = "5AGRIL1"
    CashAccount = "_SYS000000000951"
    CashSum = 500.00
    DocDate = 20050701
    Payments_Invoices Object:
    Recordkey = 1
    DocEntry = 5
    SumApplied = 500.00

    Hi Mike,
    Here's a cleaned up snippet that makes the payment partial if the payment sum is less than the open total for the invoice. It's written in VB6 (sorry for that).
    Henry
    Public Function CreateIncomingPaymentForInvoice(inv As Documents, invoiceDocEntry As Long, inBankAccount As String, sumApplied As Double, paymentDate As Date, strGLAccount As String) As String
        Dim pay As SAPbobsCOM.Payments
        Dim lRetCode, lErrCode As Long
        Dim sErrMsg As String   
    On Error GoTo PayFailed   
        Set pay = vCmp.GetBusinessObject(oIncomingPayments)
        'The following line enables partial payment
        pay.Invoices.sumApplied = sumApplied
        pay.cardCode = inv.cardCode
        pay.cardname = inv.cardname
        pay.BankAccount = inBankAccount
        pay.docDate = paymentDate
        pay.TaxDate = paymentDate
        pay.TransferDate = paymentDate
        pay.docCurrency = "EUR"
        pay.ApplyVAT = tYES
        pay.TransferAccount = strGLAccount
        pay.TransferSum = sumApplied
        pay.Invoices.docEntry = invoiceDocEntry
        pay.Invoices.DocLine = 1
        pay.Invoices.InvoiceType = it_Invoice
        lRetCode = pay.Add     
        If lRetCode = 0 Then
            CreateIncomingPaymentForInvoice = "" ' no error
            Exit Function
        End If
    PayFailed:
        vCmp.GetLastError lErrCode, sErrMsg
        CreateIncomingPaymentForInvoice = "" & lErrCode & ", " & sErrMsg
    End Function

  • Unable to add AP Invoice

    Unable to add AP Invoice based on a Purchase order or even directly for one particular item.
    We get the following error
    Stock Account is not defined [ AP Invoice Rows- Warehouse Code] Line 2 'Item Code' Message Message 173-77
    We are unable to create goods issue,goods transfer or Goods Receipt for this item
    Regards
    Farheen

    Hi Rekha........
    As you know there are three types of GL Accounting Method.
    1. Warehouse
    2. Item Group
    3. Item Level
    If you are doing Purchase Invoice or GRN then you have to set all the stock related accounts.
    For GRN at least set Inventory account, Allocation Account, Purchase Account and Purchase Offset Account.
    For AP Invoice Based on GRN Sundry Creditors, Tax Accounts, Cenvat Clearing Account, Rounding Off.
    For Delivery set Cost of goods sold, Inventory account,
    For AR Invoice set Sundry debtors, Revenue account, Rounding Off
    If ur GL method is set by Warehouse then define those acocunts at warehouse level.
    If ur GL method is set by Item Group then define those acocunts at Group level.
    If ur GL method is set by Item  then define those acocunts at Item level.
    This will solve your problem.....
    Regards,
    Rahul

  • Importing Legacy A/R and A/P Invoices using DTW

    Hi All,
    I have in interesteing situation which I need some help for.
    We started using SAP B1 begining of 2008. We used DTW to import the open A/P and A/R invoices from last year (legacy data). We didn't want the legacy data to have any impact on P&L, only to be able to receive and make payments for these invoices in B1. Therefore we used a service inovice without posting to the revenue and COS accounts. Since it is not possible to post directly to a control account I created a new G/L account for Accounts Payable and Accounts Receivable (I called them AP Migrated and AR Migrated), which is not a control account.
    When preparing the DTW files, In the lines file I specfied the AccountCode as this AR and AP Migrated G/L accounts.
    Since the BP to whom these invoices relate to, have the A/P and A/R control account defined in the BP master data, each of these migrated invoices posted to the AP Migrated account with the Offset Account being the original A/P Control Account.
    Now that I am recording payments, the AP and AR accounts are being updated but not the AP and AR Migrated accounts. To illustrate: Let's suppose I migrated an AP invoice for $100. It posted to the AP Migrated account and the Offset Account being the AP Control Account. Now the balance on the AP Migrated Account shows $100, and the balance on the AP Control Account shows -$100. Now after I record the payment for this invoice the AP Control Account balance is $0, but the AP Migrated account still shows $100.
    How can this be rectified, and  is this the correct way of doing this?
    Many thanks,
    Myran

    >
    Suda Sampath wrote:
    > For anything to balance the debits and the credits must be equal.  If your AR Migrated account total matches the AP Migrated account, then you can balance them through Internal reconciliation or JE.
    >
    > The best way to balance this opening balance account is only when you import all the balances not just AR & AP.  If the AR and AP account do not balance, then the Internal Recon balacing account would be one of the P&L Accounts which would show in your P&L statement.
    >
    > Suda
    Hi Suda,
    Once again, many thanks for your good and speedy replies.
    I am only importing the AR & AP transactions which I need to process payments in the new fiscal year. I am not importing all the other PL stuff.
    Am I better off using then a seperate GL account for the AP and a seperate one for AR?
    BR,
    Myran

  • Invoice using dtw

    I used DTW to invoice 100,000 serial numbers it worked perfectly. But the AR-Invoice status shows open and printed how can i close that invoice.
    Sri

    ignore my question i already fround the result.

  • Uploading A/R Service Invoices using DTW.

    HI ALL,
          I need to upload A/R service invoices for our customer using DTW. I tried using the templates Documents and Document Lines in Invoices for the same, but I am getting an error "Location Is Missing". Where do I put the location..?? I tried using the warehouse code column but the error persists.... am i using the correct templates..?? How do i Upload these Service Invoices...??
    Thanks and Regards,
    Pritesh.

    Hi Pritesh......
    Sometimes in SAP Default templates Location code fields does not come. You have to create another template from DTW.
    Just login to DTW  and go to templates. Click on Maintain Interface and select the Sales and Choose AR invoice. There Click on Document_Lines first again go to Tools and click on create template and save it somewher.
    In this template you get the location code field then put the location code here. And then try to upload.......
    Regards,
    Rahul

  • Unable to add digital signatures using Adobe LCES Digital Security

    I have tried running the Sample Java code to add digital signature fields and add signatures. I am getting errors. The log file shows:
    com/adobe/idp/Context
    Jan 2, 2009 4:00:14 PM com.adobe.livecycle.signatures.common.CommonBaseException logException
    SEVERE: ALC-DSS-300-000 Generic SignaturesBaseException (in the operation : addSignatureField)
    Caused By: com/adobe/idp/Context(EjbMessageDispatcher.java163)
    Caused By: com/adobe/idp/Context(Class.java-2)
    ALC-DSS-300-000 Generic SignaturesBaseException (in the operation : addSignatureField)
    Caused By: com/adobe/idp/Context(EjbMessageDispatcher.java163)
    Caused By: com/adobe/idp/Context(Class.java-2)
    com.adobe.livecycle.signatures.client.SignatureServiceClient.addSignatureField(SignatureSe rviceClient.java:342)
    apple.AddSignatureField.main(AddSignatureField.java:53)
    Caused By: com.adobe.idp.dsc.DSCException
    com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java: 163)
    com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatc her.java:57)
    com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    com.adobe.livecycle.signatures.client.SignatureServiceClient.addSignatureField(SignatureSe rviceClient.java:324)
    apple.AddSignatureField.main(AddSignatureField.java:53)
    Has anyone worked with the JAVA API to add digital signatures on to a PDF file using Adobe LiveCycle ES 8.2? If yes please let me know.
    - Ragha

    This was traced back to one of the ini files still having a folder name from the last instance installed (i.e. SERVER6).
    So it is fixed

  • Unable to add further Edits using Adjustment Brush in Lightroom 5.

    Using Lightroom 5 - when I go back to a previously edited image to do further editing, using the Adjustment Brush, I open the effect that I want to use ( Dodge, for example) but all the sliders are inoperative. The word 'Dodge (Edited)' appears in the Effects header. Therefore I can't make any further changes to the image. I have opened the drop down Effects menu and ticked 'Restore default presets' but to no avail. Any solutions welcome.

    Thank you for that trshaner. The density was set at 100 but flow only 86. I've shoved that up to 100 now and I think we may have a result!
    Thanks again.

  • Unable to add volumes (Data Area Full)

    Hello,
    The data area in our MAXDB is 100 % full and the database does not come up in Online mode. It gives the following error -  "-24798 data area is full [db_online -f]".
    As it does not come up in online mode, I am unable to add data volumes using the GUI.
    Can you please let me know the steps to add disk files ? I believe I need to use command line interface and a few commands to achieve this. It would be great if you could let me know these commands to add new space in admin mode.
    This is MAXDB 7.6 on Windows.
    Thanks and Regards,
    Parag.

    Parag,
    if the database ran full during startup, it was not possible to add a data volume in MaxDB releases from 7.6.03.03 up to 7.6.04.04  - neither with the gui nor the command line.
    To fix the situation, you can start the database into admin mode and add a data volume prior going online.
    regards,
       Henrik

  • I'm unable to add the email address for iMessage, that I was using before iOS 7 to my iPhone, because it says that it is "in use by another device," but I have no other devices.  How do I resolve this so I can add this email address to my iPhone?

    I'm unable to add the email address for iMessage, that I was using before iOS 7 to my iPhone, because it says that it is "in use by another device," but I have no other devices.  How do I resolve this so I can add this email address to my iPhone to send and recieve iMessages?

    Sync your iPhone to iTunes, and see if that does the trick.  Also you could try a Soft Reset with no Risk to Data.  Holding down both the Sleep button and the Home button until the Apple logo appears and then waiting for the Reset to bring you iPhone back to the lock screen.    Are you trying to add the email at Settings>Messages>Send and Receive from (2 Addresses) your iPhone number and your email address?

  • Unable to add aspx file to document library using REST and JSOM in SharePoint Hosted App

    Hi,
    I am unable to add an aspx file to document library.  I was actually trying to create a WIKI page and upload to Pages library but that wasn't working so I tried simple document library.  It keeps failing with Access Denied error.  I have checked
    the blocked types and aspx is not included.  I can upload it directly from the browser so that shouldn't be the case.  I have read that it can be achieved with CSOM but I need this to work with a SharePoint Hosted App.  Here is my JSOM:
    factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
        context.set_webRequestExecutorFactory(factory);
        appContextSite = new SP.AppContextSite(context, hostweburl);
        oWeb = appContextSite.get_web();
        oList = oWeb.get_lists().getByTitle('Documents');
        fileCreateInfo = new SP.FileCreationInformation();
        fileCreateInfo.set_url("mywiki.aspx");
        fileCreateInfo.set_content(new SP.Base64EncodedByteArray());
        fileContent = "<%@ Page Inherits=\"Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c\" %> <%@ Reference VirtualPath=\"~TemplatePageUrl\"
    %> <%@ Reference VirtualPath=\"~masterurl/custom.master\" %>";
        for (var i = 0; i < fileContent.length; i++) {
            fileCreateInfo.get_content().append(fileContent.charCodeAt(i));
        newFile = oList.get_rootFolder().get_files().add(fileCreateInfo);
        context.load(newFile);
        context.executeQueryAsync(function () {
            alert('yo');
        }, function (sender, args) {
            alert(args.get_message() + '\n' + args.get_stackTrace());
    If I change the file extension to "txt", it works.  Same with REST implementation, it works with "txt" but fails with "aspx".  Maybe what I am trying to do will not work using JSOM or REST.  Any suggestions?  Your
    help is always appreciated.
    Regards,
    kashif

    Your code works fine in both my on-premises and SharePoint Online. I have given the app full control, so I suspect this is a permissions issue. I would check your permissions on your appmanifest. Must be something to do with publishing permissions. Try
    giving full control and work the permissions down.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Unable to add Incoming Excise Invoice

    Hi All,
    While trying to add Incoming Excise Invoice, I'm gettin an error message,"Tax Definition, Message 173". I have checked the tax code and type, all the accounts are mapped here . What is causing this error and how to correctly add this document??
    Thanks in advance,
    Joseph

    Hi,
    Refer this note:559660  on Error message "Tax Definition (No.)" appears
    Symptom
    When attempting to add a document the message -"Tax Definition (No.)" appears
    Other terms
    Tax Definition, Error, Invoice, Credit Memo, AP Invoice, Message, Red, Add, Document, Invoice, Payment
    Reason and Prerequisites
    No General Ledger (G/L) account has been defined for tax groups used in the document
    Solution
    When you add a document that creates an automatic Journal Entry (e.g. Invoice, AP Invoice and Credit Memo), a relevant posting must be placed in accounting for the tax amounts in the document.
    If you select tax groups with a tax % of more than zero, then this must be recorded in the accounting system to the appropriate G/L Account defined for the tax group in "Administration" -> "Definitions" -> "Define Tax Groups" -> "VAT Account" / "Acquisition Tax" columns
    If no G/L Account has been selected for this kind of group, the system will display an error message, indicating the row number that contains a tax group with no G/L Account e.g.(1) and the document will not be added
    To remedy the described problem please perform the following steps:
       1. Select "Administration"
       2. Select "Definitions"
       3. Select "Define Tax Groups"
       4. Locate the tax group you used in the document
       5. Locate the VAT Account column and select an appropriate G/L account
       6. In case this tax group is of Input Tax type and the Acquisition Tax column is flagged you need to also select a G/L account in the Acquisition Tax column
    Hope this is helpful !

  • TS3147 I have been unable to add an HP Photosmart C4480 printer to my existing printer list using a USB connection. My current operating system is OS X  version 10.9.1. It seems that software is available, but it doesn't work. Any suggestions?

    I have been unable to add an HP Photosmart C4480 printer to my existing printer list using a USB connection. Software seems to be available and thought I had downloaded it, but doesn't work. Any suggestions?

    Try deleting the printer, restarting, and trying software update again.
    If that doesn't work, you can download the entire HP package here:
    http://support.apple.com/kb/DL907

  • Since the last software update, I am unable to add new contacts or change existing contacts - neither if I use the green Phone app nor using the brown Contacts app. Any suggestions?

    since the last software update, I am unable to add new contacts or change existing contacts - neither if I use the green Phone app nor using the brown Contacts app. Any suggestions?

    *Update*
    I thought I had found the offending 'app' namely "Songpop."
    I regularly use "Songpop" on my phone late at night via my wifi connection.
    All enteries on my phonebill are at midnight (even though I have a data allowance it was excluded from allowance). I switched 3G off on Friday, played "Songpop" at midnight and at the exact time I got a "Server Error" message.
    I posted a message on the "Songpop" support forum.At first they said this was a problem relating to my ISP.
    I have spoken to my ISP and asked if there are connection drops at the time I have been billed (ie to establish if my wifi dropped and 3G kicked in without my knowledge) and have been advised that there aren't any connection drops at that time.
    "Songpop" have now responded that "This is an issue to take up with Apple Support"  see: http://support.songpop.fm/songpop/topics/playing_songpop_on_phone_via_wifi_but_i ncurring_download_data_charges_for_3g_useage?utm_content=topic_link&utm_medium=e mail&utm_source=reply_notification
    Hopefully someone at Apple can respond ....

  • How to add Freight Charges to an invoice using DI API?

    I need to be able to add Freight Charges to an invoice of suppliers using DI API. Please I need help....!!!

    Hi,
    1. Step: Open the Invoice using oDocument.GetByKey("[DocEntry]")
    2. Step: Use the Lines in the BusinesObject (maybe copy them in an extra LinesObject for a better reading)
    3. Step: Use the Add()-Method to add a new Line
    4. Step: Fill the Line-Properties you want
    a.E.
    oInvoice.Lines.ItemCode = "FREIGHT"
    oInvoice.Lines.ItemDescription = "Freight Charge"
    oInvoice.Lines.Quantity = 1
    oInvoice.Lines.Price = 10.0
    oInvoice.Lines.UnitPrice = 10.0
    Remember: The Item (ItemCode) you want to insert must be existing
    5. Step: Update the main-Business-Object
    a.E.
    oInvoice.Update()
    Hope that help´s
    best regards
    Jochen

Maybe you are looking for