Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-09-19 12:572023-09-25 07:38
ReporterguillermogilView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0053490: User defined percentage raises an error when applied

DescriptionUser defined percentage raises an error when applied.
When applying it raises the following error message:
POS2.js:108 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'scale')
    at e.toBigDecimal (POS2.js:108:13)
    at e.div (POS2.js:128:19)
    at POS2.js:43282:23
    at Array.forEach (<anonymous>)
    at e.executeDiscountCalculation (POS2.js:43279:24)
    at e.calculateDiscounts (POS2.js:39390:12)
    at POS2.js:38741:11
    at Array.forEach (<anonymous>)
    at OB.Discounts.applyDiscounts (POS2.js:38735:19)
    at OB.Discounts.Pos.applyDiscounts (POS2.js:37927:36)
Steps To Reproduce- Create a User Defined Percentage discount in the backoffice
- Login on POS
- Add a product
- Select the line
- Go to Discounts
- Click on your newly created discount
Error is raised
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2023-09-19 12-53-54.png [^] (182,679 bytes) 2023-09-19 12:57

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2023-09-19 12:57 guillermogil New Issue
2023-09-19 12:57 guillermogil Assigned To => Retail
2023-09-19 12:57 guillermogil File Added: Screenshot from 2023-09-19 12-53-54.png
2023-09-19 12:57 guillermogil Triggers an Emergency Pack => No
2023-09-19 12:59 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-09-25 07:38 ranjith_qualiantech_com Status new => scheduled

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker