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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039127
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorhave not tried2018-08-13 14:282018-09-11 18:45
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q4
StatusclosedFix in branchFixed in SCM revision23d4471d7a1a
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

0039127: Extend terminal status information to check more information

DescriptionExtend terminal status information to check more information. Possible ideas are:
  * Last login date and login user
  * Last performance check score
  * Last synchronized order
  * Last cashup execution
  * Last loaded ticket
Steps To Reproduce-
Proposed Solution-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0039542 closedjorge-garcia Include more information about terminal status 

-  Notes
(0106553)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 23d4471d7a1a9916633fb9713e0aef086d369d15
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 20 11:28:28 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/23d4471d7a1a9916633fb9713e0aef086d369d15 [^]

Fixed issue 39127: Extend terminal status information to check more information

This commit includes:
  * Definition of six new fields in POS Terminal window
    * Last login date
    * Last login user
    * Last performance check score
    * Last synchronized order
    * Last cashup execution
    * Last loaded ticket
  * Extend LastTerminalStatusTimestamps to set new Pos Terminal fields.
  * Extend LastTerminalStatusTimestamps request in front-end to include new.
    fields.
  * Change OrderLoader, ProcessCashClose and PaidReceips to update new Pos
    Terminal fields.

---
M src-db/database/model/tables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/OrderLoader.java
M src/org/openbravo/retail/posterminal/PaidReceipts.java
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
M src/org/openbravo/retail/posterminal/process/LastTerminalStatusTimestamps.java
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
---
(0106554)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 21853279ded77a4e4599bf384868ceb96e86c354
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Aug 23 13:07:32 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/21853279ded77a4e4599bf384868ceb96e86c354 [^]

Related to issue 39127: Extend terminal status information to check more
information

This commit includes:
  * Added new database table called “OBPOS_APP_TERMSTAT_HIST”
  * Added a new subtab in POS Terminal window called “Terminal Status History”.
    This tab has the following fields:
      * CashUp
      * Number Of Errors While Importing POS Data
      * Number Of Transitions To Online
      * Number Of Logclient Errors
  * Added two new fields in POS Terminal header:
      * Last Transition To Offline
      * Last Transition To Online
  * Include logic to update terminal status history in updateCashup
  * Added new localStorage items:
      * transitionsToOnline
      * lastTransitionToOffline
      * lastTransitionToOnline
  * Change LastTerminalStatusTimestamps logic to save last transition to online
    and last transition to offline.
  * Add in returnToOnline function a new call to update POS Terminal last
    updated timestamps.
  * Added a window for obpos_app_cashup window.

---
M src-db/database/model/tables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/retail/posterminal/UpdateCashup.java
M src/org/openbravo/retail/posterminal/process/LastTerminalStatusTimestamps.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
A src-db/database/model/tables/OBPOS_APP_TERMSTAT_HIST.xml
---
(0106555)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e1dafe408f9f0a9ffd69ecf63d7e4efe57d7096b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Aug 24 13:38:59 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e1dafe408f9f0a9ffd69ecf63d7e4efe57d7096b [^]

Related to issue 39127. Commit the transaction always at the end of the UpdateCashup flow, and not just when a new cashup record is created.

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---
(0106556)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 66e72940fe6764dd95347f028547c1ed8008cc63
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 27 14:19:57 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/66e72940fe6764dd95347f028547c1ed8008cc63 [^]

Related to issue 39127: Extend terminal status information to check more
information

This commit includes:
  * Create dataset to set log clean up for terminal status history table.
  * Count the number of errors while importing pos data directly from
    POSDataSynchronizationErrorHandler instead of using a query to get it.
  * Remove queries to get the number of log client errors and errors while
    importing pos data from UpdateCashup.
  * LastTerminalStatusTimestamps now uses fillBobFromJSON API to set terminal
    status values
  * Send log client error count inside cashup information.

---
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src/org/openbravo/retail/posterminal/POSDataSynchronizationErrorHandler.java
M src/org/openbravo/retail/posterminal/UpdateCashup.java
M src/org/openbravo/retail/posterminal/process/LastTerminalStatusTimestamps.java
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
A referencedata/standard/Log_Clean_Up_PosTerminal_config.xml
A src-db/database/sourcedata/AD_DATASET.xml
---
(0106557)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dd5705cb8ce53a22ed04e31051d5eaf7671b7b72
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Aug 28 09:55:54 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dd5705cb8ce53a22ed04e31051d5eaf7671b7b72 [^]

Related to issue 39127: Extend terminal status information to check more
information

This commit includes:
  * Flush POS Terminal information in PaidReceipts.java to solve security access
    problems.
  * Add new column identifier to cashup table to add pos terminal name.
  * Define new identifier for terminal status history table to use cashup.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0106558)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 09c6432d8f5c3dc6dedaba4c3c8cf0699a24833f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Aug 30 09:49:43 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/09c6432d8f5c3dc6dedaba4c3c8cf0699a24833f [^]

Related to issue 39127: Extend terminal status information to check more
information

Verify in update cashup if values for transitionsToOnline and
logclientErrors are null to avoid database insertion problems.

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---
(0106559)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a85cc00f65a3e217055cbdc774a8bb8bebe4015d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 20 11:37:56 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a85cc00f65a3e217055cbdc774a8bb8bebe4015d [^]

Related to issue 39127: Extend terminal status information to check more
information

Include last login datetime in localStorage to send the info to the backend.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0106560)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c679575e2f7701ec739b14686e88331ed119673a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Aug 23 13:14:29 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c679575e2f7701ec739b14686e88331ed119673a [^]

Related to issue 39127: Extend terminal status information to check more
information

This commit includes:
  * Set new localStorage items:
      * transitionsToOnline
      * lastTransitionToOffline
      * lastTransitionToOnline

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0106561)
hgbot (developer)
2018-08-31 09:23

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ea0da40eab76f6fc496f9f8b92a2d98c6521e064
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Aug 27 14:01:00 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ea0da40eab76f6fc496f9f8b92a2d98c6521e064 [^]

Related to issue 39127: Extend terminal status information to check more
information

This commit includes:
  * Change fillBobFromJSON API to manage correctly unix timestamps.
  * Fix transitions to online count in frontend.
  * Create an API to increase/reset log client errors count in frontend.

---
M src/org/openbravo/mobile/core/process/JSONPropertyToEntity.java
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---

- Issue History
Date Modified Username Field Change
2018-08-13 14:28 jorge-garcia New Issue
2018-08-13 14:28 jorge-garcia Assigned To => jorge-garcia
2018-08-13 14:28 jorge-garcia Triggers an Emergency Pack => No
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106553
2018-08-31 09:23 hgbot Status new => resolved
2018-08-31 09:23 hgbot Resolution open => fixed
2018-08-31 09:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/23d4471d7a1a9916633fb9713e0aef086d369d15 [^]
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106554
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106555
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106556
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106557
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106558
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106559
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106560
2018-08-31 09:23 hgbot Checkin
2018-08-31 09:23 hgbot Note Added: 0106561
2018-09-11 18:45 marvintm Review Assigned To => marvintm
2018-09-11 18:45 marvintm Status resolved => closed
2018-09-11 18:45 marvintm Fixed in Version => RR18Q4
2018-10-26 10:49 jorge-garcia Relationship added related to 0039542


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker