Report 20 Calc. and Post VAT Settlement

Base Application, Microsoft.Finance.VAT.Reporting

Source AL, 1,173 lines

src/Layers/W1/BaseApp/Finance/VAT/Reporting/CalcandPostVATSettlement.Report.allines 26 to 41 of 1,173, Copyright (c) Microsoft Corporation. MIT

report 20 "Calc. and Post VAT Settlement"{    AdditionalSearchTerms = 'settle vat value added tax,report vat value added tax';    ApplicationArea = Basic, Suite;    Caption = 'Calculate and Post VAT Settlement';    Permissions = TableData "VAT Entry" = rimd;    UsageCategory = ReportsAndAnalysis;    DefaultRenderingLayout = RDLCLayout;    dataset    {        dataitem("VAT Posting Setup"; "VAT Posting Setup")        {            DataItemTableView = sorting("VAT Bus. Posting Group", "VAT Prod. Posting Group");            RequestFilterFields = "VAT Bus. Posting Group", "VAT Prod. Posting Group";            column(TodayFormatted; Format(Today, 0, 4))

All 1,173 lines

Events 15 in 29

[IntegrationEvent] OnAfterPostReport()17-29
[IntegrationEvent] OnBeforeCheckPrintVATEntries(var VATEntry: Record "VAT Entry")17-29
[IntegrationEvent] OnBeforePostGenJnlLineReverseChargeVAT(var GenJnlLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; var VATAmount: Decimal; var VATAmountAddCurr: Decimal)17-29
[IntegrationEvent] OnAfterIncrementGenPostingType(OldGenPostingType: Enum "General Posting Type"; var NewGenPostingType: Enum "General Posting Type")17-29
[IntegrationEvent] OnBeforeCloseVATEntriesOnPostSettlement(var VATEntry: Record "VAT Entry"; NextVATEntryNo: Integer; var IsHandled: Boolean)new in 18
[IntegrationEvent] OnAfterPreReport(var VATEntry: Record "VAT Entry")new in 19
[IntegrationEvent] OnClosingGLAndVATEntryOnAfterGetRecordOnAfterSetVATEntryFilters(VATPostingSetup: Record "VAT Posting Setup"; var VATEntry: Record "VAT Entry"; var VATEntry2: Record "VAT Entry")new in 19

All 19 events in 17-29

Public procedures 4 in 29

InitializeRequest(NewStartDate: Date; NewEndDate: Date; NewPostingDate: Date; NewDocNo: Code[20]; NewSettlementAcc: Code[20]; ShowVATEntries: Boolean; Post: Boolean)17-29
InitializeRequest2(NewUseAmtsInAddCurr: Boolean)17-29
SetInitialized(NewInitialized: Boolean)17-29changed in 20
InitializeRequest(NewStartDate: Date; NewEndDate: Date; NewPostingDate: Date; NewVATDate: Date; NewDocNo: Code[20]; NewSettlementAcc: Code[20]; ShowVATEntries: Boolean; Post: Boolean)new in 21changed in 22

All 5 procedures in 17-29

Changes 4 in 27

List17181920212223242526272829
Procedures1211
Events29114
[IntegrationEvent] OnBeforePreReport(var VATPostingSetup: Record "VAT Posting Setup"; PostSettlement: Boolean; GLAccountSettle: Record "G/L Account")19 to 26
gone
[IntegrationEvent] OnBeforePreReport(var VATPostingSetup: Record "VAT Posting Setup"; PostSettlement: Boolean; GLAccountSettle: Record "G/L Account"; var DocNo: Code[20])new in 27
added
[IntegrationEvent] OnVATPostingSetupOnAfterOnPostDataItem(GenJnlLine: Record "Gen. Journal Line"; PostSettlement: Boolean)new in 27
added
[IntegrationEvent] OnVATPostingSetupOnPostDataItemOnBeforePostSettlement(var GenJnlLine: Record "Gen. Journal Line")new in 27
added

All 22 changes in 17-29