---
id: object/codeunit/920
type: object
title: Codeunit 920 "Period Form Lines Mgt."
summary: Codeunit 920 "Period Form Lines Mgt." in Base Application (Microsoft.Foundation.Period). 2 public procedures, 1 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: null
  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: c04f7ab0b1743b79fb1eae07d3fb21687d1f12d0b5df408a4d1c8f8bb6a63cc4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/Period/PeriodFormLinesMgt.Codeunit.al
    title: src/Layers/W1/BaseApp/Foundation/Period/PeriodFormLinesMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 920
name: Period Form Lines Mgt.
namespace: Microsoft.Foundation.Period
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 13
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 19
  implements: 0
---

# Codeunit 920 "Period Form Lines Mgt."

> Codeunit 920 "Period Form Lines Mgt." in Base Application (Microsoft.Foundation.Period). 2 public procedures, 1 events. Present since at least BC23, still in BC30.

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

## Events published

- `OnNextDateOnAfterCalcShouldInsertLine(var BufferRecord: Variant; var DateRec: Record Date; var ResultSteps: Integer; var ShouldInsertLine: Boolean)` (integration)

## Procedures

- `FindDate(var BufferRecord: Variant; var DateRec: Record Date; Which: Text[3]; PeriodType: Option): Boolean`
- `NextDate(var BufferRecord: Variant; var DateRec: Record Date; Steps: Integer; PeriodType: Option): Integer`

Plus 10 local procedures.

## Triggers

OnRun

## 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 362 "PeriodPageManagement"](../codeunit/362.md) (3 calls: `FindDate → FindDate`, `FindDateRec → FindDate`, `NextDate → NextDate`)

## Called by

- [Page 2624 "Stat. Account Balance Lines"](../page/2624.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 350 "G/L Acc. Balance/Budget Lines"](../page/350.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 351 "Customer Sales Lines"](../page/351.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 352 "Vendor Purchase Lines"](../page/352.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 353 "Item Availability Lines"](../page/353.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 354 "Item Turnover Lines"](../page/354.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 355 "Receivables-Payables Lines"](../page/355.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 361 "Res. Availability Lines"](../page/361.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 362 "Res. Gr. Availability Lines"](../page/362.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 378 "Bank Account Balance Lines"](../page/378.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 416 "G/L Account Balance Lines"](../page/416.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 5984 "Service Item Trend Lines"](../page/5984.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 6007 "Res. Availability Lines (SM)"](../page/6007.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 6012 "Res.Gr Availability Lines (SM)"](../page/6012.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 6061 "Contract Trend Lines"](../page/6061.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 866 "Cash Flow Availability Lines"](../page/866.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 99000888 "Work Center Load Lines"](../page/99000888.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 99000890 "Machine Center Load Lines"](../page/99000890.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)
- [Page 99000892 "Work Center Group Load Lines"](../page/99000892.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

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: "codeunit", object_name: "Period Form Lines Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
