Table 50 "Accounting Period"
Base Application · Microsoft.Foundation.Period
- 7fields
- 8procedures
- 1events
- 7Learn pages
- 1countries replace it
- 1fields reference it
- 4event subscribers
- 1objects it calls
Across versions
- BC23present
- BC24declaration changed
- BC251 fields changed
- BC26-28unchanged
- BC297 fields changed
- BC30unchanged
Neighbourhood 15 connected objects and pages
Base Application · Microsoft.Foundation.Period · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 100 “Accounting Periods” (5 Learn pages), Page 30086 “APIV2 - Accounting Periods” (2).
Properties
| Property | Value |
|---|---|
| Caption | Accounting Period |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Starting Date Δ BC29 | Date | Specifies the date that the accounting period will begin. | NotBlank |
| 2 | Name Δ BC29 | Text[10] | Specifies the name of the accounting period. | |
| 3 | New Fiscal Year Δ BC29 | Boolean | Specifies whether to use the accounting period to start a fiscal year. | |
| 4 | Closed Δ BC29 | Boolean | Specifies if the accounting period belongs to a closed fiscal year. | not editable |
| 5 | Date Locked Δ BC29 | Boolean | Specifies if you can change the starting date for the accounting period. | not editable |
| 5804 | Average Cost Calc. Type Δ BC29 | Enum “Average Cost Calculation Type” | Specifies how the average cost for items in the accounting period was calculated. | enum Enum 5804 “Average Cost Calculation Type”; not editable |
| 5805 | Average Cost Period Δ BC25 Δ BC29 | Enum “Average Cost Period Type” | Specifies the period type that was used in the accounting period to calculate the average cost. | enum Enum 5806 “Average Cost Period Type”; not editable |
Keys
- Key1: Starting Date (clustered)
- Key2: New Fiscal Year, Date Locked
- Key3: Closed
Events published
OnBeforeMakeRecurringTexts(PostingDate: Date; var DocumentNo: Code[20]; var Description: Text[100]; var IsHandled: Boolean)(integration)
Trigger event subscribers
- OnAfterDeleteEvent: Codeunit 5810 “Change Average Cost Setting” UpdateAvgCostOnAfterDeleteAccountingPeriod
- OnAfterInsertEvent: Codeunit 5810 “Change Average Cost Setting” UpdateAvgCostOnAfterInsertAccountingPeriod
- OnAfterModifyEvent: Codeunit 5810 “Change Average Cost Setting” UpdateAvgCostOnAfterModifyAccountingPeriod
- OnAfterRenameEvent: Codeunit 5810 “Change Average Cost Setting” UpdateAvgCostOnAfterRenameAccountingPeriod
Procedures
UpdateAvgItems()GetFiscalYearEndDate(ReferenceDate: Date): DateGetFiscalYearEndDate(var AccountingPeriod: Record "Accounting Period"; ReferenceDate: Date): DateGetFiscalYearStartDate(ReferenceDate: Date): DateGetFiscalYearStartDate(var AccountingPeriod: Record "Accounting Period"; ReferenceDate: Date): DateCorrespondingAccountingPeriodExists(var AccountingPeriod: Record "Accounting Period"; AccSchedDate: Date): BooleanMakeRecurringTexts(PostingDate: Date; var DocumentNo: Code[20]; var Description: Text[100])
Triggers
OnDelete, OnInsert, OnRename
Relations
- lookup page Page 100 “Accounting Periods”
Referenced by
1 fields in 1 objects relate to this table (TableRelation or CalcFormula).
- Table 5260 “G/L Account Mapping Header”: Accounting Period
Pages and codeunits on this table
- Page 100 “Accounting Periods” (source table)
- Page 30086 “APIV2 - Accounting Periods” (source table)
- Page 30300 “API Finance - Acc Periods” (source table)
- Codeunit 6 “Fiscal Year-Close” (codeunit runs on it)
Extended by
Calls
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 5810 “Change Average Cost Setting” (1 call:
UpdateAvgItems → UpdateAvgCostFromAccPeriodChg)
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "table", object_name: "Accounting Period"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.