-
Notifications
You must be signed in to change notification settings - Fork 688
Open
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an event
Description
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;
Internal work item: AB#621151
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an event