Versions Compared

Key

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

Use this event to

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS LookupMOB Time Tracking Management", 'OnLookupOnProdOutput_OnIncludeProductionOutputOnAfterFilterTimeTrackingEntry''', true, true)]
    local procedure OnLookupOnProdOutput_OnIncludeProductionOutput(_ProdOrderLine: Record "Prod. Order Line"; _ProdOrderRtngLine OnAfterFilterTimeTrackingEntry(var _MobTimeTrackingEntryRecord "Prod. Order Routing LineMOB Time Tracking Entry"var _IncludeInOrderLines: Boolean));
    begin
    end;

Example

    // [Example]  Hide all operations if final operation is fully output (standard will allow further output even when everything is produced accordingly to the Prod. Order Line)  Override existing filter in order to allow the MobileUserID to start/stop time on any devices
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS LookupMOB Time Tracking Management", 'OnLookupOnProdOutput_OnIncludeProductionOutputOnAfterFilterTimeTrackingEntry''', true, true)]
    local procedure MyOnLookupOnProdOutput_OnIncludeProductionOutput(_ProdOrderLine: Record "Prod. Order Line"; _ProdOrderRtngLine MyOnAfterFilterTimeTrackingEntry(var _MobTimeTrackingEntryRecord "Prod. Order Routing LineMOB Time Tracking Entry"var _IncludeInOrderLines: Boolean));
    begin
        if _ProdOrderLineMobTimeTrackingEntry.SetRange("Remaining Quantity" = 0 then
            _IncludeInOrderLines := falseDevice ID");
    end;



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

...

Version History

VersionChanges
MOB5.2228Introduced