Problem adding Journal entry

Hi everybody.
We've developed an addon for B1 2007A PL 42 and we are facing some concurrency issues.
Some background information:
The add-on has to create a Journal Entry every time an Incoming Payment is made for an Invoice that is in foreign currency and the exchange rate of the day the document is paid is different of that of the Invoice.
This is acheived by catching a successful Incoming Payment using the following code:
if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED && pVal.FormTypeEx == "170"
                && pVal.ItemUID == "1" && pVal.Action_Success && !pVal.BeforeAction)
//some calculations
  oJEntry.Add();
This works fine except when 2 (or more) users simultaneously add an Incoming Payment (i.e They click the ADD button (almost) at the same time)
When this happens only the last Journal Entry gets added.
Any idea how to solve this?
Thanks

try to use transactions in je adding as
If Not SAP.Connection.oCompany.InTransaction Then
                SAP.Connection.oCompany.StartTransaction()
End If
create je
if its added ok, use¨
If SAP.Connection.oCompany.InTransaction Then
                    SAP.Connection.oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                End If
otherwise
If SAP.Connection.oCompany.InTransaction Then
                    SAP.Connection.oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                End If

Similar Messages

  • Adding journal entry to bussiness partner

    Hello There
    I am trying to create a journal entry for a business partner.
    the issue is because the business partner doesn't appear officially/directly in the chart of account- I get an error for that.
    (the property is : jr.Lines.AccountCode )
    (when I use an account that appears in the chart of account, everything works fine)
    any suggestions?
    rgds
    HAGAI
    jr.Lines.SetCurrentLine(0)
                jr.TaxDate = TAX_DATE
                jr.Lines.AccountCode = cardId
                jr.Lines.Debit = SUM
                jr.Lines.DueDate = DUE_DATE
                ' vje.Lines.Line_ID = 0
                jr.Lines.ReferenceDate1 = Date.Today
                jr.Lines.ShortName = cardName
                jr.Lines.TaxDate = TAX_DATE
                jr.Lines.Add()
                'MsgBox(vje.Lines.Line_ID)
                jr.Lines.SetCurrentLine(1)
                jr.Lines.AccountCode = BANKCODE
                jr.Lines.Credit = SUM
                jr.Lines.DueDate = DUE_DATE
                jr.Lines.ReferenceDate1 = Date.Today
                jr.Lines.ShortName = BANKCODE
                jr.Lines.TaxDate = TAX_DATE
                If lRetCode <> jr.Add() Then
                    oCompany.GetLastError(lErrCode, sErrMsg)
                    writeToLog(lErrCode, sErrMsg, Date.Today, False)
                    Return
                End If

    Hi Hagai!
    hope that thread helps you to solve your problem:
    JournalEntries

  • Adding Journal Entry  throgh Incoming Payments,

    Hi Friend,
                  I need Help ....
    I need to create a journal entry using incoming payment. I have different types of deduction Accounts. All deductions need to display in  journal entry and also its reflect in Invoice.Then only invoice going to close.
    Dim junEntry As SAPbobsCOM.JournalEntries
    Ex :-
    :::::Journal Entry::::::
    *Account Code/BpName*                *AccountName*          *DR*            *CR*
    620005                                Deduction1            10      
    620006                                Deduction2           100
    620007                                Deduction3           100
    620008                                Deduction4           115
    620009                                Deduction5            10
    6200010                              Deduction6             10       
    6200011                         Cash Recived               655             1000
                                                              1000             1000 
            Dim decDebi As Decimal = 0
            Dim dtCount As Integer = dtDataTable.Rows.Count - 1
            junEntry = objAddOnCentral.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
            junEntry.Memo = strBpCode
            junEntry.ReferenceDate = Now.Date
            For intLoop = 0 To dtDataTable.Rows.Count - 1
                junEntry.Lines.AccountCode = dtDataTable.Rows(intLoop)("Account").ToString()
                junEntry.Lines.Debit = dtDataTable.Rows(intLoop)("Amount").ToString()
                decDebi += CDec(dtDataTable.Rows(intLoop)("Amount").ToString())
                junEntry.Lines.Add()
            Next
            junEntry.Lines.ShortName = strBpCode.Replace("Incoming Payments", "")
            junEntry.Lines.Credit = decDebi
            junEntry.Lines.Add()
            intErrCode = junEntry.Add()
            If intErrCode <> 0 Then
                objAddOnCentral.objApplication.StatusBar.SetText("" & objAddOnCentral.objCompany.GetLastErrorCode & " " & objAddOnCentral.objCompany.GetLastErrorDescription & "", SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
                Return False
            End If

    Hi,
    I thing no need addon once u add incoming payment automatically invoice will close and JE also will pass.
    Regards,
    Siva

  • Reminder app problem adding new entry.

    I updated my iPad to IOS 5. Testing the "reminder" app lets me easily add new reminders. After three tries all the buttons under "edit" disappeared. Is there any way to reset/reinstall the app or to get the buttons back. As I'm from Germany maybe there are not the correct translations for "Erinnerungen" (Reminder) or "Bearbeiten" (Edit). Sorry.
    Can somebody help?

    The format of your ldif file is incorrect and does not containt valid LDIF format (see RFC 2849)
    First an empty line is a separator for entries within LDIF, so the data appears as several LDAP entries not just one.
    Second, the attribute name is attributeTypes and not attributeType.
    Third, there must be a colon ':' separator between attributetypes and the value for that attribute type definition.
    Regards,
    Ludovic

  • Adding Journal Vouchers

    Hello there,
    I am having a problem adding Journal Vouchers to SAP using the DIAPI. I have gotten everything from an "Unbalanced Transaction Error" to a "Date deviates from permissible range Error". Here is my code in VB. Please if anyone can help it would be much appreciated
    (I am reading a recordSet object to populate the fields of the journal voucher)
    ''set up the header of the journal voucher
    oJV.JournalEntries.ReferenceDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Reference = oRecord.Fields.Item("Descr").ValidValue
    ''set up the lines of the journal entries
    syscode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.SetCurrentLine(lineCount)
    oJV.JournalEntries.Lines.DueDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.ReferenceDate1 = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.ReferenceDate2 = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.VatDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.TaxDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.AccountCode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.ShortName = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.Reference1 = oRecord.Fields.Item("Descr").Value
    If oRecord.Fields.Item("Debit").Value = 0 Then
                    oJV.JournalEntries.Lines.Credit = oRecord.Fields.Item("Credit").Value
                    oJV.JournalEntries.Lines.Debit = 0
    End If
    If oRecord.Fields.Item("Credit").Value = 0 Then
                     oJV.JournalEntries.Lines.Debit = oRecord.Fields.Item("Debit").Value
                    oJV.JournalEntries.Lines.Credit = 0
    End If
    'if need be, add a line to the journal entry
    If lineCount <> 1 Then
                    oJV.JournalEntries.Lines.Add()
    End If
    'every two lines in my record set it a journal entry
    'so check if a journal is ready to be added
    If lineCount Mod 2 <> 0 Then
    'add a journal entry to the voucher
    If oJV.JournalEntries.Add() <> 0 Then
              MessageBox.Show(oCompany.GetLastErrorDescription)
    End If
    lineCount = 0
      addedJE = True
    End If
    oRecord.MoveNext()
    If addedJE = False Then
          lineCount += 1
    End If
    End While
    ''add the journal voucher
    If oJV.Add() <> 0 Then
          MessageBox.Show(oCompany.GetLastErrorDescription)
    End If
    End Sub

    Hi guys!
    Thanks for your help.I have checked my debits and credits and I have simplified my code alot. I am able to now add a journal voucher with one journal with multiple lines. The problem seems to have been when i tried to call oJV.JournalEntries.Add(). It seems you just have to add the JournalLines and then the actual Journal Voucher.
    That is all fine but now i am having a problem setting different Posting Date (ReferenceDate on the Object), DueDate(DueDate on the Object) and Document Date (TaxDate on the Object).
    The Journal Voucher is added to SAP but all three dates are the same when in my code, i have set the Document Date to be different from the Posting Date. Could this be because I am using a Document Date of 19/12/07 and a Posting Date of 23/11/07 ( in another period)??? i dont knw. Please help if you can. My code is below :
    ''set up the lines
    syscode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.SetCurrentLine(lineCount)
    ''Set Dates on lines
    oJV.JournalEntries.Lines.ReferenceDate1 = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.DueDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.TaxDate = FormatDateTime(oRecord.Fields.Item("DocDate").Value, vbShortDate) ''Doc Date*******
    oJV.JournalEntries.Lines.AccountCode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.Reference1 = oRecord.Fields.Item("Descr").Value
    If oRecord.Fields.Item("Debit").Value = 0 Then
       oJV.JournalEntries.Lines.Credit = oRecord.Fields.Item("Credit").Value
       oJV.JournalEntries.Lines.Debit = 0
    End If
    If oRecord.Fields.Item("Credit").Value = 0
       oJV.JournalEntries.Lines.Debit = oRecord.Fields.Item("Debit").Value
       oJV.JournalEntries.Lines.Credit = 0
    End If
    oJV.JournalEntries.Lines.Add()
    oRecord.MoveNext()
    If addedJE = False Then
         lineCount += 1
    End If
    pbStatus.Value += 1
    End While
    If oJV.Add() <> 0 Then
        MessageBox.Show( oCompany.GetLastErrorDescription)
        squery = squery.Replace("'", "")
    End If
    Kind regards,
    Greeshma

  • 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

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

  • Journal Entry Problem

    Hello,
               I am using SAP 2007 B  PL 15 and SAP user making a journal entry document but after 115 lines users unable to add new rows its happned more then one user
    Is there limitation for rows ? if not then how can i solve this issue please take a higher priority.
    Thanks and Regards
    Rahul

    Rahul,
    You can try to create more than 100 line of journal entry but make sure if the total debit or credit digit number are not more than 13.
    JimM

  • Problem adding Remote multisite Entry Point

    Hi, we have DirectAccess 2012 setup for multisite with a default site with 2 DA servers with load balancing in Sweden, one DA server in Phoenix (US) and one in Romania. For the US one i had to change the entrypointDC after i had added it since otherwise
    i could not use the RemoteAccess management console.. everything just hung when it could not load the configuration.. i guessing it timed out.. getting the config from the US AD server and that broke everything (hmmm...)
    I am now trying to add another entry point in the US (not the same site) but cant get past "adding an entry point... Please wait while the configuration is applied.." i have waited a couple of days.. it dos not get past that.
    I wanted to try the powershell command for adding a entry point to but i cant find any info on how to specify the different GPO:s correctly.. i have Windows 7 computer to so i need a server GPO , a client GPO  and a windows 7 group.. and i have not
    been able to figure out how to do that..   
    Or if its possible to change a entrypointDC while adding the entrypoint.. so it wont time out.
    Anyone have any smart tips ?
    BR
    Daniel

    Hi Daniel,
    Please try to follow the guide below,
    Deploy Multiple Remote Access Servers in a Multisite Deployment
    http://technet.microsoft.com/en-us/library/hh831664.aspx
    Besides, is there any warning or error in the event viewer?
    Best Regards.
    Steven Lee
    TechNet Community Support

  • 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

  • Document numbering of Journal Entry problem

    Hi,
    I've set document numbering format of all documents by related with period indicator. Document number format of all documents such as A/R invoice, A/P invoice, etc is correct except Journal Entry. It is still running by series of default but not relate with peiod indicator which specified in document numbering set up. Please suggest me how to solve or there is any restriction for Journal Entry?
    Thanks you in advanced.

    Thanks Thanga Raj.K  for your response.
    I've already defined period indicator in document number series for JE document. And period indicator is related to posting period. When I create JE, document number series is not changed to relate with posting period. But for other document ( ex. A/R invoice), document number series is changed to relate with posting period automatically. I'm not sure what wrong with JE or there is restriction or not.
    Thanks,

  • 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

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

  • Profit Center in Journal Entry

    Hi,
    I have a problem add an AP Invoice.
    In my invoice, I specify for each line a profit Center.
    After adding this invoice, in the journal entries, the profit center does not appear, and I've to specify it manually on each JE.
    I don't know why.
    can anyone help me ?
    Franck

    You should only get the Profit Center code on any Revenue or Expense accounts in your JDT1 records.  So do you get it on the expense account line for your AP Invoice?  The JE for the BP will not have the profit center but you can add it manually
    Dan

  • Error while posting to Tax Journal Entry for sales and use tax

    Hi,
    I am trying to post a journal entry (FB50) to cleanup and correct the liability on our sales and use tax. All  lines are giving warnings and messages.Give me a suggestion  on how to get it to post .  Or if needed, another solution to correcting the balances in the sales and use taxes.
    But the entry to a/c # 226530 is giving an information message but still wouldnu2019t save.
    The Error message is
    Enter the tax base amounts for account 226400 in company codeAFCO
    Message no. F5A375
    Diagnosis
    You are posting directly to a tax account. Enter the tax base amounts per item using the function "Tax Amounts".
    Kindly help me how to fix the above issue.
    Thanks
    Suvarna

    You may want to check out the following notes... they may shed some light on your problem.
    681930 - Posting on tax account possible w/o specific. of base amount
    1090096 - FB60 / MIRO - Checking direct tax after change (F5A375)
    944978 - FB60 / MIRO - check of direct tax after change

Maybe you are looking for