---
title: "Report 4810 Intrastat Report Get Lines, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/points/
object: https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/
app: "Intrastat Core"
major: 29
source: https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Report 4810 Intrastat Report Get Lines, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/points/

16 procedures and triggers with a step in src/Apps/W1/Intrastat/app/src/Processing/IntrastatReportGetLines.Report.al, in source order, read from the text, not from a run.

## Item Ledger Entry.OnAfterGetRecord

[Line 36](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L36), trigger.

- [51](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L51) calls `HasCrossedBorder`
- [51](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L51) calls `IsService`
- [51](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L51) calls `IsServiceItem`
- [66](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L66) calls `IsItemLedgerEntryCorrected`
- [73](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L73) raises `OnAfterCheckItemLedgerEntry`
- [79](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L79) raises `OnBeforeCalculateTotalsCall`, IsHandled
- [85](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L85) calls `CalculateTotals`
- [91](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L91) raises `OnBeforeInsertItemLedgerLineCall`, IsHandled
- [93](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L93) calls `InsertItemLedgerLine`

## Item Ledger Entry.OnPreDataItem

[Line 96](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L96), trigger.

- [101](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L101) raises `OnBeforeFilterItemLedgerEntry`, IsHandled
- [121](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L121) raises `OnBeforeFilterValueEntry`, IsHandled
- [131](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L131) raises `OnAfterItemLedgerEntryOnPreDataItem`

## Job Ledger Entry.OnAfterGetRecord

[Line 138](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L138), trigger.

- [148](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L148) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [156](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L156) calls `IsJobService`
- [159](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L159) calls `InsertJobLedgerLine`

## FA Ledger Entry.OnAfterGetRecord

[Line 182](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L182), trigger.

- [192](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L192) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [205](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L205) calls `InsertFALedgerLine`

## FA Ledger Entry.OnPreDataItem

[Line 208](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L208), trigger.

- [213](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L213) raises `OnBeforeFilterFALedgerEntry`, IsHandled

## OnOpenPage

[Line 309](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L309), trigger.

- [311](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L311) calls [Table 4811 Intrastat Report Header](https://jonas-paprotka.de/ref/table/4811-intrastat-report-header/) `GetStatisticsStartDate`
- [319](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L319) raises `OnAfterInitRequestPage`

## OnPreReport

[Line 331](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L331), trigger.

- [339](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L339) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) DeleteAll
- [341](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L341) calls `GetGLSetup`
- [345](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L345) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`
- [347](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L347) calls `GetAmtRoundingDirection`

## InsertItemLedgerLine

[Line 406](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L406), local.

- [414](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L414) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [415](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L415) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatCodeFromCountryRegion`
- [438](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L438) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetOriginalCurrency`
- [449](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L449) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [460](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L460) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [464](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L464) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeRate`
- [477](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L477) calls `SetCountryRegionCode`
- [480](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L480) raises `OnBeforeValidateItemLedgerLineFields`, IsHandled
- [482](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L482) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Item No.`
- [483](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L483) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Source Type`
- [484](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L484) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Quantity`
- [484](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L484) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [488](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L488) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Cost Regulation %`
- [490](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L490) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Indirect Cost`
- [493](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L493) raises `OnBeforeInsertItemLedgerLine`, IsHandled
- [495](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L495) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) Insert
- [498](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L498) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) Modify

## InsertJobLedgerLine

[Line 501](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L501), local.

- [509](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L509) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [510](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L510) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatCodeFromCountryRegion`
- [556](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L556) raises `OnBeforeValidateJobLedgerLineFields`, IsHandled
- [558](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L558) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Item No.`
- [559](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L559) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Source Type`
- [560](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L560) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Quantity`
- [560](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L560) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [564](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L564) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Cost Regulation %`
- [567](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L567) raises `OnBeforeInsertJobLedgerLine`, IsHandled
- [570](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L570) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) Insert
- [573](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L573) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) Modify

## InsertFALedgerLine

[Line 576](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L576), local.

- [587](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L587) calls `GetIntrastatReportLineType`
- [647](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L647) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [648](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L648) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatCodeFromCountryRegion`
- [653](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L653) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [665](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L665) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetOriginalCurrency`
- [680](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L680) raises `OnBeforeValidateFALedgerLineFields`, IsHandled
- [682](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L682) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Source Type`
- [683](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L683) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Item No.`
- [684](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L684) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Quantity`
- [684](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L684) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [687](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L687) validates [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) `Cost Regulation %`
- [690](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L690) raises `OnBeforeInsertFALedgerLine`, IsHandled
- [693](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L693) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) Insert
- [696](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L696) writes [Table 4812 Intrastat Report Line](https://jonas-paprotka.de/ref/table/4812-intrastat-report-line/) Modify

## GetIntrastatReportLineType

[Line 699](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L699), local.

- [711](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L711) raises `OnAfterGetIntrastatReportLineType`

## CalculateAverageCost

[Line 724](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L724), local.

- [742](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L742) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [745](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L745) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`

## CountryOfOrigin

[Line 766](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L766), local.

- [770](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L770) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`

## HasCrossedBorder

[Line 783](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L783), local.

- [790](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L790) raises `OnBeforeHasCrossedBorder`, IsHandled
- [795](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L795) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [800](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L800) raises `OnBeforeCheckDropShipment`, IsHandled
- [817](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L817) calls [Codeunit 4810 IntrastatReportManagement](https://jonas-paprotka.de/ref/codeunit/4810-intrastatreportmanagement/) `GetIntrastatBaseCountryCode`
- [859](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L859) calls `CountryOfOrigin`
- [864](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L864) calls `CountryOfOrigin`
- [867](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L867) calls `CountryOfOrigin`

## CalculateTotals

[Line 930](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L930), local.

- [950](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L950) raises `OnBeforeCalculateTotals`, IsHandled
- [960](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L960) raises `OnAfterSkipValueEntry`
- [998](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L998) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [1002](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1002) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [1007](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1007) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [1011](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1011) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [1019](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1019) raises `OnCalculateTotalsOnBeforeSumTotals`
- [1029](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1029) raises `OnCalculateTotalsOnAfterSumTotals`
- [1033](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1033) calls `CalculateAverageCost`
- [1048](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1048) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtLCYToFCY`
- [1068](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1068) raises `OnAfterCalculateTotals`

## GetAmtRoundingDirection

[Line 1073](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1073), local.

- [1076](https://jonas-paprotka.de/ref/report/4810-intrastat-report-get-lines/source/#L1076) raises `OnAfterGetAmtRoundingDirection`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
