Versions Compared

Key

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

Use this event to

Excerpt

Add new custom Mobile Document Type.

...

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

Example

    // [Example : Add Custom Mobile DocumentType to handle validation code    ]
    [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;


See also:

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

...