Documents, Journal entries and DTW

Hello,
Is there a way that when I import a journal entry, DTW tells me that I can't because this JE is coming from a document and the JE already exists ?
I saw that there is the field "Origin No." (table OJDT, BaseRef) which is displayed when a document is created in SBO.
But is there a way to import this number (coming from the document) in this field using DTW ?
Thank you
Thibault

Hi again
The best would be to import all your documents. Then once you are done make a dump of all the documents and journals created, use sql and link them in sql already. The new journals you are going to import, use vlookup in excel to match keys and debit and credits to pick up possible duplication.
Hope this helps

Similar Messages

  • Duplicate rows on Query with journal entries and AP documents

    Hi Experts,
    I ahve the below query allowing me to have some information from journal entries and retrieve some other from AP docuements and PO.
    The thing is the query duplicates rows because the AP docuements have several rows but i don t know how to do to remove them (i guess this has to do with JOIN function...)
    SELECT
    T2.[GroupMask] as 'Account Family',
    T2.[FatherNum] as 'Parent Account',
    T2.[AcctCode] AS 'Account Code',
    T2.[AcctName] AS 'Account Name',
    T0.[TaxDate] AS 'Document Date',
    T0.[Number] AS 'Number',
    T0.[DocSeries] AS 'Document Series',
    T0.[BaseRef] AS 'Base Reference',
    T0.[TransId] AS 'Transaction Number',
    T0.[Ref2] AS 'Reference 2',
    T1.[ContraAct] AS 'Offset Account',
    T4.[BaseRef] AS 'PO code',
    T1.[Project] AS 'Project Code',
    T1.[ProfitCode] AS 'Distribution Rule',
    T1.[OcrCode2] AS 'Costing Code 2',
    T1.[OcrCode3] AS 'Costing Code 3',
    T1.[OcrCode4] AS 'Costing Code 4',
    (T1.[SYSdeb]-T1.[SYSCred])  AS 'Total Amount EUR',
    (T1.[FCDebit]- T1.[FCCredit]) AS 'Total Amount (FC)',
    T5.[DocTotalSy] AS 'PO Amount (EUR)'
    FROM  [dbo].[OJDT] T0 
    INNER  JOIN [dbo].[JDT1] T1  ON  T1.[TransId] = T0.[TransId]  
    INNER  JOIN [dbo].[OACT] T2  ON  T2.[AcctCode] = T1.[Account]  AND T2.[AcctCode] = T1.[Account]  
    INNER JOIN [dbo].[OPCH] T3 ON T3.[DocNum] = T0.[BaseRef]
    INNER JOIN [dbo].[PCH1] T4 ON T3.[DocEntry] = T4.[DocEntry]
    LEFT JOIN [dbo].[OPOR] T5 ON T5.[DocNum] = T4.[BaseRef]
    WHERE
    (T2.[AcctCode] > (N'599999' ) ) AND  (T2.[AcctCode] < (N'799999' ) )
    AND (T0.[TaxDate]>= [%0] ) AND (T0.[TaxDate]<= [%1])

    Try This
    SELECT T2.[GroupMask] AS 'Account Family',
       T2.[FatherNum] AS 'Parent Account',
       T2.[AcctCode] AS 'Account Code',
       T2.[AcctName] AS 'Account Name',
       T0.[TaxDate] AS 'Document Date',
       T0.[Number] AS 'Number',
       T0.[DocSeries] AS 'Document Series',
       T0.[BaseRef] AS 'Base Reference',
       T0.[TransId] AS 'Transaction Number',
       T0.[Ref2] AS 'Reference 2',
       T1.[ContraAct] AS 'Offset Account',
       T4.[BaseRef] AS 'PO code',
       T1.[Project] AS 'Project Code',
       T1.[ProfitCode] AS 'Distribution Rule',
       T1.[OcrCode2] AS 'Costing Code 2',
       T1.[OcrCode3] AS 'Costing Code 3',
       T1.[OcrCode4] AS 'Costing Code 4',
       sum(T1.[SYSdeb]-T1.[SYSCred]) AS 'Total Amount EUR',
       sum(T1.[FCDebit]- T1.[FCCredit]) AS 'Total Amount (FC)',
       T6.[DocTotalSy] AS 'PO Amount (EUR)'
    FROM OJDT T0
    INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
    INNER JOIN OACT T2 ON T1.Account = T2.AcctCode
    INNER JOIN OPCH T3 ON T0.TransId = T3.TransId
    INNER JOIN PCH1 T4 ON T3.DocEntry = T4.DocEntry
    INNER JOIN POR1 T5 ON T4.[BaseEntry] = T5.[DocEntry]
    AND T4.[BaseLine] = T5.[LineNum]
    INNER JOIN OPOR T6 ON T5.DocEntry = T6.DocEntry
    GROUP BY T2.[GroupMask],
       T2.[FatherNum],
       T2.[AcctCode],
       T2.[AcctName],
       T0.[TaxDate],
       T0.[Number],
       T0.[DocSeries],
       T0.[BaseRef],
       T0.[TransId],
       T0.[Ref2],
       T1.[ContraAct],
       T4.[BaseRef],
       T1.[Project],
       T1.[ProfitCode],
       T1.[OcrCode2],
       T1.[OcrCode3],
       T1.[OcrCode4],
       T6.[DocTotalSy]
    Regards,
    Kennedy

  • NULL Value in Journal Entry and Wrong Tax Summary

    Hi people,
    I need your expert help for a big problem that appens to some customers.
    They run SAP BO 8.8 SP:00 PL:12
    This is the scenario:
    You insert a new documet,  A/R Invoice or A/P Invoice is the same, problem appear in all of them.
    After you insert the document, using SQL Server Management try this Select statment:
    Select * from JDT1 where JDT1.debit is null OR JDT1.credit is null
    A list of record where listed. And, this is the problem, NULL values are all in the VAT Lines in debit or credit colums.
    If you try to make a SUM(debit-credit) you discovery that, 1000,00-null=null
    Consequently, TAX Sumary report, that probably use arithmetic operation like me in SELECT statment,  count a wrong number when null values in DEBIT or CREDIT column in JDT1 for VAT declaration.
    How could I solve? And how i can make invoices store 0 rather than NULL in the VAT Line?
    Thanks in advance for your tips and solutions

    Thaks Neetu for your answer.
    I thinks there is a misurandertanding.
    My problem is not SQL.
    My problem is the SAP TAX Report.
    I used SQL only for check data and discover why SAP raise a wrong TAX Summary report.
    So, my question is: Why invoices write null values in journal entry, and how I can solve the problem that TAX summary report use null value in operations so the results are wrong.
    Thanks,
    Jonny Cortonicchi

  • Duplicate Journal Entry and system crash

    Hi All,
    Just wondering anyone experience when duplicate the journal entry and change the posting date and system will just hang and follow by crash?
    Please advise.
    Best Regards,
    Foong Yee

    Hi Foong Yee Tai...
    Check with the Following SAP Note...
    1616687 - B1 shuts down when updating amount in Journal Entry
    Regards
    Kennedy

  • 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

  • Function Module: to get Cash Journal Entries and Balances

    Dear Guru's,
    We need to develop a function module to display cash journal opening balance line item entries and closing balance of specific period.
    we have found document entries through table TCJ_DOCUMENTS or TCJ_POSITIONS now require help to generate opening and closing balances.
    Please help for the solution.
    AAR

    Hi,
    check FM FCJ_GET_DATA_FOR_SCREEN. Next time you can try to figure out by yourself. The program for transaction FBCJ is not that complicated and you can easily find this FM used there.
    Cheers

  • Bank statement Nr in journal entry and Payments

    In Notenumber 1374872 (SP 01/PL7) a change has been implemented that the number of the payment run is copied to the remarks of the payment and the journal entry. I think it will be good idea to do the same for the number of the bankstatement in bank stament processing. Hereby the text for the note 1374872. The reason why and the solution are the same.
    Regards,
    ProSigma BV
    Cees Hameete
    Symptom
    To find the number of the payment wizard run in payments and journal entries, bookkeepers currently have to open the journal entry, navigate to the payment document, and then search manually in the executed payment wizard runs to find the correct number.
    Other terms
    Incoming payment; outgoing payment; payment wizard; journal entry
    Reason and Prerequisites
    Functionality description
    Solution
    To improve usability and provide integrated journal remarks information, SAP Business One was changed as follows:
    When an incoming or outgoing payment is generated using the payment wizard, the application adds the payment wizard run number to the "Journal Remarks" field of the payment document and to the "Remarks" field in the journal entry on both header and row level.
    The values in the "Journal Remarks" and "Remarks" field have the following structure:
    Incoming Payments - [Customer Code] - [Payment Wizard Run Number]
    Outgoing Payments - [Vendor Code] - [Payment Wizard Run Number]
    SAP intends to provide a patch or patches in order to solve the problem described.
    The section Reference to Related Notes below will list the specific patches once they become available.
    The corresponding Info file of the patches in SAP Service Marketplace will also show the SAP Note number.
    Be aware that these references can only be set at patch release date.
    SAP will deliver patches only for selected releases at its own discretion, based on the business impact and the complexity of the implementation.

    I completely agree with your proposal.  We have the same problem at the moment.  I hope SAP will implement a solution for this.

  • PARK & POST  Journal Entry and auto reversal

    Dear All,
    Our auditors has offered the following changes to be implemented in SAP system.
    1. JE approval: Configure the system functionality to place journal entries in a u201Choldu201D status when entered into the system, then the supervisor/manager review and approval then required to release the journal entry from the u201Choldu201D status and post the entry to the general ledger. The reviewer should not have the ability to initiate a journal entry.
    2. JE reversals:  Utilize the functionality to automatically reverse journal entries, booked in prior month as u201Creversing,u201D when new period is opened.
    3. 3-way match: Utilize the SAP functionality to perform an automated 3-way match process between invoice, purchase order, and goods receiving documentation. If invoices meet the 3-way match criteria based on established variance thresholds, invoices should automatically be approved for payment. If variances are noted, which exceed tolerance thresholds set by Management within the system, work flows should be used within the system to automatically route the invoice for the require approval.
    How this changes can incorporated in the system.
    Do suggest.
    Regards,

    For point 1, there is a functionality in SAP where all parked documents will be blocked and then released by the authorized person. There is a standard workflow for that. You may want to check Make and CHeck Settings for Document Parking. If this doesn't satisfy, then there's a need to create a customized workflow. Plus authorizations must be checked so that the users will not be able to Post but only Park. Note that, there is another functionality in Document posting called "Hold" this one, system doesn't assign any financial document. You can assign any reference/number to the document.
    For point 2, there is a Mass Reversal functionality in SAP called the F.80. For accruals, you may use FBS1 which you can input the reversal date and run F.81 to run the reversal.
    For point 3, it is a standard SAP functionality. You must set tolerance as to qty or price variance and the system automatically blocks the invoice for posting and the authorized person is required to release the approved invoices to remove the block for payment. In SAP, when you enter the PO for a particular invoice, it will give you how much or how many is actually goods received for that particular PO. in that sense you will be able to see whether the invoice is completely billed for the whole PO or not.

  • Journal entries and regulation requirements

    Hi experts ,
    One of our subsidiaries is located in Taiwan and we are planing to implement SAP there.
    We were told that according to the local regulation , we can't create JE in minus.
    Did you hear about something like that ? Can it be override somehow ?
    Thanks !
    Yoav
    Edited by: Yoavron on Jun 29, 2010 9:14 AM

    Hi,
    To find out about SAP B1 fitness for particular country please examine Globalization Knowledge Base document on the Document Resource Center in the portal.
    To avoid in the journal, specially reversal journal please untick option "Use Negative Amount for Reverse Transaction" in the company setting.
    Cheers

  • FMS- Journal Entry and AP Invoice

    2007B
    I ve created a UDF 'AP Remarks' in the JE Header level.
    I need the data in 'remarks' field of the AP invoice to be copied to the UDF in JE
    what is the FMS query for that?

    You can use the next query:
    If $[OJDT.TransType]=18
    Select I.Comments
    From OPCH I
    Where I.DocEntry=$[OJDT.CreatedBy]
    (But the Auto Refresh function works only connected to a manually modified field.)

  • Set the orgin document on a Journal Entry

    I don't see this exposed in the DI has anyone been able to set the orgin document on a Journal Entry (baseref field)

    ...when you go to the database documentation in SDK Help Center you will find all "valid values" - if any - for the fields.
    For BaseRef you should IMHO only find other "Marketing Documents" listed - and only the reference to the last referenced (remember that e.g. you can have multiple Delivery Notes for a single Sales Order).
    I never heard that Journal Entries could be actively linked to "Marketing Documents" - it works just "vice versa":
    When you post an A/R Invoice this will automatically generate a Journal Entry and link it to the Invoice - but via the field JrnlMemo - not BaseRef!
    However, you could add a UDF to fill in such information if you need it.
    HTH,
    Frank

  • Create a payment based on a journal entry document

    Hello!
    In SBO 2007A PL44 I could add an incoming payment based on journal entry, but my code doesn't work in PL46.
    It's a bug?
    The Code:
            Dim oPay As SAPbobsCOM.Payments = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
            oPay.DocType = SAPbobsCOM.BoRcptTypes.rCustomer
            oPay.DocDate = Today
            oPay.TaxDate = Today
            oPay.DueDate = Today
            oPay.VatDate = Today
            oPay.CardCode = "310000010"
            oPay.Invoices.DocEntry = 1882
            oPay.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_JournalEntry
            oPay.Invoices.SumApplied = 12000
            oPay.CashAccount = "38117000"
            oPay.CashSum = 12000
            oPay.DocCurrency = "Ft"
            If oPay.Add <> 0 Then
                Dim errCode As Integer = 0
                Dim errmsg As String = ""
                oCompany.GetLastError(errCode, errmsg)
            End If
    I got the following error:
    errCode: -10
    errMsg: Cannot pay partial down payment 
    Regards Csaba
    Edited by: Csaba Fülöpcsei on Apr 8, 2009 4:49 PM

    Dear Jane Jing!
    Yes I have a issue in B1 app for this payment:
    In Incoming payments windows select the customer doctype and select the customer (310000010), and the list of the invoices check the line (1882, journal entry) and type 10000 in the Total Payment column. And after 'Payment Mean' icon, I can add the payment.
    The problem is still on all payments of jourlnal entries from DI API.
    If I assign any value to oPay.Invoices.SumApplied field, I couldn't add the payment.
    Regards Csaba

  • DTW error (Journal Entry)

    Hi,
    Please help me to know what is wrong to import Journal Entry by DTW;
    Reason is
    "You are not allowed to edit posting date by row Application-defined or object-defined error 65171"
    Version is 2005B SP00 PL41
    I create the header file as below;
    RecordKey, JdtNum, DueDate, ReferenceDate, TaxDate, TransactionCode, Memo
    1,,20081110,20081110,20081110,100,ABC
    the line file is;
    RecordKey, LineNum, AccountCode, Debit, Credit, Reference1, Reference2, AdditionalReference, LineMemo, CostingCode
    1,0,738008,4800,0,21486,20081017,ABC,DEF,212
    1,1,112200,0,4800,21486,20081017,ABC,DEF,212
    The first time I tried it was successful to import, but after change amount I can not import them.
    If you have any solution or instructions, please let me know.
    Thank you for your help in advance.
    KAORI

    Hi
    I create the header file as below;
    RecordKey, JdtNum, DueDate, ReferenceDate, TaxDate, TransactionCode, Memo
    1,,20081110,20081110,20081110,100,ABC
    1. Please aviod transaction code
    2. you have to add AutoVAT coloumn tYES.
    RecordKey, LineNum, AccountCode, Debit, Credit, Reference1, Reference2, AdditionalReference, LineMemo, CostingCode
    1,0,738008,4800,0,21486,20081017,ABC,DEF,212
    1,1,112200,0,4800,21486,20081017,ABC,DEF,212
    1. You have to add vat details if it is no need in the last 5 colomns.
    2. tax date , tax group , vat amount , vat date , vat line.
       20081110 , Exempt ,   0 ,   20081110  , tYES
    3. tax group is the tax code. You should be given the tax code. if no tax code in the JE, nesessary you should be use tax exempt in the colomn.
    4. forthur you have to check the GL Accounts whether it is ok.
    let me know
    regards

  • Import Journal Entries

    Hello,
    I'm going to import with DTW sales and purchase documents from a commercial management software and journal entries from an accounting software.
    I have seen that when I import a document, an automatic journal entry is created.
    So, when I will import the journal entries, I will have this information twice.
    Is there any way to block the automatic creation of the journal entries using SDK?
    Or is there any way to import only the journal entries not coming from sales, purchase, banking...?
    Thank you very much.
    Thibault

    Hi Thibault,
    You will not be able to stop this behavior of creating journal entries in SBO. It is a built in process and stopping it will have a major impact on the financials in the system.  You have to filter the journal entris from the commercial management and accounting software on your side in some or another way that you know which are manually created journal entries and then post them into SBO.
    Hope it helps,
    Adele

  • Outstanding amount for a Journal Entry

    Dear all
    when we create a journal entry and do a partial outgoing payment based on that Journal entry to a perticular vendor how we an find out how much is outstanding in that journal entry in table level ?????
    Thanks & Regards
    Kanishka

    Hi Kanishka
    In 2005 the system did not cater for partial allocations at journal level. The internal Recon number field woudl only get a number if all the documents in a payment were matched 100%. If just one document at row level in a payment was paid partially, the whole journal would be treated as unmatched. To make it worse, when you open the manual reconciliation function, it displays all these transactions as open, and does not show the partial amounts or full amounts for that payment, thereby allowing you in effect to reconcile "a second time" on the same documents.
    For this reason, you will have to look at VPM2 and see what amounts were allocated against each transaction. The field to look at is SumApplied (Paid to Invoice). Just bear in mind that both invoices and credit notes show a positive value in this field. However, journal debits and credits will show as positive and negative amounts.
    So in summary, for fully paid transactions you can use IntrnMatch from JDT1 but for partial allocations you need to look at VPM2.
    Hope this all makes sense, if not upgrade to 2007. It is worth it even if just for the Internal Reconciliation function that has been added.
    Kind regards
    Peter Juby

Maybe you are looking for

  • How do I get games for my ipod classic? the clickwheel toolbar has gone from itunes!

    I used to be able to buy games for my ipod classic by clicking on apps then clickwheel games, this option has dissapeared from itunes, does this mean I can't get them anymore? or can I get them some other way?

  • Swap image from down state

    How do I return the down state of an image to the up state onClick? I tried Swap Image Restore, that doesn't work. I want a button that contains two states, an up and a down state. When you click on the image in the up state, it goes to the down stat

  • OsbProxy Service not polling Database

    Hi, I have developed a simple application in OSB where My proxy service is polling a database table and after some processing it is writing data in a queue. Earlier It was working fine. But now suddenly my proxy service is not polling data from my so

  • Export as .dwg

    I am having trouble with opening a .dwg file, using AutoCAD 2013, that was created in Illustrator CS5 as an .ai and exported as a .dwg.  Has anyone done this successfully and how?

  • JVC AVX77 + iPhone 4 - Transferring Contacts...

    Anyone else have both a JVC AVX77 car head unit and use an iPhone 4 with it? I can't get my iPhone 4's contacts to transfer to the AVX77. Didn't have this problem with my Blackberry or my Galaxy S phone. Both phones did have an option in their contac