ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Event Request: Table 901 Assembly Line

Open ACJStopka opened this issue 7 years ago • 0 comments

Event declaration: LOCAL [IntegrationEvent] OnAfterFilterLinesWithItemToPlan(VAR AssemblyLine : Record "Assembly Line";VAR Item : Record Item;DocumentType : Option)

A new code is required:

[External] FilterLinesWithItemToPlan(VAR Item : Record Item;DocumentType : Option) RESET; SETCURRENTKEY("Document Type",Type,"No.","Variant Code","Location Code"); SETRANGE("Document Type",DocumentType); SETRANGE(Type,Type::Item); SETRANGE("No.",Item."No."); SETFILTER("Variant Code",Item.GETFILTER("Variant Filter")); SETFILTER("Location Code",Item.GETFILTER("Location Filter")); SETFILTER("Due Date",Item.GETFILTER("Date Filter")); SETFILTER("Shortcut Dimension 1 Code",Item.GETFILTER("Global Dimension 1 Filter")); SETFILTER("Shortcut Dimension 2 Code",Item.GETFILTER("Global Dimension 2 Filter")); SETFILTER("Remaining Quantity (Base)",'<>0'); // *** new code *** >> OnAfterFilterLinesWithItemToPlan(Rec,Item,DocumentType); // *** new code *** <<

ACJStopka avatar Mar 12 '19 12:03 ACJStopka