...
As registrations will be done on the individual order lines, posting a order line group will not differ in the request from the mobile application. Hence, no change needs to be done here. Only if the GroupOrderLine is defined with different attributes than the individual order lines.
Toggling the grouped order line
In order to be able to toggle the grouped order lines, a new menu item needs to be added to the order lines page.
Code Block | ||
---|---|---|
| ||
<page id="PutAwayLines" type="OrderLines" icon="mainmenuputaway">
<title defaultValue="@{PagePutAwayOrderLinesTitle}"/>
<orderLinesConfiguration>
...
<toggleOrderLineGrouping enabled="true" title="@{MenuItemOrderLineUngroup}" icon="menuplus" groupTitle="@{MenuItemOrderLineGroup}" groupIcon="menuminus" contextMenuPlacement="1" menuPlacement="1" disableOnRegistration="false"/>
...
</orderLinesConfiguration>
</page>
|
The disableOnRegistration attribute dictates whether or not the toggling between grouping and individual order lines can happen after a registration in either grouped or individual mode has been made. The default is to allow it.
Recommendations
When using this functionality for registering serial numbers, and the serial numbers are known, it is recommended that a GroupOrderLine is added. The GroupOrderLine should not have an expected serial number set, as that will prevent other serial numbers from being registered.
...