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
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