Use this event to
...
Always used in conjunction with an [...]_OnAfterSetFrom[...] event.See: How-to: Group matching order lines (GroupBy)
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultDocumentTypes', '', true, true)]
local procedure MyOnAfterCreateDefaultDocumentTypes()
begin
end;
Example
How-to: Group matching order lines (GroupBy)
...