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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041205
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2019-06-28 14:002019-08-06 16:15
ReporterxabiermerinoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR19Q1.3
StatusclosedFix in branchFixed in SCM revision4956581c4447
ProjectionnoneETAnoneTarget VersionRR19Q1.3
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

0041205: Errors while importing when synchronize a ticket with a discount of 100% and Generate Invoices active

DescriptionWhen you have the check 'Generate Invoice' activate and try to synchronize a ticket with a discount of the 100% an error while importing happens:

java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.get(ArrayList.java:440)
    at org.hibernate.collection.internal.PersistentBag.get(PersistentBag.java:452)
    at org.openbravo.retail.posterminal.utility.InvoiceUtils.createPaymentTerms(InvoiceUtils.java:751)
Steps To Reproduce- Configure a Price adjustment of 100% por avalanche
- Configure a POS Terminal type for generate invoices
- Create a ticket of avalanche and pay it
- realize that there is a new the errors while importing
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0041203 closedranjith_qualiantech_com Errors while importing when synchronize a ticket with a discount of 100% and Generate Invoices active 

-  Notes
(0113495)
hgbot (developer)
2019-07-18 09:09

Repository: retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal
Changeset: 4956581c444733bf64c70b62158060e121eec8a1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jul 18 12:38:59 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal/rev/4956581c444733bf64c70b62158060e121eec8a1 [^]

Fixed issue 41205 : Invoice Payment schedule should be validated before creating payment terms

* If invoice amount is zero, then invoice payment schedule will not be created.
  When creating invoice payment terms, Invoice Payment schedule should be validated
* Payments should not be processed if payment origAmount is zero

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---

- Issue History
Date Modified Username Field Change
2019-06-28 14:21 marvintm Type defect => backport
2019-06-28 14:21 marvintm Target Version => RR19Q1.2
2019-07-05 15:13 marvintm Target Version RR19Q1.2 => RR19Q1.3
2019-07-08 12:56 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-07-18 09:09 hgbot Checkin
2019-07-18 09:09 hgbot Note Added: 0113495
2019-07-18 09:09 hgbot Status scheduled => resolved
2019-07-18 09:09 hgbot Resolution open => fixed
2019-07-18 09:09 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q1.3/org.openbravo.retail.posterminal/rev/4956581c444733bf64c70b62158060e121eec8a1 [^]
2019-07-22 17:47 ngarcia Issue Monitored: ngarcia
2019-07-26 14:18 Leyre Issue Monitored: Leyre
2019-08-06 16:15 marvintm Review Assigned To => marvintm
2019-08-06 16:15 marvintm Status resolved => closed
2019-08-06 16:15 marvintm Fixed in Version => RR19Q1.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker