{"title":"Codeunit 131302 Library - Fiscal Year, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/131302-library-fiscal-year/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":131302,"name":"Library - Fiscal Year","app":"Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/131302-library-fiscal-year/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/131302-library-fiscal-year/source/","path":"src/Layers/W1/Tests/ApplicationTestLibrary/LibraryFiscalYear.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:6":{"name":"Fiscal Year-Close","url":"https://jonas-paprotka.de/ref/codeunit/6-fiscal-year-close/"},"table:50":{"name":"Accounting Period","url":"https://jonas-paprotka.de/ref/table/50-accounting-period/"},"report:93":{"name":"Create Fiscal Year","url":"https://jonas-paprotka.de/ref/report/93-create-fiscal-year/"},"table:98":{"name":"General Ledger Setup","url":"https://jonas-paprotka.de/ref/table/98-general-ledger-setup/"}},"procs":[{"name":"CloseFiscalYear","line":11,"kind":"procedure","params":0,"steps":[[20,"run","codeunit",6]]},{"name":"CloseAccountingPeriod","line":27,"kind":"procedure","params":0,"steps":[[32,"write",50,"ModifyAll"]]},{"name":"CreateFiscalYear","line":35,"kind":"procedure","params":0,"steps":[[49,"ext","report",93,"InitializeRequest",3],[50,"ext","report",93,"UseRequestPage",1],[51,"ext","report",93,"HideConfirmationDialog",1]]},{"name":"CheckPostingDate","line":55,"kind":"procedure","params":1,"steps":[[62,"call","CreateFiscalYear",0],[63,"call","CloseFiscalYear",0]]},{"name":"UpdateAllowGAccDeletionBeforeDateOnGLSetup","line":106,"kind":"procedure","params":1,"steps":[[112,"write",98,"Modify"]]},{"name":"IdentifyOpenAccountingPeriod","line":115,"kind":"procedure","params":0,"steps":[[120,"call","CloseAccountingPeriod",0],[122,"validate",50,"Starting Date"],[122,"call","GetLastPostingDate",1],[123,"write",50,"Insert",1]]},{"name":"GetInitialPostingDate","line":127,"kind":"procedure","params":0,"steps":[[129,"call","GetFirstPostingDate",1]]},{"name":"CreateClosedAccountingPeriods","line":149,"kind":"procedure","params":0,"steps":[[157,"write",50,"DeleteAll"],[168,"ext","report",93,"UseRequestPage",1],[169,"ext","report",93,"InitializeRequest",3],[170,"ext","report",93,"HideConfirmationDialog",1],[174,"write",50,"ModifyAll"],[175,"write",50,"ModifyAll"]]}]}