Codeunit 6497 Serv. Planning Availability
Source AL, 46 lines
src/Layers/W1/BaseApp/Service/Inventory/Planning/ServPlanningAvailability.Codeunit.allines 10 to 25 of 46, Copyright (c) Microsoft Corporation. MIT
codeunit 6497 "Serv. Planning Availability"{ ObsoleteState = Pending; ObsoleteReason = 'The referenced report "Planning Availability" has been deprecated and will be removed in a future release.'; ObsoleteTag = '27.0'; [EventSubscriber(ObjectType::Report, Report::Microsoft.Manufacturing.Reports."Planning Availability", 'OnCollectData', '', true, false)] local procedure OnCollectData(var TempPlanningBuffer: Record "Planning Buffer" temporary; Selection: Boolean; var sender: Report Microsoft.Manufacturing.Reports."Planning Availability") var ServiceLine: Record "Service Line"; begin ServiceLine.SetRange("Document Type", "Service Document Type"::Order); ServiceLine.SetRange(Type, "Service Line Type"::Item); if ServiceLine.FindSet() then repeat if Selection then begin