Codeunit "Serv. Item Check Avail."

ID 6453
Namespace: Microsoft.Inventory.Availability

Methods

ServiceInvLineCheck

procedure ServiceInvLineCheck(ServInvLine: Record "Service Line"): Boolean

Parameters

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

Returns

Type Description
Boolean

ServiceInvLineShowWarning

procedure ServiceInvLineShowWarning(ServLine: Record "Service Line"): Boolean

Parameters

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

Returns

Type Description
Boolean

RaiseUpdateInterruptedError

procedure RaiseUpdateInterruptedError()

Events

OnServiceInvLineShowWarningOnAfterFindingPrevServiceLineQtyWithinPeriod

[IntegrationEvent(False,False)]
local procedure OnServiceInvLineShowWarningOnAfterFindingPrevServiceLineQtyWithinPeriod(ServiceLine: Record "Service Line", OldServiceLine: Record "Service Line", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
OldServiceLine Table Microsoft.Service.Document."Service Line"
IsHandled Boolean

OnServiceInvLineShowWarningOnBeforeShowWarning

[IntegrationEvent(False,False)]
local procedure OnServiceInvLineShowWarningOnBeforeShowWarning(ServLine: Record "Service Line", var ContextInfo: Dictionary of [Text, Text], OldServLine: Record "Service Line", var OldItemNetChange: Decimal, var IsWarning: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ServLine Table Microsoft.Service.Document."Service Line"
ContextInfo Dictionary of [Text, Text]
OldServLine Table Microsoft.Service.Document."Service Line"
OldItemNetChange Decimal
IsWarning Boolean
IsHandled Boolean

OnBeforeServiceInvLineCheck

[IntegrationEvent(False,False)]
local procedure OnBeforeServiceInvLineCheck(ServInvLine: Record "Service Line", var Rollback: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ServInvLine Table Microsoft.Service.Document."Service Line"
Rollback Boolean
IsHandled Boolean

See also