Skip to content

[Event Request] Add OnBeforeValidateQtyPickedInShipmentBin IsHandled Event in Codeunit 7314 "Warehouse Availability Mgt." #30268

@BergantINC

Description

@BergantINC

Why do you need this change?

The procedure ValidateQtyPickedInShipmentBin in Codeunit 7314 "Warehouse Availability Mgt." assumes that the shipment quantity should always be validated against the default Shipment Bin Code defined on the Location.

This causes incorrect behavior in scenarios where a Warehouse Shipment uses a bin that is different from the Location's default Shipment Bin Code. As a result, the validation can calculate the available quantity from the wrong bin and incorrectly modify QtyPicked.

The current implementation does not expose any extensibility point that allows this logic to be overridden or redirected to the actual shipment bin.

Describe the request

Object: Codeunit 7314 "Warehouse Availability Mgt."
Procedure: ValidateQtyPickedInShipmentBin
Placement: At the beginning of the procedure, before the standard validation logic is executed.

We would need an event that has all the parameters + IsHandled at the beggining with exit if IsHandled = true.
Internal work item: AB#638833

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions