---
title: "Codeunit 490 Parallel Session Management, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/points/
object: https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/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/"
---

# Codeunit 490 Parallel Session Management, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/points/

10 procedures and triggers with a step in src/Layers/W1/BaseApp/ParallelSessionManagement.Codeunit.al, in source order, read from the text, not from a run.

## NewSessionRunCodeunitWithRecord

[Line 31](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L31).

- [33](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L33) calls `CreateNewPSEntry`
- [36](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L36) writes [Table 491 Parallel Session Entry](https://jonas-paprotka.de/ref/table/491-parallel-session-entry/) Modify
- [37](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L37) calls `StartNewSessions`

## NewSessionRunCodeunitWithBlob

[Line 42](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L42).

- [46](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L46) calls `CreateNewPSEntry`
- [51](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L51) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Insert
- [57](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L57) writes [Table 491 Parallel Session Entry](https://jonas-paprotka.de/ref/table/491-parallel-session-entry/) Modify
- [61](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L61) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Delete
- [64](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L64) calls `StartNewSessions`

## NewSessionRunCodeunit

[Line 69](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L69).

- [71](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L71) calls `CreateNewPSEntry`
- [73](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L73) calls `StartNewSessions`

## CreateNewPSEntry

[Line 77](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L77), local.

- [84](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L84) writes [Table 491 Parallel Session Entry](https://jonas-paprotka.de/ref/table/491-parallel-session-entry/) Insert

## WaitForAllToFinish

[Line 95](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L95).

- [107](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L107) calls `NoOfActiveJobs`
- [108](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L108) calls `WaitForFreeSessions`
- [108](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L108) calls `GetMaxNoOfSessions`
- [109](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L109) calls `StartNewSessions`
- [113](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L113) calls `WaitForFreeSessions`

## WaitForFreeSessions

[Line 116](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L116), local.

- [122](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L122) calls `RefreshActiveSessions`
- [126](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L126) calls `RefreshActiveSessions`

## StartNewSessions

[Line 131](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L131), local.

- [133](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L133) calls `RefreshActiveSessions`
- [134](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L134) calls `GetMaxNoOfSessions`
- [143](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L143) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Insert
- [146](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L146) writes [Table 491 Parallel Session Entry](https://jonas-paprotka.de/ref/table/491-parallel-session-entry/) Modify
- [149](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L149) calls `GetMaxNoOfSessions`

## RunHeartbeat

[Line 153](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L153).

- [155](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L155) calls `StartNewSessions`

## RefreshActiveSessions

[Line 158](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L158), local.

- [167](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L167) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Delete
- [179](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L179) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Insert
- [185](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L185) writes [Table 491 Parallel Session Entry](https://jonas-paprotka.de/ref/table/491-parallel-session-entry/) Delete

## GetMaxNoOfSessions

[Line 193](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L193).

- [196](https://jonas-paprotka.de/ref/codeunit/490-parallel-session-management/source/#L196) calls `SetMaxNoOfSessions`

## Source

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

JOP-AL, 2026-11-20.
