Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Use this event to

Excerpt

Filter Sales Return Lines to be displayed in OrderLines-list as Order Lines at the mobile device.

Description

With this event you can perform basic record filtering of Order Lines.

, consider OnGetPickOrderLines_OnInclude... instead. 


Template

       [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS ReceiveMOB WMS Pick", 'OnGetReceiveOrderLinesOnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine''', true, true)]
    procedure OnGetReceiveOrderLines OnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine(var _SalesReturnLineSalesLineRecord "Sales Line")
    begin
    end;


Example

    // [Example]: Dont show "Drop Shipment" Lines
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS ReceiveMOB WMS Pick", 'OnGetReceiveOrderLinesOnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine''', true, true)]
    procedure MyOnGetReceiveOrderLines MyOnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine(var _SalesReturnLineSalesLineRecord "Sales Line")
    begin
        // [Scenario] Apply addition filter to excluding order lines (and orders) with posting different than today
        _SalesReturnLine.SetFilter(_SalesReturnLine."Posting Date", '=%1', WorkDate()_SalesLine.SetRange("Drop Shipment", false);
    end;



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

...