Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

...

Always used in conjunction with with an [...]_OnAfterSetFrom[...] event.

See: How-to: Group matching order lines (GroupBy)

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultDocumentTypes''', true, true)]
    local procedure MyOnAfterCreateDefaultDocumentTypes()
    begin
    end;

Example

    // Add Custom Mobile DocumentType
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultDocumentTypes''', true, true)]
    local procedure Ex01MyOnAfterCreateDefaultDocumentTypes()
    var
        MobWmsSetupDocTypes: Codeunit "MOB WMS Setup Doc. Types";
    begin
        MobWmsSetupDocTypes.CreateDocumentType('MyCustomDocType'''Codeunit::"MOB WMS Whse. Inquiry");
    end;How-to: Group matching order lines (GroupBy)


See also:

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
excerptTypesimple
cqllabel = "bc" and label = "onaftercreatedefaultdocumenttypes"

...