Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038781
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-06-18 13:212018-06-22 12:08
ReportermarvintmView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR18Q3
StatusclosedFix in branchFixed in SCM revisiond28bded0cf66
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038781: Available credit for a customer should be checked online

DescriptionCurrently the credit available for a customer is checked against the local database. This is not good enough, because the credit could be generated in different terminals, and the terminals would not realise the credit was already consumed.

The available credit must be checked online when the ticket is marked to be paid on credit.
Steps To Reproduce- Set credit limit to 100 in customer Arturo Montoro.
- Log in with terminal VBS-1
- Log in with terminal VBS-2
- Create a ticket in VBS-1 for Arturo Montoro with total 100, and pay it on credit.
- Do the same thing in VBS-2. Notice that it is possible to also pay it on credit, and therefore at this point Arturo Montoro has credit used 200. This is not correct.
Proposed SolutionCredit limit as of now is considered "configuration" information for the customer, and it is ok to still check it in the local table.

However, credit used should be checked online with a request to the backend.

We also need to add a preference so that users can decide whether they want to allow sale on credit when the terminal goes offline.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0105327)
hgbot (developer)
2018-06-22 10:09

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d28bded0cf663db52647ec3fb367d50d2e38c411
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 22 13:39:17 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d28bded0cf663db52647ec3fb367d50d2e38c411 [^]

Fixed issue 38781 : Added Preference to allow sell on credit while offline

* Added new prefrence Web POS Allow sell on credit while offline ("OBPOS_AllowSellOnCreditWhileOffline") to allow sell on credit while offline

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---

- Issue History
Date Modified Username Field Change
2018-06-18 13:21 marvintm New Issue
2018-06-18 13:21 marvintm Assigned To => Retail
2018-06-18 13:21 marvintm Triggers an Emergency Pack => No
2018-06-18 13:21 marvintm Resolution time => 1530223200
2018-06-18 13:28 marvintm Proposed Solution updated
2018-06-20 15:09 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-06-20 15:09 ranjith_qualiantech_com Status new => scheduled
2018-06-22 10:09 hgbot Checkin
2018-06-22 10:09 hgbot Note Added: 0105327
2018-06-22 10:09 hgbot Status scheduled => resolved
2018-06-22 10:09 hgbot Resolution open => fixed
2018-06-22 10:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d28bded0cf663db52647ec3fb367d50d2e38c411 [^]
2018-06-22 12:08 marvintm Review Assigned To => marvintm
2018-06-22 12:08 marvintm Status resolved => closed
2018-06-22 12:08 marvintm Fixed in Version => RR18Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker