---
id: object/tableextension/12152-it
type: object
title: Table extension 12152 "Service Header IT" (IT)
summary: Table extension 12152 "Service Header IT" (IT) in the IT country layer (Microsoft.Service.Document), extends "Service Header". 30 fields, 21 public procedures, 3 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - it 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: f22723a730b71342d91141cf35b83be8bd4b7661d63e0116bb6c3e9860af66d3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Service/Local/Document/ServiceHeaderIT.TableExt.al
    title: src/Layers/IT/BaseApp/Service/Local/Document/ServiceHeaderIT.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/it
  videos: []
  posts: []
  guidelines: []
object_type: tableextension
object_id: 12152
name: Service Header IT
namespace: Microsoft.Service.Document
app: Base Application
extends: Service Header
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: IT
counts:
  fields: 30
  procedures: 24
  events: 3
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table extension 12152 "Service Header IT" (IT)

> Table extension 12152 "Service Header IT" (IT) in the IT country layer (Microsoft.Service.Document), extends "Service Header". 30 fields, 21 public procedures, 3 events. Introduced in BC29, still in BC30.

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

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

## 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 |
|---|---|---|---|---|
| 12100 | Operation Type | Code[20] | — | TableRelation "No. Series" where("No. Series Type" = filter(Sales)); DataClassification CustomerContent |
| 12101 | Operation Occurred Date | Date | — | DataClassification CustomerContent |
| 12123 | Activity Code | Code[6] | — | TableRelation "Activity Code".Code; DataClassification CustomerContent |
| 12125 | Service Tariff No. | Code[10] | — | TableRelation Service Tariff Number; DataClassification CustomerContent |
| 12130 | Fiscal Code | Code[20] | — | DataClassification CustomerContent |
| 12131 | Refers to Period | Option | — | OptionCaption: ,Current,Current Calendar Year,Previous Calendar Year; DataClassification CustomerContent |
| 12132 | Resident | Option | — | OptionCaption: Resident,Non-Resident; DataClassification CustomerContent |
| 12133 | First Name | Text[30] | — | DataClassification CustomerContent |
| 12134 | Last Name | Text[30] | — | DataClassification CustomerContent |
| 12135 | Date of Birth | Date | — | DataClassification CustomerContent |
| 12136 | Individual Person | Boolean | — | DataClassification CustomerContent |
| 12138 | Place of Birth | Text[30] | — | DataClassification CustomerContent |
| 12170 | Payment % | Decimal | — | FlowField: sum("Payment Lines"."Payment %" where("Sales/Purchase" = const(Sales), Type = field("Document Type"), Code = field("No."))); not editable |
| 12171 | Applies-to Occurrence No. | Integer | — | DataClassification CustomerContent |
| 12172 | Bank Account | Code[20] | — | TableRelation "Customer Bank Account".Code where("Customer No." = field("Bill-to Customer No.")); DataClassification CustomerContent |
| 12173 | Cumulative Bank Receipts | Boolean | — | DataClassification CustomerContent |
| 12174 | 3rd Party Loader Type | Option | — | OptionCaption: ,Vendor,Contact; DataClassification CustomerContent |
| 12175 | 3rd Party Loader No. | Code[20] | — | TableRelation if ("3rd Party Loader Type" = const(Vendor)) Vendor else if ("3rd Party Loader Type" = const(Contact)) Contact where(Type = filter(Company)); DataClassification CustomerContent |
| 12176 | Additional Information | Text[50] | — | DataClassification CustomerContent |
| 12177 | Additional Notes | Text[50] | — | DataClassification CustomerContent |
| 12178 | Additional Instructions | Text[50] | — | DataClassification CustomerContent |
| 12179 | TDD Prepared By | Text[50] | — | DataClassification EndUserIdentifiableInformation |
| 12180 | Tax Representative Type | Option | — | OptionCaption: ,Customer,Contact; DataClassification CustomerContent |
| 12181 | Tax Representative No. | Code[20] | — | TableRelation if ("Tax Representative Type" = filter(Customer)) Customer else if ("Tax Representative Type" = filter(Contact)) Contact; DataClassification CustomerContent |
| 12182 | Fattura Project Code | Code[15] | — | TableRelation "Fattura Project Info".Code where(Type = filter(Project)); DataClassification CustomerContent |
| 12183 | Fattura Tender Code | Code[15] | — | TableRelation "Fattura Project Info".Code where(Type = filter(Tender)); DataClassification CustomerContent |
| 12184 | Customer Purchase Order No. | Text[35] | — | DataClassification CustomerContent |
| 12185 | Fattura Stamp | Boolean | — | DataClassification CustomerContent |
| 12186 | Fattura Stamp Amount | Decimal | — | DataClassification CustomerContent |
| 12187 | Fattura Document Type | Code[20] | — | TableRelation Fattura Document Type; DataClassification CustomerContent |

## Keys

- Key8: Document Type, Posting Date

## Events published

- `OnAfterSetOperationType(var ServiceHeader: Record "Service Header")` (integration)
- `OnBeforeSetOperationType(var ServiceHeader: Record "Service Header"; var IsHandled: Boolean)` (integration)
- `OnAddSplitVATLinesIgnoringALineOnAfterSetSplitServiceLineFilters(var SplitServiceLine: Record "Service Line"; ServiceHeader: Record "Service Header")` (integration)

## Procedures

- `CheckShipAgentMethodComb()`
- `CheckTDDData()`
- `UpdateTDDPreparedBy()`
- `CheckVATExemption(): Boolean`
- `AskUser(SplitVATLinesExist: Boolean; ChangedFieldName: Text[100]): Boolean`
- `ComposeUserMessage(SplitVATLinesExist: Boolean; ChangedFieldName: Text[100]): Text`
- `RemoveSplitVATLines(var SplitServiceLine: Record "Service Line")`
- `RemoveSplitVATLinesIfExist(var SplitServiceLine: Record "Service Line"; LinesExist: Boolean)`
- `SetOperationType()`
- `FindVATExemption(var VATExemption: Record "VAT Exemption"; var Check: Boolean; CheckFirst: Boolean): Boolean`
- `InitFields()`
- `GenerateSplitVATLines()`
- `AddSplitVATLines()`
- `AddSplitVATLinesIgnoringALine(ServiceLineToIgnore: Record "Service Line")`
- `GetSplitVATLines(var SplitServiceLine: Record "Service Line"): Boolean`
- `UpdateTotalingServiceLine(SplitServiceLine: Record "Service Line"; var TotalingServiceLine: Record "Service Line")`
- `InitializeTotalingServiceLine(SplitServiceLine: Record "Service Line"; var TotalingServiceLine: Record "Service Line"; LineNo: Integer)`
- `GetVATPostingSetup(var VATPostingSetup: Record "VAT Posting Setup"; SplitServiceLine: Record "Service Line")`
- `GetHighestLineNo(SplitServiceLine: Record "Service Line"): Integer`
- `IncrementLineNo(LineNo: Integer): Integer`
- `ServiceLinesExist(): Boolean`

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

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