Codeunit "Serv. Move Entries"

ID 6492
Namespace: Microsoft.Utilities

Properties

Name Value
Permissions TableData "Service Ledger Entry" = rm, TableData "Warranty Ledger Entry" = rm, TableData "Service Contract Header" = rm

Methods

CheckIfServiceItemCanBeDeleted

procedure CheckIfServiceItemCanBeDeleted(var ServiceLedgerEntry: Record "Service Ledger Entry", ServiceItemNo: Code[20]): Text

Parameters

Name Type Description
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"
ServiceItemNo Code[20]

Returns

Type Description
Text

MoveServiceItemLedgerEntries

procedure MoveServiceItemLedgerEntries(ServiceItem: Record "Service Item")

Parameters

Name Type Description
ServiceItem Table Microsoft.Service.Item."Service Item"

MoveServContractLedgerEntries

procedure MoveServContractLedgerEntries(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

MoveServiceCostLedgerEntries

procedure MoveServiceCostLedgerEntries(ServiceCost: Record "Service Cost")

Parameters

Name Type Description
ServiceCost Table Microsoft.Service.Pricing."Service Cost"

Events

OnMoveItemEntriesOnAfterResetServLedgEntry

[IntegrationEvent(False,False)]
local procedure OnMoveItemEntriesOnAfterResetServLedgEntry(var ServiceLedgerEntry: Record "Service Ledger Entry")

Parameters

Name Type Description
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"

OnAfterMoveServiceItemLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveServiceItemLedgerEntries(ServiceItem: Record "Service Item")

Parameters

Name Type Description
ServiceItem Table Microsoft.Service.Item."Service Item"

OnAfterMoveServContractLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveServContractLedgerEntries(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

OnAfterMoveServiceCostLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveServiceCostLedgerEntries(ServiceCost: Record "Service Cost")

Parameters

Name Type Description
ServiceCost Table Microsoft.Service.Pricing."Service Cost"

OnBeforeMoveServiceItemLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveServiceItemLedgerEntries(ServiceItem: Record "Service Item", var NewServiceItemNo: Code[20])

Parameters

Name Type Description
ServiceItem Table Microsoft.Service.Item."Service Item"
NewServiceItemNo Code[20]

OnBeforeMoveServContractLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveServContractLedgerEntries(ServiceContractHeader: Record "Service Contract Header", var NewContractNo: Code[20])

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
NewContractNo Code[20]

OnBeforeMoveServiceCostLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveServiceCostLedgerEntries(ServiceCost: Record "Service Cost", var NewCostCode: Code[10])

Parameters

Name Type Description
ServiceCost Table Microsoft.Service.Pricing."Service Cost"
NewCostCode Code[10]

See also