Reversing a journal entry through API

Hello All,
Can anyone please tell me what is the API for reversing the journal entries.
When I searched I found that there is an API XLA_JOURNAL_ENTRIES_PUB_PKG for reversing journals, but I could not find any procedure inside it for reversing the journal entry.
Regards,
Rakesh.

thanks for your reply.
I wanted to reverse a journal that is already posted. I got the API name: I was looking at the wrong version of oracle. The above mentioned one was for 12.1.
XLA_JOURNAL_ENTRIES_PKG.reverse_journal_entry (R 12.0.6)
Regards,
Rakesh.

Similar Messages

  • BOFC: Delete reversed manuel journal entry?

    Does somebody knows how I can delete a reversed manual journal entry or how can I revoke my action to reverse it? It was just a click on the wrong button.

    Hello,<br>
    <br>Once a  journal entry has been revoked, it is not possible to reverse the action.<br>
    A reversed journal entry cannot be deleted. <br>
    <br>
    Sorry this can't help more than that.<br> Then again, the reverse journal entry is an audit mechanism to ensure that there's complete audit of the actions done, so...<br>
    <br>
    Regards,<br>
    Andreas

  • Problem in Navigating the Journal Entry through Web Services

    Dear All,
    We are using the Webservice(B1WS) to navigate the Journal Entry data. its showing the error message '坨ᷧymentMen' in Enum 'PaymentMeansTypeEnum', the valid values are '', 'CHK', 'BTR', 'CAS', 'CRD'" and record is not navigated.
    I analyzed that Journal Entry in SAP Business One. Its generated for the Outgoing Payments.
    Please suggest me where i have the wrong step.
    Best Regards,
    Netra Pal

    Dear Gordon,
    Thanks for the reply.
    The Journal Entry navigation is working with other JE documents. Its creating the problem in those JE which are generated for Outgoing Pyaments.
    I have gone through the JE web services there is only one variable "FCCurrency". I think that its not related to currency codes.
    Waiting for a positive reply from you.
    Best Regards,
    Netra Pal

  • Automatic reversal of journal entry into new posting period

    Is there a way to set automatic reversal of a journal entry when creating a JE in the next posting period?

    Hi,
    I do not think this requirement can be met. There is no automatic reversal of document if it is being posted in the next period.
    However, you can write a validation in order to prevent the users to post in next period in GGB0 and assign the same in OB28.
    Hope this will solve your issue.
    Regards,
    Ravi

  • Reverse Cash journal Entry

    Hi all
    My client wants to reverse  a entry in FBCJ, he has saved, posted & printed the receipt for the said entry.
    System is allowing to reverse or delete a entry which is saved & posted but when a receipt is printed for that entry it is not.
    Message is coming as Reversal failed.
    Help in this regard will be appreciated.
    Thx in Advance.
    Kamal Sankla

    it's only possible to delete/reverse CJ documents after printing a receipt if you implement modification note 359656

  • Reverse Journal entry

    Hi,
    One of my colleague posted a journal entry without cost center and with profit center.   And now trying to reverse that journal entry.  But he is getting the error message " Account xxxxxxxx requires an assignment to CO object".
    Can any one please help me on this?
    Thanks,
    BMK
    Edited by: Manjulakrao on May 17, 2010 10:32 PM

    Hi,
    This is a tricky situation.
    You may try following steps....
    1) If no values have been posted to the cost element, you can delete thru KA04 and try to reverse.
    2) If the posting date is before validity start date of the cost element, try deleting with a posting date before validity start date of the cost element.
    3) Change the message type from error to Warning in OBA5 for KI 235 and revert back to original after reversing the document.
    All the best !!!
    Best Regards,
    Madhu

  • FI Journal Entry - Customer to Vendor

    Dear All,
    we are trying to post journal entry through F-02,
                  Dr. to Customer
                  Cr. to Vendor
    we get error of required Profit Center for line item 1, it can't possible, becuase there is no such field to give profit center,
    this entry not possible thourgh clearing of Customer of Vendor, because there is no opening balance to clear the same, means we want one a/c get Dr. balance & another a/c get Cr. Balance
    or let confirm which posting key we take for posting the same to record this jounal entry
    your prompt reply, will be higly appriciated.
    thanks
    Regards
    Jitendra K. Surana.

    Hi,
    I am quite sure that there would be some validation in use. You can use in OB28 transaction, if profit center is a mandatory entry for the related transaction.
    If it is not so, then just check the message number by clking on the message thrown by system and let me know the same.
    Also see if some user exit is used for making profit center as mandatory entry for FI transactions.
    Regards
    K Khatri

  • Add-On connection for Journal Entry - Failed to Connect to SBO Common

    We have a customer (SAPBO 2005A SP01 PL29) with some specific requirements that required an add-on running in the background to monitor the addition of Goods Receipt PO's to the system. When the GRPO is successfully added, the Add-On will (behind the scenes) create an appropriate Journal Entry through the SAP DI. One of the issues that we encountered during the development of this functionality was that when it was tested by users, they weren't authorized to access the Financials module or the Journal Entry screen. What we ended up doing was creating a secondary connection (vCompany) in the DL pulling the information from the encrypted user information from SAP the Add-On used to connect, but utilizing a management level user ID and password. Once that connection has been made, the Journal Entry is added through the DI and that secondary connection is disconnected.
    The problem that we're encountering is this. When the users are logged into SAP Client with an regular user, and the GRPO adds, the secondary connection fails and returns a message of "Failed to Connect to SBO-Common". However, if the user is logged into SAP as an adminitrative level user and the GRPO is added, the secondary connection is successful and the Journal Entry is created. The secondary connection is strictly used for the JE. Here's the code (VS.Net 2005) for the secondary connection:
    vCompany = New SAPbobsCOM.Company
    vCompany.UseTrusted = True
    vCompany.language = SAPbobsCOM.BoSuppLangs.ln_English
    vCompany.CompanyDB = oCompany.CompanyDB
    vCompany.UserName = "XXXXX"
    vCompany.Password = "YYYYY"           
    vCompany.Server = oCompany.Server
    vCompany.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2005
    lRetConnect = vCompany.Connect()
    Where "XXXXX" would be the appropriate management level SAP User Name and "YYYYY" would be that users password.
    Has anyone else had this kind of issue where you needed a secondary connection with management level access behind the scenes to accomplish something in SAP and had problems getting it to connect? Any thoughts or ideas would be greatly appreciated.

    Hi Dennis,
    what you can try is to make a untrusted connection
    oCompany.UseTrusted = False
    and set the DBUser and Pwd
    oCompany.DbUserName = "sa"
    oCompany.DbPassword = "insertpwd"
    lg David

  • Cash management - gain/loss journal entries

    Please forward any experiences with workarounds/processes for creating exchange gain/loss journal entries for foreign currency payments. Want to generate all journal entries through Cash Management.

    Normally exchange rate gain & loss is handled within AP when you make the payment (As long as you book the payment in the system in its proper foreign payment currency).
    However, with Cash Management what you might see is a bank charge in addition to the foreign payment on one statement line.
    So a bank statement line might show: GBP 125
    This might represent a foreign payment in AP PLUS a charge made by your bank for processing the foreign payment.
    If you are also using Oracle Receivables you can set up a 'Receivables Activity' and default it to a particular GL account (e.g. a particular gain/loss account or bank charges account). Then in Cash Management you can use this Receivables Activity to book a transaction for the bank charge.
    The high-level process would be as follows:
    1. Manually reconcile the AP Foreign Payment to the statement line
    2. (While on the same statement line) click the 'Create' button. From here you can create/book a miscellaneous transaction (using any pre-defined Receivables Activity)
    The point to mention is that this is obviously not automatic. But I hope it helps.
    Tony
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by [email protected]:
    Please forward any experiences with workarounds/processes for creating exchange gain/loss journal entries for foreign currency payments. Want to generate all journal entries through Cash Management.<HR></BLOCKQUOTE>
    null

  • How to Calculate the TDS Base on Journal Entry

    Hello Experts,
    Is it Possible calculate TDS base on Journal ENtry through our TDS Addon ?
    Dixit Patel

    Hi Rahul,
    Thanks for Reply,
    My Client do not create the Payment B'coz  He do not given the payment to party and also do not create the invoice b'coz invoice entry appearing in the Purchase analysis
    So What i have suggest to my client
    Dixit Patel

  • How can I cancel (Storno) a Journal Entry?

    Hi,
    I need to cancel (storno) a journal entry by code.
    I can’t use the '.Cancel' method of 'SAPbobsCOM.JournalEntries' class.
    If I make a new journal entry with opposite values is the same?
    Can anybody help me please?
    Regards

    Thanks,
    This was the answer in SMB Portal:
    Hello Ricardo, 
    it is not possible to cancel a journal entry once it has been created, n
    or with SDK neither with the client application.
    If you want to reverse the journal entry, you must enter a new one with
    opposite values as you mention above.
    Now we already Know

  • How to reverse a manual Journal Entry Voucher created via Custom BO

    Hi All,
    I have created a custom BO for triggering a Journal Entry Voucher for each and every Customer Invoice created in the system.Normally all Customer Invoice will be having a corresponding Journal Entry document ,apart from the default JE document I have created an additional Journal Entry for each CI through a Custom BO because of the Business requirement.I am using the default JE as the source document for the newly created JE for the same CI.
    If a custom invoice gets cancelled only the default JE will get reversed.How to reverse the newly created JE too.I there a way to carry out this reversal process through PDI using ABSL.
    Please find below the code for details.
    Custom BO contains these lines.
    import ABSL;
    import AP.FinancialAccounting.Global;
    import AP.CustomerInvoicing.Global;
    var query;
    var selparam;
    var resultset;
    var query1;
    var selparam1;
    var resultset1;
    var query2;
    var selparam2;
    var resultset2;
    query = AccountingDocument.QueryByElements;
    selparam = query.CreateSelectionParams();
    selparam.Add(query.UUID.content, "I", "EQ", this.ZJEUUID.content);
    resultset = query.Execute(selparam).GetFirst();
    selparam.Clear();
    if (resultset.IsSet())
        var CI_ID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
        if (!CI_ID.IsInitial())
            query1 = CustomerInvoice.QueryByElements;
            selparam1 = query1.CreateSelectionParams();
            selparam1.Add(query1.ID.content, "I", "EQ", CI_ID);
            resultset1 = query1.Execute(selparam1).GetFirst();
            selparam1.Clear();
        if (resultset1.IsSet())
            foreach (var itemIns in resultset1.Item)
                var qty = itemIns.Quantity.content;
                var pid = itemIns.ItemProduct.ProductKey.ProductID.content;
                query2 = ZProductTax.QueryByElements;
                selparam2 = query2.CreateSelectionParams();
                selparam2.Add(query2.ZprdID.content, "I", "EQ", pid);
                resultset2 = query2.Execute(selparam2).GetFirst();
                selparam2.Clear();
                if(resultset2.IsSet())
                this.ZEnvTax.content = this.ZEnvTax.content + (qty * resultset2.ZtaxPrice.content);
                this.ZEnvTax.currencyCode = resultset2.ZtaxPrice.currencyCode;
                this.InvID = resultset.OriginalEntryDocumentContainingObjectReference.FormattedID;
    //Manual creating of Journal Voucher //
    var newJV = AccountingEntry.Create();
    newJV.CompanyID = resultset.Company.ID;
    newJV.Note.content = resultset.Note.content;
    newJV.AccountingDocumentTypeCode = "00047";
    newJV.BusinessTransactionTypeCode = "601";
    newJV.TransactionCurrencyCode = resultset.Item.GetFirst().BusinessTransactionCurrencyAmount.currencyCode;
    newJV.AccountingClosingStepCode = resultset.AccountingClosingStepCode;
    newJV.ZcustomerID.content = resultset1.BuyerParty.PartyKey.PartyID.content;
    newJV.PostingDate = resultset.PostingDate;
    var sob = newJV.SetOfBooks.Create();
    sob.SetOfBooksID.content = resultset.SetOfBooksID.content;
    //Making the Credit account of Original JE as Debit account in this JV//
    var debitAccIns = resultset.Item.Where(c => c.DebitCreditCode == "2").GetFirst();
    var debitAcc = debitAccIns.ChartOfAccountsItemCode;
    var newJVGL = newJV.Item.Create();
    newJVGL.DebitCreditCode = "1";
    newJVGL.ChartOfAccountsItemCode.content = debitAcc.content;
    newJVGL.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    // Posting the debited account to a new GL account//
    var newJVGL1 = newJV.Item.Create();
    newJVGL1.DebitCreditCode = "2";      
    newJVGL1.ChartOfAccountsItemCode.content = "101000";
    newJVGL1.TransactionCurrencyAmount.content = this.ZEnvTax.content;
    newJVGL1.TransactionCurrencyAmount.currencyCode = this.ZEnvTax.currencyCode;
    Please respond ASAP
    Regards,
    Navin Kandasamy

    Hello Navin,
    There is an action "Cancel" in the Accounting Entry BO. Try calling that action from ABSL whenever the CI is canceled. But to do that you should have the reference of the created JEV through code.
    Hope this helps.
    Thanks & Regards,
    Meghna

  • 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

  • BPC 10.0 NW: JOURNAL ENTRIES ARE REVERSED WHEN RUNNING CONSOLIDATION

    Hi Expert,
    After running consolidation, I made various journal entries. After posting the journal entries, status of consolidation and currency translation in consolidation model was changed from "done" to "to be executed". When I re-run the consolidation, the journal entries were reversed.
    Please help.
    Thanks,
    A

    Hi A
    The fundamental principles of Consolidation Journal entries are when posted, Please keep in mind following rules for any Consolidation system.
    Journal Entry Type  Local Currency  Group Currency ScopeTranslation     Consolidation
    Reporting or
    Local Currency             LC                    NONE                 NOSCOPE    YES             YES
    Group
    Currency                        -                        USD                 NOSCOPE     NO              YES  
    Scope Level
    Adjustments                 -                         USD                    SCOPE1        NO            NO
    (Top side Adjustments)
    ==============
    I believe that you have had posted Journal entries in Local Currency(LC) and Group Currency with NOSCOPE level.  Based on your entry System would perform from above rules.
    Hope this will clarify your questions on journal entries why the Monitor  has to re-run CT and Consolidation Process.
    Thanks
    Venkat
    *** You Can not Post "  LC with SCOPE1(actual ownership scopes)****

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

Maybe you are looking for

  • My sound does not work on my computer

    Hey I don't know if anyone can help me but my sound is not working on my computer. I went to my system preferences and when I click on output it says that the device has no output controls. I don't know why it is doing this. Can anyone help me to sol

  • How can I get 3.6 back since 4.0 won't install on my computer?

    I've submitted a previous related question, but I'll try again. After downloading 4.0, I tried to move the download file to my applications folder, got a message asking if I wanted to replace a version already there, and said yes. Poof--3.6 was gone.

  • Trying to get DVI to HDMI to work - help?

    I bought a DVI to HDMI cable & hooked it up to my MBA & flat-screen HDTV - all I get is the Apple "galaxy" background.  What settings do I need to change to get this to work?

  • Batch change the date

    You can batch change the time zone, and you can change the date and time, but can you batch change the date on photos? I would like to change the date on a number of images to a certain date, but I don't want to have to change the date on each one ma

  • Keyboard shortcuts CS5 differ from CS4.

    Hello all, Im used to work on a mac, but in my new job i have to use both the PC and MAC. Now im used to CS4 and i just migrated to CS5. Now most shortcuts im used to dont work, wich is a real pain. I completely rely on them for i sometimes dont even