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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035216
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash upmajorrandom2017-02-09 18:352017-06-19 12:45
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revision8467cfbe97a8
ProjectionnoneETAnoneTarget Version
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

0035216: during cashup, it is possible duplicate invoice lines when one orderline generates two or more invoice lines

Descriptionwhen one orderline is related with two or more goods shipment lines, tow invoice lines are generated, and in some cases, one extra line is generated and the sum of qty invoiced is higher than qty ordered
Steps To Reproducestock prod1:
  locator 1 - prod1 (with lot1) - qty 1.25
  locator 1 - prod1 (with lot2) - qty 0.72
in POS:
. create one receipt with the check "invoice this receipt"
. add one line:prod1
 qty 2
. complete the receipt

create new receipt without check "invoice this receipt":
 . prod2 (it is not important)
  qty 1
. complete the receipt

in backoffice:
 invoice1 has been created:
   line1 prod1: qty 1.25
   line2 prod1: qty 0.75

in POS:
 do cashup

in backoffice:
 invoice1 has been updated:
   line1 prod1: qty 1.25
   line2 prod1: qty 0.75
   line3 prod1: qty 0.75

It is reproducible randomly
Proposed Solutionattached a patch with a possible solution
TagsNo tags attached.
Attached Filesdiff file icon issueSplitLines.diff [^] (644 bytes) 2017-02-09 19:12 [Show Content]
patch file icon issue 35216 source posterminal.patch [^] (2,719 bytes) 2017-02-28 06:44 [Show Content]
patch file icon issue 35216 test.patch [^] (10,265 bytes) 2017-02-28 06:44 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0036273RR17Q1.3 closedranjith_qualiantech_com during cashup, it is possible duplicate invoice lines when one orderline generates two or more invoice lines 
causes defect 0035680 closedjorge-garcia Error in OrderGroupingProcessor in Oracle 11 

-  Notes
(0094783)
hgbot (developer)
2017-03-07 08:56

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8467cfbe97a880b1946632bac69c9d2453a4961d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Mar 07 13:25:16 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8467cfbe97a880b1946632bac69c9d2453a4961d [^]

Fixes issue 35216 : Invoice Line should not be created again, if it is already created in OrderLoader

* If Invoice Line are already created in OrderLoader, then while doing cashup, Invoice line should not be created/splited again
* Invoice are filterted by CashUp identifier

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql
---
(0094784)
hgbot (developer)
2017-03-07 08:57

Repository: tools/automation/pi-mobile
Changeset: a5ce5032be44b6a5e128f23f6692fca8a32fba35
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Mar 07 13:23:41 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a5ce5032be44b6a5e128f23f6692fca8a32fba35 [^]

Verifies issue 35216 : Added automated test 'I35216_VerifyCashUpSplitLines'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I35216_VerifyCashUpSplitLines.java
---

- Issue History
Date Modified Username Field Change
2017-02-09 18:35 malsasua New Issue
2017-02-09 18:35 malsasua Assigned To => Retail
2017-02-09 18:35 malsasua Resolution time => 1488236400
2017-02-09 18:35 malsasua Triggers an Emergency Pack => No
2017-02-09 19:12 malsasua File Added: issueSplitLines.diff
2017-02-09 19:13 malsasua Steps to Reproduce Updated View Revisions
2017-02-13 07:43 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2017-02-13 07:43 ranjith_qualiantech_com Status new => scheduled
2017-02-28 06:44 ranjith_qualiantech_com File Added: issue 35216 source posterminal.patch
2017-02-28 06:44 ranjith_qualiantech_com File Added: issue 35216 test.patch
2017-03-07 08:56 hgbot Checkin
2017-03-07 08:56 hgbot Note Added: 0094783
2017-03-07 08:56 hgbot Status scheduled => resolved
2017-03-07 08:56 hgbot Resolution open => fixed
2017-03-07 08:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8467cfbe97a880b1946632bac69c9d2453a4961d [^]
2017-03-07 08:57 hgbot Checkin
2017-03-07 08:57 hgbot Note Added: 0094784
2017-03-09 12:31 marvintm Review Assigned To => marvintm
2017-03-09 12:31 marvintm Status resolved => closed
2017-03-09 12:31 marvintm Fixed in Version => RR17Q2
2017-04-04 10:33 ranjith_qualiantech_com Relationship added causes 0035680
2017-06-19 12:45 marvintm Status closed => new
2017-06-19 12:45 marvintm Resolution fixed => open
2017-06-19 12:45 marvintm Fixed in Version RR17Q2 =>
2017-06-19 12:45 marvintm Status new => scheduled
2017-06-19 12:45 marvintm Status scheduled => resolved
2017-06-19 12:45 marvintm Fixed in Version => RR17Q2
2017-06-19 12:45 marvintm Resolution open => fixed
2017-06-19 12:45 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker