---
id: object/codeunit/304
type: object
title: Codeunit 304 "No. Series - Impl."
summary: Codeunit 304 "No. Series - Impl." in Business Foundation (Microsoft.Foundation.NoSeries). 20 public procedures. Introduced in BC24, still in BC30, changed in BC27.
tier: official
language: en
tags:
  - codeunit
  - business foundation
versions:
  introduced: "24"
  last_changed: "27"
  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: 73b1b63382b7b10dff6434d718f4d20768069d791f1b9c5ddec4b4a4f227e8af
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Business%20Foundation/App/NoSeries/src/Single/NoSeriesImpl.Codeunit.al
    title: src/Business Foundation/App/NoSeries/src/Single/NoSeriesImpl.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: 304
name: No. Series - Impl.
namespace: Microsoft.Foundation.NoSeries
app: Business Foundation
extends: null
first_version: "24"
last_version: "30"
present_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 24
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 1
  implements: 0
---

# Codeunit 304 "No. Series - Impl."

> Codeunit 304 "No. Series - Impl." in Business Foundation (Microsoft.Foundation.NoSeries). 20 public procedures. Introduced in BC24, still in BC30, changed in BC27.

Business Foundation · Microsoft.Foundation.NoSeries · BC24-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Business%20Foundation/App/NoSeries/src/Single/NoSeriesImpl.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "No. Series" = r, tabledata "No. Series Line" = rimd |

## Procedures

- `TestManual(NoSeriesCode: Code[20])`
- `TestManual(NoSeriesCode: Code[20]; DocumentNo: Code[20])`
- `IsManual(NoSeriesCode: Code[20]): Boolean`
- `GetLastNoUsed(var NoSeriesLine: Record "No. Series Line"): Code[20]`
- `GetLastNoUsed(NoSeriesCode: Code[20]): Code[20]`
- `GetNextNo(NoSeriesCode: Code[20]; SeriesDate: Date; HideErrorsAndWarnings: Boolean): Code[20]`
- `GetNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date; HideErrorsAndWarnings: Boolean): Code[20]`
- `GetNoSeriesLine(var NoSeriesLine: Record "No. Series Line"; NoSeriesCode: Code[20]; UsageDate: Date; HideErrorsAndWarnings: Boolean): Boolean`
- `PeekNextNo(NoSeriesCode: Code[20]; UsageDate: Date): Code[20]`
- `PeekNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]`
- `HasRelatedSeries(NoSeriesCode: Code[20]): Boolean`
- `TestAreRelated(DefaultNoSeriesCode: Code[20]; RelatedNoSeriesCode: Code[20])`
- `OpenNoSeriesRelationships(ErrorInfo: ErrorInfo)`
- `AreRelated(DefaultNoSeriesCode: Code[20]; RelatedNoSeriesCode: Code[20]): Boolean`
- `IsAutomatic(NoSeriesCode: Code[20]): Boolean`
- `TestAutomatic(NoSeriesCode: Code[20])`
- `LookupRelatedNoSeries(OriginalNoSeriesCode: Code[20]; DefaultHighlightedNoSeriesCode: Code[20]; var NewNoSeriesCode: Code[20]): Boolean`
- `SelectNoSeries(OriginalNoSeriesCode: Code[20]; RelatedNoSeriesCode: Code[20]): Code[20]`
- `IsNoSeriesInDateOrder(NoSeriesCode: Code[20]): Boolean`
- `IsNoSeriesInDateOrder(NoSeries: Record "No. Series"): Boolean`

Plus 4 local procedures.

## 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 323 "No. Series - Errors Impl."](../codeunit/323.md) (10 calls: `GetNoSeriesLine → OpenNoSeriesLinesAction`, `GetNoSeriesLine → Throw`, `TestAreRelated → OpenNoSeriesRelationshipsAction`, …)
- [Codeunit 305 "No. Series - Setup Impl."](../codeunit/305.md) (1 call: `GetNoSeriesLine → SetNoSeriesLineFilters`)
- [Page 456 "No. Series"](../page/456.md) (1 call: `GetNoSeriesLine → (object)`)
- [Page 458 "No. Series Relationships"](../page/458.md) (1 call: `OpenNoSeriesRelationships → (object)`)

## Called by

- [Codeunit 310 "No. Series"](../codeunit/310.md) (13 calls: `AreRelated → AreRelated`, `GetLastNoUsed → GetLastNoUsed`, `GetNextNo → GetNextNo`, …)

## Across versions

- Present in: BC24-30
- Changed (declaration) in: BC27

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