This functionality enables an opened registration collector to expand with new steps, based on the response from the backend.
Currently (v.1.5.7) When posting an unplanned item registration, the application will support new steps returned as part of the posting response. It comes in two flavors.
- Posting from an already opened registration collector. Requires app version 1.5.7
- Posting from the header with useRegistrationCollector="auto". Reguires app version 1.5.9.
Info | ||
---|---|---|
| ||
Android App version 1.5.9 Currently this is only available on Unplanned Item Registration and Lookup -pages with a registration collector/steps. |
Post - Append steps
When posting from a registration collector on an Unplanned Item Registration or Lookup page, new steps can be returned that will be appended to the current registration collector.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="EE5BC00A26A6D333-5876A724-47CA41B3-9BE297A9-8C6EA7F531ED7C1FCAC0CEDD" status="Completed"> <description /> <responseData xmlns="http://schemas.taskletfactory.com/MobileWMS/BaseDataModel"> <description>There are more steps</description> <registrationCollectorConfiguration> <steps><registrationCollectorConfiguration xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response"> <steps> <add id="10" name="FromBin" inputType="Text" header="@{RegistrationCollectorFromBinHeader}" label="'{FromBin}'" defaultValue="{FromBin}" helpLabel="@{RegistrationCollectorFromBinHelpLabel}" optional="false" primaryInputMethod="Scan"/> <add id="20" name="ToBin" inputType="Text" header="@{RegistrationCollectorToBinHeader}" label="'{ToBin}'" defaultValue="{ToBin}" helpLabel="@{RegistrationCollectorToBinHelpLabel}" optional="false" primaryInputMethod="Scan" /> <add id="31" name="ExpirationDate" inputType="Date" header="@{RegistrationCollectorExpirationDateHeader}" label="Expiration Date" optional="false" helpLabel="@{RegistrationCollectorExpirationDateHelpLabel}"/> </steps> </registrationCollectorConfiguration> </responseData> </response> |
New steps appended
The steps returned will be appended to the current registration collector and the first newly added step will be the active step. The steps will be grouped by the post they where returned by.
...