---
id: object/page/5024
type: object
title: Page 5024 "Service Declaration Subform"
summary: Page 5024 "Service Declaration Subform" in ServiceDeclaration (Microsoft.Service.Reports). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - 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: 52a126fd9418bc684f75946cc1c5d4ae9cb3d11f29cc20c6bd2b6555e4f147bb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/Processing/ServiceDeclarationSubform.Page.al
    title: src/Apps/W1/ServiceDeclaration/app/src/Processing/ServiceDeclarationSubform.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-use-service-declaration
    title: Set Up and Use the Service Declaration Extension
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-use-service-declaration
  objects: []
  features: []
  topics:
    - topic/business-central/development-and-administration/customize-business-central/customize-with-extensions
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 5024
name: Service Declaration Subform
caption: Lines
namespace: Microsoft.Service.Reports
app: ServiceDeclaration
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/finance-how-setup-use-service-declaration.md
counts:
  fields: 0
  procedures: 0
  events: 0
  subscribers: 0
  controls: 10
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 5024 "Service Declaration Subform"

> Page 5024 "Service Declaration Subform" in ServiceDeclaration (Microsoft.Service.Reports). Introduced in BC29, still in BC30.

ServiceDeclaration · Microsoft.Service.Reports · captioned "Lines" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ServiceDeclaration/app/src/Processing/ServiceDeclarationSubform.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Service Declaration Line |
| PageType | ListPart |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Group | Posting Date | [Posting Date](../table/5024.md#fields) | Specifies the posting date of the source entry. |
|  | Document Type | [Document Type](../table/5024.md#fields) | Specifies the document type of the source entry. |
|  | Document No. | [Document No.](../table/5024.md#fields) | Specifies the document number of the source entry. |
|  | Item Charge No. | [Item Charge No.](../table/5024.md#fields) | Specifies the item charge of the source entry. |
|  | Service Transaction Code | [Service Transaction Code](../table/5024.md#fields) | Specifies the service transaction code of the source entry. |
|  | Country/Region Code | [Country/Region Code](../table/5024.md#fields) | Specifies the country/region code of the source entry. |
|  | VAT Reg. No. | [VAT Reg. No.](../table/5024.md#fields) | Specifies the VAT registration No. of the customer or vendor associated with a source entry. |
|  | Currency Code | [Currency Code](../table/5024.md#fields) | Specifies the currency code of the source entry. |
|  | Sales Amount (LCY) | [Sales Amount (LCY)](../table/5024.md#fields) | Specifies the Sales Amount (LCY) of the source entry. |
|  | Purchase Amount (LCY) | [Purchase Amount (LCY)](../table/5024.md#fields) | Specifies the Purchase Amount (LCY) of the source entry. |

## Triggers

OnOpenPage

## Relations

- source table [Table 5024 "Service Declaration Line"](../table/5024.md)

## 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 5012 "Service Declaration Mgt."](../codeunit/5012.md) (1 call: `OnOpenPage → IsServTransTypeEnabled`)

## Across versions

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

## Documented on Microsoft Learn

- [Set Up and Use the Service Declaration Extension](https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-use-service-declaration)

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). 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: "page", object_name: "Service Declaration Subform")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
