OnAfterCreateDefaultDocumentTypes
Use this event to
Add new custom Mobile Document Type.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultDocumentTypes', '', true, true)]
local procedure MyOnAfterCreateDefaultDocumentTypes()
begin
end;
Example
// [Example : Add Custom Mobile DocumentType]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"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:
-
How-to: Select Line and set default Step values (LineSelection) — The LineSelection functionality makes it possible to:
- Select a line based on a response from the backend
- Set default values on the line steps
-
OnAfterCreateDefaultDocumentTypes — Add new custom Mobile Document Type.
-
How-to: Online Validation for Line step — Online Validation on Steps can instantly validate the user data, with a call to BC.
-
Version History
Version | Changes |
---|---|
MOB5.18 | Introduced |