In the previous chapters you have seen how the Mobile WMS application works with orders that are planned in Dynamics NAV. In many scenarios the mobile user also has the need to perform unplanned registrations if a certain event in the warehouse occurs. This could be that an item is damaged and the inventory needs to be updated. It could also be moving an item from one shelf to another.
The Mobile WMS application supports unplanned registrations through the ”Unplanned Item Registration” screen. This screen can be configured to handle many types of registrations. The typical work flow using the ”Unplanned Item Registration” screen is:
Activate the feature
Show the header values (configuration downloaded during login) [populate combo boxes with reference data]
The user enters / selects the values and accepts them
The values are sent to Dynamics NAV and it returns the additional registration steps that must be performed for the selected header values (e.g. if an item is lot tracked then the lot number must be registered)
The user goes through the registrations steps and scans / enters the values
The user posts the registration
The registration is sent to Dynamics NAV where it is posted
The screen is now ready for a new registration
GetRegistrationConfiguration
This message is sent to the Dynamics NAV when the user presses the button to accept the header values. The backend must return an XML that contains the additional registration steps to perform before the registration can be posted.
In the <steps> element you can add the steps you need to complete the registration. The step attributes are explained here.
id [int] The id must be unique. It controls the order in which the steps are handled.
header [string] The text displayed in the
label [string] The text displayed before the input field
helpLabel [string] Optional help text displayed below the input field
inputType [string] The inputType determines the type of the input. At the moment there are four input types allowed: - Date - Integer - List
- Text
length [int] This attribute is only relevant for text inputs. The maximum length of the text is limited to this value.
listValues [string]
This attribute is only relevant for list inputs. The values which will populate the list. Separated by the separator character or string as described below.
listSeparator [string]
This attribute is only relevant for list inputs. The character or string that separates the list values. Defaults to ‘;’
minValue [int] This attribute is only relevant for integer inputs. The entered value cannot be lower than this value.
maxValue [int] This attribute is only relevant for integer inputs. The entered value cannot be higher than this value.
minDate [date] This attribute is only relevant for date inputs. The entered date cannot be before this date. The date must have this format: yyyy-MM-dd
maxDate [date] This attribute is only relevant for date inputs. The entered date cannot be after this date. The date must have this format: yyyy-MM-dd
name [string] This attribute sets the name of the element that will hold the registered value when the user posts the registration.