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.



Template

...

Example

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



Example

// Add 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
cqllabel = "bc" and label = "onaftercreatedefaultdocumenttypes"

 

Version History

VersionChanges
MOB5.18Introduced