...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
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::Codeunit, Codeunit::"MOB WMS ReceiveMOB WMS Pick", 'OnGetReceiveOrderLinesOnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine', '', true, true)]
procedure OnGetReceiveOrderLines OnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine(var _SalesReturnLineSalesLine: Record "Sales Line")
begin
end;
Example
// [Example]: Dont show "Drop Shipment" Lines
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS ReceiveMOB WMS Pick", 'OnGetReceiveOrderLinesOnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine', '', true, true)]
procedure MyOnGetReceiveOrderLines MyOnGetPickOrderLines_OnSetFilterSalesReturnLineOnSetFilterSalesLine(var _SalesReturnLineSalesLine: Record "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) showLabels false showSpace false sort title title More examples excerptType simple cql label = "bc" and label = "orderlines" and label = "example" and label = "onsetfilter"
...