Use this event to
Excerpt |
---|
Set values to display on a grouped element created from GroupBy or suppress the element. |
Always used in conjunction with
See: How-to: Group matching order lines (GroupBy)
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Setup Doc. Types", 'OnAfterCreateDefaultDocumentTypes', '', true, true)]
local procedure MyOnAfterCreateDefaultDocumentTypes()
begin
end;
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:
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...