Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

Excerpt

Set values to display on a "group header" element created from GroupBy, or suppress the "group header" element.

...

Always used in conjunction with an [...]_OnAfterSetFrom[...] event.


Template

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"

...

MOB WMS Base Document Handler", '

...

OnAfterGroupByBaseOrderLineElements''', true, true)]
    local procedure

...

 OnAfterGroupByBaseOrderLineElements(var _

...

GroupOrderLineElementRecord "

...

MOB Ns BaseDataModel Element"; var _IsGrouped: Booleanvar _

...

BaseOrderLineElementsRecord "

...

MOB Ns BaseDataModel Element"; var _IsHandled: Boolean)
    begin

...

    end;


Example

How-to: Group matching order lines (GroupBy)

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
excerptTypesimple
cqllabel = "bc" and label = "onaftergroupbybaseorderlineelements" and label = "onaftercreatedefaultdocumenttypesexample"

 

Version History

VersionChanges
MOB5.1826Introduced