Table 5997 "Standard Service Line"
Base Application · Microsoft.Service.Document
Across versions
- BC23present
- BC243 fields changed
- BC25-27unchanged
- BC289 fields changed
- BC29-30unchanged
Neighbourhood 15 connected objects and pages
Base Application · Microsoft.Service.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Standard Service Line |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Standard Service Code | Code[10] | — | TableRelation Table 5996 “Standard Service Code” (Standard Service Code); not editable |
| 2 | Line No. | Integer | — | not editable |
| 3 | Type Δ BC28 | Enum “Service Line Type” | Specifies the type, item, resource, cost, or g/l account associated with the standard service line. | enum Enum 5902 “Service Line Type” |
| 4 | No. Δ BC24 Δ BC28 | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | TableRelation Table 15 “G/L Account”, Table 156 “Resource”, Table 27 “Item” (if (Type = const(” “)) “Standard Text” else if (Type = const(Item)) Item where(Blocked = const(false), “Service Blocked” = const(false)) else if (Type = const(Resource)) Resource else if (Type = const(Cost)) “Service Cost” else if (Type = const(“G/L Account”)) “G/L Account”) |
| 5 | Description Δ BC28 | Text[100] | Specifies a description of this entry. | |
| 6 | Quantity Δ BC28 | Decimal | Specifies the number of item units, resource hours, or costs on the line. | |
| 7 | Amount Excl. VAT Δ BC28 | Decimal | Specifies the net amount for this standard service line. | |
| 8 | Unit of Measure Code Δ BC24 Δ BC28 | Code[10] | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. | TableRelation Table 204 “Unit of Measure”, Table 205 “Resource Unit of Measure”, Table 5404 “Item Unit of Measure” (if (Type = const(Item)) “Item Unit of Measure”.Code where(“Item No.” = field(“No.”)) else if (Type = const(Resource)) “Resource Unit of Measure”.Code where(“Resource No.” = field(“No.”)) else “Unit of Measure”) |
| 9 | Shortcut Dimension 1 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false))) |
| 10 | Shortcut Dimension 2 Code Δ BC28 | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false))) |
| 11 | Variant Code Δ BC24 Δ BC28 | Code[10] | Specifies the variant of the item on the line. | TableRelation Table 5401 “Item Variant” (if (Type = const(Item)) “Item Variant”.Code where(“Item No.” = field(“No.”), Blocked = const(false), “Service Blocked” = const(false))) |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
Keys
- Key1: Standard Service Code, Line No. (clustered)
Events published
OnAfterInitDefaultDimensionSources(var StandardServiceLine: Record "Standard Service Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])(integration)OnAfterCreateDim(var StandardServiceLine: Record "Standard Service Line"; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])(integration)OnBeforeLookupShortcutDimCode(var StandardServiceLine: Record "Standard Service Line"; var xStandardServiceLine: Record "Standard Service Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20]; var IsHandled: Boolean)(integration)OnAfterValidateShortcutDimCode(var StandardServiceLine: Record "Standard Service Line"; var xStandardServiceLine: Record "Standard Service Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])(integration)OnBeforeValidateShortcutDimCode(var StandardServiceLine: Record "Standard Service Line"; var xStandardServiceLine: Record "Standard Service Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])(integration)
Procedures
EmptyLine(): BooleanInsertLine(): BooleanShowDimensions()ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])CreateDimFromDefaultDim()
Plus 2 local procedures.
Triggers
OnInsert, OnRename
Relations
- No.: TableRelation Table 15 “G/L Account” (conditional)
- No.: TableRelation Table 156 “Resource” (conditional)
- Unit of Measure Code: TableRelation Table 204 “Unit of Measure” (conditional)
- Unit of Measure Code: TableRelation Table 205 “Resource Unit of Measure” (conditional)
- No.: TableRelation Table 27 “Item” (conditional)
- Shortcut Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Shortcut Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- Variant Code: TableRelation Table 5401 “Item Variant”
- Unit of Measure Code: TableRelation Table 5404 “Item Unit of Measure” (conditional)
- No.: TableRelation Table 5905 “Service Cost” (conditional)
- Standard Service Code: TableRelation Table 5996 “Standard Service Code”
- No.: TableRelation Table 7 “Standard Text” (conditional)
Pages and codeunits on this table
- Page 5956 “Standard Service Code Subform” (source table)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (7 calls:
CreateDim → GetRecDefaultDimID,InitDefaultDimensionSources → AddDimSource,LookupShortcutDimCode → LookupDimValueCode, …) - Codeunit 5955 “Serv. Dimension Management” (1 call:
InitDefaultDimensionSources → ServiceLineTypeToTableID)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Standard Service Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.