---
id: object/tableextension/5040
type: object
title: Table extension 5040 "Serv. Decl. Serv. Line Archive"
summary: Table extension 5040 "Serv. Decl. Serv. Line Archive" in ServiceDeclaration (Microsoft.Service.Archive), extends "Service Line Archive". 2 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - servicedeclaration
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ed8a2e63907cbb4124f8afcfdaaa7c8b34d34dda70f62e3455e98c34e5af49f0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/ServiceDocuments/ServDeclServLineArchive.TableExt.al
    title: src/Apps/W1/ServiceDeclaration/app/src/ServiceDocuments/ServDeclServLineArchive.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/6012
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: tableextension
object_id: 5040
name: Serv. Decl. Serv. Line Archive
namespace: Microsoft.Service.Archive
app: ServiceDeclaration
extends: Service Line Archive
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 2
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table extension 5040 "Serv. Decl. Serv. Line Archive"

> Table extension 5040 "Serv. Decl. Serv. Line Archive" in ServiceDeclaration (Microsoft.Service.Archive), extends "Service Line Archive". 2 fields. Introduced in BC29, still in BC30.

ServiceDeclaration · Microsoft.Service.Archive · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/ServiceDocuments/ServDeclServLineArchive.TableExt.al) · facts from BC29

Extends [Service Line Archive](../table/6012.md).

## 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 |
|---|---|---|---|---|
| 5010 | Service Transaction Type Code | Code[20] | — | TableRelation [Table 5011 "Service Transaction Type"](../table/5011.md) (Service Transaction Type); DataClassification CustomerContent |
| 5011 | Applicable For Serv. Decl. | Boolean | Applicable For Service Declaration <small>caption</small> | DataClassification CustomerContent |

## Relations

- Service Transaction Type Code: TableRelation [Table 5011 "Service Transaction Type"](../table/5011.md)
- extends [Table 6012 "Service Line Archive"](../table/6012.md)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). 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: "tableextension", object_name: "Serv. Decl. Serv. Line Archive")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
