Codeunit 131302 Library - Fiscal Year

Application Test Library

Source AL, 180 lines

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryFiscalYear.Codeunit.allines 4 to 19 of 180, Copyright (c) Microsoft Corporation. MIT

codeunit 131302 "Library - Fiscal Year"{    trigger OnRun()    begin    end;    procedure CloseFiscalYear()    var        AccountingPeriod: Record "Accounting Period";        Counter: Integer;    begin        // Close All opened Fiscal Years.        AccountingPeriod.SetRange("New Fiscal Year", true);        AccountingPeriod.SetRange(Closed, false);        for Counter := 1 to AccountingPeriod.Count - 1 do begin

All 180 lines

Public procedures 15 in 29

CloseFiscalYear()new in 28
CloseAccountingPeriod()new in 28
CreateFiscalYear()new in 28
CheckPostingDate(PostingDate: Date)new in 28
GetFirstPostingDate(Closed: Boolean): Datenew in 28
GetLastPostingDate(Closed: Boolean): Datenew in 28

All 15 procedures