Use this event to
...
Always used in conjunction with an [...]_OnAfterSetFrom[...] event.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. TypesMOB WMS Put Away", 'OnAfterCreateDefaultDocumentTypesOnGetPutAwayOrderLines_OnAfterSetFromWarehouseActivityLine', '', true, true)]
local procedure MyOnAfterCreateDefaultDocumentTypes()
begin
OnGetPutAwayOrderLines_OnAfterSetFromWarehouseActivityLine(_WhseActLineTake: Record "Warehouse Activity Line"; var _BaseOrderLineElement: Record "MOB NS BaseDataModel Element")
begin
end;
Example
How-to: Group matching order lines (GroupBy)
...