OnSearchOnBinSearch_OnSetFilterBin

Use this event to

Filter Items to be displayed at the mobile device for SearchType = "BinSearch".

Description

Use this event to modify existing standard Mobile WMS filter for "Location" - or implement new filters based on other fields.

Template

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Online Search", 'OnSearchOnBinSearch_OnSetFilterBin', '', true, true)]
    local procedure OnSearchOnBinSearch_OnSetFilterBin(var _RequestValues: Record "MOB NS Request Element"; var _Bin: Record Bin)
    begin
    end;

Example

    // [Example]  Change standard Mobile WMS filters (from all Bins at Location to empty Bins at Location)
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Online Search", 'OnSearchOnBinSearch_OnSetFilterBin', '', true, true)]
    local procedure MyOnSearchOnBinSearch_OnSetFilterBin(var _RequestValues: Record "MOB NS Request Element"; var _Bin: Record Bin)
    begin
        _Bin.SetRange(Empty, true);
    end;


More examples


Version History

Version

Changes

MOB5.43Introduced