Setup at Destination Location (Store)
In this article
In order to be able to receive the data packages, follow the instructions below on how to set up the location and how to get packages.
Setup
Set the distribution location to the current location.
- In the Retail Setup card, the General FastTab, specify the current location in the Distribution Location field, for example S0001.
Get packages
You have two options when it comes to implementing the actual update:
-
Background session
If you choose the first option, to run the update on the POS as a background session, the update process is active while the POS is running.
- Navigate to the POS Functionality Profile Card, the Web Services Settings FastTab, and enable the Run Azure Storage Repl. Update In Background Session check box.
The POS monitors this background session, and notifies if something is wrong.
Tip: You can also monitor the background session in LS Central in the POS Terminal Card:
- Go to the POS Terminal List, click the Terminal action, and then click Background Sessions to display a list of all POS related background sessions.
-
Scheduler job
If you choose the second option, to run the update as a Scheduler Job, you must create a Scheduler Job to run codeunit 10000773 LSC Web Repl. AzS Utility.
- Go to the Scheduler Job page, and in the Object Setup FastTab, fill in the fields as shown in the image below:
- Go to the Scheduler Job page, and in the Object Setup FastTab, fill in the fields as shown in the image below:
The process of getting the packages is the same, whether it is as a background session or a Scheduler job. A request is sent to the Azure Storage Control Location (HO) asking for a reference to the next package to fetch. The package is then imported from the Azure Storage Account and the web replication module updates the data.
When the package has been imported at the destination location, a web service call is made to the Azure Storage Control Location (HO) confirming that the package has been received and processed successfully.
Note: You specify the Azure Storage Control Location (HO) in the Scheduler Setup page, the General FastTab, the Azure Storage Control Location field (use the Select from full list option).