DI: About Generating a Journal Entry with Returns

Hi since Mexico, I have a problem when I add a Return based on a Delivery. The problem is that the Journal Entry that has to generate for doing the seat of warehouse against cost of sale it does not it do. How can I solve this problem or what I missed for do this task.
Greetings and thanks for your help.

Hi Rafael,
What I understodd about your note is this:
When you post a return based on a Delivery using the DI API object, the system is not posting any journal entry?
Is that right?
I've checked this issue in SBO version 6.5 SP1 EF: 07 and you are right.
The RETURNS object from the DI API is not posting any journal entry for this transaction. Hence, the stock for the item is right, but the balance of the stock account and the COGM account is wrong since no posting was made by the RETURNS object.
Anybody has a solution for this problem?
Kind Regards,
Iván Juárez

Similar Messages

  • Problem in passing Journal Entry with Business partner

    I intend to pass journal entry for a particular Business partner but business partner is a control account how should I pass journal entry for that particular BP.
    Need for this entry is for adjusting some G/L accounts with BP accounts.

    Hi Monica,
    Here's a short example of how to use a business partner in a journal entry.
            Dim oJnl As SAPbobsCOM.JournalEntries
            oJnl = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
            oJnl.DueDate = Now
            oJnl.Lines.ShortName = "C1000"
            oJnl.Lines.Debit = 100
            oJnl.Lines.Add()
            oJnl.Lines.AccountCode = "100000"
            oJnl.Lines.Credit = 100
            If oJnl.Add <> 0 Then
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Else
                oApplication.MessageBox("Success")
            End If
    Hope it helps,
    Adele

  • 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

  • Journal entries in Data Transfer workbench

    Hi all
    When I try to Upload journal entries with debits and credits using data transfer workbench I get an error says Unbalanced transaction.
    I tried lot of things to change but still no go.
    can someone guide me with this data migration
    thanks
    vinodh kumar

    paste it in note pad and save this sample and open with excel
    RecordKey     LineNum     AccountCode     AdditionalReference     BaseSum     ContraAccount     CostingCode     Credit     Debit     DueDate     FCCredit     FCCurrency     FCDebit     GrossValue     LineMemo     ProfitCode     ProjectCode     Reference1     Reference2     ReferenceDate1     ReferenceDate2     ShortName     SystemBaseAmount     SystemVatAmount     TaxDate     TaxGroup     VatAmount     VatDate     VatLine
    RecordKey     LineNum     AccountCode     AdditionalReference     BaseSum     ContraAccount     CostingCode     Credit     Debit     DueDate     FCCredit     FCCurrency     FCDebit     GrossValue     LineMemo     ProfitCode     ProjectCode     Reference1     Reference2     ReferenceDate1     ReferenceDate2     ShortName     SystemBaseAmount     SystemVatAmount     TaxDate     TaxGroup     VatAmount     VatDate     VatLine
    1     1     110001                              28059     30.01.2009                                        abc pte ltd     abc pte ltd     31.01.2009          110001               30.01.2009                    
    2     2     110002                              50000     23.01.2009                                        abc pte ltd     abc pte ltd     31.01.2009          110002               23.01.2009                    
    3     3     261001                         28059          23.01.2009                                        abc pte ltd     abc pte ltd     31.01.2009          261001               23.01.2009                    
    4     4     261001                         50000          22.01.2009                                        abc pte ltd     abc pte ltd     31.01.2009          261001               22.01.2009
    Edited by: Vinod Kumar on Jul 28, 2009 6:56 AM

  • Fixed Exchange Rate in Journal Entry- How to use?

    Hi Expert,
    We need to create a journal entry with different rate VS exchange rate table.
    Is there any way to ovirride the exhange rate during the journal data entry?
    I hv already reads discussion on this topic but i want like following Scenario
    In Exchange rate And indexes i hv define EUR=80 And INR=1
    Now i want following Manual JE
    GL/BP code                   Debit(FC)                Credit(FC)                 Debit                       Credit
    Any Foreign Curr Acc       EUR 10.00                                            750.00
    Any INR Curr ACC                                          EUR 10.00                                             750.00
    I have already make tickmark on Fixed Exchange rate    EUR       75.00  
    but it is not working it shows following JE
    GL/BP code                   Debit(FC)                Credit(FC)                 Debit                       Credit
    Any Foreign Curr Acc       EUR 10.00                                           800.00
    Any INR Curr ACC                                         EUR 10.00                                               800.00
    Plz Replay i m waitting.......my client want result on urgent basis.....
    Regards,
    Sandy

    Hi Sandesh,
    Do you mean after you have added JE, you review it and it is not similar to the JE when you add?
    Toan

  • Tying journal entries to AP Invoices

    Does any one know of a way to find the AP invoice that has generated a Journal Entry. I need to get the vendor name and invoice description that generated the journal entry in Oracle Financials.
    Can this be accomplished without modifing the Oracle Apps. or must we change the JE generating procedure to place the invoice_id in a JE flexfield?
    Thank You

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by J ([email protected]):
    Does any one know of a way to find the AP invoice that has generated a Journal Entry. I need to get the vendor name and invoice description that generated the journal entry in Oracle Financials.
    Can this be accomplished without modifing the Oracle Apps. or must we change the JE generating procedure to place the invoice_id in a JE flexfield?
    Thank You<HR></BLOCKQUOTE>
    Hi
    You can achieve this by running the request "Account Inquiry - Payable Detail 132 char". This report has the details you require.
    Rajani
    null

  • B1if - Create a journal entry

    Hello everyone,
    i hope this is the right section for that scenario, which should be easy but i cannot get it to work. I am trying to create a simple journal entry with the given structure from the B1if Object list. It all works like a charm, except for the scenario when i am trying to use a business partner in the
    <AccountCode>K123456</AccountCode>
    results in: Exception : DI Error: (-5011) Invalid Account Code
    It is necessary for me, to be able to do so. Help is greatly appreciated. Here my full xsl. As of right now it is all hardcoded.
    <AdmInfo xmlns="">
    <Object>30</Object>
    <Version>1</Version>
    </AdmInfo>
    <QueryParams xmlns="">
    <JdtNum/>
    </QueryParams>
    <JournalEntries xmlns="">
    <row>
    <!--multiple such elements are allowed-->
    <ReferenceDate>12.08.2014</ReferenceDate>
    <Memo>Memo</Memo>
    <Reference>Ref 1</Reference>
    <Reference2>Ref 2</Reference2>
    <TaxDate>13.08.2014</TaxDate>
    <DueDate>13.08.2014</DueDate>
    </row>
    </JournalEntries>
    <JournalEntries_Lines xmlns="">
    <row>
    <AccountCode>K123456</AccountCode>
    <Debit>1.00</Debit>
    <Credit>0.00</Credit>
    <DueDate>13.08.2014</DueDate>
    <LineMemo>string</LineMemo>
    <Reference1>R1</Reference1>
    <Reference2>R2</Reference2>
    </row>
    <row>
    <AccountCode>102000</AccountCode>
    <Debit>0.00</Debit>
    <Credit>1.00</Credit>
    <DueDate>13.08.2014</DueDate>
    <LineMemo>string</LineMemo>
    <Reference1>R1</Reference1>
    <Reference2>R2</Reference2>
    </row>
    </JournalEntries_Lines>

    I found the solution myself. You need to use the <ShortName> for the business partner and in the <AccountCode> you need to put your Accounts Receivable account.

  • 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

  • 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

  • Stock Posting does not tally with Journal Entry

    Hi Mentors,
    I currently trying to see the cause of a particular issue with the JE being created by Stock Posting.
    After scavenging the forums, I came across SAP Note 1525960.
    Symptom
    On creating Inventory Posting in locked Posting Period, system gives error message 'Period is
    locked for new data [Message 131-107]'. Keep the window open, go to Posting Periods to
    change the Period Status to 'Unlocked', and then click on 'Reconcile' again. Inventory Posting
    is successfully added.
    The Transaction Value in the Inventory Audit Report is correct. However the Debit / Credit
    amounts in the Journal Entry of Inventory Posting are doubled.
    The note was created in 2010, filed under SAP Business One 2007. I tried to replicate it, and it holds true for our system, which is currently 2004B.
    When I tried to explain the SAP note to our accountant, she said that she did not encounter the error message, since she was the one controlling the period.
    So my question is, if there any other factors that could influence the change in the posting of the JE such that the variance being posted in the JE is more than the actual amount(as verified against "Inventory Posting List" and OINM)? 
    Some facts about our Finance department's practices.
    They enter the "Stock Posting" a month later.
    E.G. Stock Posting for Oct2011 Stock Variance
    System Date: Nov 16, 2011
    Stock Posting - Posting Date: Oct 31, 2011
    Thanks in advance!
    Sean

    Hi Sir Gordon,
    I already checked using your suggested query:
    SELECT * from oinm
    WHERE NegInvAdjs != 0
    found in this [thread|Re: Diffe Amount posting in Same document].
    Unfortunately, 2004B does not have the column "NegInvAdjs". The query failed to execute.
    Thank you for the guidance,
    Sean

  • No Journal entry when AR Return posted

    Forum,
    I have an 8.81 system where each time an AR Return is raised, either manually (not linked to a delivery) or otherwise, once added there is no journal entry option to drill down on under the 'Accounting' tab. This is also the case when raising a Sales Order. No journal appears under the 'Accounting' tab.
    The Items are managed by warehouse and have valid GL Accounts defined within the GL determination and also against the default warehouses.
    Any help/advice would be greatly appreciated.
    Regards,
    Juan

    Hi Juan,
    Either Sales Order or Return is not Financial document. It is normal that no JE associated with those transactions.
    Thanks,
    Gordon

  • 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

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

  • Issue about BI JAVA SDK-SOAP request failed with return message 2147483653

    Dear Experts,
    I'm trying to use BI JAVA SDK to connect BW by using XMLA connector.
    But there's an error messaet said :
    SOAP request failed with return message 2147483653 ( Invalid MDX command with INCLUDING)
    I'm really new to this JAVA SDK, and after searching help in SAP Service Market and Google, there's no helpful suggestion.
    please help me about how to fix this error.
    Here is my code:
    IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs);
          IBIOlap olap = connection.getOlap();
          Cube cube = olap.getObjectFinder().
          findCubeFirst((String)null, "ZFI_C11/ZFI_C11_Q001");
        // This is just a sanity check to verify that the
        // cube on which this example relies was retrieved 
        if (cube==null){
            System.out.println("no cube found");
    // Didn't print out this message, seems it can connect to BW and get the InfoCube and Query.
        Dimension plantDimension = olap.getObjectFinder().
        findDimensionFirst(cube, "ZPLANT");
      Dimension materialDimension = olap.getObjectFinder().
        findDimensionFirst(cube, "ZMATERIAL"); 
      IBIQuery query = olap.createQuery(cube);
      IBICommandProcessor commandProcessor = query.getCommandProcessor();
      commandProcessor.moveDimensionToRows(plantDimension);
      commandProcessor.moveDimensionToRows(materialDimension);
      IBIDataSet dataset = query.execute(); // After execute this statement, error happens.
    Thank you!
    Andy

    Solved myself, it's because the query used in my code have user input variable.

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

Maybe you are looking for

  • Video ipod not recognized by windows at all

    My new video ipod suddenly cannot be recognized by Windows. I'm not really sure what happened - one day I was able to plug it in and have iTunes automatically start and sync, and now whenever I plug it in I just get the message "do not disconnect." A

  • DVD to MP4 programs, all non-US companies?

    In the brief search I have conducted on the web, it looks like the DVD to MP4 converters are all companies from outside the United States. Are their legal issues (it seems so) that do not allow a person to rip their legally purchased DVD into a forma

  • Obligingtrycount not updated

    Hi Team, Obligingtrycount not updated after unsuccessful login attempts. Currently I am using OIM/OAM 10g version. I am facing issue with obligingtrycount.When ever I tryes unsuccessful login attempts from local(OIM and OIM login pages) it is updated

  • Accessing two different wls instances in Apache

    Hi! Does anyone know if it is possible to connect to two different instances of wls 5.1 sp 6 (same IP, different ports) from an apache front-end under the same <VirtualHost>-instance, using mod_wl_ssl.so?

  • Visualize Ram / disk usage desktop application

    Hey everyone, I want to experiment with visualizing realtime ram usage / disk usage in the desktop background, it should also be a bit interactive (when the user moves his mouse the color could change for example) i want to start very basic. Can some