Use this event to
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Time Tracking Management", 'OnAfterFilterTimeTrackingEntry', '', true, true)]
local procedure OnAfterFilterTimeTrackingEntry(var _MobTimeTrackingEntry: Record "MOB Time Tracking Entry");
begin
end;
Example
// [Example] Override existing filter in order to allow the MobileUserID to start/stop time on any device
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB Time Tracking Management", 'OnAfterFilterTimeTrackingEntry', '', true, true)]
local procedure MyOnAfterFilterTimeTrackingEntry(var _MobTimeTrackingEntry: Record "MOB Time Tracking Entry");
begin
_MobTimeTrackingEntry.SetRange("Device ID");
end;
Filter by label (Content by label) |
---|
showLabels | false |
---|
showSpace | false |
---|
sort | title |
---|
title | More examples |
---|
excerptType | simple |
---|
cql | label = "bc" and label = "example" and label = "onafterfiltertimetrackingentry" |
---|
|
Version History