ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 7307 "Whse.-Activity-Register" - OnAfterCheckSourceDocumentForAvailableQty

Open IngoStender opened this issue 3 years ago • 3 comments

Describe the request

We need a new integration event OnAfterCheckSourceDocumentForAvailableQty() at the end of procedure CheckSourceDocumentForAvailableQty() in codeunit 7307 "Whse.-Activity-Register"

local procedure CheckSourceDocumentForAvailableQty(var GroupedWhseActivLine: Record "Warehouse Activity Line")
   [...]
        until GroupedWhseActivLine.Next() = 0;
    GroupedWhseActivLine.SetRange("Breakbulk No.");

    // >> New         
    OnAfterCheckSourceDocumentForAvailableQty(GroupedWhseActivLine);
    // << New
end;

// >> New
[IntegrationEvent(false, false)]
local procedure OnAfterCheckSourceDocumentForAvailableQty(var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;
// << New

Additional context

We want to allow users to pick more than required for a production order component. The existing integration event OnBeforeCheckSourceDocumentForAvailableQty() is helpful, but in order to avoid using the IsHandled pattern and to copy most of the existing code, we need the additional integration event.



Internal work item: AB#492579

IngoStender avatar Nov 28 '23 16:11 IngoStender

Hello @IngoStender Please add necessary information about your request

AleksandricMarko avatar Nov 29 '23 07:11 AleksandricMarko

Hello @AleksandricMarko,

I've added all necessary information in my original request but it looks like that the user "mazhelez" deleted everything 1 hour ago. You can check that in the revision.

image

IngoStender avatar Nov 29 '23 08:11 IngoStender

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 14309.

JesperSchulz avatar Nov 30 '23 12:11 JesperSchulz