---
id: object/tableextension/4817
type: object
title: Table extension 4817 "Intrastat Report Purch. Head."
summary: Table extension 4817 "Intrastat Report Purch. Head." in Intrastat (Microsoft.Inventory.Intrastat), extends "Purchase Header". 3 public procedures, 3 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - intrastat
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: f523d32f0c4f3d6902e318bf6aa3a5149b3bb89ccf8d5537cc3c44dcc55fd8f8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Intrastat/app/src/BaseAppExtensions/Purchase/IntrastatReportPurchHead.TableExt.al
    title: src/Apps/W1/Intrastat/app/src/BaseAppExtensions/Purchase/IntrastatReportPurchHead.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/38
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: tableextension
object_id: 4817
name: Intrastat Report Purch. Head.
namespace: Microsoft.Inventory.Intrastat
app: Intrastat
extends: Purchase Header
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 3
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table extension 4817 "Intrastat Report Purch. Head."

> Table extension 4817 "Intrastat Report Purch. Head." in Intrastat (Microsoft.Inventory.Intrastat), extends "Purchase Header". 3 public procedures, 3 events. Introduced in BC29, still in BC30.

Intrastat · Microsoft.Inventory.Intrastat · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Intrastat/app/src/BaseAppExtensions/Purchase/IntrastatReportPurchHead.TableExt.al) · facts from BC29

Extends [Purchase Header](../table/38.md).

## Events published

- `OnBeforeUpdateIntrastatFields(var PurchaseHeader: Record "Purchase Header"; FieldNo: Integer; var IsHandled: Boolean)` (integration)
- `OnAfterUpdateIntrastatFields(var PurchaseHeader: Record "Purchase Header"; var Vendor: Record Vendor; var IntrastatReportSetup: Record "Intrastat Report Setup"; FieldNo: Integer; xPurchaseHeader: Record "Purchase Header")` (integration)
- `OnBeforeCheckIsIntrastatTransaction(PurchaseHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean)` (integration)

## Procedures

- `IsIntrastatTransaction(): Boolean`
- `ShipOrReceiveInventoriableTypeItems(): Boolean` (internal)
- `CheckIntrastatMandatoryFields()` (internal)

Plus 1 local procedures.

## Relations

- extends [Table 38 "Purchase Header"](../table/38.md)

## 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: "Intrastat Report Purch. Head.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
