Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#36 (186) Avoid NPE on posting production

closed
nobody
None
5
2006-11-07
2006-10-03
Vincent Harcq
No

See patch

Discussion

  • Vincent Harcq
    Vincent Harcq
    2006-10-03

     
    Attachments
  • Yves Sandfort
    Yves Sandfort
    2006-10-03

    Logged In: YES
    user_id=467647

    Jorg needs to check in detail for siteeffects

     
  • Yves Sandfort
    Yves Sandfort
    2006-10-03

    • assigned_to: nobody --> jjanke
     
  • Jorg Janke
    Jorg Janke
    2006-10-07

    Logged In: YES
    user_id=87038

    Thanks. The code was fixed several months ago.

     
  • Jorg Janke
    Jorg Janke
    2006-10-07

    • status: open --> closed-fixed
     
  • Vincent Harcq
    Vincent Harcq
    2006-10-08

    Logged In: YES
    user_id=125677

    Now I can not use production on product with cost ZERO.
    Is this what you want ?
    Is it also true for any stock transaction ?
    This was not the case up to 253a I think.

     
  • Vincent Harcq
    Vincent Harcq
    2006-10-08

    • status: closed-fixed --> open-fixed
     
  • Jorg Janke
    Jorg Janke
    2006-10-30

    • assigned_to: jjanke --> comdivisionys
     
  • Jorg Janke
    Jorg Janke
    2006-10-30

    Logged In: YES
    user_id=87038

    Intended behavior - there is not that much with zero cost in this world - also not in production.

     
  • Yves Sandfort
    Yves Sandfort
    2006-10-30

    • assigned_to: comdivisionys --> nobody
    • status: open-fixed --> closed-fixed
     
  • Vincent Harcq
    Vincent Harcq
    2006-11-01

    Logged In: YES
    user_id=125677

    I would prefer that the user had the choice to use zero
    costs product.
    Then that in this case the document get posted with no
    transactions.
    Is there anything you can do for that ?

     
  • Vincent Harcq
    Vincent Harcq
    2006-11-01

    • status: closed-fixed --> open
     
  • Yves Sandfort
    Yves Sandfort
    2006-11-06

    • status: open --> pending
     
  • Yves Sandfort
    Yves Sandfort
    2006-11-06

    Logged In: YES
    user_id=467647

    Could you give a good example of a scenario where you might
    use zero costs? From an accounting perspective that normally
    doesn't make sense?

     
  • Vincent Harcq
    Vincent Harcq
    2006-11-06

    • status: pending --> open
     
  • Vincent Harcq
    Vincent Harcq
    2006-11-06

    Logged In: YES
    user_id=125677

    Consigned stocks

     
  • Yves Sandfort
    Yves Sandfort
    2006-11-06

    Logged In: YES
    user_id=467647

    As soon as you use stuff out of a consigned stock it becomes your stuff per definition
    and gets costings. Since you bild something new which should get costing it must have the
    data.

     
  • Yves Sandfort
    Yves Sandfort
    2006-11-06

    • status: open --> closed
     
  • Vincent Harcq
    Vincent Harcq
    2006-11-07

    Logged In: YES
    user_id=125677

    I mean consigned stock iin the other way.
    When you have stock at your site from your suppliers

    ANother example is free product or gift from your supplier

     
  • Vincent Harcq
    Vincent Harcq
    2006-11-07

    • status: closed --> open
     
  • Yves Sandfort
    Yves Sandfort
    2006-11-07

    Logged In: YES
    user_id=467647

    I have reread the normal tax and accounting regulations in germany (will check ifrs
    later) on consigned stock and all of them say that you have from an accounting
    perspective two chances:

    1) Do not process any Accounting, which is not really okay, but something to get into no
    problems with taxes

    2) You set at least a symbolic price of 1 Euro. That's also how for example it is handled
    in SAP.

    Even a gift is a value for your company has a value which you need to set from an
    accounting perspective.

    So both normal solutions from an accounting perspective are handled as wanted. I even
    talked to an accountant from a tire distributor (not solideal germany) to see whether
    they have something similar and they told me that you either must have a value, or no
    accounting at all. Because if you create 0 amount acct. lines, you will get into problems
    if you get into a checkup by tax offices.

    If this is really needed by french tax law could you please provide the documentation
    which shows the real demand for 0 Amount bookings. Then I might be able to get the okay
    to define an additional Accounting Type for France to store these special rules behind.

     
  • Yves Sandfort
    Yves Sandfort
    2006-11-07

    • status: open --> closed