Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Document Types
GetRegistrationConfiguration
This request is sent to back-end when header values are accepted.
The backend must return an XML that contains the additional steps to collect before the registration can be posted.
Code Block | ||||
---|---|---|---|---|
| ||||
<request name="GetRegistrationConfiguration" created="2021-08-06T11:21:30+02:00" xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Request"> <requestData name="GetRegistrationConfiguration"> <Location>WHITE</Location> <Item>1000</Item> <RegistrationType>UnplannedCount</RegistrationType> </requestData> </request> |
Code Block | ||||
---|---|---|---|---|
| ||||
<registrationCollectorConfiguration xmlns="http://schemas.taskletfactory.com/MDMF/Platform/Controls/RegistrationCollectorConfiguration.xsd"> <steps> <add id="1" header="Enter LOT number" helpLabel="" inputType="Text" label="LOT No." length="20" name="LotNumber"/> <add id="2" header="Enter exp. date" helpLabel="" inputType="Date" label="Exp. date" name="ExpirationDate" minDate="2009-01-01" maxDate="2012-12-31"/> <add id="3" header="Enter quantity" helpLabel="" label ="Quantity" inputType="Integer" minValue="0" maxValue="150" name="QUantity" /> <add id="4" header="Select Location" helpLabel="" label ="Location" inputType="List" listValues="Warehouse 1@Warehouse 2@Warehouse 3" listSeparator="@" name="Location" /> </steps> </registrationCollectorConfiguration> |
PostAdhocRegistration
This request is sent to back-end when header is accepter or, if used, steps are completed.
The backend must return an XML with status=Completed and optionally a success message (description).
Code Block | ||||
---|---|---|---|---|
| ||||
<request name="PostAdhocRegistration" created="2021-08-06T11:21:43+02:00" xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Request"> <requestData name="PostAdhocRegistration"> <Location>WHITE</Location> <Item>1000</Item> <Bin>w-01-0001</Bin> <UoM>PCS</UoM> <Quantity>1</Quantity> <RegistrationType>UnplannedCount</RegistrationType> </requestData> </request> |
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="A6248127-EB60-4002-81F3-77A8A5D8D25C" status="Completed"> <description>Unplanned Count for 1000 completed.</description> </response> |