Skip to content

[Event Request] codeunit 99000893 "Mfg. Create Put-away" - OnBeforeGetPutAwayUOMForProdOrderLine #29670

@makuhn

Description

@makuhn

Why do you need this change?

Event ist required to integrate our enhanced warehouse functionality for load carrier management (create put-away per load carrier).

See also
#29582
#29611
#29612
#29613
#29614
#29615

Describe the request

Add new code and Integration Event in codeunit 99000893 "Mfg. Create Put-away"

     local procedure GetPutAwayUOMForProdOrderLine(ProdOrderLine: Record "Prod. Order Line")
+    var
+        IsHandled: Boolean;
     begin
+        IsHandled := false;
+        OnBeforeGetPutAwayUOMForProdOrderLine(PutAwayItemUnitOfMeasure, ProdOrderLine, IsHandled);
+        if IsHandled then
+            exit;
+
         if not CurrLocation."Directed Put-away and Pick" then begin
             PutAwayItemUnitOfMeasure.Code := ProdOrderLine."Unit of Measure Code";

...

+    [IntegrationEvent(false, false)]
+    local procedure OnBeforeGetPutAwayUOMForProdOrderLine(var PutAwayItemUOM: Record "Item Unit of Measure"; ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)
+    begin
+    end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing-infoThe issue misses information that prevents it from completion.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions