Journal Voucher SDK bug?

Hi guys,
I have created an add-on that reads data from a text file and creates a journal voucher. The add-on works well, but I have noticed a bug when I create a journal voucher with more than one currency. The bug does not seem to be from my code. I would just like someone to verify that I am doing it all correctly.
I have for example 2 multicurrency business partners. and 2 accounts one is EURO and the other is USD.
eg
BP1 - All currencies
BP2 - All currencies
Acc1 - EURO
Acc2 - USD
When I try to create a journal voucher through the SDK all business partners are displayed with USD as well as EURO, even though only one transaction was in USD. This causes the USD to be unbalanced.
so it would look like this:
Account |     Debit(FC) |    Credit (FC) |    Debit    |     Credit   |
BP1     |               |USD 517.50      |             |  EUR 360.00  |
Acc1    |               |                |EUR 360.00   |              |
BP2     |               |USD 11,571.76   |             |EUR 8,050.00  |
Acc2    | USD 11,571.76 |                |EUR 8,050.00 |              |
I would like it if the USD at BP1 did not appear. There is nothing in my code  that puts USD on that line, but it appears in the journal voucher.
Can anyone verify this bug?
Edit: It appears that I should have posted this in the SDK forums. Could someone please move it?
Edited by: Costas Ioannou on Mar 24, 2010 11:33 AM

I have recreated this in the SDK forums here:
Journal voucher SDK bug?

Similar Messages

  • SDK coding to Remove Journal Entry, Journal Voucher

    Hai,
    I have created journal entry.But before creating, I want to check whether journal entry, journal voucher already created for this month. If it is, already created, I want to remove the existing one.
    My coding is as follows,
    oSBOJournalvouchers = DirectCast(ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalVouchers), SAPbobsCOM.JournalVouchers)
                              Try
                                    oSBOJournalvouchers.JournalEntries.GetByKey(10)
                                Catch ex As Exception
                                    SBO_Application.MessageBox(ex.Message)
                                End Try
                                If oSBOJournalvouchers.JournalEntries.Remove() <> 0 Then
                                    ocompany.GetLastError(errcode, errmsg1)
                                    SBO_Application.MessageBox(errcode & "-" & errmsg1)
                                End If
        oSBOJournalvouchers.JournalEntries.GetByKey(10) --In this line error occurs.
    Error Message is:
    The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
    Any help is appreciated.
    Thanks in Advance.
    Thanks,
    Parvatha Solai.N

    Hi,
    I get the same exception, I'm using 8.81 PL08 ... The creation for Journal Voucher success but when I'm trying to update the update failed ... please advice
    JournalVouchers voucher = (JournalVouchers)Company.SBO_Company.GetBusinessObject(BoObjectTypes.oJournalVouchers);
    voucher.JournalEntries.GetByKey(TransId);   // This line make exception The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

  • Not able to post journal voucher because of unbalanced system currency

    Hi
    I am not able to post journal voucher because of unbalanced system currency (the local currency is matching).
    what should be done, i have posted close to 70 entries!!!!!
    I am using SAP 2005B patch level 44
    please help
    Thanks

    Hi santosh,
                      To the account to which you are posting the entry.What currency you have set for it.
    regards,
    PankajK

  • JOURNAL VOUCHER APPROVAL PROCESS

    Dear Experts,
    I want to create an approval procedure for Journal Vouchers.
    I did the following:-
    I created a UDF - MD-Approval on accounting - Journal transactions header with valid values of Pending, Declined and Approved. Pending is the default value. The field is a mandatory field.
    I made the MD the only user who can edit this field by creating a category in Settings- Fields - setup that is relevant to him only
    I created a stored procedure to block posting of journal Vouchers unless the UDF status reads "approved"
    --------- Block unapproved Journal Voucher-----
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    IF Exists (Select T0.TransID  from dbo.OBTF T0
    WHERE T0.TransId=@list_of_cols_val_tab_del and U_MD_APPROVAL <> 'Approved')
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    End
    The stored procedure above is not working and journal voucher are processed irrespective of the udf field status. Kindly review and let me know what is wrong with it.
    Regards
    George Njuguna

    Hi
    U have to amend it like this :
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    IF Exists (Select T0.TransID  from dbo.OJDT T0
    WHERE T0.TransId =@list_of_cols_val_tab_del and t0. U_MD_APPROVAL <> 'Approved' and  Transtype='30')
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    Set @Transtype =(Select  Transtype from OJDT WHERE T0.TransId =@list_of_cols_val_tab_del )
    declare @Transtype as int
    If Transtype='30'
    Begin
    IF Exists (Select T0.TransID  from dbo.OJDT T0
    WHERE T0.TransId =@list_of_cols_val_tab_del and t0. U_MD_APPROVAL <> 'Approved' )
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    End
    END
    Thanks
    TAruna

  • Journal voucher print

    Hi, expert
    my client wants when i take a print out of a journal voucher it should be print the details like company name & address of the header, in SAP standard format it is not showing ? can it be make any changes or not ?
    regards
    gk

    i already discuss with my ABAPER he told that , its a Standard report & there is no space for details so i cant do any change

  • [svn] 4612: Flex SDK Bug Fix - Added scaleGrid support to BitmapGraphic

    Revision: 4612
    Author: [email protected]
    Date: 2009-01-21 16:58:51 -0800 (Wed, 21 Jan 2009)
    Log Message:
    Flex SDK Bug Fix - Added scaleGrid support to BitmapGraphic
    SDK-17289 - BitmapGraphic source embed does not respect scale9 grid when scaling
    BitmapGraphic will use the scaleGrid properties defined on its embedded source. Since the Player doesn't support scaleGrid on bitmaps, we have to slice the bitmap into nine sections and then scale/translate each section. We create two arrays of points along the grid. These are used to define the topLeft and bottomRight corners of the section. Based on the internal scaleFactor and which section we are in, we draw a scaled and translated section according to the scaleGrid rules.
    More details:
    - Changed BitmapGraphic to no longer use the BitmapFill to draw. Instead, BitmapGraphic performs the drawing code itself.
    - When the source is set, check if it has scaleGrid properties and store these in internal variable
    - Cache the creation of the 16 grid points array. Flush the cache if the source or dimensions have changed
    - To see this behavior in action, set width/height to different values than the source's natural dimensions and set resizeMode = "scale"
    QE Notes: Add tests for BitmapGraphic with embedded assets using scaleGrid
    Doc Notes: Add docs for this functionality
    Bugs: SDK-17289
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17289
    http://bugs.adobe.com/jira/browse/SDK-17289
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as

  • [svn:fx-trunk] 5224: Flex SDK Bug Fixes

    Revision: 5224
    Author: [email protected]
    Date: 2009-03-10 14:06:53 -0700 (Tue, 10 Mar 2009)
    Log Message:
    Flex SDK Bug Fixes
    SDK-19772 Initially invisible graphic element can not be made visible
    When visible is false, we were both setting the displayObject invisible and not drawing the graphics. When visible was then set to true, we changed the displayObject visibility, but didn't draw the graphics. The fix is to always draw the graphics when we are not sharing our displayObject. This way we simply toggle visibility on the displayObject on/off, instead of having to perform a redraw.
    SDK-19581 BitmapFill incorrectly handle source property
    Updated code to match code in BitmapGraphic. If the source is a class, we still need to check the type of the newly instantiated instance of that class.
    SDK-19085 unexpected behaviour when setting scaleX < 3 on a LinearGradient
    Internally, we no longer allow scaleX to be less than 2. Visually, this shouldn't have much impact.
    QE Notes: n/a
    Doc Notes: n/a
    Bugs: SDK-19772, SDK-19581, SDK-19085
    Reviewer: Evtim, Chet
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19772
    http://bugs.adobe.com/jira/browse/SDK-19581
    http://bugs.adobe.com/jira/browse/SDK-19085
    http://bugs.adobe.com/jira/browse/SDK-19772
    http://bugs.adobe.com/jira/browse/SDK-19581
    http://bugs.adobe.com/jira/browse/SDK-19085
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • How to change the cash journal voucher

    Hi
    Pls advice how to change  the cash journal voucher lay out , that is auto generated in the system.
    I need to add some fields.
    Thanx

    Hi,
    U need to develop your own layout with the help of your ABAPer with the required fields.
    Then Go to the following path
    Display IMG --> Financial Accounting --> Bank Accounting --> Business Transactions --> Cash Journal --> Setup Print Parameters for Cash Journal.
    Hope you are clear.
    Cheers
    P O I N T S

  • Importing a journal voucher with GL Codes and BP Codes

    Hi Experts,
    I'm trying to get a DTW import for Journal Vouchers working on 8.8 PL05. I have a journal voucher template with GL Codes and BP Codes that I need to import as this is part of some integration.
    If I leave out the BP Codes it works fine but if I add them into the sheet is gives a DTW error "invalid account code application-defined or object-defined error 65171".
    I have tried to add BP code to shortname and add contra account.
    Please any help would be appreciated.
    Regards
    Lou van Wyk

    Welcome to SAP forum Lou...
    I do not know about 8.8 Journal vouchers, but some time ago we were importing with BP codes and we ran into a somewhat similar situation.  I believe we had to format the BP codes to Text in Excel before saving the file to CSV.
    Another time I was working with an individual who had not set up two BP Master Data records before doing transactions like it states in SAP's User Guide titled Data Migration and Opening Balances...
    Maybe that helps?
    Regards,
    Zal

  • How to create Journal Voucher ?

    I 've tried the sample codes from the SAP Help and other with the same result.  I can't create a Journal Voucher.  Either the errors "-5011 Error Msg:Tax account has not been defined for the selected tax", "-5002 Error Msg:Date deviates from permissible range"
    How can i overcome all these errors ? 
    thanks in advance

    Where to put the JournalEntries.Add line was the key!

  • Journal Voucher Posting Authorizations

    SAP Business One 2007A. User cannot see button "Post journal" on journal voucher screen. Reviewed authorizations and according to How to define authorizations user needs journal voucher full, document numbering series, and journal entry. User has all of these authorizations and more as well as professional license and still cannot see button.
    How do I determine which authorization is missing?

    hi
    Please make sure that the user is having the full authorization and not read only authorization under financial-journal voucher
    Regards,
    Manish

  • Smartform Prob. in Journal Voucher(FICO)

    Hi Friends,
    I am doing SMARTFORM for Journal Voucher and I want the out put as when ever i entered the Accounting doc. No in input screen I want display the DEBITS in one Column and CREDITS in another column.. when the conditions satisfies... conditions are K, D, S..
    Example :
    credit           debit
    1,550.00    
    2,550.00
                       6,550.00
    when ever the conditions satisfy i need the output like above...
    Edited by: muralipsharma on Aug 4, 2010 5:44 PM
    Moderator message: "spec dumping", please work yourself first on your requirement.
    locked by: Thomas Zloch on Aug 4, 2010 2:30 PM

    Hello,
    This functionality is not supported in FICA....
    Ofcourse when items are posted to clarification, there shall be 2 GL entries
    DR Bank Clearing Account
    CR Clarification Account
    Ofcourse this may not meet your requirement
    Rgds
    Rajendra

  • PROBLEM IN CREATIING EXCISE JOURNAL VOUCHER

    HI FRIENDS
                      When i am creating excise journal voucher through j1ih one problem i am facing.
                      after entering material number,quantity now i need to maitain excise , eces, hecess but from this screen to how to maintain those becoz field for value maintanence are in display mode , but i need to maintain value in this screen & how.
                     basically i want to know what to select & click after maintaining all information to get the screen --where i can enter the value of bed, ecess. hecess
                    plz help -
    what is the way

    Dear Ambarish
    In J1IH, there is no field to enter material code.  There are 6 tabs in J1IH and in all these tabs, you need to input Excise Invoice reference only.
    Please confirm once again.
    thanks
    G. Lakshmipathi

  • Error from Microsoft Visual C++ while importing a Journal Voucher

    Hi Experts:
    We are requesting your Help because we getting the following error from  Microsoft Visual C++ Runtime Library while importing a  Journal Voucher throught DTW:
    Runtime Error!
    Program:  This application has requested the Runtime to terminate it in an unusual way. Please contact the application support team for more information
    We are working with SAP Busines One 8.8 SP00 PL18
    Thanks Very Much in advanced
    Claudia

    Hi Claudia,
    Your question belongs to SAP Add-on forum.
    Based on the error message, you may have to log a support message.
    Thanks,
    Gordon

  • Journal Voucher Serial Number

    hello,
    We had the serial number for Journal Voucher setup to be entered manually.
    Is there anyway that we can change it to be generated automatically by the system. Note that all the past vouchers have manually entered numbers so what are the consequences of the change and from where can we do this change?
    Regards,

    Journal Voucher is not the formal document. Therefore it is no number available from the same table that hold the JE number.  JV is draft only.
    Thanks,
    Gordon

Maybe you are looking for