Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033431 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2016-06-15 19:55 | 2016-07-05 18:43 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a6d9a07b3674 | ||||
Projection | none | ETA | none | Target Version | RR16Q2.1 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 42396 | |||||||
Regression level | Production - QA Approved | |||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033431: [RR16Q2] Error in OrderLoader when total paid is zero | |||||||
Description | when you create a new receipt with total amount zero, and the flag "invoice this receipt" is selected, error is returned when the receipt is imported in backoffice | |||||||
Steps To Reproduce | in webpos . add line: qty: 0.01 - price: 0.17 . open menu, click the option "invoice this receipt" . click in total button (0) and click in done button in backoffice: . receipt is stored in "Errors While Importing" window with the error: java.lang.NullPointerException at org.openbravo.retail.posterminal.OrderLoader.handlePayments(OrderLoader.java:1915) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:448) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:198) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155) | |||||||
Proposed Solution | The error is in line: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/33cef587add4/src/org/openbravo/retail/posterminal/OrderLoader.java#l1915 [^] that paymentScheduleInvoice is null | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0088214) hgbot (developer) 2016-07-05 14:21 |
Repository: retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal Changeset: a6d9a07b3674bf6b969ef7f217cc36b2cd992f4d Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Jul 05 17:50:53 2016 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal/rev/a6d9a07b3674bf6b969ef7f217cc36b2cd992f4d [^] Fixes issue 33431 : Validate Invoice Amount in order to create Payment Schedule detail --- M src/org/openbravo/retail/posterminal/OrderLoader.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2016-07-05 13:22 | marvintm | Type | defect => backport |
2016-07-05 13:22 | marvintm | Target Version | => RR16Q2.1 |
2016-07-05 14:21 | hgbot | Checkin | |
2016-07-05 14:21 | hgbot | Note Added: 0088214 | |
2016-07-05 14:21 | hgbot | Status | scheduled => resolved |
2016-07-05 14:21 | hgbot | Resolution | open => fixed |
2016-07-05 14:21 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/019b463b6150bfe5de0757a643cccc619b9ae0af [^] => http://code.openbravo.com/retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal/rev/a6d9a07b3674bf6b969ef7f217cc36b2cd992f4d [^] |
2016-07-05 18:43 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |