Updating Journal entries

Hi Experts,
My Client is using the FOXPRO system now and there is a lot of entries to be enter in SAP.
We would like to know whether there is any possibility of updatting  the Journal Entries & Sales orders thru  Data Transfer wizard.If so , Pls suggest the type of template to be used..
Thanx in Advance,
Regards,
Vamsi.

Hi Vamsi,
You may use DTW but not DTS to upload JE and other documents.  All templates are available under DTW folders.
Thanks,
Gordon

Similar Messages

  • 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

  • Updating Journal Entry By DTW

    Dear Experts
    How can I update Posted journal Entry by DTW, is there any consideration in Template on DTW in oJournalEntry?
    Thanks

    I would like to update Just Ref2 in detail of some JE. which template I have to use?which filed I have to mention in oJournalEntry. I tried following template but system said could not find mentioned object
    RecordKey     JdtNum     Series
    RecordKey     JdtNum     Series
    1     4020219     65
    RecordKey     LineNum     AccountCode     ReferenceDate2
    RecordKey     LineNum     AccountCode     ReferenceDate2
    1     0     1111111     D950
    Edited by: Farhadn on Apr 10, 2010 3:52 PM

  • 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.

  • Journal Entry

    Hi All,
    I have to update one field(Header- User defined) in journal entry using DI API for each and every transaction. I know how to update journal entries using DI API but my issue is under which event i will write my update code when system post Journal entries automatically
    or
    How I will update journal entry which is posted by system using DI API.
    I dont want to write update query in Transaction notification Procedure also.
    Regards
    Firos

    Hello Firoz,
    The problem:
    Documents using integration booking (JE-s) are notified by SP_TRANSACTIONNOTIFICATION,  but JE.-s are not recorded there. So you cannot monitor the creation of JE-s.
    But, some logic you can find the JE-s booked by Integration
    You monitor the et_form_data_Add  event on all forms,
    -  if you are before action, record the journal entry autokey from ONNM (object type 30)
    -  and when this event executed, you can compare the autokey of journal entries in ONNM table as you have recorded. If the number is difference, you have a background posting happened, so you can call your DI API update procedure.
    What i would do in this situation (running logic of the addon)
    1. Create an SQL table for storing the updated JE keys
    2. Check the OJDT table by time to time (ET_FORM_DATA_ADD event is a good)
    3. Update JE headers and record the updated keys in the SQL table created in point 1.
    By this method you can populate your field. This solution is also good when an addon is not running on each client.
    Regards
    János

  • 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

  • UDF is not updating in journal Entry rows

    Hi Experts,
    I have created an UDF in journal entry and trying to insert the values in it based on the transactions.
    But the UDF is not getting updated through coding where as same query if i run in the SQL database it is getting executed properly and UDF is getting updated.
    Please help in this regard
    Thank You
    Regards
    Md.nazeer Shaikh

    Hi,
    Please post the code that u are using.
    Vasu Natari.

  • How to update UDF from marketing documents to Journal Entry UDF

    Hi Experts,
    I have a UDF in the marketing documents and I want to save the value to Journal Entry UDF.
    Regards,
    Jummie

    Hello Jummie,
    If I understand correctly, the scenario is that copy the value of UDF from marketing document to the UDF its target JE from when the marketing document is created.
    if so, just listen to FormDataAdd Event for the marketing document, copy the value of udf when document is created.
    Here is the sample code.
    Private Sub FormDataEventHandler( _
        ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
        ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
            'You may add the target documents, 133 - A/R invoice.
            'Before action = true, start the transation
            If BusinessObjectInfo.FormTypeEx = "133" _
                    And BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
                    And BusinessObjectInfo.BeforeAction = True Then
                oCompany.StartTransaction()
                'BubbleEvent = False
            End If
            'Before Action = false,
            'Update product item tree
            'Succeed, commit, otherwise rollback
            If BusinessObjectInfo.FormTypeEx = "133" _
            And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD) Then
                If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
                    Dim objectKey As String = String.Empty
                    oCompany.GetNewObjectCode(objectKey)
                    MsgBox(BusinessObjectInfo.Type)
                    Dim oInvoice As SAPbobsCOM.Documents = Nothing
                    oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                    If oInvoice.GetByKey(CInt(objectKey)) Then
                        'Retrieve the UDF value in documents
                        Dim udfValueInDoc As String = oInvoice.UserFields.Fields.Item("***").Value
                        Dim oJE As SAPbobsCOM.JournalEntries = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
                        'Retrieve the JE for the document
                        oJE.GetByKey(CInt(oInvoice.JournalMemo))
                        Dim succeeded = True
                        'add you code to copy the UDF from document into JE
                        If succeeded Then
                            'update the production tree succesfully,
                            oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                        Else
                            oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                        End If
                    End If
                End If
            End If
        End Sub
    Regards, Yatsea

  • Script to update UDF in document to journal entries

    Hi,
    Customer is using 2007A PL30. In SAP B1, there is only 2 global analysis codes(ie Project and Profit Center) but customer has more information to analyse. We add UDF in document row(eg UDF=Customer)but after adding such UDF did not automatically flow to journal entries.
    May I know how to update those additional UDF in document row into journal entries as well so that the "Financial people" will be able to analyse company position by pulling these information in journal entries rather than from AR, AP, Incoming & outgoing payment etc?
    Regards
    Thomas

    Thomas,
    Out of the box the system is designed to take User field defined in the marketing document from the base marketing document to the target document when you use a Copy from or Copy to function.
    This will not work for JE's as JE is not a marketing document.  Updating JE through Transaction Notification might be possible but it is not supported by SAP as it is in violation of their Support agreement.
    Leaving the choice finally to create a SDK solution
    Suda

  • Blocking Updating Profit Center on Journal Entry

    Dear Experts,
    We would like to block all finance users from editing/updating profit centre or cost centre on journal entry, especially for all those transactions which are coming from marketing document and payment.  But of course, finance user still can post journal entry transaction and select profit/cost centre.
    Is there a way to achieve this requirement without customization?  Please advise.
    Best Regards,
    Lailus Shobah

    Hi,
    With the help of transaction Notification , you can do this.
    Use Cursor in SP Transaction Notification for your purpose.
    Hope Helpful!!

  • How to update Ref fields in JDT1 for Journal Entries update

    Hi Forum,
    I am this situation:
    While Creating Journal Entries using DTW:
    ==================================
    I can create Ref1 and Ref2 data at JE Header level using OJDT DTW template.
    I can not update Ref1 and Ref2 (different from Ref1 and Ref2 data at header level) at line level using JDT1 template. No error in DTW, all successful, however, the Ref1 and Ref2 data at line level is copied from header level.
    While updating using JDT1 DTW Template:
    ===================================
    I thought may be DTW can update since the entries are present. It does not even do that. That is DTW does not update Ref1 and Ref2 data on JDT1 line level even with update DTW. Just to ensure I am using right template etc. I tried to update the due date and it seems to work.
    Note: While entering manual Journal Entires directly on SAP B1, I could put different Ref1 and Ref2 at header and line levels.
    Thanks for you help.

    hi
    u may use the follwing fields to do it
    RecordKey     LineNum     AccountCode     ContraAccount     CostingCode     Credit     Debit     DueDate     LineMemo     ShortName
    RecordKey     LineNum     AccountCode     ContraAccount     CostingCode     Credit     Debit     DueDate     LineMemo     ShortName
    1     0                         3274426     20110430     Basic     520010
    1     1                         1344031     20110430     Hra     520020
    1     2                         229251     20110430     Convey     520030
    1     3                         631301     20110430     Bonus     525020
    1     4                         2128839     20110430     Spl All     520040
    1     5                         44003     20110430     CCA/Outlocation     520050
    Regards
    Manish

  • Financial Consolidation failure when updating invoice or journal entry

    Hello
    We installed successfilly the SAP Business One Intergration for SAP NetWeaver.
    By adding invoices, creditmemos or journbal entries everything works fine.
    When we try to update a journal entry the following error occurs in the message log:
    com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: Dispatch object expected
    When we try to update the corresponding invoice this error occurs:
    com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: DI Error: (-1029) Field cannot be updated (ODBC -1029)
    Any ideas ?
    thanks in advance

    Hi,
    JE numbering document can not base on origin document. But they can be set default by user only. That is system behavior.
    Hope this helps,
    TVSon

  • 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

  • I have two lists. The first is "Tasks", second is "Journal". I need a "Create Journal Entry" link in the Tasks list. How do I do that?

    Let's say I have a Task named "Build SSIS for Duke Energy" and it has another column called Active. Now every day I look at my task list and If I worked on that task I want to create a Journal entry of what I have done. So from the Task
    list I'd like a third column that calls the "Journal Entry" list's new form page and pass it in the ID of the task. I have found several TextToHtml scripts out there, but they have to be stored in a script library, and then sourced to a content
    editor web part. The problem is they don't fire when I have my list grouped. In addition to, every time someone creates a new view, I have to go in and add the Content Editor web part, point to the script....
    Any thoughts. It is the grouped view that really bug me.

    Hi,
    If you only want to add a hyperlink to create a Journal entry in the task list, I recommend to add a Hyperlink column in the task list and then create workflow to update the column.
    You can follow the steps as below:
    Open the task list, add a hyperlink column named Create Journal Entry.
    Create a workflow associated to the task list, start the workflow automatically when an item is created.
    Add actions as below:
    Then when a task is created in the task list, the workflow will be stared automatically to update the “Create Journal Entry” column.
    Thanks,
    Jason             
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How to generate a single Journal Entry for multiple Payments

    Hi All
    When creating a payment batch with 2 notes for example, would be possible in the accounting GL batch summarize only the line of Cash?
    Thanks

    Hi
    I made the settings below:
    1º Journal Line Type
    Merge Matching Lines = No
    Transfer to GL = Summary
    for all lines type of Event Class: Payments
    2º Accounting Setup Manager
    Update Accounting Options for Applications Payables
    General Ledger Journal Entry Summarization = Summarize by GL Period
    Redid the Lot Payment with two notes from two different suppliers to verify XLA_AE_LINES not summarized lines CASH accounting class code.
    Is it not possible to summarize the lines of CASH?

Maybe you are looking for

  • Page copy seems to mess up item validation referenced fields in new page

    Hello team, this morning i create two pages as a copy of an existing page in Apex 4.0.1. This page contained 4 regions, each one containing 4 items, sort of: reg1 P44_ITEM_A1 P44_ITEM_B1 P44_ITEM_C1 P44_ITEM_D1 reg2 P44_ITEM_A2 reg4 P44_ITEM_D4 There

  • How can I find out the age of my imac

    How can I find out the age of my computer to see if it will be able to download latest operating system

  • Bring window to front

    I have a JFrame in my application and I want to bring to front to other frames in my application when some event occurs. Any combination of frame.toFront(), frame.requestFocus(), frame.show(), frame.setVisible(true) didn't work. Only this code worked

  • Can't Activate changes after adding a few Watches/Notifications

    Hello, I've been setting up some WLDF modules on our servers for the first time. On several of my servers I will randomly get errors when I try to Activate and changes that I've made in the Diagnostic Modules section of the Console. It hangs and I ge

  • GR related question

    Experts, 1.What are all the movement types that are availabe, in SRM 5.0. Is movement type 161 is available? 2.Can we do create/delete/partial return GR in SRM for the POs created in the backend. In the sense this PO is not generated from SRM shoppin