Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050152Retail ModulesWeb POSpublic2022-09-05 07:212022-09-05 08:50
caristu 
Retail 
highminorhave not tried
closedfixed 
5
 
 
No
0050152: API changes due to the movement of the hardware manager communication API to mobile.core
The following API changes are introduced with the movement of the hardware manager communication API to mobile.core (0045785):

1) Changed the AD_PACKAGE_ID of these AD tables as they are now in mobile.core:
   - OBPOS_PRINT_TEMPLATE
   - OBPOS_PRINT_TEMPLATE_SUBREP
   - OBPOS_HARDWAREMNG

2) Moved the following AD messages from posterminal to mobile.core:

  - [OBPOS_SelectPrintersTitle] to [OBMOBC_SelectPrintersTitle]
  - [OBPOS_WebPrinterPair] to [OBMOBC_WebPrinterPair]
  - [OBPOS_MainPrinter] to [OBMOBC_MainPrinter]
  - [OBPOS_OpenHardwareURLConfirmation] to [OBMOBC_OpenHardwareURLConfirmation]
  - [OBPOS_SelectPDFPrintersTitle] to [OBMOBC_SelectPDFPrintersTitle]
  - [OBPOS_MsgHardwareServerNotAvailable] to
  - [OBMOBC_MsgHardwareServerNotAvailable]
  - [OBPOS_HardwareManagerServer] to [OBMOBC_HardwareManagerServer]
  - [OBPOS_WebPrinter] to [OBMOBC_WebPrinter]

3) Remove the following AD_Message "OBPOS_PrintWelcome" to use the existing "OBMOBC_PrintWelcome" instead

4) Due to the mentioned table movement we have the following changes in the java API

  - missing class org.openbravo.retail.posterminal.HardwareManager, now org.openbravo.mobile.core.HardwareManager
  - missing class org.openbravo.retail.posterminal.PrintTemplate, now org.openbravo.mobile.core.PrintTemplate
  - missing class org.openbravo.retail.posterminal.PrintTemplateSubrep, now org.openbravo.mobile.core.PrintTemplateSubrep
  - method method org.openbravo.retail.posterminal.HardwareURL.getObposHardwaremng() does no longer return return org.openbravo.retail.posterminal.HardwareManager but org.openbravo.mobile.core.HardwareManager
.
Approved
related to defect 0045785 closed Retail Move hardware manager communication API to mobile.core 
Issue History
2022-09-05 07:21caristuNew Issue
2022-09-05 07:21caristuAssigned To => Retail
2022-09-05 07:21caristuTriggers an Emergency Pack => No
2022-09-05 07:21caristuIssue generated from0045785
2022-09-05 07:21caristuRelationship addedrelated to 0045785
2022-09-05 07:27caristuDescription Updatedbug_revision_view_page.php?rev_id=24722#r24722
2022-09-05 07:29caristuDescription Updatedbug_revision_view_page.php?rev_id=24723#r24723
2022-09-05 07:36caristuDescription Updatedbug_revision_view_page.php?rev_id=24724#r24724
2022-09-05 08:02hgbotNote Added: 0140665
2022-09-05 08:17marvintmTag Attached: Approved
2022-09-05 08:50hgbotResolutionopen => fixed
2022-09-05 08:50hgbotStatusnew => closed
2022-09-05 08:50hgbotNote Added: 0140684
2022-09-05 08:50hgbotNote Added: 0140685

Notes
(0140665)
hgbot   
2022-09-05 08:02   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-api/-/merge_requests/9 [^]
(0140684)
hgbot   
2022-09-05 08:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/mobile-api [^]
Changeset: 765e83a4e76917e92331e74922339ff4efa5d65b
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 08:43:08
URL: https://gitlab.com/openbravo/ci/mobile-api/-/commit/765e83a4e76917e92331e74922339ff4efa5d65b [^]

fixes BUG-50152: API changes of HWM communication API to mobile.core

---
M java/reference/java.japi.gz
M model/modules/org.openbravo.retail.posterminal/src-db/database/sourcedata/AD_MESSAGE.xml
M model/modules/org.openbravo.retail.posterminal/src-db/database/sourcedata/AD_TABLE.xml
---
(0140685)
hgbot   
2022-09-05 08:50   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-api/-/merge_requests/9 [^]