Openbravo Issue Tracking System - POS2
View Issue Details
0054028POS2POSpublic2023-11-26 19:222023-11-26 19:26
Daria_Sh 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0054028: Possible to process a refund using the 'Sell on Credit' option even if the Customer Current Balance is equal to 0
When a product is added to the order, the 'Convert to return' option is applied, and the order is refunded using the 'Sell on Credit' option, the customer's initial zero balance decreases by the order amount (resulting in a negative value), while the Available Credit amount for the customer increases by the order amount.

Apply the following setting to enable 'Sell on Credit' option
In the 'Channel Touchpoint Type' window
-Open 'POS2SD VBS POS2 Terminal Type' touchpoint
-Tick 'Allow Pay on Credit' checkbox 

In the 'Business Partner' window:
-Select 'Arturo Montoro' customer
-Specify the 'Credit Line Limit' = 10000' in the 'More Information' section
-Ensure Customer Balance is equal to 0.00
1.Go to POS2 (user:vallblanca/password:openbravo)
2.Push 'VBS Customer' button → Specify 'Arturo Montoro' → Push 'Search' button
3.Push 3 dots in the bottom of the Orders area → Select 'Convert to return' option
3.Add 'Base camp duffel 70L' product to the order → Push 'Refund' button
4.Click 'Sell on Credit' button
5.Push 'Yes, sell on Credit' on the pop-up
6.Go to Customers → Push 'View Details' option for the Arturo Montoro customer
7.Pay attention to the 'Available Credit' amount which is increased by the Order amount

Actual result: Possible to process a refund using the 'Sell on Credit' option even if the Customer Current Balance is equal to 0
Expected result: It should be restricted to process a refund using the 'Sell on Credit' option when the Customer Current Balance is equal to 0.00
No tags attached.
png Screenshot_1.png (73,461) 2023-11-26 19:26
https://issues.openbravo.com/file_download.php?file_id=19181&type=bug
png
Issue History
2023-11-26 19:22Daria_ShNew Issue
2023-11-26 19:22Daria_ShAssigned To => Retail
2023-11-26 19:22Daria_ShTriggers an Emergency Pack => No
2023-11-26 19:22Daria_ShSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27193#r27193
2023-11-26 19:26Daria_ShSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27194#r27194
2023-11-26 19:26Daria_ShFile Added: Screenshot_1.png

There are no notes attached to this issue.