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

Codeunit 308 "No. Series - Batch"

Business Foundation · Microsoft.Foundation.NoSeries

Across versions

  1. BC23not present
  2. BC24added
  3. BC25-30unchanged

Neighbourhood 27 connected objects and pages

Codeunit 309 "No. Series - Batch Impl." (calls, 6 links)No. Series - Batch Impl.Codeunit 13 "Gen. Jnl.-Post Batch" (calls, 5 links)Gen. Jnl.-Post BatchCodeunit 6213 "Sustainability Jnl.-Post" (calls, 4 links)Sustainability Jnl.-PostCodeunit 6271 "Sust. Excise Jnl.-Post" (calls, 4 links)Sust. Excise Jnl.-PostTable 81 "Gen. Journal Line" (calls, 4 links)Codeunit 23 "Item Jnl.-Post Batch" (calls, 3 links)Item Jnl.-Post BatchCodeunit 5633 "FA Jnl.-Post Batch" (calls, 3 links)FA Jnl.-Post BatchCodeunit 1013 "Job Jnl.-Post Batch" (calls, 2 links)Job Jnl.-Post BatchCodeunit 213 "Res. Jnl.-Post Batch" (calls, 2 links)Res. Jnl.-Post BatchCodeunit 5653 "Insurance Jnl.-Post Batch" (calls, 2 links)Codeunit 6211 "Sustainability Journal Mgt." (calls, 2 links)Sustainability Journal Mgt.Codeunit 6214 "Sustainability Recur Jnl.-Post" (calls, 2 links)Sustainability Recur Jnl.-PostCodeunit 6270 "Sust. Excise Journal Mgt." (calls, 2 links)Sust. Excise Journal Mgt.Codeunit 6274 "Sust. Excise Cal. Mgt" (calls, 2 links)Codeunit 7304 "Whse. Jnl.-Register Batch" (calls, 2 links)Whse. Jnl.-Register BatchPage 39 "General Journal" (calls, 2 links)General JournalReport 394 "Suggest Employee Payments" (calls, 2 links)Suggest Employee PaymentsCodeunit 1224 "Map Incoming Doc to Gen. Line" (calls)Codeunit 1400 "DocumentNoVisibility" (calls)Codeunit 5469 "Library API - General Journal" (calls)Codeunit 7251 "Bank Acc. Rec. Trans. to Acc." (calls)Codeunit 7412 "Excise Tax Calculation" (calls)Codeunit 980 "Payment Registration Mgt." (calls)Page 1190 "Create Payment" (calls)Page 456 "No. Series" (calls)Report 393 "Suggest Vendor Payments" (calls)Table 6915 "Posted Expense Report Header" (calls)

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 Public

Procedures

  • GetNextNo(NoSeriesCode: Code[20]): Code[20]: Get the next number in the No. Series. This function finds the first valid No. Series line based on WorkDate and calls the No. Series Line implementation to get the next number. Defaults UsageDate to WorkDate.
  • GetNextNo(NoSeriesCode: Code[20]; UsageDate: Date): Code[20]: Get the next number in the No. Series. This function finds the first valid No. Series line based on UsageDate and calls the No. Series Line implementation to get the next number.
  • GetNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]: Get the next number in the No. Series. This function uses the specified No. Series line and calls the No. Series Line implementation to get the next number.
  • GetNextNo(NoSeriesCode: Code[20]; UsageDate: Date; HideErrorsAndWarnings: Boolean): Code[20]: Get the next number in the No. Series. This function finds the first valid No. Series line based on UsageDate and calls the No. Series Line implementation to get the next number.
  • GetNextNo(var NoSeriesLine: Record "No. Series Line"; UsageDate: Date; HideErrorsAndWarnings: Boolean): Code[20]: Get the next number in the No. Series. This function uses the specified No. Series line and calls the No. Series Line implementation to get the next number.
  • PeekNextNo(NoSeriesCode: Code[20]): Code[20]: Get the next number in the No. Series, without incrementing the number. This function finds the first valid No. Series line based on WorkDate and calls the No. Series Line implementation to peek the next number. Defaults UsageDate to WorkDate.
  • PeekNextNo(NoSeriesCode: Code[20]; UsageDate: Date): Code[20]: Get the next number in the No. Series, without incrementing the number. This function finds the first valid No. Series line based on UsageDate and calls the No. Series Line implementation to peek the next number.
  • PeekNextNo(NoSeriesLine: Record "No. Series Line"; UsageDate: Date): Code[20]: Get the next number in the No. Series, without incrementing the number. This function uses the specified No. Series line and calls the No. Series Line implementation to peek the next number.
  • GetLastNoUsed(NoSeriesCode: Code[20]): Code[20]: Get the last number used in the No. Series.
  • GetLastNoUsed(var NoSeriesLine: Record "No. Series Line"): Code[20]: Get the last number used in the No. Series.
  • TestManual(NoSeriesCode: Code[20]): Verifies that the No. Series allows using manual numbers.
  • TestManual(NoSeriesCode: Code[20]; DocumentNo: Code[20]): Verifies that the No. Series allows using manual numbers and throws an error for the document no. if it does not.
  • SimulateGetNextNo(NoSeriesCode: Code[20]; UsageDate: Date; LastNoUsed: Code[20]): Code[20]: Simulate the specified No. Series at the specified date starting with the indicated number.
  • SetSimulationMode(): Puts the codeunit in simulation mode which disables the ability to save state.
  • SaveState(TempNoSeriesLine: Record "No. Series Line" temporary): Save the state of the No. Series Line to the database.
  • SaveState(): Save all changes to the database.

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.

Called by

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

Evidence 1 sources