Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

I receive received an error message on the mobile device, which originates originated in NAV/BC.


Solution

You can use the debugger to trace and resolve the issue.

...

Business Central

See Debugging

NAV

Debug using re-processing Mobile Documents

You can re-process failed mobile documents from the Mobile Document Queue List :

  1. Start the debugger from C/SIDE.
  2. Select "Debug Next"
    Provoke the error from the mobile device.
  3. The debugger will now catch the error

Using Business Central

  1. Start the Debugger from VS Code
    In the client, open Open "Mobile Document Queue List" page
  2. Locate a failed entry with (Status "Error")

  3. Select Action"Reset Document"
    The Status will change to "New"
  4. Select Action  "Process Document"

    The debugger will now catch the error

...

Debug Webservice requests before processing 

This method requires

  • NAV 2013R2 - 2018
  • A mobile device to be connected to the environment you are debugging.
  1. Start the debugger from C/SIDE.
  2. Select "Debug Next"
  3. In the client, open "Mobile Document Queue List"
  4. Locate a failed entry with (Status "Error")
  5. Select Action"Reset Document"
  6. The Status will change to "New"
    Select Action "Process Document"Provoke the error from the mobile device
  7. The debugger will now catch the error