Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041648
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2019-08-14 09:492019-08-16 07:34
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revision7b1fc16107d5
ProjectionnoneETAnoneTarget VersionRR19Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041648: [NewDiscountEngine] Use JS classes to implement OB.DEC instead of regular functions

DescriptionAs part of the new discount engine proyect, it is necessary to implement OB.DEC from ob-arithmetic with js classes.

These change allows to create a in-middle js class called OB.BIGDEC that only operates with BigDecimals. These new API allows to operate without precision lost on intermediate numeric operations


OB.DEC should extend from OB.BIGDEC.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0114006)
hgbot (developer)
2019-08-14 09:53

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7b1fc16107d53e69aa40686b8de317c484507f8d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Aug 14 09:52:32 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b1fc16107d53e69aa40686b8de317c484507f8d [^]

Fixed issue 41648: [NewDiscountEngine] Use JS classes to implement OB.DEC
instead of regular functions

This commit includes:
  * Refactor of ob-arithmetic to use javascript classes.
  * Include new calculation API called OB.BIGDEC to operate only
    with BigDecimals (no rounding or scale).

---
M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js
---

- Issue History
Date Modified Username Field Change
2019-08-14 09:49 jorge-garcia New Issue
2019-08-14 09:49 jorge-garcia Assigned To => jorge-garcia
2019-08-14 09:49 jorge-garcia Triggers an Emergency Pack => No
2019-08-14 09:50 jorge-garcia Description Updated View Revisions
2019-08-14 09:53 jorge-garcia Status new => scheduled
2019-08-14 09:53 hgbot Checkin
2019-08-14 09:53 hgbot Note Added: 0114006
2019-08-14 09:53 hgbot Status scheduled => resolved
2019-08-14 09:53 hgbot Resolution open => fixed
2019-08-14 09:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b1fc16107d53e69aa40686b8de317c484507f8d [^]
2019-08-16 07:34 marvintm Review Assigned To => marvintm
2019-08-16 07:34 marvintm Status resolved => closed
2019-08-16 07:34 marvintm Fixed in Version => RR19Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker