Openbravo Issue Tracking System - Retail Modules  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0044819 | Retail Modules | Cash up | public | 2020-08-14 09:19 | 2020-08-14 10:12 | 
  | 
| Reporter | cdehen |   | 
| Assigned To | Retail |   | 
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | new | Resolution | open |   | 
| Platform |  | OS | 30 | OS Version | Openbravo Appliance 14.04 | 
| Product Version | RR20Q2.1 |   | 
| Target Version |  | Fixed in Version |  |   | 
| Merge Request Status |  | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0044819: EWI : fin_finacc_transaction violates check constraint fin_trans_amounts_chk | 
| Description | When you try to push a cash up with 0 totalsales 0.1 totaldeposits 0.1 totalreturns and 0 totaldrops.The result is 0.0 and not 0 in BigDecimal 
Then you compare 0.0 with 0 and the result is not equal so you try to insert a new line in fin_finacc_transaction with 0 and it's forbid by the check constraint | 
| Steps To Reproduce | You can reproduce with the number above | 
| Proposed Solution | You can apply this provide patch to fix the problem | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships |  | 
| Attached Files |   Patch.patch (1,071) 2020-08-14 09:19 https://issues.openbravo.com/file_download.php?file_id=14868&type=bug | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2020-08-14 09:19 | cdehen | New Issue |  | 
| 2020-08-14 09:19 | cdehen | Assigned To |  => Retail | 
| 2020-08-14 09:19 | cdehen | File Added: Patch.patch |  | 
| 2020-08-14 09:19 | cdehen | Triggers an Emergency Pack |  => No | 
| 2020-08-14 10:12 | cdehen | Note Added: 0122050 |  |