Table extension 4818 Intrastat Report GL Setup
Source AL, 33 lines
src/Apps/W1/Intrastat/app/src/BaseAppExtensions/MasterData/IntrastatReportGLSetup.TableExt.allines 9 to 24 of 33, Copyright (c) Microsoft Corporation. MIT
tableextension 4818 "Intrastat Report GL Setup" extends "General Ledger Setup"{ fields { modify("Additional Reporting Currency") { trigger OnAfterValidate() var IntrastatReportHeader: Record "Intrastat Report Header"; IntrastatReportLine: Record "Intrastat Report Line"; AdjAddReportingCurr: Report "Adjust Add. Reporting Currency"; begin if ("Additional Reporting Currency" <> xRec."Additional Reporting Currency") and AdjAddReportingCurr.IsExecuted() then begin IntrastatReportHeader.SetRange(Reported, false); IntrastatReportHeader.SetRange("Amounts in Add. Currency", true); if IntrastatReportHeader.FindSet() thenExtends 1
| table 98 "General Ledger Setup" | Base Application | 17-29 |