Codeunit ServLoanerManagement

ID 5901
Namespace: Microsoft.Service.Loaner

Properties

Name Value
Permissions TableData "Loaner Entry" = rimd

Methods

LendLoaner

procedure LendLoaner(ServItemLine: Record "Service Item Line")

Parameters

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

ReceiveLoaner

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

Parameters

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

ReceiveLoanerShipment

procedure ReceiveLoanerShipment(ServShipmentItemLine: Record "Service Shipment Item Line")

Parameters

Name Type Description
ServShipmentItemLine Table Microsoft.Service.History."Service Shipment Item Line"

Receive

procedure Receive(var Loaner: Record Loaner)

Parameters

Name Type Description
Loaner Table Microsoft.Service.Loaner.Loaner

Events

OnAfterReceiveLoaner

[IntegrationEvent(False,False)]
local procedure OnAfterReceiveLoaner(LoanerEntry: Record "Loaner Entry", ServItemLine: Record "Service Item Line")

Parameters

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

OnBeforeReceiveLoaner

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

Parameters

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

OnLendLoanerOnBeforeInsertLoanerEntry

[IntegrationEvent(False,False)]
local procedure OnLendLoanerOnBeforeInsertLoanerEntry(var LoanerEntry: Record "Loaner Entry", var ServiceItemLine: Record "Service Item Line")

Parameters

Name Type Description
LoanerEntry Table Microsoft.Service.Loaner."Loaner Entry"
ServiceItemLine Table Microsoft.Service.Document."Service Item Line"

See also