---
id: object/page/6030
type: object
title: Page 6030 "Service Statistics"
summary: Page 6030 "Service Statistics" in Base Application (Microsoft.Service.Document). 3 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  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: 51fcb6d8f6e2deba3990a32e9271a8b98d4533a34e3a7b06d963e210239f6b10
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Document/ServiceStatistics.Page.al
    title: src/Layers/W1/BaseApp/Service/Document/ServiceStatistics.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-service
    title: Sustainability value chain in Service Management
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-service
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sustainability-management/sustainability-value-chain
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12290
object_type: page
object_id: 6030
name: Service Statistics
namespace: Microsoft.Service.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/value-chain-howto-service.md
counts:
  fields: 0
  procedures: 12
  events: 3
  subscribers: 0
  controls: 65
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 1
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 6030 "Service Statistics"

> Page 6030 "Service Statistics" in Base Application (Microsoft.Service.Document). 3 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Service.Document · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Document/ServiceStatistics.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Service Statistics |
| SourceTable | Service Header |
| PageType | ListPlus |

## 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 |
|---|---|---|---|
| General | Amount | `TotalServLine[1]."Line Amount"` | Specifies the amount for the relevant service order. |
|  | Inv. Discount Amount | `TotalServLine[1]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire service document. |
|  | Pmt. Discount Amount | `TotalServLine[1]."Pmt. Discount Amount"` | Specifies the payment discount amount that you have granted to customers. |
|  | Total | `TotalAmount1[1]` | Specifies the total amount on the service lines (including and excluding VAT), VAT part, cost, and profit on the service lines. |
|  | VAT Amount | `VATAmount[1]` | Specifies the total VAT amount that has been calculated for all the lines in the service document. |
|  | Total Incl. VAT | `TotalAmount2[1]` | Specifies the total amount on the service document, including VAT. This is the amount that will be posted to the customer's account for all the lines in the service document. |
|  | Sales (LCY) | `TotalServLineLCY[1].Amount` | Specifies your total service sales turnover in the fiscal year. It is calculated from amounts excluding VAT on all completed and open service sales invoices and credit memos. |
|  | Original Profit (LCY) | `ProfitLCY[1]` | Specifies the original profit that was associated with the service document. |
|  | Adjusted Profit (LCY) | `AdjProfitLCY[1]` | Specifies the amount of profit for the service document, in LCY, adjusted for any changes in the original item costs. |
|  | Original Profit % | `ProfitPct[1]` | Specifies the amount of the original profit on the service document, expressed as percentage of the amount in the Amount field. |
|  | Adjusted Profit % | `AdjProfitPct[1]` | Specifies the amount of the adjusted profit on the service document, expressed as percentage of the amount in the Amount field. |
|  | Quantity | `TotalServLine[1].Quantity` | Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
|  | Parcels | `TotalServLine[1]."Units per Parcel"` | Specifies the total number of parcels in the posted service credit memo. |
|  | Net Weight | `TotalServLine[1]."Net Weight"` | Specifies the net weight of the items specified on the service lines in the document. |
|  | Gross Weight | `TotalServLine[1]."Gross Weight"` | Specifies the gross weight of the items on the service lines in the document. |
|  | Volume | `TotalServLine[1]."Unit Volume"` | Specifies the volume of the items on the service lines in the document. |
|  | Original Cost (LCY) | `TotalServLineLCY[1]."Unit Cost (LCY)"` | Specifies the total cost (in LCY) of the G/L account entries, costs, items and/or resource hours on the service document. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items, resources and/or costs. |
|  | Adjusted Cost (LCY) | `TotalAdjCostLCY[1]` | Specifies the total cost, in LCY, of the items in the service document, adjusted for any changes in the original costs of these items. |
|  | Cost Adjmt. Amount (LCY) | `TotalAdjCostLCY[1] - TotalServLineLCY[1]."Unit Cost (LCY)"` | Specifies the difference between the original cost and the total adjusted cost of the items in the service document. |
| Content | SubForm | part [Page 576 "VAT Specification Subform"](../page/576.md) | — |
| Items | Quantity | `TotalServLine[5].Quantity` | Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
|  | Amount | `TotalServLine[5]."Line Amount"` | Specifies the amount for the relevant service order. |
|  | Inv. Discount Amount | `TotalServLine[5]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire service document. |
|  | Total | `TotalAmount1[5]` | Specifies the total amount on the service lines (including and excluding VAT), VAT part, cost, and profit on the service lines. |
|  | VAT Amount | `VATAmount[5]` | Specifies the total VAT amount that has been calculated for all the lines in the service document. |
|  | Total Amount | `TotalAmount2[5]` | Specifies the total amount on the service lines including and excluding VAT, VAT part, cost, and profit on the service lines. |
|  | Sales (LCY) | `TotalServLineLCY[5].Amount` | Specifies your total service sales turnover in the fiscal year. It is calculated from amounts excluding VAT on all completed and open service sales invoices and credit memos. |
|  | Original Profit (LCY) | `ProfitLCY[5]` | Specifies the original profit that was associated with the service document. |
|  | Adjusted Profit (LCY) | `AdjProfitLCY[5]` | Specifies the amount of profit for the service document, in LCY, adjusted for any changes in the original item costs. |
|  | Original Profit % | `ProfitPct[5]` | Specifies the amount of the original profit on the service document, expressed as percentage of the amount in the Amount field. |
|  | Adjusted Profit % | `AdjProfitPct[5]` | Specifies the amount of the adjusted profit on the service document, expressed as percentage of the amount in the Amount field. |
|  | Original Cost (LCY) | `TotalServLineLCY[5]."Unit Cost (LCY)"` | Specifies the total cost (in LCY) of the G/L account entries, costs, items and/or resource hours on the service document. The cost is calculated as a product of unit cost multiplied by quantity of the relevant items, resources and/or costs. |
|  | Adjusted Cost (LCY) | `TotalAdjCostLCY[5]` | Specifies the total cost, in LCY, of the items in the service document, adjusted for any changes in the original costs of these items. |
|  | Cost Adjmt. Amount (LCY) | `TotalAdjCostLCY[5] - TotalServLineLCY[5]."Unit Cost (LCY)"` | Specifies the difference between the original cost and the total adjusted cost of the items in the service document. |
| Resources | Quantity | `TotalServLine[6].Quantity` | Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
|  | Amount_Resources | `TotalServLine[6]."Line Amount"` | — |
|  | Inv. Discount Amount | `TotalServLine[6]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire service document. |
|  | TotalAmount1[6] | `TotalAmount1[6]` | — |
|  | VAT Amount_Resources | `VATAmount[6]` | — |
|  | Total Incl. VAT_Resources | `TotalAmount2[6]` | — |
|  | Amount (LCY) | `TotalServLineLCY[6].Amount` | Specifies the amount of the ledger entry, in the local currency. |
|  | Profit (LCY) | `ProfitLCY[6]` | Specifies the profit related to the service document, in local currency. |
|  | Profit (LCY) | `AdjProfitLCY[6]` | Specifies the profit related to the service document, in local currency. |
|  | Profit % | `ProfitPct[6]` | Specifies the amount of profit as percentage of the invoiced amount. |
|  | Text006 | `Text006` | — |
|  | Cost (LCY) | `TotalServLineLCY[6]."Unit Cost (LCY)"` | Specifies the total cost of the service in LCY. |
|  | Control85 | `Text006` | — |
|  | Placeholder2 | `Text006` | — |
| Costs & G/L Accounts | Quantity | `TotalServLine[7].Quantity` | Specifies the quantity of all G/L account entries, costs, items and/or resource hours in the service order. |
|  | Amount_Costs | `TotalServLine[7]."Line Amount"` | — |
|  | Inv. Discount Amount | `TotalServLine[7]."Inv. Discount Amount"` | Specifies the invoice discount amount for the entire service document. |
|  | TotalAmount1[7] | `TotalAmount1[7]` | — |
|  | VAT Amount_Costs | `VATAmount[7]` | — |
|  | Total Incl. VAT_Costs | `TotalAmount2[7]` | — |
|  | Amount (LCY) | `TotalServLineLCY[7].Amount` | Specifies the amount of the ledger entry, in the local currency. |
|  | Profit (LCY) | `ProfitLCY[7]` | Specifies the profit related to the service document, in local currency. |
|  | Profit (LCY) | `AdjProfitLCY[7]` | Specifies the profit related to the service document, in local currency. |
|  | Profit % | `ProfitPct[7]` | Specifies the amount of profit as percentage of the invoiced amount. |
|  | Placeholder3 | `Text006` | — |
|  | Cost (LCY) | `TotalServLineLCY[7]."Unit Cost (LCY)"` | Specifies the total cost of the service in LCY. |
|  | Placeholder5 | `Text006` | — |
|  | Placeholder7 | `Text006` | — |
| Customer | Balance (LCY) | `Cust."Balance (LCY)"` | Specifies the balance in LCY on the customer's account. |
|  | Credit Limit (LCY) | `Cust."Credit Limit (LCY)"` | Specifies the credit limit of the customer on the service document. The value 0 represents unlimited credit. |
|  | Expended % of Credit Limit (LCY) | `CreditLimitLCYExpendedPct` | Specifies the expended percentage of the credit limit in (LCY). |

## Events published

- `OnAfterUpdateHeaderInfo(var TotalServLineLCY: array[7] of Record "Service Line"; var IndexNo: Integer)` (integration)
- `OnAfterGetRecordAfterCalcProfit(var ServiceHeader: Record "Service Header"; var IsHandled: Boolean)` (integration)
- `OnUpdateHeaderInfoOnAfterCalcTotalAmount(var ServiceHeader: Record "Service Header")` (integration)

## Procedures

9 local procedures, no public ones.

## Triggers

OnAfterGetRecord, OnOpenPage, OnQueryClosePage

## Relations

- source table [Table 5900 "Service Header"](../table/5900.md)

## Extended by

- [Page extension 6307 "Sust. Service Statistics"](../pageextension/6307.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 5986 "Serv-Amounts Mgt."](../codeunit/5986.md) (2 calls: `OnAfterGetRecord → GetServiceLines`, `OnAfterGetRecord → SumServiceLinesTemp`)
- [Codeunit 5950 "Service-Calc. Discount"](../codeunit/5950.md) (1 call: `OnOpenPage → CalculateIncDiscForHeader`)

## Recent changes

- 2026-10-06 [#12290 Remove CLEAN27 from Service Management](../../changes/bcapps/12290.md) (main, BC30, refactor)

## Across versions

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

## Documented on Microsoft Learn

- [Sustainability value chain in Service Management](https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-service)

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 Statistics")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
