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

Similar Messages

  • Unbalance transaction Error - Journal Entry Posting

    Hi all,
    Good afternoon. i posted  journal  entry using DI -API. I have two  Journal Entry when i add the first journal Entry added the second journal entry not added its show the Error Unbalanced transaction
    Each Journal Entry have 2 lines
    I am using 8.8 patch Level 12
    Please anyone help me out of this issue
    Edited by: lakshmi narayanan on Oct 19, 2011 9:11 AM

    Hi Jitin,
    Did you solved this issue? I just have the same problem with SAP Business One 2007 A (8.00.181) SP: 00 PL: 47
    Here my oJournalEntry XML before Add.
    You can see that Debit amount is equal to Credit amount (highlited with red)
    I would like to receive some suggestions.
    <?xml version="1.0" encoding="UTF-16"?>
    <BOM>
      <BO>
      <AdmInfo>
      <Object>30</Object>
      </AdmInfo>
      <OJDT>
      <row>
      <BatchNum>0</BatchNum>
      <TransId>0</TransId>
      <BtfStatus>O</BtfStatus>
      <TransType>-1</TransType>
      <BaseRef/>
      <RefDate>20140104</RefDate>
      <Memo>AS400-89532</Memo>
      <Ref1/>
      <Ref2/>
      <CreatedBy>0</CreatedBy>
      <LocTotal>0.000000</LocTotal>
      <FcTotal>0.000000</FcTotal>
      <SysTotal>0.000000</SysTotal>
      <TransCode/>
      <OrignCurr/>
      <TransRate>0.000000</TransRate>
      <BtfLine>0</BtfLine>
      <TransCurr/>
      <Project/>
      <DueDate/>
      <TaxDate>20140104</TaxDate>
      <PCAddition>N</PCAddition>
      <FinncPriod>0</FinncPriod>
      <DataSource>N</DataSource>
      <UpdateDate/>
      <CreateDate/>
      <UserSign>0</UserSign>
      <UserSign2>0</UserSign2>
      <RefndRprt>N</RefndRprt>
      <LogInstanc>0</LogInstanc>
      <ObjType>30</ObjType>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <StornoDate/>
      <StornoToTr>0</StornoToTr>
      <AutoStorno>N</AutoStorno>
      <Corisptivi>N</Corisptivi>
      <VatDate/>
      <StampTax>N</StampTax>
      <Series>1543</Series>
      <Number>0</Number>
      <AutoVAT>N</AutoVAT>
      <DocSeries>0</DocSeries>
      <FolioPref/>
      <FolioNum>0</FolioNum>
      <CreateTime>0</CreateTime>
      <BlockDunn>N</BlockDunn>
      <ReportEU>N</ReportEU>
      <Report347>N</Report347>
      <Printed>N</Printed>
      <BaseTrans>0</BaseTrans>
      <U_MIGSAP_KEY/>
      <U_YVA_RENDI/>
      <U_YVA_NUMREN>0</U_YVA_NUMREN>
      <U_YVA_ANULADO/>
      </row>
      </OJDT>
      <JDT1>
      <row>
      <TransId>0</TransId>
      <Line_ID>0</Line_ID>
      <Account>12121</Account>
      <Debit>0.000000</Debit>
      <Credit>0.000000</Credit>
      <SYSCred>0.000000</SYSCred>
      <SYSDeb>0.000000</SYSDeb>
      <FCDebit>0.000000</FCDebit>
      <FCCredit>863.420000</FCCredit>
      <FCCurrency>USD</FCCurrency>
      <DueDate>20140104</DueDate>
      <SourceID>0</SourceID>
      <SourceLine>0</SourceLine>
      <ShortName>C10211220550</ShortName>
      <IntrnMatch>0</IntrnMatch>
      <ExtrMatch>0</ExtrMatch>
      <ContraAct>C10211220550</ContraAct>
      <LineMemo>AS400-89532</LineMemo>
      <Ref3Line/>
      <TransType>-1</TransType>
      <RefDate/>
      <Ref2Date/>
      <Ref1/>
      <Ref2>89532</Ref2>
      <CreatedBy>0</CreatedBy>
      <BaseRef/>
      <Project/>
      <TransCode/>
      <ProfitCode/>
      <TaxDate/>
      <SystemRate>0.000000</SystemRate>
      <MthDate/>
      <ToMthSum>0.000000</ToMthSum>
      <UserSign>0</UserSign>
      <BatchNum>0</BatchNum>
      <FinncPriod>0</FinncPriod>
      <RelTransId>-1</RelTransId>
      <RelLineID>-1</RelLineID>
      <RelType>N</RelType>
      <LogInstanc>0</LogInstanc>
      <VatGroup/>
      <BaseSum>0.000000</BaseSum>
      <VatRate>0.000000</VatRate>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <ObjType>30</ObjType>
      <VatDate/>
      <PaymentRef/>
      <SYSBaseSum>0.000000</SYSBaseSum>
      <MultMatch>0</MultMatch>
      <VatLine>N</VatLine>
      <VatAmount>0.000000</VatAmount>
      <SYSVatSum>0.000000</SYSVatSum>
      <Closed>N</Closed>
      <GrossValue>0.000000</GrossValue>
      <CheckAbs>0</CheckAbs>
      <LineType>0</LineType>
      <DebCred/>
      <SequenceNr>0</SequenceNr>
      <StornoAcc/>
      <BalDueDeb>0.000000</BalDueDeb>
      <BalDueCred>0.000000</BalDueCred>
      <BalFcDeb>0.000000</BalFcDeb>
      <BalFcCred>0.000000</BalFcCred>
      <BalScDeb>0.000000</BalScDeb>
      <BalScCred>0.000000</BalScCred>
      <IsNet>Y</IsNet>
      <DunWizBlck>N</DunWizBlck>
      <DunnLevel>0</DunnLevel>
      <DunDate/>
      <TaxType>0</TaxType>
      <TaxPostAcc>N</TaxPostAcc>
      <StaCode/>
      <StaType>0</StaType>
      <TaxCode/>
      <ValidFrom>19000101</ValidFrom>
      <GrossValFc>0.000000</GrossValFc>
      <LvlUpdDate/>
      <U_BPP_CTAD/>
      <U_BPP_CTAPAT/>
      <U_BPP_DCCD>0</U_BPP_DCCD>
      <U_BPP_DCPR>N</U_BPP_DCPR>
      <U_INFOPE01/>
      <U_INFOPE02/>
      <U_INFOPE03/>
      <U_InfoCo01/>
      <U_YVA_TIENDA/>
      <U_YVA_UNDTRANS/>
      <U_YVA_FECDOC/>
      <U_HYP_Status>3</U_HYP_Status>
      <U_HYP_BofEx400>89532</U_HYP_BofEx400>
      <U_HYP_Closed>N</U_HYP_Closed>
      </row>
      <row>
      <TransId>0</TransId>
      <Line_ID>0</Line_ID>
      <Account>12311</Account>
      <Debit>0.000000</Debit>
      <Credit>0.000000</Credit>
      <SYSCred>0.000000</SYSCred>
      <SYSDeb>0.000000</SYSDeb>
      <FCDebit>431.710000</FCDebit>
      <FCCredit>0.000000</FCCredit>
      <FCCurrency>USD</FCCurrency>
      <DueDate>20140203</DueDate>
      <SourceID>0</SourceID>
      <SourceLine>0</SourceLine>
      <ShortName>C10211220550</ShortName>
      <IntrnMatch>0</IntrnMatch>
      <ExtrMatch>0</ExtrMatch>
      <ContraAct>C10211220550</ContraAct>
      <LineMemo>LT-268302</LineMemo>
      <Ref3Line/>
      <TransType>-1</TransType>
      <RefDate/>
      <Ref2Date/>
      <Ref1/>
      <Ref2>268302</Ref2>
      <CreatedBy>0</CreatedBy>
      <BaseRef/>
      <Project/>
      <TransCode/>
      <ProfitCode/>
      <TaxDate/>
      <SystemRate>0.000000</SystemRate>
      <MthDate/>
      <ToMthSum>0.000000</ToMthSum>
      <UserSign>0</UserSign>
      <BatchNum>0</BatchNum>
      <FinncPriod>0</FinncPriod>
      <RelTransId>-1</RelTransId>
      <RelLineID>-1</RelLineID>
      <RelType>N</RelType>
      <LogInstanc>0</LogInstanc>
      <VatGroup/>
      <BaseSum>0.000000</BaseSum>
      <VatRate>0.000000</VatRate>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <ObjType>30</ObjType>
      <VatDate/>
      <PaymentRef/>
      <SYSBaseSum>0.000000</SYSBaseSum>
      <MultMatch>0</MultMatch>
      <VatLine>N</VatLine>
      <VatAmount>0.000000</VatAmount>
      <SYSVatSum>0.000000</SYSVatSum>
      <Closed>N</Closed>
      <GrossValue>0.000000</GrossValue>
      <CheckAbs>0</CheckAbs>
      <LineType>0</LineType>
      <DebCred/>
      <SequenceNr>0</SequenceNr>
      <StornoAcc/>
      <BalDueDeb>0.000000</BalDueDeb>
      <BalDueCred>0.000000</BalDueCred>
      <BalFcDeb>0.000000</BalFcDeb>
      <BalFcCred>0.000000</BalFcCred>
      <BalScDeb>0.000000</BalScDeb>
      <BalScCred>0.000000</BalScCred>
      <IsNet>Y</IsNet>
      <DunWizBlck>N</DunWizBlck>
      <DunnLevel>0</DunnLevel>
      <DunDate/>
      <TaxType>0</TaxType>
      <TaxPostAcc>N</TaxPostAcc>
      <StaCode/>
      <StaType>0</StaType>
      <TaxCode/>
      <ValidFrom>19000101</ValidFrom>
      <GrossValFc>0.000000</GrossValFc>
      <LvlUpdDate/>
      <U_BPP_CTAD/>
      <U_BPP_CTAPAT/>
      <U_BPP_DCCD>0</U_BPP_DCCD>
      <U_BPP_DCPR>N</U_BPP_DCPR>
      <U_INFOPE01/>
      <U_INFOPE02/>
      <U_INFOPE03/>
      <U_InfoCo01/>
      <U_YVA_TIENDA/>
      <U_YVA_UNDTRANS/>
      <U_YVA_FECDOC/>
      <U_HYP_Status>3</U_HYP_Status>
      <U_HYP_BofEx400>268302</U_HYP_BofEx400>
      <U_HYP_Closed>N</U_HYP_Closed>
      </row>
      <row>
      <TransId>0</TransId>
      <Line_ID>0</Line_ID>
      <Account>12311</Account>
      <Debit>0.000000</Debit>
      <Credit>0.000000</Credit>
      <SYSCred>0.000000</SYSCred>
      <SYSDeb>0.000000</SYSDeb>
      <FCDebit>431.710000</FCDebit>
      <FCCredit>0.000000</FCCredit>
      <FCCurrency>USD</FCCurrency>
      <DueDate>20140305</DueDate>
      <SourceID>0</SourceID>
      <SourceLine>0</SourceLine>
      <ShortName>C10211220550</ShortName>
      <IntrnMatch>0</IntrnMatch>
      <ExtrMatch>0</ExtrMatch>
      <ContraAct>C10211220550</ContraAct>
      <LineMemo>LT-268303</LineMemo>
      <Ref3Line/>
      <TransType>-1</TransType>
      <RefDate/>
      <Ref2Date/>
      <Ref1/>
      <Ref2>268303</Ref2>
      <CreatedBy>0</CreatedBy>
      <BaseRef/>
      <Project/>
      <TransCode/>
      <ProfitCode/>
      <TaxDate/>
      <SystemRate>0.000000</SystemRate>
      <MthDate/>
      <ToMthSum>0.000000</ToMthSum>
      <UserSign>0</UserSign>
      <BatchNum>0</BatchNum>
      <FinncPriod>0</FinncPriod>
      <RelTransId>-1</RelTransId>
      <RelLineID>-1</RelLineID>
      <RelType>N</RelType>
      <LogInstanc>0</LogInstanc>
      <VatGroup/>
      <BaseSum>0.000000</BaseSum>
      <VatRate>0.000000</VatRate>
      <Indicator/>
      <AdjTran>N</AdjTran>
      <RevSource>N</RevSource>
      <ObjType>30</ObjType>
      <VatDate/>
      <PaymentRef/>
      <SYSBaseSum>0.000000</SYSBaseSum>
      <MultMatch>0</MultMatch>
      <VatLine>N</VatLine>
      <VatAmount>0.000000</VatAmount>
      <SYSVatSum>0.000000</SYSVatSum>
      <Closed>N</Closed>
      <GrossValue>0.000000</GrossValue>
      <CheckAbs>0</CheckAbs>
      <LineType>0</LineType>
      <DebCred/>
      <SequenceNr>0</SequenceNr>
      <StornoAcc/>
      <BalDueDeb>0.000000</BalDueDeb>
      <BalDueCred>0.000000</BalDueCred>
      <BalFcDeb>0.000000</BalFcDeb>
      <BalFcCred>0.000000</BalFcCred>
      <BalScDeb>0.000000</BalScDeb>
      <BalScCred>0.000000</BalScCred>
      <IsNet>Y</IsNet>
      <DunWizBlck>N</DunWizBlck>
      <DunnLevel>0</DunnLevel>
      <DunDate/>
      <TaxType>0</TaxType>
      <TaxPostAcc>N</TaxPostAcc>
      <StaCode/>
      <StaType>0</StaType>
      <TaxCode/>
      <ValidFrom>19000101</ValidFrom>
      <GrossValFc>0.000000</GrossValFc>
      <LvlUpdDate/>
      <U_BPP_CTAD/>
      <U_BPP_CTAPAT/>
      <U_BPP_DCCD>0</U_BPP_DCCD>
      <U_BPP_DCPR>N</U_BPP_DCPR>
      <U_INFOPE01/>
      <U_INFOPE02/>
      <U_INFOPE03/>
      <U_InfoCo01/>
      <U_YVA_TIENDA/>
      <U_YVA_UNDTRANS/>
      <U_YVA_FECDOC/>
      <U_HYP_Status>3</U_HYP_Status>
      <U_HYP_BofEx400>268303</U_HYP_BofEx400>
      <U_HYP_Closed>N</U_HYP_Closed>
      </row>
      </JDT1>
      </BO>
    </BOM>

  • Journal Entry Preview before adding any transactions

    Hi experts
    Is there any way to see the preview of Journal Entry before adding any transactions.
    for ex ' AR Invoice '. Just like Simulate functionality in R/3 .
    Thanks
    Ashish Ranjan

    In Business One there is no such possibility.

  • Transactional Notification of Journal Voucher (OBTD)

    Hi, I would like to make the fields for remarks to be required fields for users in journal voucher. However, the journal voucher doesn't call the transactional notification (stored procedure) that is why I don't know where to inject my query.

    Hi,
    If you want to ask question, please repost as a question thread.
    Thanks,
    Gordon

  • 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

  • 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

  • Create trigger in UDF on Journal Entry

    Hi  SAP Users,
           Need help for this ...
           I add User Defined Fields in Journal Entry module, I want this field not to leave blank/empty. Can somebody teach me on how to create a code in SP that will trigger the module to avoid adding the journal entry data if this field in UDF is blank. And where specifically in SP will I put the code if I am pertaining on Journal Entry module
            Thanks
    Vissia

    Hi,
    Try Below...
    IF @transaction_type = N'A' AND (@Object_type = N'30')
    BEGIN
    if Exists ( select T0.TransId from OJDT T0 where  T0.Transtype='30' and
    t0.transid = @list_of_cols_val_tab_del and (T0.UDF-NAME is null or T0.UDF-NAME= ''))
    BEGIN
    SELECT @Error = 1, @error_message = N'Please select UDF Name !!'
    END
    END
    Apply this in sql server >>choose Data base>>Programmbility>>stored procedure>> SP Transaction notification>> Copy above code and paste and execute
    Note: Above code is for header level UDF. If your udf is row level then just replace the table name OJDT by JDT1 in above code
    Edited by: Deepak Tyagi on Sep 22, 2011 7:30 AM
    Edited by: Deepak Tyagi on Sep 22, 2011 7:33 AM

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

  • Preview of Journal Entry - G/L effect , GL Mapping reference

    Hi All,
    I have observed that due to non availability of preview of Journal Entry - G/L effect, there are chances that customer/users come to know of wrong G/L Mapping after the posting of transaction.
    If an option to preview the G/L effects before adding a transaction e.g. A/R Invoice,Sales Delivery etc... is available than the customer/user can rectify the G/L Mapping or the G/L selection at the transaction level.
    Also if one column say GL mapping reference can be added in Journal Entry, the purpose is to store infromation from where the SAP B1 has picked up the GL e.g. from GL increase , GL deccrease , Price Difference from Item Group,Ware House,Item Level GL Mapping.
    Best Regards,
    Samir Gandhi
    Edited by: Samir Gandhi on Apr 22, 2009 7:30 PM

    Dear Peter Dominik,
    I think it is good to show the to be Journal entry effect on click on Add botton, this way user will not have to take additional pain click on preview button to see the JE, but for all cases every user will have to forcefully see the JE screen and confirm that it is OK, and he/she will not be able to change it.
    BR
    Samir Gandhi

  • Background Journal entry for Incoming payment

    Dear Experts,
    Would you please help me in how to get the journal entry for an incoming payment entered as "payment on account".
    The relationship map does not show this, but I can see the credit entry for the customer is passed.
    same happens for incoming payment made for specific AR invoices.
    SAP Doc says...
    Result
    An incoming payment document is created.
    A journal entry that credits the customer and the tax accounts (if tax is involved), and debits the receivable account, is created.
    The journal entries of the incoming payments and the paid invoices are reconciled.
    The paid invoices are closed; they no longer appear in the Open Items list and in the Incoming Paymentswindow as documents for payment.
    So how to check the journal entries for incoming payments.
    Regards
    Message was edited by: Suman Roy

    Hi,
    To see journal entry, drill down arrow at transaction no of incoming payment window.
    Thanks & Regards,
    Nagarajan

  • 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

  • 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

  • Standard Goods Receipt PO resulting in odd Journal Entries

    I posted a Goods Receipt PO which inculded quantity 3 of an item that is $77.60.
    Normally, this should create a Journal Entry where Inventory gets debited $7760x3=$232.80 and the allocation Account (GOODS RECEIVED NOT INVOICED) on the credit side for the same amount (232.80).
    However this time the resulting JE
    (1) credited GOODS RECEIVED NOT INVOICED for the expected amount (price x quantity = 232.80)
    (2) also credited COGS for $1472.37 and
    (3) debited inventory by $1705.17 (the expected $232.80, plus the unexpected $1472.37). 
    Why is the $1472.37 included in this transaction at all - it should have only credited GOODS RECEIVED NOT INVOICED and debited INVENTORY both by $232.80.
    We use FIFO. We do allow negative inventory, however this inventory item was not in negative quantity.
    thanks!
    Geoff

    Gordon, thanks
    When you say "the cost posted would be the earliest inventory for those items" what do you mean? 
    I understand that if I posted an AR Invoice , the COGS would be calculated from the oldest available layer, or if the item had a negative quantity on hand, it would have posted the price difference between those transactions that caused the inventory to go negative and the actual price once a transaction occurred that brought the inventory to zero / positive.  Or if there is a difference in price between a GRPO and AP Invoice, the difference is allocated to the Price Difference Account.
    However in a normal GRPO inventory should be debited, and Goods Received Not Invoiced (allocation account) credited... Why is there a JE to to any other accounts period? 
    What circumstances could cause these?. 
    Prior to this GRPO, the inventory audit showed the item at 70 on hand, $670 cumulative value.  After the GRPO (on which the GRPO Total is $232.80), the inventory audit says 88 on hand and $2375.34 in cumulative value.  This doesn't make sense

  • Exchange rate differences posting failed due to manual journal entries

    when i run exchange rate differences and try to post the result, system shows "No matching recording found 'journal entry' (OJDT) (ODBC-2028) [message 131-183]" at the bottom panel ane the posting was failed. then i found the problem is actually from manual journal entries made to a business partner. as long as i deselect the manual journal entries, the posting was successfully done.
    i am using B1 2007B with pl09. is this standard in B1 2007B that exchange rate differences posting does not work with manual journal entries of BP?

    you are right! it is a bug in 2007B.
    The posting has no problem if the base reference number is same as the transaction number in the manual JE document. however, if we define a numbering series which is different from the transaction serial number, then we have problem with the posting. System searchs for the JE records by using base reference number as transaction number. That is why it could not find the JE document and then report the error message.
    so, where should i post the bug to SAP and let them fix the bug as soon as possible?
    thanks for the help!

  • 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

Maybe you are looking for

  • I upgraded to latest firefox beta 5, it broke my tab related addons, i went back to 4, and they're still broke. How do I fix this?

    The following addons appear to have been permanently corrupted by upgrading to firefox beta 5: Too Many Tabs (TMT) Session Manager Tab Utilities I had others, but have been disabled since before the upgrade. The problems: I can't scroll through eithe

  • Error during VF01

    Hi We are using one sales org. and one credit control area. The same is assigned to the company code under FI module. Now we have created another sales organization and we would like to use another credit control area for another business. Now, we wo

  • How to delete a compresed request

    Hi! I have a doubt if its possile to delete only one request that i have compresed in the cube. I have four request compresed and i need to delete only one. I have the data in the psa too. If possible to do that? Thanks a lot Monica Elizondo

  • Ios7 icons in flash pro cs6?

    I'm using flash pro cs6 because I need the IK animation controls.  How do I add ios7 icons to the publish settings?  I add them manually to the app.xml file, but they get deleted when the ipa compiles.

  • Highlighted search terms in links...

    If I search the forums, then the search terms are highlighted (yellow/bold) in the resulting messages. This is nice except when the search terms appear in a URL. The URL then does not function as a link anymore like it normally does in messages here.