Requirement
Android App version 1.5.9
Description
You want to automatically trigger posting for each complete registration.
Use case
The user wants to trigger posting after each registration of a line in Receive Order Lines.
Additionally, they want to register less quantity than expected and surpress all warning and posting messages for each registration.
Behaviour on the device
In this case, when the user has chosen to register less quantity than expected in Receive Order Lines, no warnings will appear. When the user is done registering a line, the line will be posted automatically, without any confirmation message.
How to enable it
Step 1: Set postingTrigger to "PostAfterEachRegistration"
This requires a change in the application.cfg
<page id="ReceiveLines" type="OrderLines" icon="mainmenureceive"> <title defaultValue="@{PageReceiveOrderLinesTitle}"/> <orderLinesConfiguration postingTrigger="PostAfterEachRegistration" suggestQuantity="true" verifySingleScanRegistrations="false" actionOnEmptyList="ClosePage"> <service id="Receive"/> <list listId="OrderLinesWithImages"/> <..> </page>
Step 2: Set UnderDeliveryValidation to "none", using OnGetReceiveOrderLines_OnAfterSetFrom...
To avoid getting a warning when the user registers less quantity than expected. More information about Under/OverDeliveryValidation
Step 3: To supress the Posting confirmation message, use OnPostReceiveOrder_OnAfterPost...
Clear the _ResultMessage
Available events are:
See also