You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 55 Current »
Open Mobile Document Queue List
Isolate for the right entry, using columns like Document Type, Registration Type or Status Filters
The Response XML contains both the Error message and Error call stack.
The beginning of the error call stack is where the process failed. This allows you to:
Isolate the source of the erroneous code
Identify where to set breakpoints for debugging, see https://taskletfactory.atlassian.net/wiki/spaces/TFSK/pages/745308161/Debugging+in+Business+Central
The call stack can point to non-MobileWMS extensions. Look for "ExtensionName by Publisher".
This points to an issue outside of Mobile WMS. In Example, the Error Call Stack points to the Extension ShipIT 365 by IDYN B.V.
You can copy these files to the ticket if you have an ongoing Service Desk ticket and have trouble pinpointing the root cause of the Error.
Select Document > Show Request XML
Save the file
Select Document > Show Response XML
You can reprocess failed mobile documents from the Mobile Document Queue List in Business Central.This will show the error message on your screen.
Note: The code is executed in the context of the current user
Select Process > Process Document
When reprocessing fails, you will see the error on the screen.
More information is available in Copy details.
Select "Copy Details"
Paste the text to a text editor or an ongoing Service Desk ticket if you have trouble pinpointing the root cause of the Error.
The mobile app request is likely the most interesting for development. The request shows the values available.
Here are fields "MyDate", "MyText" available in a request for an Unplanned Function named "MyUnplanned".
<?xml version="1.0" encoding="utf-8"?> <request name="PostAdhocRegistration" created="2020-02-14T15:24:24+01:00" xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Request"> <requestData name="PostAdhocRegistration"> <MyDate>14-02-2020</MyDate> <MyText>2</MyText> <MyDecimal>4</MyDecimal> <MyDateStep>14-02-2020</MyDateStep> <MyTextStep>2</MyTextStep> <MyDecimalStep>4</MyDecimalStep> <RegistrationType>MyUnplanned</RegistrationType> </requestData> </request>