codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 307 "No. Series - Sequence Impl."

Business Foundation · Microsoft.Foundation.NoSeries

Across versions

  1. BC23not present
  2. BC24added
  3. BC25-26unchanged
  4. BC272 procedures added
  5. BC28-30unchanged

Neighbourhood 3 connected objects and pages

Codeunit 323 "No. Series - Errors Impl." (calls, 2 links)No. Series - Errors Impl.Codeunit 306 "No. Series - Stateless Impl." (calls)No. Series - Stateless Impl.Page 456 "No. Series" (calls)No. Series

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Business Foundation · Microsoft.Foundation.NoSeries · BC24-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Permissions tabledata “No. Series” = r, tabledata “No. Series Line” = rimd

Event subscriptions

  • OnValidateNoSeriesLine subscribes to Table “No. Series Line” OnBeforeValidateEvent (Starting No.)
  • OnValidateIncrementByNo subscribes to Table “No. Series Line” OnBeforeValidateEvent (Increment-by No.)
  • OnValidateLastNoUsed subscribes to Table “No. Series Line” OnBeforeValidateEvent (Last No. Used)
  • OnValidateImplementation subscribes to Table “No. Series Line” OnBeforeValidateEvent (Implementation)
  • OnDeleteNoSeriesLine subscribes to Table “No. Series Line” OnAfterDeleteEvent
  • OnModifyNoSeriesLine subscribes to Table “No. Series Line” OnBeforeModifyEvent
  • OnInsertNoSeriesLine subscribes to Table “No. Series Line” OnBeforeInsertEvent

Procedures

  • PeekNextNo(NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]
  • GetNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date; HideErrorsAndWarnings: Boolean): Code[20]: Whenever the Last Date Used Changes, the No. Series Line will be modified. The UpdateLock is only set in cases where the No. Series Line will be modified. The “Temp Current Sequence No.” must be preserved in case we use UpdLock as the Find() will reset it.
  • GetLastNoUsed(NoSeriesLine: Record "No. Series Line"): Code[20]
  • MayProduceGaps(): Boolean
  • ExtractNoFromCode(NumberCode: Code[20]; NoSeriesCode: Code[20]): BigInteger

Plus 11 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.

Implements

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

Evidence 1 sources