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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044367
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-06-16 13:142020-06-22 08:15
ReporterLeyreView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision642aa3fba705
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

0044367: EOL returns an error when the total amount of the transaction is zero.

DescriptionEOL returns an error when the total amount of the transaction is zero.
Steps To Reproduce1. Example - JSON:
{
"data": [
{
"step": "all",
"lines": [
{
"id": "qB20B9B61D0AEF0C3D211B6E91D1ABE1",
"qty": 1,
"lineNo": "10",
"product": "WVG/L0005",
"taxLines": {
"5235D8E99A2749EFA17A5C92A52AEFC6": {
"name": "Entregas IVA 21%",
"rate": 21,
"netAmount": 26.86,
"taxAmount": 5.64
}
},
"listPrice": 32.5,
"netAmount": 26.86,
"taxAmount": 5.64,
"promotions": [
],
"grossAmount": 32.5
},
{
"id": "qB20B9B61D0AEF0C3D211B6E91D1ABE2",
"qty": -1,
"lineNo": "10",
"product": "WVG/L0005",
"taxLines": {
"5235D8E99A2749EFA17A5C92A52AEFC6": {
"name": "Entregas IVA 21%",
"rate": 21,
"netAmount": -26.86,
"taxAmount": -5.64
}
},
"listPrice": 32.5,
"netAmount": -26.86,
"taxAmount": -5.64,
"promotions": [
],
"grossAmount": -32.5
}
],
"taxes": {
"5235D8E99A2749EFA17A5C92A52AEFC6": {
"name": "Entregas IVA 21%",
"rate": 21,
"netAmount": 26.86,
"taxAmount": 5.64
}
},
"currency": "EUR",
"payments": [
{
"date": "2019-04-05T08:52:00.423Z",
"kind": "OBPOS_payment.cash",
"rate": "1",
"isocode": "EUR",
"paidAmount": 0
}
],
"netAmount": 0,
"documentNo": "SO0000002",
"grossAmount": 0,
"hasbeenpaid": "Y",
"isQuotation": false,
"invoiceStatus": 100,
"businessPartner": "VBS/C0001",
"generateInvoice": true,
"pOSSBusinessDate": "2019-04-04T22:00:00.000Z",
"salesRepresentative": "E49545E7D0A2413E90C31C2CDC2153B1"
}
],
"channel": "External",
"messageId": "MSGID000005",
"posTerminal": "VBS-1"
}

2. Execute the previous information and verify in the Errors While Importing POS data that there is an error.

Proposed SolutionInformation:

org/openbravo/retail/posterminal/utility/InvoiceUtils.java:743
code:
final FIN_PaymentSchedule paymentScheduleInvoice = invoice.getFINPaymentScheduleList().get(0);

invoice.getFINPaymentScheduleList() = ""
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120940)
hgbot (developer)
2020-06-22 07:21

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 642aa3fba7058ff5a42ff266f62e32f54221c4e4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 22 10:50:30 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/642aa3fba7058ff5a42ff266f62e32f54221c4e4 [^]

Fixed issue-44367: Update JSON IDs to upperCase in ExternalOrderLoader

* In Openbravo Standards, IDs should be uppercase, so IDS in json of EOL should be updated to uppercase

---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---

- Issue History
Date Modified Username Field Change
2020-06-16 13:14 Leyre New Issue
2020-06-16 13:14 Leyre Assigned To => Retail
2020-06-16 13:14 Leyre Resolution time => 1594072800
2020-06-16 13:14 Leyre Triggers an Emergency Pack => No
2020-06-16 16:15 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-06-18 12:03 ranjith_qualiantech_com Status new => scheduled
2020-06-22 07:21 hgbot Checkin
2020-06-22 07:21 hgbot Note Added: 0120940
2020-06-22 07:21 hgbot Status scheduled => resolved
2020-06-22 07:21 hgbot Resolution open => fixed
2020-06-22 07:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/642aa3fba7058ff5a42ff266f62e32f54221c4e4 [^]
2020-06-22 08:15 marvintm Review Assigned To => marvintm
2020-06-22 08:15 marvintm Status resolved => closed
2020-06-22 08:15 marvintm Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker