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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027006
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2014-07-03 11:542014-07-24 23:43
ReportersureshbabuView Statuspublic 
Assigned Toszapata 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision4a0e2d14692f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression levelQA functional test
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027006: [Live] Uncaught big decimal error appears when Discount type Buy X pay Y of different product and discount subtype Apply Averag

DescriptionUncaught big decimal error appears when the user try to apply Discount type "Buy X pay Y of different product" and discount subtype "Apply Average"
Steps To ReproduceVerify Discount “Discount 3X2 of diff product (Re-Factor V)” of type “Buy X pay Y of different product” available in the Discounts and promotions window if not create a new record using the below steps:

Log in ERP as Group -Admin-The White Valley Group

Go to Discounts and Promotions window

Check for records of type “Buy X pay Y “and there are any records then Inactivate all those records

Create new record

In Header tab

    Organization: The White Valley Group
    Discount type: Buy X pay Y of different product
    Name: Discount 3x2 of diff product (Re-Factor V)
    Starting date: 01-01-2012
    Priority: 50
    Apply Next Discount/Promotion: unchecked
    Included Products: Only those defined
    X: 3
    Y: 2
    Discount Subtype: Apply Average Price

In Products tab

    Product: Basecamp lantern
    Product: Basecamp lantern with legs

Product configuration:

Log in ERP as Group -Admin-The White Valley Group

Go to product window

Then select product “Basecamp lantern”

Then change the field “Grouped” to

    Grouped product: Unchecked

Then click Ctrl + s to save the changes

Then again select product “Basecamp lantern with legs”

Then change the field “Grouped” to

    Grouped product: Unchecked

Then click Ctrl + s to save the changes

*****

Log in WEB POS (online)

Create a receipt with below details

     Product: Basecamp lantern
    Qty: 1

Verify the price details in the web pos

Line 1:

    Product: Basecamp lantern
    Qty: 1
    Unit Price: 55.50
    Total Line Amount: 55.50
    Total Gross amount: 55.50

Tax Breakdown:

    Tax: Entregas IVA 21%
    Taxable Amount: 45.87
    Tax amount: 9.63

Total Gross Amount:

    Total Gross Amount: 55.50

Again search the product “Basecamp lantern” and add one more quantity

Line 1:

    Product: Basecamp lantern
    Qty: 1
    Unit Price: 55.50
    Total Line Amount: 55.50

Line 2:

    Product: Basecamp lantern
    Qty: 1
    Unit Price: 55.50
    Total Line Amount: 55.50

Tax Breakdown:

    Tax: Entregas IVA 21%
    Taxable Amount: 91.74
    Tax amount: 19.26

Total Gross Amount:

    Total Gross amount: 111.00

Again search the product “Basecamp lantern with legs” and add one more quantity


Defect: uncaught big decimal error appears
TagsNo tags attached.
Attached Filespng file icon Uncaught BigDecimal error appears.png [^] (188,782 bytes) 2014-07-03 11:54

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068545)
szapata (reporter)
2014-07-07 00:38

Can't reproduce in my last update of pi. I'll keep trying.
(0068716)
hgbot (developer)
2014-07-17 23:20

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4a0e2d14692f91c2d4082b42e984b6dea57c922b
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Thu Jul 17 18:18:50 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a0e2d14692f91c2d4082b42e984b6dea57c922b [^]

fixed issue 27006: Offline approval allowed

---
M web/org.openbravo.retail.posterminal/js/model/terminal-model.js
---
(0068718)
szapata (reporter)
2014-07-17 23:40

Commit not related to this issue.
Wrong commit message. sorry.
(0068880)
szapata (reporter)
2014-07-24 23:43

Not reproducible anymore because seems to be fixed by this changeset
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ccff7d14525c23df107ff43132688069fbc98ddf [^]

- Issue History
Date Modified Username Field Change
2014-07-03 11:54 sureshbabu New Issue
2014-07-03 11:54 sureshbabu Assigned To => marvintm
2014-07-03 11:54 sureshbabu File Added: Uncaught BigDecimal error appears.png
2014-07-03 11:54 sureshbabu Regression level => QA functional test
2014-07-03 11:54 sureshbabu Triggers an Emergency Pack => No
2014-07-07 00:38 szapata Note Added: 0068545
2014-07-17 23:20 hgbot Checkin
2014-07-17 23:20 hgbot Note Added: 0068716
2014-07-17 23:20 hgbot Status new => resolved
2014-07-17 23:20 hgbot Resolution open => fixed
2014-07-17 23:20 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a0e2d14692f91c2d4082b42e984b6dea57c922b [^]
2014-07-17 23:40 szapata Assigned To marvintm => szapata
2014-07-17 23:40 szapata Note Added: 0068718
2014-07-17 23:40 szapata Status resolved => new
2014-07-17 23:40 szapata Resolution fixed => open
2014-07-24 23:41 szapata Status new => scheduled
2014-07-24 23:41 szapata fix_in_branch => pi
2014-07-24 23:43 szapata Review Assigned To => Orekaria
2014-07-24 23:43 szapata Note Added: 0068880
2014-07-24 23:43 szapata Status scheduled => closed
2014-07-24 23:43 szapata Resolution open => fixed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker