Codeunit 5972 Service Info-Pane Management

Base Application, Microsoft.Service.Document

Source AL, 238 lines

src/Layers/W1/BaseApp/Service/Document/ServiceInfoPaneManagement.Codeunit.allines 15 to 30 of 238, Copyright (c) Microsoft Corporation. MIT

codeunit 5972 "Service Info-Pane Management"{    trigger OnRun()    begin    end;    var        Item: Record Item;    procedure CalcAvailability(var ServLine: Record "Service Line") Result: Decimal    var        AvailableToPromise: Codeunit "Available to Promise";        LookaheadDateformula: DateFormula;        GrossRequirement: Decimal;        ScheduledReceipt: Decimal;

All 238 lines

Events 6 in 29

[IntegrationEvent] OnBeforeCalcNoOfTroubleshootings(ServItemLine: Record "Service Item Line"; var ResultValue: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeCalcNoOfServItemComponents(ServItemLine: Record "Service Item Line"; var ResultValue: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeCalcNoOfSkilledResources(ServItemLine: Record "Service Item Line"; var ResultValue: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnCalcAvailabilityOnAfterSetItemFilters(var Item: Record Item; var ServLine: Record "Service Line")17-29
[IntegrationEvent] OnAfterCalcAvailability(ServLine: Record "Service Line"; var Item: Record Item; GrossRequirement: Decimal; ScheduledReceipt: Decimal; AvailabilityDate: Date; PeriodType: Enum "Analysis Period Type"; LookaheadDateformula: DateFormula; var Result: Decimal)new in 20
[IntegrationEvent] OnBeforeShowSkilledResources(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)new in 22

Public procedures 10 in 29

CalcAvailability(var ServLine: Record "Service Line"): Decimal17-29
CalcNoOfSubstitutions(var ServLine: Record "Service Line"): Integer17-29
CalcNoOfSalesPrices(var ServLine: Record "Service Line"): Integer17-29
CalcNoOfSalesLineDisc(var ServLine: Record "Service Line"): Integer17-29
CalcNoOfServItemComponents(var ServItemLine: Record "Service Item Line"): Integer17-29
CalcNoOfTroubleshootings(var ServItemLine: Record "Service Item Line"): Integer17-29

All 10 procedures

Changes 1 in 22

List17181920212223242526272829
Events11
[IntegrationEvent] OnBeforeShowSkilledResources(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)new in 22
added

All 2 changes in 17-29