Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049322Retail ModulesCash Managementpublic2022-05-13 14:352022-06-22 12:23
0049322: Very Important CASH Management Error,bm:%5B%7BviewId:__OBMyOpenbravoImplementation__,params:%7BmyOB:true,canClose:false,tabTitle:__Workspace__%7D%7D%5D%7D [^]

log del ewis:
    at org.openbravo.retail.posterminal.ProcessCashMgmt.saveRecord(
    at org.openbravo.retail.posterminal.importprocess.CashManagementImportEntryProcessor$CashManagementRunnable.processEntry(
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(
    at org.openbravo.service.importprocess.ImportEntryProcessor$
    at java.base/java.util.concurrent.Executors$
    at java.base/
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.base/java.util.concurrent.ThreadPoolExecutor$
    at java.base/
1) Go to the "Organization" window and in the "Cash management event" tab we add a record of type "out"

2) Configure an account in the same previous tab in "Financial account"

3) Go to the pos

4) Go to the menu and select "Cash management" of "$0.20" and select "Withdrawal for cleaning", we give it "Done"

5) Go to the financial account that we have created or configured, we can see that a withdrawal of "$0.20" has been made but it can be seen that a deposit of "$0.20" was made in the other account

6) Return to the "Organization" window and recreate a record of type "out" and without "Financial account"

7) Return to the pos and we do a cash management "Cash management" and select "Cash Withdrawal" we withdraw "$0.10", we give it done

8) Return to the back office to the "Final account" window and we can see that no movement has been made

9) If we go to the "Error While imported pos" window, we can see that an ewi was generated

The link with steps: [^]
No tags attached.
diff 49322_22Q1_retail_config.diff (4,319) 2022-06-22 12:23
Issue History
2022-05-13 14:35idiezNew Issue
2022-05-13 14:35idiezAssigned To => Retail
2022-05-13 14:35idiezTriggers an Emergency Pack => No
2022-05-13 14:58idiezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24090#r24090
2022-05-30 20:34rqueraltaAssigned ToRetail => rqueralta
2022-05-31 16:15rqueraltaStatusnew => scheduled
2022-06-08 13:32hgbotNote Added: 0138165
2022-06-09 10:38hgbotResolutionopen => fixed
2022-06-09 10:38hgbotStatusscheduled => closed
2022-06-09 10:38hgbotFixed in Version => RR22Q3
2022-06-09 10:38hgbotNote Added: 0138195
2022-06-09 10:38hgbotNote Added: 0138196
2022-06-09 10:39marvintmNote Added: 0138197
2022-06-10 08:17hgbotNote Added: 0138233
2022-06-22 12:23ranjith_qualiantech_comFile Added: 49322_22Q1_retail_config.diff

2022-06-08 13:32   
Merge Request created: [^]
2022-06-09 10:38   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 3a56407ae9efbb292d284048c725b485ddb3299d
Author: Rafael Queralta <>
Date: 07-06-2022 10:01:17
URL: [^]

Fixed BUG-49322: Added new event handler to avoid cash managements event without financial account defined and event type equals to IN or OUT

A src/org/openbravo/retail/config/event/
M src-db/database/sourcedata/AD_MESSAGE.xml
2022-06-09 10:38   
Merge request merged: [^]
2022-06-09 10:39   
To clarify what we did: the described configuration is wrong, financial accounts should be provided for IN or OUT events, so we are now enforcing this when configuring them.
2022-06-10 08:17   
Repository: [^]
Changeset: 453973cfa2c3dca7576970f9444f1f2ba7cd50d1
Author: Antonio Moreno <>
Date: 10-06-2022 10:16:59
URL: [^]

Related to ISSUE-49322: Fixed typo in method name. Used nicer OBMessageUtils API.

M src/org/openbravo/retail/config/event/