Menu

Cost Precision Question

jason
2005-03-09
2013-05-02
  • jason

    jason - 2005-03-09

    I'm interested in learning ERP; therefore, to choose compiere as my template step further. Yet after few tries, it aroused me a question about cost. The question is "How to avoid cost precision lost?"  when developing modules. For I found out that may lose its precision when manipulating data. Does compiere apply any pattern or simply using BigDecimal to avoid such problem occurred?
    I appreciate any reply, sincerely.
    Arsene

     
    • Redhuan D. Oon

      Redhuan D. Oon - 2005-03-09

      Hi,
      Yes Compiere certainly allows precision with BigDecimal. U can see lots of it in the codes.

      To control the display u can change the field reference type in the AD's Table & Column area with options such as integer, qty, number, or amount.

      To control the logic u have to go into the codes.

      If u want examples u can dig thru the tutorials stored here: http://red1.org/compiere/ and in http://compilo.sourceforge.net/

      red1

       

Log in to post a comment.