Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Next »

 

How to show an Error

 

Error messages are supported everywhere.
Simply perform the “ERROR()” command in NAV and the message will be shown on the scanner.

 

 

How to show a Warning/Confirmation

 

When a warning is wanted, the string ”ForceWarning” can be prefixed to an Error message.

  1. This will produce a warning, that the user can choose to ignore.
  2. If the user ignores the warning, the request is automatically resent with a “Force” tag included. 
  3. The process can now be completed.

 

Example

Example of "ForceWarning" being used i NAV
IF NOT Force THEN BEGIN
  ERROR('ForceWarning:' + STRSUBSTNO(MobWmsLanguage.GetMessage('QUANTITY_ERR'),Quantity,ActualQty));
END;

 

 

 

The "Dual dialogue" cannot be avoided when using Windows Embedded

Existing example of "ForceWarning" in NAV

  • “Unplanned Count” in Codeunit “TF Mobile WMS Adhoc Registr."


 

Note

"ForceWarning" feature is supported for example during posting, but not necessarily everywhere else

 

 

  • No labels