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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027079
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsminorsometimes2014-07-15 13:122015-05-26 08:08
ReporteremartinezView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionopenFixed in Version
StatusnewFix 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
Summary

0027079: [RR14Q3] Distribute Between line option is not working well in Discounts and Promotions

DescriptionIf i create a 3x2 of different product and check "distribute between line" and "apply to lowest price", in web pos it does not distribute between line (but chooses correctly the product with lowest price). But in backoffice it does distribute, but between all lines.

So if I add 2 products of 65.5 and one of 89.9, in web pos the discount is applied over 65.5 so ticket total in the end is 155.40€

And in backoffice, the discount is applied over the three lines, by an amount of 19.42
Steps To Reproduce1) 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 if there is any then deactivate all those records

2) 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 IV)
Starting date: 01-01-2012
Priority: 40
Apply Next Discount/Promotion: No
Included Products: Only those defined
X: 3
Y: 2
Discount Subtype: Apply to Lowest Price
Distribute between line: Checked

3. In Products tab:

Product: Solar Charger
Product: Solar Charger all terrain
Product configuration:

4. Log in ERP as Group -Admin-The White Valley Group. Go to product window. Then select product “Solar charger”. Then change the field “Grouped” to

Grouped: Unchecked
Then click Ctrl + s to save the changes

5. Then again select product “Solar Charger all terrain”. Then change the field “Grouped” to

Grouped product: Unchecked
Then click Ctrl + s to save the changes

6. Log in WEB POS (online). Create a receipt with below details

 Product: Solar Charger
Qty: 1
Verify the price details in the web pos

Line 1:

Product: Solar charger
Qty: 1
Unit Price: 65.50
Total Line Amount: 65.50
Total Gross amount: 65.50
Tax Breakdown:

Tax: Entregas IVA 21%
Taxable Amount: 54.13
Tax amount: 11.37
Total Gross Amount:

Total Gross Amount: 65.50
 

7. Again search the product “Solar charger” and add one more quantity

Line 1:

Product: Solar charger
Qty: 1
Unit Price: 65.50
Total Line Amount: 65.50

Line 2:

Product: Solar charger
Qty: 1
Unit Price: 65.50
Total Line Amount: 65.50
Tax Breakdown:

Tax: Entregas IVA 21%
Taxable Amount: 108.26
Tax amount: 22.74
Total Gross Amount:

Total Gross amount: 131.00

8. Again search the product “Solar charger all terrain” and add one more quantity

Line 1:

Product: Solar charger
Qty: 1
Unit Price: 65.50
Total Line Amount: 65.50

Line 2:

Product: Solar charger
Qty: 1
Unit Price: 65.50
Total Line Amount: 65.50
-- Discount 3X 2 of diff product (Re-Factor IV): -65.5

Line 3:

Product: Solar charger all terrain
Qty: 1
Unit Price: 89.90
Total Line Amount: 89.90
Tax Breakdown:

Tax: Entregas IVA 21%
Taxable Amount: 128.43
Tax amount: 26.97
Total Gross Amount:

Total Gross amount: 155.40
Then to complete the receipt, tap on the “Total” amount

Verify “155.40 € remaining to pay.” text appears on the right hand side of the terminal, along with “Tick” button
Then Tap on Ok (Tick) button

Then verify

“Exact amount paid.” text appears
Cash “155.40 with close(X) icon
To complete the receipt, tap on the “Done” button


--> The discount should be distributed in both lines of 65.50, not just in one.
--> Now if you go to the backoffice, you will see that the discount has been distributed in all three lines (should be only distributed in the two lines of lowest price).

See screenshots attached.
TagsNo tags attached.
Attached Fileszip file icon Solar.zip [^] (347,002 bytes) 2014-07-15 13:12

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0077728)
sureshbabu (reporter)
2015-05-26 08:08

Retested @ RR15Q2.1 ...at WEB POS now the discount is distributed in both lines. but at ERP(backend) the discount is wrongly distributed in any all the three lines

- Issue History
Date Modified Username Field Change
2014-07-15 13:12 emartinez New Issue
2014-07-15 13:12 emartinez Assigned To => marvintm
2014-07-15 13:12 emartinez File Added: Solar.zip
2014-07-15 13:12 emartinez Triggers an Emergency Pack => No
2014-07-21 16:02 emartinez Description Updated View Revisions
2015-05-26 08:08 sureshbabu Note Added: 0077728


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker