Register Realtime Quantity (Liveupdate)
Description
With this feature, registration data is continuously sent to the back-end, every time the user performs registration (no posting needed)
Normally, registrations are stored on the mobile device until the user posts.
With LiveUpdate, real-time data can become available to the back-end, before data is posted.
Use cases
- Avoid selling specific Items which are already picked, but not yet posted by the warehouse worker
- Perform unplanned counts while respecting current picks/put-aways
Limitations (Important)
- Unposted data can be changed by the mobile user at any time
- No error is shown on mobile if the request fails ("fire and forget")
- Any logic that you create for LiveUpdate, must be tolerant of this fact
- Any logic that you create for LiveUpdate, must be tolerant of this fact
- "Variant Code" is not part of Mobile data.
- However, Order, Line, and Item tracking information is
Communication with back-end
There are four kinds of mobile requests for LiveUpate.
A registration is made
Example:
- Line quantity is 10 pcs.
- 3 of lot no. A was already picked.
- 7 of lot no. B is now picked.
All registrations for this one line is sent - including all existing and the one just made.
A registration is deleted
All registrations for this one line is sent - which is information about the line - but empty registrations.
This action is used
All registrations for entire order are deleted
A request with the attribute 'clearOrderLines' is sent.
Order is posted
After the request for "Post all registrations" is issued
An additional request is issued to "Delete all registrations" for the entire order
Registrations are continuously cleared from the back-end this way.
How to enable
Step 1
Modify the Mobile Configuration Files
Note the the following:
- "operationMode" = OnlineWithLiveUpdate
- "liveUpdate" = RegisterRealtimeQuantity (Or Choose your own name)
<!-- SERVICES --> <services> ... <service id="Pick" type="Order" orderType="Pick" operationMode="OnlineWithLiveUpdate"> <requests> <getOrders>GetPickOrders</getOrders> <getOrderLines>GetPickOrderLines</getOrderLines> <postOrder>PostPickOrder</postOrder> <liveUpdate>RegisterRealtimeQuantity</liveUpdate> </requests> </service>
Step 2
Business Central implementation
The “Realtime” registration data is stored in a separate table “MOB Realtime Reg Qty.” as they are received. From here the data for all mobile devices can be accessed from your customization.
These registrations are only stored for validation purposes and never used in the actual posting. The registrations to be posted are still received with the Post-request when posting the document and stored in “MOB WMS Registrations” as usually.
See examples below for more information:
Examples
-
OnLiveUpdateOnCustomDocumentType — Handle existing or new 'LiveUpdate' document types.