Codeunit 360 "Accounting Period Mgt."
Base Application · Microsoft.Foundation.Period
Across versions
- BC23-24present
- BC252 procedures changed
- BC26unchanged
- BC272 procedures added, 2 procedures removed
- BC28-30unchanged
Neighbourhood 18 connected objects and pages
Base Application · Microsoft.Foundation.Period · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Accounting Period” = R |
Event subscriptions
- OnResolveDateFilterToken subscribes to Codeunit “Filter Tokens” OnResolveDateFilterToken
Procedures
GetPeriodStartingDate(): DateCheckPostingDateInFiscalYear(PostingDate: Date)FindFiscalYear(BalanceDate: Date): DateFindEndOfFiscalYear(BalanceDate: Date): DateAccPeriodStartEnd(Date: Date; var StartDate: Date; var EndDate: Date; var PeriodError: Boolean; Steps: Integer; Type: Enum "Period Type"; RangeFromType: Enum "Period Formula Range"; RangeToType: Enum "Period Formula Range"; RangeFromInt: Integer; RangeToInt: Integer)+ BC27 − BC27AccPeriodEndDate(StartDate: Date): DateΔ BC25AccPeriodStartOrEnd(AccountingPeriod: Record "Accounting Period"; CurrentPeriodNo: Integer; RangeType: Enum "Period Formula Range"; RangeInt: Integer; EndDate: Boolean; var Date: Date)Δ BC25 + BC27 − BC27InitStartYearAccountingPeriod(var AccountingPeriod: Record "Accounting Period"; PostingDate: Date)InitDefaultAccountingPeriod(var AccountingPeriod: Record "Accounting Period"; PostingDate: Date)GetDefaultPeriodEndingDate(PostingDate: Date): DateGetPositionDifferentCharacter(Character: Text[50]; Text: Text; var Position: Integer)GetPositionMatchingCharacter(Character: Text[50]; Text: Text; var Position: Integer)FindText(var PartOfText: Text; Text: Text; Position: Integer): Boolean
Plus 5 local procedures.
Triggers
OnRun
Called by
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 8 “AccSchedManagement” (7 calls:
AccPeriodStartEnd → AccPeriodStartEnd,CalcCell → FindFiscalYear,CalcColumnDates → FindFiscalYear, …) - Codeunit 7110 “Analysis Report Management” (4 calls:
AccPeriodStartEnd → AccPeriodStartEnd,CalcCell → FindFiscalYear,SetItemColumnFilters → FindEndOfFiscalYear, …) - Codeunit 362 “PeriodPageManagement” (3 calls:
CopyAccountingPeriod → GetDefaultPeriodEndingDate,FindDate → InitDefaultAccountingPeriod,NextDate → InitDefaultAccountingPeriod) - Codeunit 11 “Gen. Jnl.-Check Line” (1 call:
CheckDates → CheckPostingDateInFiscalYear) - Codeunit 12 “Gen. Jnl.-Post Line” (1 call:
StartPosting → GetPeriodStartingDate) - Codeunit 1720 “Deferral Utilities” (1 call:
IsAccountingPeriodExist → InitDefaultAccountingPeriod) - Codeunit 2622 “Stat. Acc. Fin Reporting Mgt” (1 call:
SetStatAccColumnFilters → FindEndOfFiscalYear) - Codeunit 5618 “Table Depr. Calculation” (1 call:
CreateTableBuffer → InitDefaultAccountingPeriod) - Codeunit 5631 “FA Jnl.-Check Line” (1 call:
CheckFADepAcrossFiscalYear → FindFiscalYear) - Codeunit 6237 “Acc. Sch. Line Mgmt. Helper” (1 call:
SetSustAccColumnFilters → FindEndOfFiscalYear) - Codeunit 9025 “Small Business Report Catalog” (1 call:
RunCustomerStatementReport → FindFiscalYear) - Codeunit 921 “Period Formula Parser” (1 call:
CalculatePeriodStartEnd → AccPeriodStartEnd) - Report 25 “Account Schedule” (1 call:
InitAccSched → FindFiscalYear) - Report 7112 “Analysis Report” (1 call:
InitAnalysisLine → FindFiscalYear) - Report 86 “Adjust Add. Reporting Currency” (1 call:
InsertGLEntry → GetPeriodStartingDate) - Table 1704 “Posted Deferral Header” (1 call:
CalculatePeriodFilter → AccPeriodStartEnd) - Table 5802 “Value Entry” (1 call:
GetAvgFromDate → InitDefaultAccountingPeriod) - Table 5804 “Avg. Cost Adjmt. Entry Point” (1 call:
GetFiscalYearAccPeriod → InitStartYearAccountingPeriod)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Accounting Period Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.