Codeunit "Service Info-Pane Management"

ID 5972
Namespace: Microsoft.Service.Document

Methods

CalcAvailability

procedure CalcAvailability(var ServLine: Record "Service Line"): Decimal

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"

Returns

Type Description
Decimal

CalcNoOfSubstitutions

procedure CalcNoOfSubstitutions(var ServLine: Record "Service Line"): Integer

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"

Returns

Type Description
Integer

CalcNoOfSalesPrices

procedure CalcNoOfSalesPrices(var ServLine: Record "Service Line"): Integer

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"

Returns

Type Description
Integer

CalcNoOfSalesLineDisc

procedure CalcNoOfSalesLineDisc(var ServLine: Record "Service Line"): Integer

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"

Returns

Type Description
Integer

CalcNoOfServItemComponents

procedure CalcNoOfServItemComponents(var ServItemLine: Record "Service Item Line"): Integer

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"

Returns

Type Description
Integer

CalcNoOfTroubleshootings

procedure CalcNoOfTroubleshootings(var ServItemLine: Record "Service Item Line"): Integer

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"

Returns

Type Description
Integer

CalcNoOfSkilledResources

procedure CalcNoOfSkilledResources(var ServItemLine: Record "Service Item Line"): Integer

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"

Returns

Type Description
Integer

ShowServItemComponents

procedure ShowServItemComponents(var ServItemLine: Record "Service Item Line")

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"

ShowTroubleshootings

procedure ShowTroubleshootings(var ServItemLine: Record "Service Item Line")

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"

ShowSkilledResources

procedure ShowSkilledResources(var ServItemLine: Record "Service Item Line")

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"

Events

OnAfterCalcAvailability

[IntegrationEvent(False,False)]
local procedure 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)

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"
Item Table Microsoft.Inventory.Item.Item
GrossRequirement Decimal
ScheduledReceipt Decimal
AvailabilityDate Date
PeriodType Enum Microsoft.Foundation.Enums."Analysis Period Type"
LookaheadDateformula DateFormula
Result Decimal

OnBeforeCalcNoOfTroubleshootings

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcNoOfTroubleshootings(ServItemLine: Record "Service Item Line", var ResultValue: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"
ResultValue Integer
IsHandled Boolean

OnBeforeCalcNoOfServItemComponents

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcNoOfServItemComponents(ServItemLine: Record "Service Item Line", var ResultValue: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"
ResultValue Integer
IsHandled Boolean

OnBeforeCalcNoOfSkilledResources

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcNoOfSkilledResources(ServItemLine: Record "Service Item Line", var ResultValue: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
ServItemLine Table Microsoft.Service.Document."Service Item Line"
ResultValue Integer
IsHandled Boolean

OnBeforeShowSkilledResources

[IntegrationEvent(False,False)]
local procedure OnBeforeShowSkilledResources(var ServiceItemLine: Record "Service Item Line", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceItemLine Table Microsoft.Service.Document."Service Item Line"
IsHandled Boolean

OnCalcAvailabilityOnAfterSetItemFilters

[IntegrationEvent(False,False)]
local procedure OnCalcAvailabilityOnAfterSetItemFilters(var Item: Record Item, var ServLine: Record "Service Line")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
ServLine Table Microsoft.Service.Document."Service Line"

See also