ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 7322 "Create Inventory Pick/Movement" - OnWhseRequestCreatePickCaseElse

Open MiRo65 opened this issue 6 years ago • 4 comments

Could we please have a Publisher OnWhseRequestCreatePickCaseElse in Codeunit 7322 in the Case Structure for a ELSE Statement ? Code example:

case WhseRequest."Source Document" of
        WhseRequest."Source Document"::"Purchase Order":
            CreatePickOrMoveFromPurchase(PurchHeader);
        WhseRequest."Source Document"::"Purchase Return Order":
            CreatePickOrMoveFromPurchase(PurchHeader);
        WhseRequest."Source Document"::"Sales Order":
            CreatePickOrMoveFromSales(SalesHeader);
        WhseRequest."Source Document"::"Sales Return Order":
            CreatePickOrMoveFromSales(SalesHeader);
        WhseRequest."Source Document"::"Outbound Transfer":
            CreatePickOrMoveFromTransfer(TransferHeader);
        WhseRequest."Source Document"::"Prod. Consumption":
            CreatePickOrMoveFromProduction(ProdHeader);
        WhseRequest."Source Document"::"Assembly Consumption":
            CreatePickOrMoveFromAssembly(AssemblyHeader);
        **// start kvspsa - Event Raiser
        else
            OnWhseRequestCreatePickCaseElse(WhseRequest, WhseActivHeader, Location, HideDialog, CompleteShipment, CheckLineExist);
    // stop kvspsa**
    end;

MiRo65 avatar Dec 13 '19 13:12 MiRo65

Please define which parameters need VAR.

AlexanderYakunin avatar Jan 13 '20 11:01 AlexanderYakunin

local procedure OnWhseRequestCreatePickCaseElse(WarehouseRequest: Record "Warehouse Request"; WarehouseActivityHeader: Record "Warehouse Activity Header"; Location: Record Location; HideDialog: Boolean; var CompleteShipment: Boolean; CheckLineExist: Boolean)

MiRo65 avatar Jan 13 '20 11:01 MiRo65

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. We will update this issue with information about availability.

bc-ghost avatar Jan 14 '20 09:01 bc-ghost

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. We will update this issue with information about availability.

bc-ghost avatar Jan 21 '20 13:01 bc-ghost