Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Use this event to

Excerpt

Filter Production Order Routing Lines in Production Output to be displayed at the mobile device.

Description

With this event you can perform basic record filtering of Production Order Routing lines in Production Output.

Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnProdOutput_OnSetFilterProdOrderRoutingLine''', true, true)]
    local procedure OnLookupOnProdOutput_OnSetFilterProdOrderRoutingLine(var _RequestValues: Record "MOB NS Request Element"; var _ProdOrderRtngLine: Record "Prod. Order Routing Line")
    begin
    end;

Example

    // [Example]  Filter lines after Starting Date.

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnProdOutput_OnSetFilterProdOrderRoutingLine''', true, true)]
    local procedure MyOnLookupOnProdOutput_OnSetFilterProdOrderRoutingLine(var _RequestValues: Record "MOB NS Request Element"; var _ProdOrderRtngLine: Record "Prod. Order Routing Line")
    begin
        _ProdOrderRtngLine.SetFilter("Starting Date", '<=%1', WorkDate());
    end;


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "example" and label = "onsetfilter"

Version History

VersionChanges
MOB5.45Introduced