---
title: "Page 6013 Resource Capacity Settings, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/points/
object: https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Page 6013 Resource Capacity Settings, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/points/

12 procedures and triggers with a step in src/Layers/W1/BaseApp/Service/Resources/ResourceCapacitySettings.Page.al, in source order, read from the text, not from a run.

## WorkTemplateCode.OnValidate

[Line 51](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L51), trigger.

- [54](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L54) calls `SumWeekTotal`

## WorkTemplateRec.Monday.OnValidate

[Line 65](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L65), trigger.

- [67](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L67) calls `SumWeekTotal`

## WorkTemplateRec.Tuesday.OnValidate

[Line 78](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L78), trigger.

- [80](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L80) calls `SumWeekTotal`

## WorkTemplateRec.Wednesday.OnValidate

[Line 91](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L91), trigger.

- [93](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L93) calls `SumWeekTotal`

## WorkTemplateRec.Thursday.OnValidate

[Line 104](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L104), trigger.

- [106](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L106) calls `SumWeekTotal`

## WorkTemplateRec.Friday.OnValidate

[Line 117](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L117), trigger.

- [119](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L119) calls `SumWeekTotal`

## WorkTemplateRec.Saturday.OnValidate

[Line 130](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L130), trigger.

- [132](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L132) calls `SumWeekTotal`

## WorkTemplateRec.Sunday.OnValidate

[Line 143](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L143), trigger.

- [145](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L145) calls `SumWeekTotal`

## UpdateCapacity.OnAction

[Line 185](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L185), trigger.

- [199](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L199) calls `SetCalendar`
- [207](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L207) calls [Codeunit 7600 Calendar Management](https://jonas-paprotka.de/ref/codeunit/7600-calendar-management/) `IsNonworkingDay`
- [216](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L216) calls `SelectCapacity`
- [228](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L228) writes [Table 160 Res. Capacity Entry](https://jonas-paprotka.de/ref/table/160-res-capacity-entry/) Insert(true)

## Category_Process.OnAfterGetRecord

[Line 258](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L258), trigger.

- [262](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L262) calls `SumWeekTotal`

## SelectCapacity

[Line 300](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L300), local.

- [305](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L305) raises `OnBeforeSelectCapacity`, IsHandled

## SetCalendar

[Line 327](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L327), local.

- [332](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L332) raises `OnBeforeSetCalendar`, IsHandled
- [338](https://jonas-paprotka.de/ref/page/6013-resource-capacity-settings/source/#L338) calls [Codeunit 7600 Calendar Management](https://jonas-paprotka.de/ref/codeunit/7600-calendar-management/) `SetSource`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
