You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 55 Next »
You want to prompt the user to Confirm a message.
Simply perform the “ERROR()” command in NAV and the message will be shown on the scanner as an error.
ERROR('This is an error message');
To display a confirm dialog, you prefix the error message with”ForceWarning:”
Below is the XML Request from the mobile device to the backend.
IF NOT Force THEN BEGIN ERROR('ForceWarning:' + STRSUBSTNO(MobWmsLanguage.GetMessage('QUANTITY_ERR'),Quantity,ActualQty)); END;
Show a Confirmation Dialog when open a Pick and the related Sales Orders has a value in the Work Description Field.
Note that when opening a Document the LockOrder() is always called.
Modify function GetLockOrderNoAndPrefix_FromBackendID in Codeunit WMS Order Locking
Line breaks / Carriage Return, can be performed by using the "\" character in NAV/BC.
An error message
A confirm dialog, using "ForceWarning"