---
id: object/page/6059
type: object
title: Page 6059 "Contract Statistics"
summary: Page 6059 "Contract Statistics" in Base Application (Microsoft.Service.Contract). 1 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: bc12a35bc67a069f41b0e3837c6a8ab0afdb2cbc438b466972dfbf92987074ba
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Contract/ContractStatistics.Page.al
    title: src/Layers/W1/BaseApp/Service/Contract/ContractStatistics.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 6059
name: Contract Statistics
namespace: Microsoft.Service.Contract
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: []
counts:
  fields: 0
  procedures: 3
  events: 1
  subscribers: 0
  controls: 45
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 6059 "Contract Statistics"

> Page 6059 "Contract Statistics" in Base Application (Microsoft.Service.Contract). 1 events. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Contract Statistics |
| SourceTable | Service Contract Header |
| PageType | Card |

## 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 |
|---|---|---|---|
| Resources | Invoiced Amount | `Income[1]` | Specifies the net amount of all invoiced service item lines in the service contract. |
|  | Discount Amount | `TotalDiscount[1]` | Specifies the amount of discount being applied for the contract. |
|  | Cost Amount | `TotalCost[1]` | Specifies the total amount of costs for all service item lines in the service contract. |
|  | Profit Amount | `ProfitAmount[1]` | Specifies the amount of profit, after the cost amount has been subtracted from the total amount. |
|  | Profit % | `ProfitAmountPercent[1]` | Specifies the amount of profit as a percentage of the invoiced amount. |
|  | Prepaid Amount | `''` | Specifies the sum of all amounts that have been prepaid. |
|  | Total Amount | `''` | Specifies the sum of the invoiced amount and the prepaid amount. |
|  | Profit Amount | `''` | Specifies the amount of profit, after the cost amount has been subtracted from the total amount. |
|  | Profit % | `''` | Specifies the amount of profit as a percentage of the total amount. |
| Items | Invoiced Amount | `Income[2]` | Specifies the net amount of all invoiced service item lines in the service contract. |
|  | Discount Amount | `TotalDiscount[2]` | Specifies the amount of discount being applied for the contract. |
|  | Cost Amount | `TotalCost[2]` | Specifies the total amount of costs for all service item lines in the service contract. |
|  | Profit Amount | `ProfitAmount[2]` | Specifies the amount of profit, after the cost amount has been subtracted from the total amount. |
|  | Profit % | `ProfitAmountPercent[2]` | Specifies the amount of profit as a percentage of the invoiced amount. |
|  | Placeholder2 | `Text000` | — |
|  | Placeholder3 | `Text000` | — |
|  | Placeholder4 | `Text000` | — |
|  | Placeholder5 | `Text000` | — |
| Costs & G/L Accounts | Invoiced Amount | `Income[3]` | Specifies the net amount of all invoiced service item lines in the service contract. |
|  | Discount Amount | `TotalDiscount[3]` | Specifies the amount of discount being applied for the contract. |
|  | Cost Amount | `TotalCost[3]` | Specifies the total amount of costs for all service item lines in the service contract. |
|  | Profit Amount | `ProfitAmount[3]` | Specifies the amount of profit, after the cost amount has been subtracted from the total amount. |
|  | Profit % | `ProfitAmountPercent[3]` | Specifies the amount of profit as a percentage of the invoiced amount. |
|  | Placeholder6 | `Text000` | — |
|  | Placeholder7 | `Text000` | — |
|  | Placeholder8 | `Text000` | — |
|  | Placehoder9 | `Text000` | — |
| Service Contracts | Invoiced Amount | `Income[4]` | Specifies the net amount of all invoiced service item lines in the service contract. |
|  | Discount Amount | `TotalDiscount[4]` | Specifies the amount of discount being applied for the contract. |
|  | Cost Amount | `TotalCost[4]` | Specifies the total amount of costs for all service item lines in the service contract. |
|  | Profit Amount | `ProfitAmount[4]` | Specifies the amount of profit, after the cost amount has been subtracted from the total amount. |
|  | Profit % | `ProfitAmountPercent[4]` | Specifies the amount of profit as percentage of the invoiced amount. |
|  | Prepaid Amount | `PrepaidIncome` | Specifies the sum of all amounts that have been prepaid. |
|  | Placeholder10 | `Text000` | — |
|  | Placeholder11 | `Text000` | — |
|  | Placeholderr12 | `Text000` | — |
| Total | Total Invoiced Amount | `Income[5]` | Specifies the total amount of all invoiced service item lines in the service contract. |
|  | Total Discount Amount | `TotalDiscount[5]` | Specifies the total amount of discounts for all service item lines in the service contract. |
|  | Total Cost Amount | `TotalCost[5]` | Specifies the total amount of costs for all service item lines in the service contract. |
|  | Total Profit Amount | `ProfitAmount[5]` | Specifies the total amount of profit for all service item lines in the service contract. |
|  | Profit % | `ProfitAmountPercent[5]` | Specifies the amount of profit as a percentage of the invoiced amount. |
|  | Total Prepaid Amount | `PrepaidIncome` | Specifies the sum of all amounts that have been prepaid. |
|  | Total Amount | `TotalIncome` | Specifies the sum of the invoiced amount and the prepaid amount. |
|  | Profit Amount | `TotalProfit` | Specifies the amount of profit, after the cost amount has been subtracted from the total amount. |
|  | Profit % | `TotalProfitPct` | Specifies the amount of profit as percentage of the invoiced amount. |

## Events published

- `OnAfterGetRecordOnBeforeCalcTotalDiscount(var ServLedgerEntry: Record "Service Ledger Entry")` (integration)

## Procedures

2 local procedures, no public ones.

## Triggers

OnAfterGetRecord

## Relations

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

## Across versions

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