---
id: object/table/99000757
type: object
title: Table 99000757 "Calendar Entry"
summary: Table 99000757 "Calendar Entry" in Base Application (Microsoft.Manufacturing.Capacity). 16 fields, 3 public procedures, 2 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: c405e37952a4196939a0671d3c629df3172a0ada16ff2514a1d0175a0ae347ed
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Capacity/CalendarEntry.Table.al
    title: src/Layers/W1/BaseApp/Manufacturing/Capacity/CalendarEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/production-how-to-create-work-center-calendars
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-manufacturing
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 99000757
name: Calendar Entry
namespace: Microsoft.Manufacturing.Capacity
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: 16
  procedures: 8
  events: 2
  subscribers: 0
relations:
  out: 7
  referenced_by: 9
  pages: 1
  extended_by: 0
  event_subscribers: 1
  calls: 1
  called_by: 0
  implements: 0
---

# Table 99000757 "Calendar Entry"

> Table 99000757 "Calendar Entry" in Base Application (Microsoft.Manufacturing.Capacity). 16 fields, 3 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

Learn documents this table through its pages: [Page 99000759 "Calendar Entries"](../page/99000759.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Calendar Entry |
| 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 | Capacity Type | Enum "Capacity Type" | Specifies the type of capacity for the calendar entry. | enum [Enum 5871 "Capacity Type"](../enum/5871.md) |
| 2 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | TableRelation [Table 99000754 "Work Center"](../table/99000754.md), [Table 99000758 "Machine Center"](../table/99000758.md) (if ("Capacity Type" = const("Work Center")) "Work Center" else if ("Capacity Type" = const("Machine Center")) "Machine Center"); NotBlank |
| 4 | Date | Date | — | NotBlank |
| 5 | Work Shift Code | Code[10] | Specifies code for the work shift that the capacity refers to. | TableRelation [Table 99000750 "Work Shift"](../table/99000750.md) (Work Shift); NotBlank |
| 6 | Starting Time | Time | — | NotBlank |
| 7 | Ending Time | Time | — | NotBlank |
| 8 | Work Center No. | Code[20] | — | TableRelation [Table 99000754 "Work Center"](../table/99000754.md) (Work Center); not editable |
| 9 | Work Center Group Code | Code[10] | — | TableRelation [Table 99000756 "Work Center Group"](../table/99000756.md) (Work Center Group); not editable |
| 10 | Capacity (Total) | Decimal | Specifies the total capacity of this calendar entry. <small>via [Page 99000759 "Calendar Entries"](../page/99000759.md)</small> | not editable |
| 11 | Capacity (Effective) | Decimal | Specifies the effective capacity of this calendar entry. <small>via [Page 99000759 "Calendar Entries"](../page/99000759.md)</small> | not editable |
| 20 | Efficiency | Decimal | Specifies the efficiency of this calendar entry. |  |
| 21 | Capacity | Decimal | Specifies the capacity of this calendar entry. |  |
| 22 | Absence Efficiency | Decimal | — | not editable |
| 23 | Absence Capacity | Decimal | — | not editable |
| 24 | Starting Date-Time | DateTime | Specifies the date and the starting time, which are combined in a format called "starting date-time". |  |
| 25 | Ending Date-Time | DateTime | Specifies the date and the ending time, which are combined in a format called "ending date-time". |  |

## Keys

- Key1: Capacity Type, No., Date, Starting Time, Ending Time, Work Shift Code (clustered)
- Key2: Work Center No., Date, Work Shift Code
- Key3: Work Center Group Code, Date, Work Shift Code
- Key4: Capacity Type, No., Starting Date-Time, Ending Date-Time, Absence Capacity
- Key5: Capacity Type, No., Ending Date-Time, Starting Date-Time

## Events published

- `OnBeforeCheckRedundancy(var CalendarEntry: Record "Calendar Entry"; var IsHandled: Boolean)` (integration)
- `OnCheckRedundancyOnAfterCalendarEntrySetFilters(CalendarEntryRec: Record "Calendar Entry"; var CalendarEntry: Record "Calendar Entry")` (integration)

## Trigger event subscribers

- OnBeforeInsertEvent: [Codeunit 99000788 "Mfg. Experience Tier"](../codeunit/99000788.md) BlockInsertCalendarEntry

## Procedures

- `Caption(): Text`
- `GetStartingEndingDateAndTime(var StartingTime: Time; var EndingTime: Time; var CurrDate: Date)`
- `SetCapacityFilters(CapType: Enum "Capacity Type"; CapNo: Code[20])`

Plus 3 local procedures.

## Relations

- drill-down page [Page 99000759 "Calendar Entries"](../page/99000759.md)
- lookup page [Page 99000759 "Calendar Entries"](../page/99000759.md)
- Work Shift Code: TableRelation [Table 99000750 "Work Shift"](../table/99000750.md)
- No.: TableRelation [Table 99000754 "Work Center"](../table/99000754.md) (conditional)
- Work Center No.: TableRelation [Table 99000754 "Work Center"](../table/99000754.md)
- Work Center Group Code: TableRelation [Table 99000756 "Work Center Group"](../table/99000756.md)
- No.: TableRelation [Table 99000758 "Machine Center"](../table/99000758.md) (conditional)

## Referenced by

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

- [Table 99000754 "Work Center"](../table/99000754.md): Calendar Entries Avail. Until, Capacity (Effective), Capacity (Total)
- [Table 99000758 "Machine Center"](../table/99000758.md): Calendar Entries Avail. Until, Capacity (Effective), Capacity (Total)
- [Table 99000756 "Work Center Group"](../table/99000756.md): Capacity (Effective), Capacity (Total)
- [Table 99000866 "Capacity Constrained Resource"](../table/99000866.md): Capacity (Effective)

## Pages and codeunits on this table

- [Page 99000759 "Calendar Entries"](../page/99000759.md) (source table)

## 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 99000755 "Shop Calendar Management"](../codeunit/99000755.md) (2 calls: `CalculateCapacity → CalcTimeDelta`, `CalculateCapacity → TimeFactor`)

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