In some cases, users of Warehouse Insight will want to view purchase order comments on their mobile device. This article will walk through the steps and code required to display Purchase Order comments when a Purchase Order is opened.
This article requires the following:
- Business Central version 15 or higher
- Warehouse Insight Advanced WMS version 2.0 or higher
The following steps/code can be modified or extended as required and assume a base level familiarity with Business Central and Warehouse Insight.
- Add Comments
- Create a Purchase Order and add Comments that you would like shown on the device.
- In this example multiple comments will be separated by new lines on the device.
The code for adding the comments will utilize the “addMessage” function provided by the Warehouse Insight.
Once the extension codeunit has been published the comments will be shown on the device whenever the Purchase Order is opened.