[Event Request] Codeunit 6501 - Item Tracking Data Collection - OnBeforePrepareItemTrackingSummary
Hello AL-Team, we need the following Publisher:
[External] SelectMultipleTrackingNo(VAR TempTrackingSpecification : TEMPORARY Record "Tracking Specification";MaxQuantity : Decimal;CurrentSignFactor : Integer) [...] // Initialize form ItemTrackingSummaryForm.CAPTION := Text011; ItemTrackingSummaryForm.SETTABLEVIEW(TempGlobalEntrySummary); TempGlobalEntrySummary.SETFILTER("Table ID",'<>%1',0); // Filter out summations // >> New OnBeforePrepareItemTrackingSummary(TempTrackingSpecification,TempGlobalEntrySummary,MaxQuantity); // << New ItemTrackingSummaryForm.SetSources(TempGlobalReservEntry,TempGlobalEntrySummary); ItemTrackingSummaryForm.SetSelectionMode(MaxQuantity <> 0); ItemTrackingSummaryForm.LOOKUPMODE(TRUE); [...]
Publisher definition currently used by us IncludeSender: false GlobaVarAccess: false LOCAL [IntegrationEvent] OnBeforePrepareItemTrackingSummary(VAR TrackingSpecification : Record "Tracking Specification";VAR EntrySummary : Record "Entry Summary";MaxQuantity : Decimal)
Note: added as OnSelectMultipleTrackingNoOnBeforeSetSources