Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025193 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | always | 2013-11-21 09:55 | 2014-01-22 17:32 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RMP29 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 468a6913d6d4 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025193: grosspricelist (PL including taxes) and priceStd (PL NOT including taxes) are not saved with the correct value | |||||||
Description | Using price including taxes: If you pay an order which have discounts, the field grosspriceList should store the price list price whithout discounts. Note: It only happens when the ticket has a promotion. In the next cases is working fine: - Change price - Basic discount - standard order Example: Adhesive body warmers, price 3.60€ Fixed % disount 10% Ticket 1 Adhesive body warmers 3.60 Discount -0.36 Total 3.24 So far all ok Pay the ticket and check DB: select GrossPriceList, grosspricestd, Gross_Unit_Price,Line_Gross_Amount from c_orderline order by created desc limit 1 grosspricelist|grosspricestd|gross_unit_price|line_gross_amount 3.24| 3.6| 3.24| 3.24 If I correctly understand OB's pricing model (here you have the cheetsheet I use), the values should be: grosspricelist|grosspricestd|gross_unit_price|line_gross_amount 3.6| 3.6| 3.24| 3.24 Using price NOT including taxes PriceSTD is being saved with 0. This field should store the price of the product. example: With this receipt GPS hand held: 290.9 Discount 10%: -30.4 Taxes: 54.71 TOTAL: 315.21 These are the stored values: select PriceList, pricestd, priceActual, lineNetAmt from c_orderline order by created desc limit 1 pricelist|pricestd|priceActual|linenetamount 290.9 | 0 | 260.5 | 260.50 And these are the expected values according to Asier's cheat. pricelist|pricestd|priceActual|linenetamount 290.9 | 290.9 | 260.5 | 260.50 Note: This defect (priceSTD = 0) is happening in every orders, not just with those which have discounts and promotions. Attached you can find a cheat of prices model in OB. | |||||||
Steps To Reproduce | Create several orders with price including taxes and not including taxes (in ERP and in POS) and compare them. queries to check it quickly Including taxes: ----------------- select GrossPriceList, grosspricestd, Gross_Unit_Price,Line_Gross_Amount from c_orderline order by created desc limit 2 Not including: -------------- select PriceList, pricestd, priceActual, lineNetAmt from c_orderline order by created desc limit 2 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0062374) hgbot (developer) 2013-11-25 18:00 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 37ff1cf60ea62997ef614cb78e9f76f175661c3e Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/37ff1cf60ea62997ef614cb78e9f76f175661c3e [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062424) hgbot (developer) 2013-11-28 05:01 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 69c226d03580c83931012cf1d2e81f9bb7c89d46 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/69c226d03580c83931012cf1d2e81f9bb7c89d46 [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062427) priyam (administrator) 2013-11-28 05:03 |
status changed on merge for RMP27.5 |
(0062518) hgbot (developer) 2013-12-04 17:06 |
Repository: erp/pmods/org.openbravo.retail.posterminal-splitlines Changeset: 37ff1cf60ea62997ef614cb78e9f76f175661c3e Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-splitlines/rev/37ff1cf60ea62997ef614cb78e9f76f175661c3e [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062523) hgbot (developer) 2013-12-04 17:06 |
Repository: erp/pmods/org.openbravo.retail.posterminal-splitlines Changeset: 69c226d03580c83931012cf1d2e81f9bb7c89d46 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-splitlines/rev/69c226d03580c83931012cf1d2e81f9bb7c89d46 [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062588) hgbot (developer) 2013-12-05 12:13 |
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque Changeset: 37ff1cf60ea62997ef614cb78e9f76f175661c3e Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/37ff1cf60ea62997ef614cb78e9f76f175661c3e [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062593) hgbot (developer) 2013-12-05 12:14 |
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque Changeset: 69c226d03580c83931012cf1d2e81f9bb7c89d46 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/69c226d03580c83931012cf1d2e81f9bb7c89d46 [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062639) guilleaer (viewer) 2013-12-05 17:21 |
Reclosing |
(0062916) hgbot (developer) 2013-12-19 19:48 |
Repository: erp/pmods/org.openbravo.retail.posterminal.offline Changeset: 37ff1cf60ea62997ef614cb78e9f76f175661c3e Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.offline/rev/37ff1cf60ea62997ef614cb78e9f76f175661c3e [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062921) hgbot (developer) 2013-12-19 19:48 |
Repository: erp/pmods/org.openbravo.retail.posterminal.offline Changeset: 69c226d03580c83931012cf1d2e81f9bb7c89d46 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.offline/rev/69c226d03580c83931012cf1d2e81f9bb7c89d46 [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062988) hgbot (developer) 2013-12-20 13:27 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 468a6913d6d4f208f2fd359c80d52f29bfe97fac Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/468a6913d6d4f208f2fd359c80d52f29bfe97fac [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0062992) priyam (administrator) 2013-12-20 13:28 |
Clsoing as the status changed by RMP28.1 merge |
(0063170) hgbot (developer) 2014-01-02 12:36 |
Repository: erp/pmods/org.openbravo.retail.posterminal.offline Changeset: 468a6913d6d4f208f2fd359c80d52f29bfe97fac Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.offline/rev/468a6913d6d4f208f2fd359c80d52f29bfe97fac [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0063196) hgbot (developer) 2014-01-02 12:51 |
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque Changeset: 468a6913d6d4f208f2fd359c80d52f29bfe97fac Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/468a6913d6d4f208f2fd359c80d52f29bfe97fac [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0063257) hgbot (developer) 2014-01-07 15:40 |
Repository: erp/pmods/org.openbravo.retail.posterminal-splitlines Changeset: 468a6913d6d4f208f2fd359c80d52f29bfe97fac Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-splitlines/rev/468a6913d6d4f208f2fd359c80d52f29bfe97fac [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0063311) hgbot (developer) 2014-01-08 17:06 |
Repository: erp/pmods/org.openbravo.retail.posterminal-warehouseselector Changeset: 468a6913d6d4f208f2fd359c80d52f29bfe97fac Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Nov 25 17:59:56 2013 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-warehouseselector/rev/468a6913d6d4f208f2fd359c80d52f29bfe97fac [^] fixed issue 25193: pricestd and grosspricelist are set correctly --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0063623) guilleaer (viewer) 2014-01-22 17:32 |
reclosing issues |
Copyright © 2000 - 2009 MantisBT Group |