Codeunit ServLogManagement

ID 5906
Namespace: Microsoft.Service.Document

Methods

ServOrderEventDescription

procedure ServOrderEventDescription(EventNo: Integer): Text[50]

Parameters

Name Type Description
EventNo Integer

Returns

Type Description
Text[50]

ServItemEventDescription

procedure ServItemEventDescription(EventNo: Integer): Text[50]

Parameters

Name Type Description
EventNo Integer

Returns

Type Description
Text[50]

ServItemCreated

procedure ServItemCreated(ServItem: Record "Service Item")

Parameters

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

ServItemAutoCreated

procedure ServItemAutoCreated(ServItem: Record "Service Item")

Parameters

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

ServItemAddToContract

procedure ServItemAddToContract(ServContrLine: Record "Service Contract Line")

Parameters

Name Type Description
ServContrLine Table Microsoft.Service.Contract."Service Contract Line"

ServItemRemovedFromContract

procedure ServItemRemovedFromContract(ServContrLine: Record "Service Contract Line")

Parameters

Name Type Description
ServContrLine Table Microsoft.Service.Contract."Service Contract Line"

ServItemToServOrder

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

Parameters

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

ServItemOffServOrder

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

Parameters

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

ServItemComponentAdded

procedure ServItemComponentAdded(Component: Record "Service Item Component")

Parameters

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

ServItemComponentRemoved

procedure ServItemComponentRemoved(Component: Record "Service Item Component")

Parameters

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

ServItemCustChange

procedure ServItemCustChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemShipToCodeChange

procedure ServItemShipToCodeChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemStatusChange

procedure ServItemStatusChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemSerialNoChange

procedure ServItemSerialNoChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemNoChange

procedure ServItemNoChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemItemNoChange

procedure ServItemItemNoChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemReplaced

procedure ServItemReplaced(ServItem: Record "Service Item", NewServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
NewServItem Table Microsoft.Service.Item."Service Item"

ServItemBlockedChange

procedure ServItemBlockedChange(ServItem: Record "Service Item", OldServItem: Record "Service Item")

Parameters

Name Type Description
ServItem Table Microsoft.Service.Item."Service Item"
OldServItem Table Microsoft.Service.Item."Service Item"

ServItemDeleted

procedure ServItemDeleted(ServItemNo: Code[20])

Parameters

Name Type Description
ServItemNo Code[20]

ServHeaderStatusChange

procedure ServHeaderStatusChange(ServHeader: Record "Service Header", OldServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"
OldServHeader Table Microsoft.Service.Document."Service Header"

ServHeaderCustomerChange

procedure ServHeaderCustomerChange(ServHeader: Record "Service Header", OldServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"
OldServHeader Table Microsoft.Service.Document."Service Header"

ServHeaderShiptoChange

procedure ServHeaderShiptoChange(ServHeader: Record "Service Header", OldServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"
OldServHeader Table Microsoft.Service.Document."Service Header"

ServHeaderAllocation

procedure ServHeaderAllocation(ResourceNo: Code[20], DocumentType: Integer, DocumentNo: Code[20], ServItemLineNo: Integer)

Parameters

Name Type Description
ResourceNo Code[20]
DocumentType Integer
DocumentNo Code[20]
ServItemLineNo Integer

ServHeaderCancelAllocation

procedure ServHeaderCancelAllocation(ResourceNo: Code[20], DocumentType: Integer, DocumentNo: Code[20], ServItemLineNo: Integer)

Parameters

Name Type Description
ResourceNo Code[20]
DocumentType Integer
DocumentNo Code[20]
ServItemLineNo Integer

ServHeaderReallocationNeeded

procedure ServHeaderReallocationNeeded(ResourceNo: Code[20], DocumentType: Integer, DocumentNo: Code[20], ServItemLineNo: Integer)

Parameters

Name Type Description
ResourceNo Code[20]
DocumentType Integer
DocumentNo Code[20]
ServItemLineNo Integer

ServHeaderCreate

procedure ServHeaderCreate(ServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"

ServOrderShipmentPost

procedure ServOrderShipmentPost(ServOrderNo: Code[20], ShptNo: Code[20])

Parameters

Name Type Description
ServOrderNo Code[20]
ShptNo Code[20]

ServOrderInvoicePost

procedure ServOrderInvoicePost(ServOrderNo: Code[20], InvoiceNo: Code[20])

Parameters

Name Type Description
ServOrderNo Code[20]
InvoiceNo Code[20]

ServInvoicePost

procedure ServInvoicePost(ServOrderNo: Code[20], InvoiceNo: Code[20])

Parameters

Name Type Description
ServOrderNo Code[20]
InvoiceNo Code[20]

ServCrMemoPost

procedure ServCrMemoPost(ServOrderNo: Code[20], CrMemoNo: Code[20])

Parameters

Name Type Description
ServOrderNo Code[20]
CrMemoNo Code[20]

ServHeaderManualDelete

procedure ServHeaderManualDelete(ServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"

ServHeaderContractNoChanged

procedure ServHeaderContractNoChanged(ServHeader: Record "Service Header", OldServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"
OldServHeader Table Microsoft.Service.Document."Service Header"

ServOrderQuoteChanged

procedure ServOrderQuoteChanged(ServHeader: Record "Service Header", OldServHeader: Record "Service Header")

Parameters

Name Type Description
ServHeader Table Microsoft.Service.Document."Service Header"
OldServHeader Table Microsoft.Service.Document."Service Header"

ServHeaderRepairStatusChange

procedure ServHeaderRepairStatusChange(ServItemLine: Record "Service Item Line", OldServItemLine: Record "Service Item Line")

Parameters

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

LoanerLent

procedure LoanerLent(LoanerEntry: Record "Loaner Entry")

Parameters

Name Type Description
LoanerEntry Table Microsoft.Service.Loaner."Loaner Entry"

LoanerReceived

procedure LoanerReceived(LoanerEntry: Record "Loaner Entry")

Parameters

Name Type Description
LoanerEntry Table Microsoft.Service.Loaner."Loaner Entry"

ServItemLineResponseDateChange

procedure ServItemLineResponseDateChange(var ServItemLine: Record "Service Item Line", var OldServItemLine: Record "Service Item Line")

Parameters

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

ServItemLineResponseTimeChange

procedure ServItemLineResponseTimeChange(var ServItemLine: Record "Service Item Line", var OldServItemLine: Record "Service Item Line")

Parameters

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

Events

OnBeforeServItemEventDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeServItemEventDescription(var EventNo: Integer)

Parameters

Name Type Description
EventNo Integer

OnServItemEventDescription

[IntegrationEvent(False,False)]
local procedure OnServItemEventDescription(EventNo: Integer, var Description: Text[50], var Handled: Boolean)

Parameters

Name Type Description
EventNo Integer
Description Text[50]
Handled Boolean

OnServHeaderCreateOnCaseElse

[IntegrationEvent(False,False)]
local procedure OnServHeaderCreateOnCaseElse(var ServOrderLog: Record "Service Document Log", ServHeader: Record "Service Header")

Parameters

Name Type Description
ServOrderLog Table Microsoft.Service.Document."Service Document Log"
ServHeader Table Microsoft.Service.Document."Service Header"

OnServOrderEventDescription

[IntegrationEvent(False,False)]
local procedure OnServOrderEventDescription(EventNo: Integer, var Description: Text[50], var Handled: Boolean)

Parameters

Name Type Description
EventNo Integer
Description Text[50]
Handled Boolean

OnServItemAddToContractOnBeforeServItemLogInsert

[IntegrationEvent(False,False)]
local procedure OnServItemAddToContractOnBeforeServItemLogInsert(var ServiceItemLog: Record "Service Item Log", ServiceContractLine: Record "Service Contract Line")

Parameters

Name Type Description
ServiceItemLog Table Microsoft.Service.Item."Service Item Log"
ServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"

OnServItemRemovedFromContractOnBeforeServItemLogInsert

[IntegrationEvent(False,False)]
local procedure OnServItemRemovedFromContractOnBeforeServItemLogInsert(var ServiceItemLog: Record "Service Item Log", ServiceContractLine: Record "Service Contract Line")

Parameters

Name Type Description
ServiceItemLog Table Microsoft.Service.Item."Service Item Log"
ServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"

OnServItemToServOrderOnBeforeServItemLogInsert

[IntegrationEvent(False,False)]
local procedure OnServItemToServOrderOnBeforeServItemLogInsert(var ServiceItemLog: Record "Service Item Log", ServiceItemLine: Record "Service Item Line")

Parameters

Name Type Description
ServiceItemLog Table Microsoft.Service.Item."Service Item Log"
ServiceItemLine Table Microsoft.Service.Document."Service Item Line"

OnServItemOffServOrderOnBeforeServItemLogInsert

[IntegrationEvent(False,False)]
local procedure OnServItemOffServOrderOnBeforeServItemLogInsert(var ServiceItemLog: Record "Service Item Log", ServiceItemLine: Record "Service Item Line")

Parameters

Name Type Description
ServiceItemLog Table Microsoft.Service.Item."Service Item Log"
ServiceItemLine Table Microsoft.Service.Document."Service Item Line"

See also