Codeunit 307 "No. Series - Sequence Impl."
Business Foundation · Microsoft.Foundation.NoSeries
Across versions
- BC23not present
- BC24added
- BC25-26unchanged
- BC272 procedures added
- BC28-30unchanged
Neighbourhood 3 connected objects and pages
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(): BooleanExtractNoFromCode(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.
- Codeunit 323 “No. Series - Errors Impl.” (2 calls:
ExtractNoFromCode → OpenNoSeriesLinesAction,ExtractNoFromCode → Throw) - Codeunit 306 “No. Series - Stateless Impl.” (1 call:
GetNextNoInternal → EnsureLastNoUsedIsWithinValidRange) - Page 456 “No. Series” (1 call:
OnValidateImplementation → (object))
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.