OnAfterCreateDefaultMenuOptions
Use this event to
Add new custom Mobile Menu entries.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultMenuOptions', '', true, true)]
local procedure OnAfterCreateDefaultMenuOptions()
begin
end;
Example
// [Example : Add Custom Menu Item]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultMenuOptions', '', true, true)]
local procedure Ex01OnAfterCreateDefaultMenuOptions()
var
MobWmsSetupDocTypes: Codeunit "MOB WMS Setup Doc. Types";
begin
MobWmsSetupDocTypes.CreateMobileMenuOptionAndAddToMobileGroup('MyMenuItem', 'WMS', 1000);
end;
See also:
-
OnAfterCreateDefaultMenuOptions — Add new custom Mobile Menu entries.
Version History
Version | Changes |
---|---|
MOB5.18 | Introduced |