Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032363 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | sometimes | 2016-02-26 13:17 | 2016-03-17 17:25 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR16Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 73e38cb7b246 | ||||
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 | 0032363: If taxes calculation fails, the receipt cannot be imported in the server side | |||||||
Description | If the preference "Save Deleted Ticket" is activated, and an error calculating taxes appear, if the receipt is completed the order cannot be imported and the following error goes to "Errors while importing POS data" org.openbravo.base.exception.OBException: Error in OrderLoader: at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:439) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:206) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:163) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:95) at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:41) at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:59) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:370) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:292) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("TAD"."C_ORDERLINE"."C_TAX_ID") The reason is that when a taxes error appears and the preference "Save Deleted Ticket" is activated, the line with the error is stored locally with taxID null and this order cannot be stored because of database constraint | |||||||
Steps To Reproduce | 1. Activate preference "Save Deleted Ticket" 2. Go to Web POS and force a taxes calculation error 3. Solve it and in the same receipt add other products and close the receipt 4. Verify the window "Errors while importing POS Data and check the error saving the order | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0084762) hgbot (developer) 2016-03-07 11:47 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 73e38cb7b2460bef89776aa91e653578e8eefaa4 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Fri Feb 26 13:20:07 2016 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/73e38cb7b2460bef89776aa91e653578e8eefaa4 [^] Fixes issue 0032363: If taxes calculation fails, the receipt cannot be imported in the server side * Lines deleted because of taxes error are never stored --- M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js M web/org.openbravo.retail.posterminal/js/model/order.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2016-02-26 13:17 | adrianromero | New Issue | |
2016-02-26 13:17 | adrianromero | Assigned To | => Retail |
2016-02-26 13:17 | adrianromero | OBNetwork customer | => No |
2016-02-26 13:17 | adrianromero | Triggers an Emergency Pack | => No |
2016-02-26 13:18 | adrianromero | Review Assigned To | => marvintm |
2016-02-26 13:18 | adrianromero | Assigned To | Retail => adrianromero |
2016-02-26 13:18 | adrianromero | Status | new => scheduled |
2016-03-07 11:47 | hgbot | Checkin | |
2016-03-07 11:47 | hgbot | Note Added: 0084762 | |
2016-03-07 11:47 | hgbot | Status | scheduled => resolved |
2016-03-07 11:47 | hgbot | Resolution | open => fixed |
2016-03-07 11:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/73e38cb7b2460bef89776aa91e653578e8eefaa4 [^] |
2016-03-17 17:25 | marvintm | Status | resolved => closed |
2016-03-17 17:25 | marvintm | Fixed in Version | => RR16Q2 |
Copyright © 2000 - 2009 MantisBT Group |