Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Use this event to

Add new custom Mobile Document Type.


Template

    [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;


See also:

 

Version History

VersionChanges
MOB5.18Introduced
  • No labels