---
id: object/table/5971
type: object
title: Table 5971 "Filed Contract Line"
summary: Table 5971 "Filed Contract Line" in Base Application (Microsoft.Service.Contract). 33 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24-25, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 549277a8078928dfc60a91e10d1f4b00b53d06bfbb7509d7a8df6a9664d8bb24
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Contract/FiledContractLine.Table.al
    title: src/Layers/W1/BaseApp/Service/Contract/FiledContractLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5971
name: Filed Contract Line
caption: Filed Service Contract Line
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:
  - "24"
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 33
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 11
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 5971 "Filed Contract Line"

> Table 5971 "Filed Contract Line" in Base Application (Microsoft.Service.Contract). 33 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24-25, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Filed Service Contract Line |
| DataClassification | CustomerContent |

## 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 |
|---|---|---|---|---|
| 1 | Contract Type | Enum "Service Contract Type" | Specifies the type of contract that was filed. | enum [Enum 5965 "Service Contract Type"](../enum/5965.md) |
| 2 | Contract No. | Code[20] | Specifies the number of the service contract or service contract quote that was filed. | TableRelation [Table 5970 "Filed Service Contract Header"](../table/5970.md) ("Filed Service Contract Header"."Contract No." where("Contract Type" = field("Contract Type"))) |
| 3 | Line No. | Integer | Specifies the number of the filed contract line. |  |
| 4 | Contract Status | Enum "Service Contract Status" | — | enum [Enum 5967 "Service Contract Status"](../enum/5967.md) |
| 5 | Service Item No. | Code[20] | Specifies the number of the service item on the filed service contract line. | TableRelation [Table 5940 "Service Item"](../table/5940.md) (Service Item) |
| 6 | Description | Text[100] | Specifies a description of the service item group associated with the filed service item line. |  |
| 7 | Serial No. | Code[50] | Specifies the serial number of the service item on the filed service item line. |  |
| 8 | Service Item Group Code | Code[10] | Specifies the code for the service item group associated with this service item. | TableRelation [Table 5904 "Service Item Group"](../table/5904.md) (Service Item Group) |
| 9 | Customer No. | Code[20] | — | TableRelation [Table 18 "Customer"](../table/18.md) |
| 10 | Ship-to Code | Code[10] | — | TableRelation [Table 222 "Ship-to Address"](../table/222.md) ("Ship-to Address".Code where("Customer No." = field("Customer No."))) |
| 11 | Item No. | Code[20] | Specifies the item number linked to the service item in the filed contract. | TableRelation [Table 27 "Item"](../table/27.md) (Item where(Type = const(Inventory))) |
| 12 | Unit of Measure Code | Code[10] | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. | TableRelation [Table 204 "Unit of Measure"](../table/204.md), [Table 5404 "Item Unit of Measure"](../table/5404.md) (if ("Item No." = filter(<> '')) "Item Unit of Measure".Code where("Item No." = field("Item No.")) else "Unit of Measure") |
| 13 | Response Time (Hours) | Decimal | Specifies the estimated time interval after work on the service order starts. <small>via [Page 6086 "Filed Service Contract Lines"](../page/6086.md)</small> |  |
| 14 | Last Planned Service Date | Date | Specifies the date of the last planned service on this item. | not editable |
| 15 | Next Planned Service Date | Date | Specifies the date of the next planned service on this item. |  |
| 16 | Last Service Date | Date | Specifies the date of the last actual service on this item. |  |
| 17 | Last Preventive Maint. Date | Date | Specifies the date when the last time preventative service was performed on this item. | not editable |
| 18 | Invoiced to Date | Date | Specifies the date when the contract was last invoiced. | not editable |
| 19 | Credit Memo Date | Date | Specifies the date when you can create a credit memo for the item that needs to be removed from the service contract. |  |
| 20 | Contract Expiration Date | Date | Specifies the date when the service item should be removed from the service contract. |  |
| 21 | Service Period | DateFormula | Specifies the estimated time that elapses until service starts on the service item. |  |
| 22 | Line Value | Decimal | Specifies the value on the service item line in the service contract. |  |
| 23 | Line Discount % | Decimal | Specifies the discount percentage that is granted for the item on the line. |  |
| 24 | Line Amount | Decimal | Specifies the net amount, excluding any invoice discount amount, that must be paid for products on the line. |  |
| 28 | Variant Code | Code[10] | — | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Item No."))) |
| 29 | Starting Date | Date | — | not editable |
| 30 | New Line | Boolean | Specifies that this service contract line is a new line. |  |
| 31 | Credited | Boolean | — |  |
| 32 | Line Cost | Decimal | Specifies the calculated cost of the item line in the filed service contract or filed service contract quote. |  |
| 33 | Line Discount Amount | Decimal | Specifies the amount of the discount on the contract line in the filed service contract or filed contract quote. |  |
| 34 | Profit | Decimal | Specifies the profit on the contract line in the filed service contract or filed contract quote. |  |
| 80 | Attached to Line No. | Integer | — | TableRelation [Table 5971 "Filed Contract Line"](../table/5971.md) ("Filed Contract Line"."Line No." where("Contract Type" = field("Contract Type"), "Contract No." = field("Contract No."), "Entry No." = field("Entry No."))) |
| 100 | Entry No. | Integer | Specifies the unique number of filed service contract or service contract quote. |  |

## Keys

- Key1: Entry No., Line No. (clustered)

## Procedures

- `ShowComments()` (internal)

## Relations

- lookup page [Page 6086 "Filed Service Contract Lines"](../page/6086.md)
- Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md) (conditional)
- Ship-to Code: TableRelation [Table 222 "Ship-to Address"](../table/222.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) (conditional)
- Service Item Group Code: TableRelation [Table 5904 "Service Item Group"](../table/5904.md)
- Service Item No.: TableRelation [Table 5940 "Service Item"](../table/5940.md)
- Contract No.: TableRelation [Table 5970 "Filed Service Contract Header"](../table/5970.md)
- Attached to Line No.: TableRelation [Table 5971 "Filed Contract Line"](../table/5971.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 5971 "Filed Contract Line"](../table/5971.md): Attached to Line No.

## Pages and codeunits on this table

- [Page 6074 "Filed Service Contract Subform"](../page/6074.md) (source table)
- [Page 6086 "Filed Service Contract Lines"](../page/6086.md) (source table)

## 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.

- [Page 6087 "Filed Serv. Contract Cm. Sheet"](../page/6087.md) (1 call: `ShowComments → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC28

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: "table", object_name: "Filed Contract Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
