---
id: object/table/247
type: object
title: Table 247 "Intrastat Setup"
summary: Table 247 "Intrastat Setup" in Base Application (Microsoft.Inventory.Intrastat). 12 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24-26. Obsolete (Removed since 25.0).
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "26"
  deprecated: "25.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 892a0619e835943f2fe04a12e0a6d3b7667aeae8345bb982d679149dd57dea8a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Intrastat/IntrastatSetup.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Intrastat/IntrastatSetup.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: 247
name: Intrastat Setup
namespace: Microsoft.Inventory.Intrastat
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"
  - "26"
source_major: "29"
obsolete:
  state: Removed
  tag: "25.0"
  reason: Intrastat related functionalities are moved to Intrastat extensions.
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 247 "Intrastat Setup"

> Table 247 "Intrastat Setup" in Base Application (Microsoft.Inventory.Intrastat). 12 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24-26. Obsolete (Removed since 25.0).

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

## Properties

| Property | Value |
|---|---|
| Caption | Intrastat Setup |
| DataClassification | CustomerContent |
| ObsoleteState | Removed |
| ObsoleteTag | 25.0 |
| ObsoleteReason | Intrastat related functionalities are moved to Intrastat extensions. |

## 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 | Code | Code[10] | — |  |
| 2 | Report Receipts | Boolean | — |  |
| 3 | Report Shipments | Boolean | — |  |
| 4 | Default Trans. - Purchase | Code[10] | Default Trans. Type <small>caption</small> | TableRelation [Table 258 "Transaction Type"](../table/258.md) (Transaction Type) |
| 5 | Default Trans. - Return | Code[10] | Default Trans. Type - Returns <small>caption</small> | TableRelation [Table 258 "Transaction Type"](../table/258.md) (Transaction Type) |
| 6 | Intrastat Contact Type | Option | — | OptionCaption: ,Contact,Vendor |
| 7 | Intrastat Contact No. | Code[20] | — | TableRelation if ("Intrastat Contact Type" = const(Contact)) Contact."No." else if ("Intrastat Contact Type" = const(Vendor)) Vendor."No." |
| 9 | Cust. VAT No. on File | Enum "Intrastat VAT No. On File" | Customer VAT No. on File <small>caption</small> | enum [Enum 266 "Intrastat VAT No. On File"](../enum/266.md) |
| 10 | Vend. VAT No. on File | Enum "Intrastat VAT No. On File" | Vendor VAT No. on File <small>caption</small> | enum [Enum 266 "Intrastat VAT No. On File"](../enum/266.md) |
| 11 | Company VAT No. on File | Enum "Intrastat VAT No. On File" | — | enum [Enum 266 "Intrastat VAT No. On File"](../enum/266.md) |
| 12 | Default Trans. Spec. Code | Code[10] | — | TableRelation [Table 285 "Transaction Specification"](../table/285.md) (Transaction Specification) |
| 13 | Default Trans. Spec. Ret. Code | Code[10] | Default Trans. Spec. Returns Code <small>caption</small> | TableRelation [Table 285 "Transaction Specification"](../table/285.md) (Transaction Specification) |

## Keys

- Key1: Code (clustered)

## Procedures

- `CheckDeleteIntrastatContact(ContactType: Option; ContactNo: Code[20])`

## Relations

- Default Trans. - Purchase: TableRelation [Table 258 "Transaction Type"](../table/258.md)
- Default Trans. - Return: TableRelation [Table 258 "Transaction Type"](../table/258.md)
- Default Trans. Spec. Code: TableRelation [Table 285 "Transaction Specification"](../table/285.md)
- Default Trans. Spec. Ret. Code: TableRelation [Table 285 "Transaction Specification"](../table/285.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26
- Obsolete: Removed since 25.0, "Intrastat related functionalities are moved to Intrastat extensions."

## Deprecations

- object: Removed 25.0 (#if not CLEANSCHEMA25), "Intrastat related functionalities are moved to Intrastat extensions."

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