Use this event to
Excerpt |
---|
Filter Warehouse Pick/Inventory Pick Lines to be displayed as Order Lines at the mobile device. |
...
, consider OnGetPickOrderLines_OnInclude... instead.
Template
// [Template]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnSetFilterWarehouseActivityLine', '', true, true)]
local procedure OnGetPickOrderLines_OnSetFilterWarehouseActivityLine(var _WhseActLineTake: Record "Warehouse Activity Line")
begin
end;
Example
// [Example]: Do not show pick lines with Blocked Lot or Serial No Do not show pick lines with Blocked Lot or Serial No.
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnSetFilterWarehouseActivityLine', '', true, true)]
local procedure OnGetPickOrderLines MyOnGetPickOrderLines_OnSetFilterWarehouseActivityLine(var _WhseActLineTake: Record "Warehouse Activity Line")
begin
_WhseActLineTake.SetRange("Lot No. Blocked", false);
_WhseActLineTake.SetRange("Serial No. Blocked", 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"
...