Codeunit 4810 IntrastatReportManagement

Intrastat Core

Source AL, 1,216 lines

src/Apps/W1/Intrastat/app/src/Processing/IntrastatReportManagement.Codeunit.allines 2 to 17 of 1,216, Copyright (c) Microsoft Corporation. MIT

codeunit 4810 IntrastatReportManagement{    Permissions = TableData "Intrastat Report Header" = imd,                  TableData "Intrastat Report Line" = imd,                  TableData "NAV App Installed App" = r;    var        AdvChecklistErr: Label 'There are one or more errors. For details, see the report error FactBox.';        UpdateSelectionQst: Label '&Weight,&Supplemental UOM Qty,&Both';        ExportSelectionQst: Label '&Receipts,&Shipments,&Both';        NoDataExchMappingErr: Label '%1 for %2 %3 does not exist.', Comment = '%1 - Data Exchange Mapping caption, %2 - Data Exchange Definition caption, %3 - Data Exchange Definition code';        PeriodAlreadyReportedQst: Label 'You''ve already submitted the report for this period.\Do you want to continue?';        ExternalContentErr: Label '%1 is empty.', Comment = '%1 - File Content';        DownloadFromStreamErr: Label 'The file has not been saved.';        FileNameLbl: Label 'Intrastat-%1.txt', Comment = '%1 - Statistics Period';        ReceptFileNameLbl: Label 'Receipt-%1.txt', Comment = '%1 - Statistics Period';

All 1,216 lines

Events 26 in 29

[IntegrationEvent] OnBeforeReleaseIntrastatHeader(var IntrastatReportHeader: Record "Intrastat Report Header"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnAfterReleaseIntrastatHeader(var IntrastatReportHeader: Record "Intrastat Report Header")new in 21
[IntegrationEvent] OnBeforeReopenIntrastatHeader(var IntrastatReportHeader: Record "Intrastat Report Header"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnAfterReopenIntrastatHeader(var IntrastatReportHeader: Record "Intrastat Report Header")new in 21
[IntegrationEvent] OnBeforeExportIntrastatHeader(var IntrastatReportHeader: Record "Intrastat Report Header"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnAfterExportIntrastatHeader(var IntrastatReportHeader: Record "Intrastat Report Header"; var IsHandled: Boolean)new in 21
[IntegrationEvent] OnBeforeExportToFile(DataExch: Record "Data Exch."; var FileName: Text; var Handled: Boolean)new in 21

All 27 events in 21-29

Public procedures 23 in 29

GetIntrastatBaseCountryCode(ItemLedgEntry: Record "Item Ledger Entry"): Code[10]new in 21
GetIntrastatBaseCountryCode(JobLedgerEntry: Record "Job Ledger Entry"): Code[10]new in 21
GetIntrastatBaseCountryCode(FALedgerEntry: Record "FA Ledger Entry"): Code[10]new in 21
GetOriginalCurrency(FALedgerEntry: Record "FA Ledger Entry"): Code[10]new in 21
GetOriginalCurrency(ItemLedgerEntry: Record "Item Ledger Entry"): Code[10]new in 21
CalcStatisticalValue(var IntrastatReportLine: Record "Intrastat Report Line"; LastIntrastatReportLine: Record "Intrastat Report Line"; var StatisticalValue: Decimal; var TotalStatisticalValue: Decimal; var ShowStatisticalValue: Boolean; var ShowTotalStatisticalValue: Boolean)new in 21

All 33 procedures in 21-29

Changes 8 in 28

List17181920212223242526272829
Procedures22816
Events2722
IsFeatureEnabled(): Boolean21 to 27
gone
NotifyUserAboutIntrastatFeature()21 to 27
gone
LearnMore(HostNotification: Notification)21 to 27
gone
DisableNotification(HostNotification: Notification)21 to 27
gone
ShowNotEnabledMessage(PageCaption: Text)21 to 27
gone
ShowFeatureEnabledMessage(OldPageCaption: Text; NewPageCaption: Text)21 to 27
gone

All 32 changes in 21-29