Table "Standard Service Line"

ID 5997
Namespace: Microsoft.Service.Document

Properties

Name Value
Caption Standard Service Line
DataClassification CustomerContent

Fields

Name Type Description
"Standard Service Code" Code[10]
"Line No." Integer
Type Enum Microsoft.Service.Document."Service Line Type"
"No." Code[20]
Description Text[100]
Quantity Decimal
"Amount Excl. VAT" Decimal
"Unit of Measure Code" Code[10]
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Variant Code" Code[10]
"Dimension Set ID" Integer
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

EmptyLine

procedure EmptyLine(): Boolean

Returns

Type Description
Boolean

InsertLine

procedure InsertLine(): Boolean

Returns

Type Description
Boolean

ShowDimensions

procedure ShowDimensions()

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

LookupShortcutDimCode

procedure LookupShortcutDimCode(FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

ShowShortcutDimCode

procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])

Parameters

Name Type Description
ShortcutDimCode array[8] of Code[20]

CreateDim

procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

CreateDimFromDefaultDim

procedure CreateDimFromDefaultDim()

Events

OnAfterInitDefaultDimensionSources

[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var StandardServiceLine: Record "Standard Service Line", var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
StandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnAfterCreateDim

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var StandardServiceLine: Record "Standard Service Line", DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
StandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnBeforeLookupShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeLookupShortcutDimCode(var StandardServiceLine: Record "Standard Service Line", var xStandardServiceLine: Record "Standard Service Line", FieldNumber: Integer, var ShortcutDimCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
StandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
xStandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
FieldNumber Integer
ShortcutDimCode Code[20]
IsHandled Boolean

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var StandardServiceLine: Record "Standard Service Line", var xStandardServiceLine: Record "Standard Service Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
StandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
xStandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
FieldNumber Integer
ShortcutDimCode Code[20]

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var StandardServiceLine: Record "Standard Service Line", var xStandardServiceLine: Record "Standard Service Line", FieldNumber: Integer, var ShortcutDimCode: Code[20])

Parameters

Name Type Description
StandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
xStandardServiceLine Table Microsoft.Service.Document."Standard Service Line"
FieldNumber Integer
ShortcutDimCode Code[20]

See also