---
id: object/page/10053-us
type: object
title: Page 10053 "Service Stats." (US)
summary: Page 10053 "Service Stats." (US) in the US country layer (Microsoft.Service.Document). 4 public procedures, 2 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - us layer
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: 1f40934badae838b42c6216ce7b3bd7138ffea77b943a8c39be9af78d065c407
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Service/Local/Document/ServiceStats.Page.al
    title: src/Layers/NA/BaseApp/Service/Local/Document/ServiceStats.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 10053
name: Service Stats.
namespace: Microsoft.Service.Document
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: US
counts:
  fields: 0
  procedures: 18
  events: 2
  subscribers: 0
  controls: 62
  actions: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Page 10053 "Service Stats." (US)

> Page 10053 "Service Stats." (US) in the US country layer (Microsoft.Service.Document). 4 public procedures, 2 events. Introduced in BC29, still in BC30.

US country layer · Microsoft.Service.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Service/Local/Document/ServiceStats.Page.al) · facts from BC29

An object of the [US localization](../../localizations/us.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | Service Stats. |
| SourceTable | Service Header |
| PageType | Document |

## 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 | TotalServLine[1].""Line Amount"" | `TotalServLine[1]."Line Amount"` | — |
|  | Inv. Discount Amount | `TotalServLine[1]."Inv. Discount Amount"` | Specifies the invoice discount amount for the service item. |
|  | Quantity | `TotalServLine[1].Quantity` | Specifies the item quantity. |
|  | TotalAmount1[1] | `TotalAmount1[1]` | — |
|  | Tax Amount | `VATAmount[1]` | Specifies the tax amount. |
|  | TotalAmount2[1] | `TotalAmount2[1]` | — |
|  | Sales ($) | `TotalServLineLCY[1].Amount` | Specifies the sales amount, in dollars. |
|  | Original Cost ($) | `TotalServLineLCY[1]."Unit Cost (LCY)"` | Specifies the original cost of the items on the service order. |
|  | Profit ($) | `ProfitLCY[1]` | Specifies the profit, expressed as an amount. |
|  | Original Profit % | `ProfitPct[1]` | Specifies the profit, expressed as a percentage, which was associated with the service item when it was originally posted. |
|  | Parcels | `TotalServLine[1]."Units per Parcel"` | Specifies the number of parcels on the document. |
|  | Net Weight | `TotalServLine[1]."Net Weight"` | Specifies the total net weight of items in the service item. |
|  | Gross Weight | `TotalServLine[1]."Gross Weight"` | Specifies the gross weight of items listed on the document. |
|  | Volume | `TotalServLine[1]."Unit Volume"` | Specifies the volume of the invoiced items. |
|  | BreakdownTitle | label | — |
|  | BreakdownAmt | `BreakdownAmt[1, 1]` | — |
|  | BreakdownAmt | `BreakdownAmt[1, 2]` | — |
|  | BreakdownAmt | `BreakdownAmt[1, 3]` | — |
|  | BreakdownAmt | `BreakdownAmt[1, 4]` | — |
| Content | SubForm | part Sales Tax Lines Serv. Subform | — |
| Service Line | Control1480055 | label | — |
|  | Control1480056 | label | — |
|  | Quantity | `TotalServLine[5].Quantity` | Specifies the item quantity. |
|  | Control1480057 | label | — |
|  | Quantity | `TotalServLine[6].Quantity` | Specifies the item quantity. |
|  | TotalServLine[5].""Line Amount"" | `TotalServLine[5]."Line Amount"` | — |
|  | TotalServLine[6].""Line Amount"" | `TotalServLine[6]."Line Amount"` | — |
|  | Inv. Discount Amount | `TotalServLine[5]."Inv. Discount Amount"` | Specifies the invoice discount amount for the service item. |
|  | Inv. Discount Amount | `TotalServLine[6]."Inv. Discount Amount"` | Specifies the invoice discount amount for the service item. |
|  | TotalAmount1[5] | `TotalAmount1[5]` | — |
|  | TotalAmount1[6] | `TotalAmount1[6]` | — |
|  | VATAmount[5] | `VATAmount[5]` | — |
|  | TotalAmount2[5] | `TotalAmount2[5]` | — |
|  | Sales (LCY) | `TotalServLineLCY[5].Amount` | Specifies the sales amount, in local currency. |
|  | Original Profit (LCY) | `ProfitLCY[5]` | Specifies the profit, expressed as an amount in local currency, which was associated with the service item, when it was originally posted. |
|  | Adjusted Profit (LCY) | `AdjProfitLCY[5]` | Specifies the adjusted profit, in local currency. |
|  | Original Profit % | `ProfitPct[5]` | Specifies the profit, expressed as a percentage, which was associated with the service item when it was originally posted. |
|  | Adjusted Profit % | `AdjProfitPct[5]` | Specifies the adjusted profit of the contents of the entire service order, in local currency. |
|  | Original Cost (LCY) | `TotalServLineLCY[5]."Unit Cost (LCY)"` | Specifies the original cost of the items on the service order. |
|  | Adjusted Cost (LCY) | `TotalAdjCostLCY[5]` | Specifies the adjusted cost of the service order, in local currency. |
|  | Cost Adjmt. Amount (LCY) | `TotalAdjCostLCY[5] - TotalServLineLCY[5]."Unit Cost (LCY)"` | Specifies the cost adjustment amount, in local currency. |
|  | Quantity | `TotalServLine[7].Quantity` | Specifies the item quantity. |
|  | TotalServLine[7].""Line Amount"" | `TotalServLine[7]."Line Amount"` | — |
|  | Inv. Discount Amount | `TotalServLine[7]."Inv. Discount Amount"` | Specifies the invoice discount amount for the service item. |
|  | TotalAmount1[7] | `TotalAmount1[7]` | — |
|  | VATAmount[6] | `VATAmount[6]` | — |
|  | VATAmount[7] | `VATAmount[7]` | — |
|  | TotalAmount2[6] | `TotalAmount2[6]` | — |
|  | TotalAmount2[7] | `TotalAmount2[7]` | — |
|  | Amount (LCY) | `TotalServLineLCY[6].Amount` | Specifies the amount of the service items, in local currency. |
|  | Amount (LCY) | `TotalServLineLCY[7].Amount` | Specifies the amount of the service items, in local currency. |
|  | Profit (LCY) | `ProfitLCY[6]` | Specifies the profit in LCY. |
|  | Profit (LCY) | `ProfitLCY[7]` | Specifies the profit in LCY. |
|  | Profit (LCY) | `AdjProfitLCY[6]` | Specifies the profit in LCY. |
|  | Profit (LCY) | `AdjProfitLCY[7]` | Specifies the profit in LCY. |
|  | Profit % | `ProfitPct[6]` | Specifies the profit, expressed as a percentage. |
|  | Profit % | `ProfitPct[7]` | Specifies the profit, expressed as a percentage. |
|  | Cost (LCY) | `TotalServLineLCY[6]."Unit Cost (LCY)"` | Specifies the cost of the service item, in local currency. |
|  | Cost (LCY) | `TotalServLineLCY[7]."Unit Cost (LCY)"` | Specifies the cost of the service item, in local currency. |
| Customer | Balance ($) | `Cust."Balance (LCY)"` | Specifies the customer's balance. |
|  | Credit Limit ($) | `Cust."Credit Limit (LCY)"` | Specifies the customer's credit limit, in dollars. |
|  | Expended % of Credit Limit ($) | `CreditLimitLCYExpendedPct` | Specifies the Expended Percentage of Credit Limit ($). |

## Events published

- `OnAfterCalculateSalesTax(var Handled: Boolean; var ServiceHeader: Record "Service Header"; var ServiceLine: Record "Service Line"; var i: Integer; var TempSalesTaxAmountLine1: Record "Sales Tax Amount Line" temporary; var TempSalesTaxAmountLine2: Record "Sales Tax Amount Line" temporary; var TempSalesTaxAmountLine3: Record "Sales Tax Amount Line" temporary; var SalesTaxAmountLineParm: Record "Sales Tax Amount Line")` (integration)
- `OnAfterCalculateSalesTaxValidate(var i: Integer)` (integration)

## Procedures

- `VATLinesDrillDown(var VATLinesToDrillDown: Record "Sales Tax Amount Line"; ThisTabAllowsVATEditing: Boolean)`
- `GetDetailsTotal(): Decimal`
- `GetAdjDetailsTotal(): Decimal`
- `UpdateHeaderServLine()`

Plus 12 local procedures.

## Triggers

OnAfterGetRecord, OnOpenPage, OnQueryClosePage

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

A US country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
