ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] codeunit 7307 "Whse.-Activity-Register" OnCodeOnBeforeReadActivityLineGrouped

Open aobsgit opened this issue 5 years ago • 1 comments

        .
        .
        .
        // breakbulk first to provide quantity for pick lines in smaller UoM
        WhseActivLine.SetFilter("Breakbulk No.", '<>0');
        RegisterWhseActivityLines(WhseActivLine, TempWhseActivLineToReserve, TempWhseActivityLineGrouped);

        WhseActivLine.SetRange("Breakbulk No.", 0);
        RegisterWhseActivityLines(WhseActivLine, TempWhseActivLineToReserve, TempWhseActivityLineGrouped);
        WhseActivLine.SetRange("Breakbulk No.");

OnCodeOnBeforeReadActivityLineGrouped(WhseActivHeader,WhseActivLine,RegisteredWhseActivHeader)

        TempWhseActivityLineGrouped.Reset();
        if TempWhseActivityLineGrouped.FindSet then
            repeat
                if Type <> Type::Movement then
                    UpdateWhseSourceDocLine(TempWhseActivityLineGrouped);
                UpdateWhseDocHeader(TempWhseActivityLineGrouped);
                TempWhseActivityLineGrouped.DeleteBinContent(TempWhseActivityLineGrouped."Action Type"::Take);
            until TempWhseActivityLineGrouped.Next() = 0;
        .
        .
        .

[IntegrationEvent(false,false)] local procedure OnCodeOnBeforeReadActivityLineGrouped(var WhseActivHeader: Record "Warehouse Activity Header"; var WhseActivLine: Record "Warehouse Activity Line"; var RegisteredWhseActivityHdr: Record "Registered Whse. Activity Hdr.") begin end;

aobsgit avatar Aug 20 '21 06:08 aobsgit

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.

JesperSchulz avatar Aug 23 '21 07:08 JesperSchulz