---
id: object/table/5814
type: object
title: Table 5814 "Inventory Period"
summary: Table 5814 "Inventory Period" in Base Application (Microsoft.Inventory.Setup). 3 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: db551dd103725181552b31b915aaf5ea6fbf2bbabde4cc47544f50f9d44102db
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Setup/InventoryPeriod.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Setup/InventoryPeriod.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-to-work-with-inventory-periods
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-inventory-costs/report-inventory-costs-and-reconcile-wit
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5814
name: Inventory Period
namespace: Microsoft.Inventory.Setup
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 3
  procedures: 5
  events: 1
  subscribers: 0
relations:
  out: 1
  referenced_by: 1
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5814 "Inventory Period"

> Table 5814 "Inventory Period" in Base Application (Microsoft.Inventory.Setup). 3 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Inventory.Setup · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Setup/InventoryPeriod.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5828 "Inventory Periods"](../page/5828.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Inventory 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 | Ending Date | Date | Specifies the ending date of an inventory period is the last day of the inventory period. | NotBlank |
| 2 | Name | Text[50] | Specifies a descriptive name that helps users identify the inventory period. |  |
| 3 | Closed | Boolean | Specifies that an inventory period can be open or closed. | not editable |

## Keys

- Key1: Ending Date (clustered)

## Events published

- `OnBeforeIsValidDate(EndingDate: Date)` (integration)

## Procedures

- `IsValidDate(var EndingDate: Date): Boolean`
- `ShowError(PostingDate: Date)`
- `IsInvtPeriodClosed(EndingDate: Date): Boolean`

Plus 1 local procedures.

## Triggers

OnDelete, OnInsert, OnRename

## Relations

- lookup page [Page 5828 "Inventory Periods"](../page/5828.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 5815 "Inventory Period Entry"](../table/5815.md): Ending Date

## Pages and codeunits on this table

- [Page 5828 "Inventory Periods"](../page/5828.md) (source table)
- [Codeunit 5820 "Close Inventory Period"](../codeunit/5820.md) (codeunit runs on it)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC28

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). 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: "Inventory Period")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
