Invalid Code [Journal Entry] Line 2

Hi All
I did a patch upgrade from SP00 PL49 to SP01 PL05, now i get the error message listed in the Title;
Invalid Code [Journal Entry] Line 2, 2000/100
when doing outgoing payments to Creditors if I select the AP invoices, if i say payment on account it goes through as there is no auto-reconciling happening.
2000/100 from the error is the account code, which is my Accounts Payable account.
Any ideas, the account is not locked.

Hi,
You may check these threads first:
Error message when reconcile BP
Invalid code [JE rows-account][Line 2] '1040104001 '[Message 173-36]
Object Type
Updating journal entry
Thanks,
Gordon

Similar Messages

  • How not to get a 'Journal Import Created' description at the Journal Entry Lines?

    For records loaded thru the Journal import,
    I always get a 'Journal Import Created' description at the Journal Entry Lines.
    Instead of this description, I want a
    more useful information which I may
    include at the GL_INTERFACE table
    possibly at the REFERENCE10 field.
    For those who will reply to this question,
    thank you very much in advance.
    null

    To populate this journal description, the Reference10 field must be populated in the GL_INTERFACE table.
    However, I have also discovered (version 11.03) that if you populate this field, but then import summarized journals, Oracle discards the value and reverts to "Journal Import Created" unless the value in the reference10 field is identical for all records to be summarized.
    null

  • "View Journal Entry" line when "Export"shows 'Account Description' as TEST?

    When use "Line Drill Down" of Journal Entry line from GL & click on "View Journal Entry" button. The Journal line that appear when "Export" shows 'Account Description' as TEST in the excel or csv file. This issue is happening in Production. Is there any setup thats bringing this 'Account Description' as TEST or Oracle is defaulting this 'TEST'? What is the reason for this?
    It will be of great help if somebody explain this.
    regards,
    Sairam

    Try the patch 9695800.
    By
    Vamsi

  • Updating journal entry

    Hi all,
    I'm using DI API to update a DueDate of a journal entry. But when executing the update method i get the following error:
    "-10, Invalid Code [JDT1.ContraAct][line: 1], 'XXXXXXXX'" where XXXXXXXX is an account number.
    This is my code:
    If (oJournalEntry.GetByKey(iTransId)) Then
      oJournalEntry.DueDate = Today
      If (oJournalEntry.Update <> 0) Then
         vCompany.GetLastError(nErr, sErr)
      End If
    End If
    The same update can be made in the SBO Application. By the way, I'm using SBO 2005A SP01 PL3. Haven't tried in SP00.
    Thanks in advance,
    Ian

    Hi Ian,
    Very strange...
    I have tried to reproduce your problem in my machine (B1 version in the about window "2005A (6.80.316) SP:01 PL:03") and it works fine...
    Are you sure there is nothing special in your Journal entry regarding the accounts?
    My code is:
        Dim ret As Integer
        Dim je As SAPbobsCOM.JournalEntries
        je = pCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
        If (je.GetByKey(76)) Then
          je.DueDate = DateTime.Today
          ret = je.Update()
          If (ret <> 0) Then
            MessageBox.Show(pCompany.GetLastErrorDescription())
            Return
          End If
        End If
    Where 76 is the number of my last Journal Entry.
    Regards
    Trinidad.

  • How to get Data from SAP B1 through Journal Entries objects (Excel VBA)

    Hi Genius
    i had try to login SAB B1 thorugh MS Excel VBA code and it worked well. but i need some questions regards getting the data from after login. that means i want the Posting date, Transaction No, account code, debit and credit amount from Journal entries posted in a particular day through MS excel VBA into excel sheets 1 cell A1:E1
    how i get it if any possible ways to do that
    here my code to login
    Public Sub login()
        Sheets("Login").Select  'access the login tab
        Worksheets("Login").Range("B1").Activate 'put focus on cell B1 (manager)
        B1UserID = Trim(ActiveCell.Value2) 'set Businsss One user
        ActiveCell.Offset(1, 0).Activate
        B1Password = Trim(ActiveCell.Value2) 'set Business One password
        ActiveCell.Offset(1, 0).Activate
        sqluser = Trim(ActiveCell.Value2) 'set SQL user
        ActiveCell.Offset(1, 0).Activate
        sqlpass = Trim(ActiveCell.Value2) 'set SQL password
        ActiveCell.Offset(1, 0).Activate
        Db = Trim(ActiveCell.Value2)      'set Database name
        ActiveCell.Offset(1, 0).Activate
        Server = Trim(ActiveCell.Value2)  'set Server name
        Set company1 = New SAPbobsCOM.Company  'initialate DI company object
        company1.DbServerType = dst_MSSQL2005
        company1.Server = Server
        company1.DbUserName = sqluser
        company1.DbPassword = sqlpass
        company1.CompanyDB = Db
        company1.UserName = B1UserID
        company1.Password = B1Password
        'connect to the database
         lRetCode = company1.Connect
            If lRetCode <> 0 Then
                sErrMsg = company1.GetLastErrorDescription
                MsgBox (sErrMsg)
            Else
                MsgBox ("Connected to: " & company1.CompanyName)
            End If
    End Sub
    pls help me
    advance thanks to solvers

    Gordons way is the easiest - just query the OJDT table for journal entry headers and JDT1 for journal entry lines if needed.
    But if you want to work with the business objects:
    'Journal entry
       Dim oJE As SAPbobsCOM.JournalEntries
       Set oJE = company1.GetBusinessObject(oJournalEntries)
       oJE.GetByKey(1234)
       Dim postingDate as String
       postingDate = oJE.DueDate
    'etc etc

  • Outgoing Payment with journal Entry

    Hi guys I need your help
    I need to be able to do an outgoing payment based on a journal entry. This is my code but I get this error:
    "Base document card & target document card do not match"
    The journal is based on an incoming payment that was over paid and has a remaining balance.
    Thanks
                oOutPay.DocTypte = SAPbobsCOM.BoRcptTypes.rCustomer;
                oOutPay.CardCode = "CC0001";
               //oOutPay.Invoices.Add();
                oOutPay.Invoices.DocEntry = 106;
                oOutPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry;
                oOutPay.TransferAccount = globals.bankTrAccOP;
                oOutPay.TransferSum = 80;
                int lRetCode;
                lRetCode = oOutPay.Add();

    Hi Costas,
    In order to based the payment on Journal Entry,
    You have to set the docline of the Payment to Journal Entry Line which has the same cardcode as your payment card code like this
    oPay.Invoices.DocLine = oJE.Lines.Line_ID
    What I do is I iterate through the Journal Entry to look for the line like this :
    If .Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry _
                                        Or .Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_PaymentAdvice Then
        Dim oJE As SAPbobsCOM.JournalEntries
        oJE = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
        oJE.GetByKey(.Invoices.DocEntry)
        For iLines As Integer = 0 To oJE.Lines.Count - 1
        oJE.Lines.SetCurrentLine(iLines)
        If oJE.Lines.ShortName = .CardCode Then
        'If the line card equal payment card code, then assign the docline id
              oPay.Invoices.DocLine = oJE.Lines.Line_ID
              System.Runtime.InteropServices.Marshal.ReleaseComObject(oJE)
              oJE = Nothing
              Exit For
         End If
        Next
    End If

  • Purpose of field finncpriod when updating journal entries by DI API

    Hello,
    I have to update the project code within the journal entries on line basis. For this reason I use following code (DI API):
    public static void UpdateOjdtJdt1()
    SAPbobsCOM.JournalEntries oJE;
    SAPbobsCOM.Recordset oRS;
    string s;
    int i,j;
    oJE = ((SAPbobsCOM.JournalEntries)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)));
    oRS = ((SAPbobsCOM.Recordset)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)));
    string sqlStatement = "select transid from ojdt";
    oRS = ((SAPbobsCOM.Recordset)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)));
    oRS.DoQuery(sqlStatement);
    while (!oRS.EoF)
    s = oRS.Fields.Item(0).Value.ToString();
    i = Convert.ToInt32(oRS.Fields.Item(0).Value);
    if (oJE.GetByKey(i))
    j = oJE.Lines.Count;
    for (int k=0; k < j; k++)
    oJE.Lines.SetCurrentLine(k);
    oJE.Lines.ProjectCode = "PRJNEW";
    oJE.Update();
    oRS.MoveNext();
    Executing this code, the financial period of the updated journal entry within table JDT1 may change but never in OJDT!
    This looked very strange to me, so I updated the project code simply by using the SBO application. In this case there is no change for the financial period at all (not in OJDT, not in JDT1).
    My questions:
    1) Why does DI API update the financial period within JDT1. In the above mentioned context this does not make sense for me at all.
    2) Why do the SBO application and DI API lead to other results?
    3) Is my way of updating the project code within journal entry lines conform to SAP standards?
    Thank you for your soon response.
    Martin

    Hello Martin
    You have found a BUG.
    To Do:
    . You may check in notes, that somebody has been reported in already and it has been fixed or not.
    - If it is not fixed, please report it to GSC as a message.
    I think the correct would be the SAP B1 standard ...
    Regards
    J

  • Creating new Journal entry

    hi,
    i am trying to add a new line using DI API in the journal entry lines.
    i want to add the partener code but when i insert it i get the chosse from list of G/L acount opened.
    Is there somthing special to do to insert the BP Code ?
    Thanks for your help.

    when you want to add the business partner code to your journal entry you
    should set the shortname to the businesspartner cardcode:
    oJnl.Lines.ShortName = "C1000"

  • Transaction Notification - Journal Entry

    Dear Experts,
    Can anyone tell me how to validate Journal Entry line wise using Transaction Notification Stored Procedures. I want to validate each and every row of the Journal Entry.
    Thanks in advance
    Regards
    Neslin 

    Hi,
    Please close this duplicated thread. Check this announcement:
    FYI
    Thanks & Regards,
    Nagarajan

  • How to add a Journal Entry - Error "Code undefined"

    Hi, i want to add a simple journal entry by using DI-Api. The problem is, i always get the error message "Code undefined" when I use the Debitor-AccountCode.
    My code is like that:
    oJ.TaxDate=dTaxDate;
    oJ.AutoVat=BoYesNoEnum.tNO;
    oJ.Lines.AccountCode="2000";    //Customer
    oJ.Lines.ContraAccount="4020";
    oJ.Lines.Credit=dCredit;
    oJ.Lines.Debit=dDebit;
    oJ.Lines.TaxDate=odTaxDate;
    oJ.Lines.ShortName="23121089";
    oJ.Lines.LineMemo="Ausgangsrechnung";
    oJ.Lines.Add();
    oJ.Lines.AccountCode="3500";   //VAT
    oJ.Lines.ContraAccount="23121089";
    oJ.Lines.Credit=dCredit;
    oJ.Lines.Debit=dDebit;
    oJ.Lines.TaxDate=odTaxDate;
    oJ.Lines.ShortName="23121089";
    oJ.Lines.LineMemo="Ausgangsrechnung";
    oJ.Lines.Add();
    oJ.Lines.AccountCode="4020";
    oJ.Lines.ContraAccount="23121089";
    oJ.Lines.Credit=dCredit;
    oJ.Lines.Debit=dDebit;
    oJ.Lines.TaxDate=odTaxDate;
    oJ.Lines.ShortName="23121089";
    oJ.Lines.LineMemo="Ausgangsrechnung";
    oJ.Add();

    Hi,
    Here is the code to find the BP account number:
    oRecordset = ((SAPbobsCOM.Recordset)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)));
                        oRecordset.DoQuery("SELECT [LinkAct_3] FROM [dbo].[OACP]");
                        oRecordset.MoveFirst();
                        if (oRecordset.EoF == true) // We have a Error
                            oCompany.GetLastError(out vmp_B1_Error_Code_int, out vmp_B1_Error_Message_string);
                            SBO_Application.MessageBox("Add-On Error (Forgestik Inc.): ERR-789 \n " + "Cash Account does not Exist "+ vmp_B1_Error_Message_string, 1, "Ok", "", ""); // My Error Code
                        else
                            vm_CachAccountNumber_string = Convert.ToString(oRecordset.Fields.Item("LinkAct_3").Value);
    ...Then you have to use the system account number "_SYS00000000353" not the displayed account number in B1...
    Thank you,
    Rune

  • G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11

    Hi,
    G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11
    I am creating an independent AP Invoice, there are two issues:
    1. On line level G/L Account field is not open for selection
    2. I have then selected and updated the account on Form Settings. Same account gets updated on line level.
         In Journal Entry selected G/L account on line level shall be hitted. But it does not put any effect on JE. Accounting is set by Warehouse. It picks up accounts from warehouse only.
    Need help its urgent.
    Thanks in advance.

    Invoice is Item Type.
    G/L Accounts are set by Warehouse. But if explicitly we are want to change the account on line level in that case, it is not getting reflected in Journal entry. On AR Invoice same scenario works perfectly. On line level I can change the accounts explicitly and have the effect on Journal entries.
    Issue seems to be on AP side only.
    As required please find attached the screen shots.
    JEwith mapped GL Account on Warehouse
    JEwith different GL Account on line Level via Form Settings
    Thanks & Regards
    Sonil

  • A/P invoice line comments (or ref) to Journal Entry

    Scenario:
    a/p invoice, service type is created.
    Several lines, but may post to same GL account.
    Description field contains description that should also be visible on Journal entry, so on screen GL reports show the descriptive texts.
    Reference is by document, not by line. The same goes for journal remark.
    Any ideas on how to do this?

    Hi......
    I guess there is no chance to display as you are asking.
    You have to create your own Query Report for this.....
    Regards,
    Rahul

  • Journal Entry Error: -10([AJDT], line 4 with incoherent project/pl)

    Hi,
    A client is getting the above error on two different databases, one when doing a direct journal entry and the other while doing depreciation run. They are using projects and these have correctly been defined. Running on B1 2005 PL 11.
    Has anyone ever come across this problem? Any suggestions/solution?
    Regards,
    Ann Muhoro.

    From your error message: line 4 with incoherent project/pl, I would assume some of projects had been changed.  Dig into the specific line detail to find anything different comparing with the current project.

  • Bapi for trans code FBS1 - is there any? - FI - Reversal Journal Entries

    Hi Sap Forums,
    I have to post Reversal Journal Entries, I am currently using BAPI_ACC_GL_POSTING_POST for regular entries.
    Anyone else had to do this?
    thanks

    Found this... does this work for anyone?
    I am also trying the same thing can you let me know what parameters you are passing to BAPI BAPI_ACC_GL_POSTING_REV_POST.
    1. I am calling first the BAPI BAPI_ACC_GL_POSTING_POST to create FI Document.
    2. I am passing the document number created from above step to the bapi BAPI_ACC_GL_POSTING_REV_POST .
    3. Till second step it is fine giving no errors but when i do commit i get an update error, document number alreay exist.
    Edited by: keith warnock on Jun 11, 2009 4:58 PM
    Edited by: keith warnock on Jun 11, 2009 4:59 PM

  • BP Details In Journal Entry

    Hi All,
    I need BP Code,Name,Address,Payment Terms and respective Debit and credit Details for a report.. i can get the Debit, credit and Transaction Details From OJDT and JDT1 ... am not having any clear idea on how to get the respective BP details(BP Code,Name,Address,Payment Terms) ... am having only BP name (JDT1.ShortName).. That too For For Some Row item am having BP Name, Remaining Having Account code..
    whats the Exact Functionality of  JDT1.ShortName and How to Get the BP details with Debit and Credit ? Any Suggestion ....
    Regards,
    Ganesh

    Hello Ganesh -
    I am not sure what layout or order of layout you are looking for, but try this little SQL as a starting point. 
    If you try to use the Query Generator to see what the connection is between JDT1 and OCRD, Query Generator will not put a connection (JOIN) there. But you were "oh so close" and right on target by looking at using the "JDT1.ShortName".  With both BP types of customers and vendors I have used the "Short Name" to create many reports SAP B1 does not have that are commonly used by accountants and CPAs (such as full-blown AR Cash Receipt Journals and AP Cash Disbursement Journals).
    Remember an "INNER JOIN" will only show those customers who have an actual associated journal entry - a "LEFT OUTER JOIN" would show ALL customers regardless of whether they have a journal entry or not...
    Good luck and hope this starts you on your path to getting your work done...
    Zal
    SELECT
    T0.CardCode AS 'Cust Num',
    T0.CardName AS 'Cust Name',
    T0.CardType AS 'BP Type',
    T0.Address AS 'Bill To Address',
    T0.City AS 'City',
    T0.ZipCode AS 'Zip Code',
    T0.Phone1 AS 'Main Telephone',
    T0.CntctPrsn AS 'Main Contact',
    T1.TransId AS 'JE Num',
    T1.Line_ID + 1 AS 'JE Line',
    T1.TransType AS 'Trans Type',
    T1.Debit,
    T1.Credit
    FROM OCRD T0
    INNER JOIN JDT1 T1
    ON T0.CardCode = T1.ShortName
    WHERE T0.CardType = 'C'

Maybe you are looking for

  • Aperture 2.1.3 and iWeb 2009

    Hi there, Can I actually use Aperture and iWeb together to publish to MobileMe? If so, what settings do I need to make to allow them to work together? Previously I have been using iPhoto 2009 to send to iWeb but I can't find a way for Aperture to wor

  • Mapping an Argument Set to End Event

    Hi, I presently have a requirement where we trigger different operations based on the input arguments. We created different argument sets for each of our requirements and exposed all those argument sets as operations on the BPM WSDL using Process Exe

  • Connection to wired computers through Airport

    I have a wired network in my house with a Linksys firewall/router. I just added an Airport Extreme, in order to be able to also have wireless access for a couple MacBook Pros. The setup of the Airport Extreme and connection to the MBPs appeared to go

  • HT5633 Do you have to have i-Tunes running to use Apple TV?  Coul dyou access your media on a network drive?

    I wonder if there is a way to access your media collection (music, TV, movies, etc,) directly from a network drive rather than via i-Tunes?  Thanks!  Jerry Michels

  • Why wont simple password work locked out?

    I  changed the simple password from the 4 digit option in general settings and restarted my ipod touch 2 gen and when the locak screen came up it didnt have the the four digit option it had the keyboard. I typed my four digit password and now Im lock