---
id: object/table/5908
type: object
title: Table 5908 "Warranty Ledger Entry"
summary: Table 5908 "Warranty Ledger Entry" in Base Application (Microsoft.Service.Ledger). 42 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28-29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: fdef9f85ce1fe0162207deb26190922f26795126389b33694a93f09e00a824b9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Ledger/WarrantyLedgerEntry.Table.al
    title: src/Layers/W1/BaseApp/Service/Ledger/WarrantyLedgerEntry.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: 5908
name: Warranty Ledger Entry
namespace: Microsoft.Service.Ledger
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 42
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 34
  referenced_by: 2
  pages: 2
  extended_by: 0
  event_subscribers: 1
  calls: 3
  called_by: 0
  implements: 0
---

# Table 5908 "Warranty Ledger Entry"

> Table 5908 "Warranty Ledger Entry" in Base Application (Microsoft.Service.Ledger). 42 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28-29.

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

## Properties

| Property | Value |
|---|---|
| Caption | Warranty Ledger Entry |
| 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 | Entry No. | Integer | Specifies the number of the entry, as assigned from the specified number series when the entry was created. |  |
| 3 | Document No. | Code[20] | Specifies the document number of this entry. |  |
| 4 | Posting Date | Date | Specifies the posting date on the service line linked to this entry. |  |
| 5 | Customer No. | Code[20] | Specifies the number of the customer on the service order linked to this entry. | TableRelation [Table 18 "Customer"](../table/18.md) |
| 6 | Ship-to Code | Code[10] | Specifies a code for an alternate shipment address if you want to ship to another address than the one that has been entered automatically. This field is also used in case of drop shipment. | TableRelation [Table 222 "Ship-to Address"](../table/222.md) ("Ship-to Address".Code where("Customer No." = field("Customer No."))) |
| 7 | Bill-to Customer No. | Code[20] | Specifies the number of the customer that you send or sent the invoice or credit memo to. | TableRelation [Table 18 "Customer"](../table/18.md) |
| 8 | Variant Code (Serviced) | Code[10] | — | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Item No. (Serviced)"))) |
| 9 | Service Item No. (Serviced) | Code[20] | — | TableRelation [Table 5940 "Service Item"](../table/5940.md) (Service Item) |
| 10 | Item No. (Serviced) | Code[20] | Specifies the number of the serviced item linked to this entry. <small>via [Page 163 "Warranty Ledg. Entries Preview"](../page/163.md)</small> | TableRelation Item."No." |
| 11 | Serial No. (Serviced) | Code[50] | Specifies the serial number of the serviced item linked to this entry. <small>via [Page 163 "Warranty Ledg. Entries Preview"](../page/163.md)</small> |  |
| 12 | Service Item Group (Serviced) | Code[10] | Specifies the service item group code of the serviced item linked to this entry. <small>via [Page 163 "Warranty Ledg. Entries Preview"](../page/163.md)</small> | TableRelation [Table 5904 "Service Item Group"](../table/5904.md) (Service Item Group) |
| 13 | Service Order No. | Code[20] | Specifies the number of the service order linked to this entry. |  |
| 14 | Service Contract No. | Code[20] | Specifies the number of the service contract linked to this entry. | TableRelation [Table 5965 "Service Contract Header"](../table/5965.md) ("Service Contract Header"."Contract No." where("Contract Type" = const(Contract))) |
| 15 | Fault Reason Code | Code[10] | Specifies the fault reason code of the service line linked to this entry. | TableRelation [Table 5917 "Fault Reason Code"](../table/5917.md) (Fault Reason Code) |
| 16 | Fault Area Code | Code[10] | — | TableRelation [Table 5915 "Fault Area"](../table/5915.md) (Fault Area) |
| 17 | Fault Code | Code[10] | Specifies the fault code of the service line linked to this entry. | TableRelation [Table 5918 "Fault Code"](../table/5918.md) ("Fault Code".Code where("Fault Area Code" = field("Fault Area Code"), "Symptom Code" = field("Symptom Code"))) |
| 18 | Symptom Code | Code[10] | Specifies the symptom code of the service line linked to this entry. | TableRelation [Table 5916 "Symptom Code"](../table/5916.md) (Symptom Code) |
| 19 | Resolution Code | Code[10] | Specifies the resolution code of the service line linked to this entry. | TableRelation [Table 5919 "Resolution Code"](../table/5919.md) (Resolution Code) |
| 20 | Type | Enum "Service Line Type" | Specifies the type of the service line linked to this entry. | enum [Enum 5902 "Service Line Type"](../enum/5902.md) |
| 21 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | TableRelation [Table 156 "Resource"](../table/156.md), [Table 27 "Item"](../table/27.md), [Table 5905 "Service Cost"](../table/5905.md) (if (Type = const(" ")) "Standard Text" else if (Type = const(Item)) Item else if (Type = const(Resource)) Resource else if (Type = const("Cost")) "Service Cost") |
| 22 | Quantity | Decimal | Specifies the number of item units, resource hours, or cost of the service line linked to this entry. |  |
| 24 | Work Type Code | Code[10] | Specifies the work type code of the service line linked to this entry. | TableRelation [Table 200 "Work Type"](../table/200.md) (Work Type) |
| 25 | 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 (Type = const(Item)) "Item Unit of Measure".Code where("Item No." = field("No.")) else "Unit of Measure") |
| 26 | Amount | Decimal | Specifies the warranty discount amount of the service line linked to this entry. |  |
| 27 | Description | Text[100] | Specifies the description of the item on this line. |  |
| 29 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 30 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group) |
| 31 | Global Dimension 1 Code | Code[20] | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1))) |
| 32 | Global Dimension 2 Code | Code[20] | Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company's most important activities, are available on all cards, documents, reports, and lists. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2))) |
| 33 | Open | Boolean | Specifies that the warranty ledger entry is open. |  |
| 35 | Vendor No. | Code[20] | Specifies the vendor number of the serviced item linked to this entry. | TableRelation Vendor."No." |
| 36 | Vendor Item No. | Text[50] | Specifies the number that the vendor uses for this item. |  |
| 38 | Variant Code | Code[10] | — | TableRelation [Table 5401 "Item Variant"](../table/5401.md) (if (Type = const(Item)) "Item Variant".Code where("Item No." = field("No."))) |
| 39 | Service Order Line No. | Integer | — |  |
| 95 | Service Register No. | Integer | Specifies the service register number that this entry belongs to. | TableRelation [Table 5934 "Service Register"](../table/5934.md) (Service Register); not editable |
| 480 | Dimension Set ID | Integer | Specifies a reference to a combination of dimension values. The actual values are stored in the Dimension Set Entry table. | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 481 | Shortcut Dimension 3 Code | Code[20] | Specifies the code for Shortcut Dimension 3, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(3))); not editable |
| 482 | Shortcut Dimension 4 Code | Code[20] | Specifies the code for Shortcut Dimension 4, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(4))); not editable |
| 483 | Shortcut Dimension 5 Code | Code[20] | Specifies the code for Shortcut Dimension 5, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(5))); not editable |
| 484 | Shortcut Dimension 6 Code | Code[20] | Specifies the code for Shortcut Dimension 6, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(6))); not editable |
| 485 | Shortcut Dimension 7 Code | Code[20] | Specifies the code for Shortcut Dimension 7, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(7))); not editable |
| 486 | Shortcut Dimension 8 Code | Code[20] | Specifies the code for Shortcut Dimension 8, which is one of dimension codes that you set up in the General Ledger Setup window. | FlowField: lookup("Dimension Set Entry"."Dimension Value Code" where("Dimension Set ID" = field("Dimension Set ID"), "Global Dimension No." = const(8))); not editable |

## Keys

- Key1: Entry No. (clustered)
- Key2: Service Item No. (Serviced), Posting Date, Document No.
- Key3: Service Order No., Posting Date, Document No.
- Key4: Service Contract No., Posting Date, Document No.
- Key5: Document No., Posting Date
- Key6: Service Register No.

## Trigger event subscribers

- OnAfterInsertEvent: [Codeunit 6499 "Serv. Posting Preview Handler"](../codeunit/6499.md) OnInsertWarrantyLedgerEntry

## Procedures

- `GetNextEntryNo(): Integer`: Gets the next entry number for the Warranty Ledger Entry table.
- `GetLastEntryNo(): Integer`
- `ShowDimensions()`

## Relations

- drill-down page [Page 5913 "Warranty Ledger Entries"](../page/5913.md)
- lookup page [Page 5913 "Warranty Ledger Entries"](../page/5913.md)
- No.: TableRelation [Table 156 "Resource"](../table/156.md) (conditional)
- Bill-to Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Customer No.: TableRelation [Table 18 "Customer"](../table/18.md)
- Work Type Code: TableRelation [Table 200 "Work Type"](../table/200.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)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)
- No.: TableRelation [Table 27 "Item"](../table/27.md) (conditional)
- Global Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Global Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Shortcut Dimension 3 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 4 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 5 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 6 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 7 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Shortcut Dimension 8 Code: CalcFormula [Table 480 "Dimension Set Entry"](../table/480.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Variant Code (Serviced): 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 (Serviced): TableRelation [Table 5904 "Service Item Group"](../table/5904.md)
- No.: TableRelation [Table 5905 "Service Cost"](../table/5905.md) (conditional)
- Fault Area Code: TableRelation [Table 5915 "Fault Area"](../table/5915.md)
- Symptom Code: TableRelation [Table 5916 "Symptom Code"](../table/5916.md)
- Fault Reason Code: TableRelation [Table 5917 "Fault Reason Code"](../table/5917.md)
- Fault Code: TableRelation [Table 5918 "Fault Code"](../table/5918.md)
- Resolution Code: TableRelation [Table 5919 "Resolution Code"](../table/5919.md)
- Service Register No.: TableRelation [Table 5934 "Service Register"](../table/5934.md)
- Service Item No. (Serviced): TableRelation [Table 5940 "Service Item"](../table/5940.md)
- Service Contract No.: TableRelation [Table 5965 "Service Contract Header"](../table/5965.md)
- No.: TableRelation [Table 7 "Standard Text"](../table/7.md) (conditional)

## Referenced by

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

- [Table 5934 "Service Register"](../table/5934.md): From Warranty Entry No., To Warranty Entry No.

## Pages and codeunits on this table

- [Page 163 "Warranty Ledg. Entries Preview"](../page/163.md) (source table)
- [Page 5913 "Warranty Ledger Entries"](../page/5913.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.

- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `ShowDimensions → ShowDimensionSet`)
- [Codeunit 703 "Find Record Management"](../codeunit/703.md) (1 call: `GetLastEntryNo → GetLastEntryIntFieldValue`)
- [Codeunit 9500 "Sequence No. Mgt."](../codeunit/9500.md) (1 call: `GetNextEntryNo → GetNextSeqNo`)

## Across versions

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

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