Codeunit "Copy Service Contract Mgt."

ID 5975
Namespace: Microsoft.Service.Contract

Methods

CopyServiceContractLines

procedure CopyServiceContractLines(ToServiceContractHeader: Record "Service Contract Header", FromContractType: Enum "Service Contract Type From", FromContractNo: Code[20], var FromServiceContractLine: Record "Service Contract Line"): Boolean

Parameters

Name Type Description
ToServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
FromContractType Enum Microsoft.Service.Contract."Service Contract Type From"
FromContractNo Code[20]
FromServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"

Returns

Type Description
Boolean

GetServiceContractType

procedure GetServiceContractType(FromContractType: Enum "Service Contract Type From"): Enum "Service Contract Type"

Parameters

Name Type Description
FromContractType Enum Microsoft.Service.Contract."Service Contract Type From"

Returns

Type Description
Enum Microsoft.Service.Contract."Service Contract Type"

Events

OnAfterCopyServiceContractLines

[IntegrationEvent(False,False)]
local procedure OnAfterCopyServiceContractLines(ToServiceContractHeader: Record "Service Contract Header", FromContractType: Enum "Service Contract Type From", FromDocNo: Code[20], var FormServiceContractLine: Record "Service Contract Line")

Parameters

Name Type Description
ToServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
FromContractType Enum Microsoft.Service.Contract."Service Contract Type From"
FromDocNo Code[20]
FormServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"

OnAfterProcessServiceContractLine

[IntegrationEvent(False,False)]
local procedure OnAfterProcessServiceContractLine(var ToServiceContractLine: Record "Service Contract Line", FromServiceContractLine: Record "Service Contract Line")

Parameters

Name Type Description
ToServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"
FromServiceContractLine Table Microsoft.Service.Contract."Service Contract Line"

OnGetServiceContractTypeCaseElse

[IntegrationEvent(False,False)]
local procedure OnGetServiceContractTypeCaseElse(FromContractType: Enum "Service Contract Type From", var ToContractType: Enum "Service Contract Type")

Parameters

Name Type Description
FromContractType Enum Microsoft.Service.Contract."Service Contract Type From"
ToContractType Enum Microsoft.Service.Contract."Service Contract Type"

See also