DeviceHub: General Information
DeviceHub is a Windows application that is used for integration of MYOB Acumatica with hardware devices, such as printers, scanners, and digital scales.
Learning Objectives
In this chapter, you will learn how to do the following:
- Install DeviceHub
- Set up the connection with MYOB Acumatica
- Configure push notifications and polling
- Configure the DeviceHub log
DeviceHub Basics
DeviceHub is a standalone Windows application that can run on a workstation or a server independently from a user session. DeviceHub enables the integration and management of various hardware devices—such as printers, scanners, and scales—directly with the MYOB Acumatica system. The application provides the ability for direct communication between MYOB Acumatica and physical devices.
DeviceHub features the following capabilities:
- The processing of print jobs with any local or network printer
- The ability to print carrier labels in raw mode
- The processing of scan jobs and scan results delivered directly to MYOB Acumatica forms
- Integration with digital scales that enables real-time capture of weight data
DeviceHub Installation
The DeviceHub application comes with MYOB Acumatica. You need to use the AcumaticaERPInstall.msi file. When you launch the installer, the guides you through the installation process.
For detailed instruction on the installation process, see DeviceHub: To Install DeviceHub.
Application Deployment Approaches
When deploying DeviceHub in your company, you can choose one of the following approaches:
- A single instance of DeviceHub for multiple workstations: This approach is suitable for departments and offices that do not have a high load of printing, scanning, and weighing operations. For example, in the accounting department, DeviceHub would be used only for printing documents in relatively small quantities and occasional scanning.
- One instance of DeviceHub per workstation: This approach is suitable for departments and offices with a high load of printing, scanning, and weighing operations. Suppose that in the packaging stations of a warehouse, DeviceHub will be intensively used for printing pick lists and carrier labels and weighing packages for shipments. In this case, a separate instance of DeviceHub for each packaging workstation will minimize delays in the print queue, misuse of printing, and an increased load on the digital scales.
You can combine these installation options depending on the working environment in your company.
Compatibility with MYOB Acumatica
For DeviceHub to function properly, both MYOB Acumatica and DeviceHub must have the same major version.
Enabling of the Needed System Feature
To be able to configure and use the DeviceHub functionality in the system, you need to first enable the DeviceHub feature on the Enable/Disable Features (CS101000) form. With this feature enabled, you can add printers and scanners to the system and use them on various forms. To be able to add and use digital scales, you also need to enable the Warehouse Management feature.
Push Notifications
MYOB Acumatica can send push notifications to DeviceHub to quickly notify the connected printer or scanner about a print or scan job. The advantage of this communication method is the speed at which jobs are sent to hardware devices. However, sending a push notification is a one-time action for each user attempt to print or scan a document. MYOB Acumatica does not track the result of sending the notification. For guaranteed result, push notifications should be combined with regular polling.
For instruction on how to configure push notifications in DeviceHub, see DeviceHub: To Configure Push Notifications and Polling,
Use of Polling for Jobs
Polling is a method of retrieving print and scan jobs. While polling ensures the execution of tasks, it can lead to execution delays, depending on the specified time interval. You can configure the frequency of regular polling calls to MYOB Acumatica by specifying a value in the Poll every box on the General tab of the Configuration window in DeviceHub. This box becomes available only if push notifications are enabled. DeviceHub starts regular polling only when the application receives the first push notification after the start.
To make sure that DeviceHub will receive print and scan jobs if there are connectivity issues or it was paused for maintenance, you can enable polling on start or reconnection of the application.
Polling requires the opening of an API connection with MYOB Acumatica to retrieve the jobs.
For instructions on how to configure polling in DeviceHub, see DeviceHub: To Configure Push Notifications and Polling,