Register unexpected Quantity (overDeliveryValidation / underDeliveryValidation)

Description

During line registration, the user can will be warned or blocked, when registering more or less than the "Quantity" element sent during Order Lines Response.


Mobile can respond with:

Warning the user: "You cannot register more than x for this item"

Blocking the user: There are order lines (n) with an unexpected quantity. Do you want to proceed anyway?


Parameters

Modify the following elements in Order Lines Response;

  • overDeliveryValidation
  • underDeliveryValidation

With these options :

  • None: User is allowed to register a higher/lower value

  • Warn: Warn the user if a higher/lower value than suggested is entered. User must accept the prompt.

  • Block: User is not allowed to register a higher/lower value. A error message is displayed


Determines the behavior when the maximum value is exceeded.

Using overDeliveryValidation-options that will allow over-delivery will affect the mobile device only, The BC backend will need to allow over-delivery as well i.e. you must be able to process overdelivery from the backend when no mobile devices are used to process the posting. Only recent BC versions support this. For older versions, customization to the backend is needed.

These are defined in the OrderLines response from the BackEnd.



How to modify 

Business Central

Use the "OnAfterSetFrom"...-events i.e.:


OnGetReceiveOrderLines_OnAfterSetFromAnyLine


And the relevant functions i.e.:

  • Set_UnderDeliveryValidation
  • Set_OverDeliveryValidation

NAV

Modify Codeunits:

  • MOB WMS Toolbox
  • Or the respective functional area Codeunit, i.e. Count, Pick etc.