You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 48 Next »
Error messages are supported everywhere.
Simply perform the “ERROR()” command in NAV and the message will be shown on the scanner.
When a warning is wanted, the string ”ForceWarning” can be prefixed to an Error message.
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;
Line breaks / Carriage Return, can be performed by using the "\" character in NAV/BC.
Example code in NAV/365BC
A confirm dialog, using "ForceWarning"