Error: -5012, Unbalanced Transaction  SBO 2005 A SP1 PL16

Hi everyone,
I am working with an add-on program that creates journal vouchers from a 3rd party database.  Before 2005 A SP1, the add-on worked as designed.   Once SP1 was installed, if the add-on tries to create a journal voucher with more than one transaction, the error -5012, Unbalanced Transaction occurs. 
No Add-on code was changed.  I am using 2005 A SP1, PL16.
On System Initialization>Document Settings, Per Document tab for Journal Entry, the "Block Unbalanced RC Journal Entry" is unchecked, along with all the other checkbox on this tab. (Form 228, Item 36, OADM, FcNoBlnc)
On the Journal Voucher Form, Form Settings, Document tab, General tab, the "Allow Unbalanced Transaction if FC" checkbox and the "Allow Multi-Currency Transactions" checkbox are checked by default.  On the Table tab of the Document tab, both "From LC Field" and "From FC Field" are unchecked.
I know the system currency handing in exchange rate & conversion changed from SP0 to SP1, but I don't know what technical changes I have to make to the DI code or if there is a setting in the program I need to change.   I have searched for this issue, but I have not found a resolution.  I know other areas of the program have had this issue in the pasted, but they have be resolved in previous patches.
Any help would be greatly appreciated.

This issue was resolved in 2005 A SP23.  See SAP note 1012754.
I am now using SP41 and all my transactions are being included as one.  Still trying to fiqure out what the problem is now.
Edited by: Greg Stratakes on Mar 6, 2008 2:54 PM

Similar Messages

  • Error while posting journal entry: -5012/unbalanced transaction

    Hi everyone,
    I got this error message when trying to add a FA Retirement.  FA is dated 26.May.08, depreciated for the month of May 2008 and would like to be retired on 01.June.08 (sale with customer).
    FA G/L Account Determination is completely defined.
    Would appreciate any reply.  Thanks in advance!
    Jac

    Hi Jac,
    1, There is a known issue in a lower version before  2005A SP01 PL30when you try to run a retirement operation for a fixed asset with Net Price equal to the Net Book Value, it failed and you got the following error message:
    21141 error while posting journalentry: -5012 /Unbalanced Transaction.
    If you are in this scenario, please upgrade your Fixed Assest to the latest patch.
    2. If you are not in above scenario, this problem is possibly caused by the incorrect configuration of accounts in G/L
    Account Determination.
    There should not be 'Default VAT Group' related to these accounts except for account 'Default Revenue Acc. Retirement' in G/L Account Determination.
    1) Go to Administration - Setup - Fixed Assets - Open G/L Account Determination;
    2) Select an Account Determination Group;
    3) Under the G/L Account Determination window, open the account linked to 'Balance Sheet of Asset Acc.' by clicking on the yellow arrow;
    3) The Chart of Accounts window will open, click on the'Account Details' button beneath the window to open G/L Account Details;
    4) Empty the field 'Default VAT Code';
    5) Execute the Retirement functionality again.
    You can also refer to SAP Note 1050423 for reference. https://service.sap.com/sap/support/notes/1050423
    I hope it is helpful!
    Regards,
    Ivy Zhang
    SAP Business One Forums Team

  • Found Error: -5012, [OJDT], Unbalanced transaction

    Hello Everyone,
    Our developer created an addon for SBO that is handling petty cash events. This addon creates a journal entry when an invoice with payment term = cahs is added.
    The addon works fine when no payment means is given before invoice is added, i.e. invoice stays open and one journal is posted by SBO and one by the addon.
    Whenever payment means is given before invoice is added, the addon halts with an error message from DI API: Found Error: -5012, , Unbalanced transaction
    In this latter case 2 posting should be made by SBO one for the normal invoice and one payment, plus the addon should add a journal posting via DI API.
    The actual code doesn't check any open-closed status of the invoice, justs fetches the payment term and the Doctotal of the added invoice and if payment term is cash, then wants to add a posting.
    We suspect that some validation process is going on in the latter case that prevents the adding of the 3rd posting.
    Has anyone seen anything like that? Any ideas?
    Regards.
    Bálint Hernádi

    Balint,
    What version of SAP Business One are you using?  There were recent patches released that address the issue that you outline.  Please see the attached link for the respective SAP Note on this issue.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000987398
    HTH,
    Eddy

  • Unbalanced Transaction 5012

    Hi! I am trying to create an AR Invoice through SDK. We've been doing that for 2+ years already and it never failed until yesterday. All of a sudden we got the "5012 Unbalanced Transaction" error in our SDK code when adding the AR invoice (of type SAPbobsCOM.BoObjectTypes.oInvoices)
    The AR Invoice contains about 200 inventory items, no freight. All tax lines are marked with the "EX" tax-exempt code. The resulting journal entry should look like this:
    Accounts-REceivable $yy.yy (debit)
    Sales-category1  $xx.xx (credit)
    Sales-category2  $xx.xx (credit)
    Sales-categoryN  $xx.xx (credit)
    That simple! And it worked thousands of times before....
    When I look at the items that should go on this AR Invoice, I am not noticing anything unusual.
    We're using SAP 2007A PL47
    "Block Unbalanced Journal Entry" is UN-checked
    Any suggestions?
    thanks
    Simon

    Hi Janos,
    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 sum is equal to Credit sum (highlited with red)
    <?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>

  • Unbalanced Transaction error when posting delivery note

    Hi Experts
    I am being faced with an error of Unbalanced Transaction when I am trying to convert a Sales Order to Delivery.   I have checked rounding method in document settings and we are rounding by currency.
    Regards
    Jon

    Hello Johnny:
    1.  Overall - Administration > Set Up > Financials > G/L Account Determination > General Tab
    I would suggest getting with your accountant to find out if they used the Rounding GL Account on the Item Group (Administration > Set Up > Inventory > Item Groups > Acccounting Tab) or Warehouse (Adminstration > Set Up > Inventory > Warehouse > Accounting Tab).  Sometimes they use the account for Exchange Rate and other areas...
    Take care - Zal

  • Unbalanced Transaction in A/R Invoice

    Dear All,
    We have been trying to add a A/R Invoice and it throws the following error named "Unbalanced transaction". Where could the error have occurred and what are the possible places that we can check these things.
    Please guide me.
    Thanks in advance.
    - Rajesh

    Hi,
    Normally this error will display when your Cr. side and Dr. side of the Jornal relavant to the document A/R Invoice is not tally.  Check the Cr. side amounts total and Dr. side amount total of the document.
    Normally In A/R Invoice
                                                         Dr.                       Cr.
    Customer Account               --         A                         --
    Tax account if any                          --                          B
    Sales Account                               --                          C
    Total                                             A                       B+C
    Here A = B+C, If this is not happened then the error will display as you told. 
    Pl. check the relevant account amounts.
    Hope this will help you
    Regards,
    Venkatesan G.

  • SBO 2005 SP1

    I have SBO 2005 A on my computer. I have just downloaded SBO 2005 SP1. What are the differences between SBO 2005 and SBO 2005 SP1?

    Well... there are many things... Here are the most important.
    Client
    - Better permormance
    - Better support of stock below zero
    - Better help docs
    - New document transfer system (Copy from/Copy To)
    - New standard Reports
    - New Backorder system
    - Greatly improved Pick And Pack system
    - Year to date features
    - Zero total invoices
    - MS SQL Server 2005 Support
    - Admin History
    SDK
    - FormDataEvent
    - FormInfo Object
    - New DI-objects
    - Current Period property
    - Delete Lines in documents
    There sould be no reason not to use the SP01 version... (For some older systems upgrading can be tricky)

  • Unbalanced Transaction error

    Hi experts,
    while dont a/p invoice by using the base document as GRPO, the error was showing Unbalanced Transaction
    note: i set the tax code as Non deductable 100% for excise item
    if am setting 0 means it was working
    i done po-> copy to Grpo-> copy to Incomin exinvoice-> grpo copy to A/p invoice at that time error occuring
    help me
    anand

    Hi,
    If the tax code is exciseable then why you are doing it 100% non deductable.
    Company take input for excise so it is not logical .
    and if you have posted excisable invoice for grpo ,for invoice you can not change that perticuler column..
    Regards
    Deepak Tyagi

  • Patch SAP 2005 A sp1 to PL14 experience

    Good Morning, ( I hope some of you may find our patch experience helpful)
    Yesterday (1/16/07) We patched our 2005 A SQL sp1 server to PL 14 from PL 4 running on Windows Server 2003 with SP1 and SQL Server 2005 (not SP1 yet). 
    The documentation instructed us to install to PL 10 first then on to PL14.  We followed this instruction.
    We could not get the "Install Interface" -Upgrade Server Tools --> Install or the Common Upgrade -->Install routines to work at all.
    We attempted to manually upgrade each package --> ServerTools, DI API, SDK, CommonUpgrader as per the instructions in Upgrade.pdf for SQL 2005.  This routine did not work.
    We Uninstalled each component separately (AddRemove tool in Windows) as noted on line 5 in the PatchReadme.pdf file, then reinstalled each component manually.  This method DID work. 
    I think your documentation should be amended to add this method if the current printed method does not work for a particular installation.
    Then we upgraded a Client which in turn Upgraded the Company database to PL 10.  Then we upgraded the rest of our clients.  All Successful.
    Then we attempted to patch to PL 14.  Same issue as above with the "interface". 
    Installing directly over PL 10 did not work and we had to uninstall and re-install each component separately and manually.
    When installing UpgraderCommon to PL14, an error message box very near the end of the process (when running the "TmSp_CopyCompany" Stored Procedure) popped up stating:
    [SQL ......][....][ ...    ] "Must declare the scalar variable @Cmd"
    Click OK and then the Upgrader Routine "apparently" finished...??  Logging on to the compnay through a client gave no indication that the database had changed from PL10, eventhough the client upgraded to PL14.
    I looked through the Patch files and found these two TmSp_CopyCompany.txt files relating to the "TmSp_CopyCompany" in these directories (where I had unzipped the Patch Files):
    "F:\SAP Patches\Patch 14\Packages\Upgrader Common\Setup\Queries\Sp\1" and "F:\SAP Patches\Patch 14\Packages\Upgrader Common\Setup\Queries\Sp\4"
    I changed the @cmd variable definition to @Cmd to match the two places in each text file's Stored Procedure where the @Cmd variable was called and re-ran the UpgraderCommon setup.exe.  This time the routine completed without the message box error.  You may want to make sure these files are edited for CASE sensitive SQL installations.
    I opened the Company in a Client - updated the Client to PL 14, but did not get the "update your database" message this time either, so I didn't know if the database had been patched to PL 14.  The clients appear to connect to the company and the staff could get back to work, so I left the Patch in that condition.
    Later, after hours, I looked at the SBO_COMMON database and found a database at 177 MB and a log file at 4.9gig!  I backed up the SBO-COMMON database, tried to shrink the database, then the log file only several times, setting the filesize to 500MB in an attempt to get the ldf file to shrink.  I restored from the backup and tried to shrink again... all to no avail!  All these methods were using the SQL 2005 manager interface-not direct SQL statments.
    Finally, I deleted the SBO-COMMON database then ran the PL14 UpgraderCommon Setup.exe.  This created a new SBO-COMMON database (76MB data and 40MB log).  Much better.
    I logged on to the company through a client, no indication of any changes were presented and the clients appear to be connecting and working properly at PL14.
    According to HELP/ABOUT in the client (Version: SAP Business One 2005 A (6.80.318) SP:01 PL:14).
    Question(s):  How can we know that the database version and the Client Version are patched to the same level?  or since it appears to be working now, it is ok? or will we see some issues in the future?
    Does anyone know the effects of upgrading to the SQL server to SP1 ?

    Hi,
    looks like MSSQL Server 2005 uses wrong collation settings. This can be the reason for other unexpected issues with B1 as well.
    How to solve that, just do a note search at <a href="http://service.sap.com">http://service.sap.com</a> or
    a) if you are a customer ask your partner
    b) if you are a partner have a look into an empowerment session at <a href="http://service.sap.com/smb">http://service.sap.com/smb</a> section self/help or ask SAP B1 support.
    Q How can we know that the database version and the Client Version are patched to the same level? or since it appears to be working now, it is ok?
    A As soon as Softwareversion does not hit DB version of SBO Common and Customer DB, you get an info during login into B1. If you are logged in sucessfully go to Help->About SAP B1 and find out your currently used Patchlevel
    Q or will we see some issues in the future?
    A see above issue collation settings MSSQL 2005
    Q Does anyone know the effects of upgrading to the SQL server to SP1 ?
    A There are no side effects known so far with MSSQL 2005 SP01
    Hope this helps
    Regards
    Message was edited by:
            Mario Schoenberg

  • Unbalanced Transaction with Cenvat Tax Code

    Hi All
    I  have a problem with A/R Down Payment Invoice.When i am trying to add the invoice with Cenvat related Tax code ( BED+VAT)the system is throwing an error which reads as follows:
    " Unbalanced Transaction Message 131-91" 
    But when i am changing the tax code and selecting only Vat Code The A/R Downpayment Invoice is added succesfully.
    Can anybody please throw some light on it what is the problem.
    Can we use cenvat related Tax Code with A/R Downpayment Invoice or not..?
    need your help
    warm regards
    anand

    Hi Jeyakanthan
    Thanks for the reply.Actually our client has a requirement.They do big projects of construction
    as a result they receive payment in phases.The payment terms is like
    1) 10% advance on receipt of order
    2) Raise Invoice  for 30% on approval of drawings + 100% taxes & Duties (Cenvat)+ freight
    3) Raise Invoice for 40% after Initial inspection
    4)Raise Invoice for 20% after final inspection.
    Note: Payment terms differ with every order.
    For this scenario i think A/R downpayment is ideal.Now when invoice is raised  for 30% we are required to show 100% taxes and duties(Cenvat) in the A/R downpayment invoice.How to achieve this.
    I have to make an invoice (Print layout report) where i have to show
    Total Sales               100%
    Claim Value                30% + 100% Taxex and Duties + freight
    Retention Money         70%  i.e Due from Customer
    Your view on this would be of great help..Any alternate method to achieve this.
    waiting for your reply.
    warm regards
    anand

  • Delete Last Row in Matrix on SBO 2005

    Hi,
    Im using SAPB1 2005 SP1 with B1DE.
    I've seen a post that indicates that the following code should delete a row from a matrix (even the last row) when using SBO 2005
    I still find that all rows except last row of matrix are removed from the database.
    <b>How do I delete the last row from the Del button event handler????</b>
    I'm using
    <i>        [B1Listener(BoEventTypes.et_CLICK, false)]
            public virtual void OnAfterClick(ItemEvent pVal)
                bool ActionSuccess = pVal.ActionSuccess;
                Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
                Item item = form.Items.Item("del");
                Button button = ((Button)(item.Specific));
                // ADD YOUR ACTION CODE HERE ...
                int row;
                Matrix oMtx = (Matrix)form.Items.Item("mtx_0").Specific;
                DBDataSource oDBDS = (DBDataSource)form.DataSources.DBDataSources.Item("@SD_POOLCONTRCT_LINE");
                row = oMtx.GetNextSelectedRow(0, BoOrderType.ot_SelectionOrder);
                oMtx.DeleteRow(row);
                if (oMtx.RowCount == 0)
                    oDBDS.RemoveRecord(0);
                if ((form.Mode != BoFormMode.fm_ADD_MODE) | (form.Mode != BoFormMode.fm_UPDATE_MODE))
                    form.Mode = BoFormMode.fm_UPDATE_MODE;
                }</i>

    Hi Ben,
    [B1Listener(BoEventTypes.et_CLICK, false)]
    public virtual void OnAfterClick(ItemEvent pVal)
    bool ActionSuccess = pVal.ActionSuccess;
    Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
    Item item = form.Items.Item("del");
    Button button = ((Button)(item.Specific));
    // ADD YOUR ACTION CODE HERE ...
    int row;
    Matrix oMtx = (Matrix)form.Items.Item("mtx_0").Specific;
    DBDataSource oDBDS = (DBDataSource)form.DataSources.DBDataSources.Item("@SD_POOLCONTRCT_LINE");
    Rest of your code will remain same.
    I am making the modification here. I am using the RowCount property that gives me the address of the last row of the matrix.
    <b>row = oMtx.RowCount;</b>
    Every time this will return you the last row and that row will be deleted.
    <b>row = oMtx.RowCount;</b>
    oMtx.DeleteRow(row);
    if (oMtx.RowCount == 0)
    oDBDS.RemoveRecord(0);
    if ((form.Mode != BoFormMode.fm_ADD_MODE) | (form.Mode != BoFormMode.fm_UPDATE_MODE))
    form.Mode = BoFormMode.fm_UPDATE_MODE;
    Regards,
    Prashant

  • Service Call in SBO 2005 B PL 38 - Activity done but not added to call

    Hi All,
    I have updated PL 38, SBO 2005 B, I had created Service call, it was created successfully, now i have done activity of return but it dosent add to activity tab and gives us error -> "Generate SCActivity : A Service Call Activity dose not exist"
    Can any one has idea or solution of this please.
    With Warm Regards
    Chintesh Soni

    Hi
    I am not sure note :891809 is suitable for your issue or not.
    this note is about "The Activity exists but it seems that there is no link saved between
    Service Call and Activity."
    hope it could be helpful.

  • [SEND_REPLY(9)] [C4036]: A server error occurred. : transaction failed:

    Anyone know why I'm getting this error? On the client side I'm getting the following exception:
    [SEND_REPLY(9)] [C4036]: A server error occurred. : transaction failed: Unexpected Broker
    Exception: [received message with Unknown Transaction ID -1: ignoring message] user=guest, broker=localhost:7676(3243)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.throwServerErrorException(ProtocolHandler.java:3059)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.writeJMSMessage(ProtocolHandler.java:1555)
    at com.sun.messaging.jmq.jmsclient.WriteChannel.sendWithFlowControl(WriteChannel.java:123)
    at com.sun.messaging.jmq.jmsclient.WriteChannel.writeJMSMessage(WriteChannel.java:76)
    at com.sun.messaging.jmq.jmsclient.Transaction.send(Transaction.java:128)
    at com.sun.messaging.jmq.jmsclient.SessionImpl.writeJMSMessage(SessionImpl.java:683)
    at com.sun.messaging.jmq.jmsclient.MessageProducerImpl.writeJMSMessage(MessageProducerImpl.java:155)
    at com.sun.messaging.jmq.jmsclient.MessageProducerImpl.writeJMSMessage(MessageProducerImpl.java:145)
    at com.sun.messaging.jmq.jmsclient.MessageProducerImpl.send(MessageProducerImpl.java:499)
    In the broker log, I'm getting this:
    [03/Nov/2005:11:13:24 PST] WARNING [B3100]: Unexpected Broker Internal Error : [transaction failed] :
    com.sun.messaging.jmq.jmsserver.util.BrokerException: Unexpected Broker Exception: [received message with Unknown Transaction ID -1: ignoring message]
         at com.sun.messaging.jmq.jmsserver.data.TransactionList.addMessage(TransactionList.java:216)
         at com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.handle(DataHandler.java:141)
         at com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.handle(DataHandler.java:59)
         at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:146)
         at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.readData(IMQConnection.java:1847)
         at com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.process(IMQConnection.java:816)
         at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:141)
         at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:459)
         at java.lang.Thread.run(Thread.java:595)
    [03/Nov/2005:11:13:24 PST] ERROR [B3100]: Unexpected Broker Internal Error : [Unknown transaction: -1(-1) broker will  not notify the client Ignoring ROLLBACK_TRANSACTION(48)
          Packet: ROLLBACK_TRANSACTION(48):117-192.168.0.2(e7:cb:48:e:43:5d)-4127-1131045204302
      Magic/Version: 469754818/301     Size: 112      Type: ROLLBACK_TRANSACTION(48)
         Expiration: 0                 Timestamp: 1131045204302
          Source IP: 192.168.0.2(e7:cb:48:e:43:5d)  Port: 4127     Sequence: 117
    Property Offset: 76               Property Size: 36
         Encryption: 0     Priority: 5
              Flags:                   consumerID: 0
         TransactionID: 0
           MessageID: 117-192.168.0.2(e7:cb:48:e:43:5d)-4127-1131045204302
         Properties: {JMQTransactionID=-1}
    Message Body: 0 bytes
    Internal Buffers (useDirect=false):
    Fixed Header Buffer:java.nio.HeapByteBuffer[pos=0 lim=72 cap=72]
    ]

    Please provide more information,
    . what is the version of MQ you are using ?
    (see top of the broker log)
    . are you using MQ cluster ?
    . describe your application
    amy

  • SBO 2005 SP00 PL10 -- di bug in adding field ?!

    hi,
    since i update SBO 2005 SP00 to Patch Level 10 i get the following error trying to add user fields in a user defined table:
    Datei nicht gefunden (ODBC -2004)
    Is this a bug of SBO2005 SP00 Patch Level 10 ?
    thanks
    Markus

    Hi
    Same here as posted earlier. PL10 definitively has a Problem:
    ODBC -2004  (Datei nicht gefunden)  ?????????
    /message/1567545#1567545 [original link is broken]
    I've already lost a lot of time trying to reproduce/workaround it and this doesn't make me feel better .
    We need better ways to communicate/show such Bugs to SAP.
    Just my 2 Cents

  • Can VC 2005 Runtime SP1 patch be installed for Adobe Premiere V4?

    I have an HP Media Center PC (2005) running XP-Media Center. Have about 98 GB memory left.  I am trying to finish a slide show in Adobe Premiere Elements 4.0. Have run into the same Microsoft Visual C++ Runtime Library error that I see a lot of people are having with different Adobe programs. I am sort of an intermediate user and am wondering if and how I should try to install VC 2005 Runtime SP1 patch. I get confused trying to read about installing it and uninstalling prior versions etc.
    I have tried reinstalling my Premiere program and when it shows it is installing the library the light doesn't blink on my DVD tray.  Making me think that it must not be working on that section of the CD. Hope someone can help.

    Bernice,
    Thanks for the info. If you have Scaled the images to match, or nearly so, the Project's Frame Size, you have ruled that out.
    Now, a little bit of background. While certain "memory functions," like Windows Virtual Memory (Page File) do relate to "memory," the HDD is separate from RAM, which will be installed chips on the MoBo. Within some guidelines, there can be similarities, but in most, they are different.
    As for the pixel x pixel dimensions, your Project will have a Frame Size, say 702 x 480 for an NTSC DV Project. The pixel x pixel dimensions of your stills can be gathered from the Info Panel, with a still Selected, or from a program, like Photoshop/Photoshop Elements.
    Glad to hear that you defrag often.
    As for the Page File size, with a 32-bit OS, then I normally go with a static Page File (so it's the same size all the time), and at about 2x, or 2.5x that of my installed RAM.
    I do agree that Adobe's T/S could be improved upon, and they claim to be working on that. I have seen improvements, but they ARE slow. That is the way it is in a major corporation. Often, good things take so very much time.
    Hope that the forum can help you get this resolved.
    Good luck,
    Hunt

Maybe you are looking for