Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045672Retail ModulesWeb POSpublic2021-01-04 12:462021-01-25 06:40
avicente 
rqueralta 
highmajoralways
closedfixed 
5
 
RR21Q2 
No
0045672: The fields 'G/L Item for Deposit/Withdrawal' must be shown and mandatory for payment methods 'Defined in Safebox'
If the fields 'Channel Touchpoint Type || Payment Method || G/L Item for Deposits and G/L Item for Withdrawals' are not configured for payment methods defined as 'Defined in Safebox', an Error While Importing is generated. The error is not very clear for the user.

In addittion, these fields are only visible when the checks 'Allow Deposits' and 'Allow Withdrawals' are selected.

In some clients, they want to configure a payment method as 'Defined in Safebox' but don't allow deposit or withdrawal. So that, the fields 'Channel Touchpoint Type || Payment Method || G/L Item for Deposits and G/L Item for Withdrawals' must be shown and mandatory for the payment methods defined as 'Defined in Safebox'.
1. Log into https://livebuilds.openbravo.com/retail_stable_pgsql_pi [^]
2. Create a new Financial Account as it is shown in the SafeBoxImage1.
3. Open the window 'Channel - Touchpoint Type' and search the 'VBS POS Safe Box Terminal Type'.
4. Set the  Payment Method 'Voucher' as 'Defined in Safebox'
5. Open the window 'Safe Box' and for the 'Vall Blanca Safe Box 01' add the payment method 'Check' with the financial account created in step 2. See SafeBoxImage2.
6. Log into the terminal https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBSSB1#retail.pointofsale [^] with the user vallblanca.
7. In the pop up 'Safe Box Information' select VBSB01 and click in 'Check Safe Box'.
8. Do one sale and pay it with Voucher.
9. Do 'Remove Safe Box'.10. In the backend, in 'Errors While Importing POS Data', check that the error 'org.openbravo.base.exception.OBException: @APRM_INVALID_TRANSACTION@' has been generated.

To fix this error, it is needed  to configure the fields 'Channel Touchpoint Type || Payment Method || G/L Item for Deposits and G/L Item for Withdrawals' for the payment methods defined as'Defined in Safebox'.
The fields 'Channel Touchpoint Type || Payment Method || G/L Item for Deposits and G/L Item for Withdrawals' must be shown and mandatory for the payment methods defined as 'Defined in Safebox' to avoid EWIs
NOR
jpg SafeBoxImage1.JPG (192,738) 2021-01-04 12:51
https://issues.openbravo.com/file_download.php?file_id=15214&type=bug
jpg

jpg SafeBoxImage2.JPG (152,468) 2021-01-04 12:51
https://issues.openbravo.com/file_download.php?file_id=15215&type=bug
jpg
Issue History
2021-01-04 12:46avicenteNew Issue
2021-01-04 12:46avicenteAssigned To => Retail
2021-01-04 12:46avicenteResolution time => 1611097200
2021-01-04 12:46avicenteTriggers an Emergency Pack => No
2021-01-04 12:51avicenteFile Added: SafeBoxImage1.JPG
2021-01-04 12:51avicenteFile Added: SafeBoxImage2.JPG
2021-01-04 12:58rafarodaTag Attached: NOR
2021-01-05 17:39rqueraltaAssigned ToRetail => rqueralta
2021-01-05 17:40rqueraltaStatusnew => scheduled
2021-01-22 05:18hgbotNote Added: 0125719
2021-01-22 16:28hgbotNote Added: 0125736
2021-01-22 17:02hgbotNote Added: 0125737
2021-01-25 06:40hgbotResolutionopen => fixed
2021-01-25 06:40hgbotStatusscheduled => closed
2021-01-25 06:40hgbotNote Added: 0125741
2021-01-25 06:40hgbotFixed in Version => RR21Q2
2021-01-25 06:40hgbotNote Added: 0125742

Notes
(0125719)
hgbot   
2021-01-22 05:18   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/273 [^]
(0125736)
hgbot   
2021-01-22 16:28   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/273 [^]
(0125737)
hgbot   
2021-01-22 17:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/275 [^]
(0125741)
hgbot   
2021-01-25 06:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/275 [^]
(0125742)
hgbot   
2021-01-25 06:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 73539a9e5224e21af3401faaa5b258f3a5d9749b
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-01-25T05:40:07+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/73539a9e5224e21af3401faaa5b258f3a5d9749b [^]

Fixed BUG-45672: G/L Item for Deposits and G/L Item for Withdrawals' shown for the payment methods defined as 'Defined in Safebox'

---
M src-db/database/sourcedata/AD_FIELD.xml
---