Table of Contents

Codeunit NoSeriesManagement

ID 396
Namespace: Microsoft.Foundation.NoSeries
Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

Properties

Name Value
InherentEntitlements X
InherentPermissions X
ObsoleteReason Please use the "No. Series" and "No. Series - Batch" codeunits instead
ObsoleteState Pending
ObsoleteTag 24.0
Permissions tabledata "No. Series Line" = rimd, tabledata "No. Series Line Sales" = r, tabledata "No. Series Line Purchase" = r, tabledata "No. Series" = r

Methods

TestManual

Obsolete

This element will become obsolete from version 24.0. Please use method TestManual(NoSeriesCode: Code[20]) in codeunit "No. Series" instead.

[Obsolete(Please use method TestManual(NoSeriesCode: Code[20]) in codeunit "No. Series" instead.,24.0)]
procedure TestManual(DefaultNoSeriesCode: Code[20])

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]

ManualNoAllowed

Obsolete

This element will become obsolete from version 24.0. Please use method IsManual(NoSeriesCode: Code[20]) in codeunit "No. Series" instead.

[Obsolete(Please use method IsManual(NoSeriesCode: Code[20]) in codeunit "No. Series" instead.,24.0)]
procedure ManualNoAllowed(DefaultNoSeriesCode: Code[20]): Boolean

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]

Returns

Type Description
Boolean

TestManualWithDocumentNo

Obsolete

This element will become obsolete from version 24.0. Please use method TestManual(NoSeriesCode: Code[20]; DocumentNo: Code[20]) in codeunit "No. Series" instead.

[Obsolete(Please use method TestManual(NoSeriesCode: Code[20]; DocumentNo: Code[20]) in codeunit "No. Series" instead.,24.0)]
procedure TestManualWithDocumentNo(DefaultNoSeriesCode: Code[20], DocumentNo: Code[20])

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
DocumentNo Code[20]

RaiseObsoleteOnBeforeInitSeries

Obsolete

This element will become obsolete from version 24.0. This method is used for compatibility with extension usages of the old OnBeforeInitSeries event. Now the new No. Series is used. InitSeries no longer exist, instead a No. Series is selected and the next number is retrieved.

[Obsolete(This method is used for compatibility with extension usages of the old OnBeforeInitSeries event. Now the new No. Series is used. InitSeries no longer exist, instead a No. Series is selected and the next number is retrieved.,24.0)]
procedure RaiseObsoleteOnBeforeInitSeries(var DefaultNoSeriesCode: Code[20], OldNoSeriesCode: Code[20], NewDate: Date, var NewNo: Code[20], var NewNoSeriesCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
OldNoSeriesCode Code[20]
NewDate Date
NewNo Code[20]
NewNoSeriesCode Code[20]
IsHandled Boolean

RaiseObsoleteOnAfterInitSeries

Obsolete

This element will become obsolete from version 24.0. This method is used for compatibility with extension usages of the old OnAfterInitSeries event. Now the new No. Series is used. InitSeries no longer exist, instead a No. Series is selected and the next number is retrieved.

[Obsolete(This method is used for compatibility with extension usages of the old OnAfterInitSeries event. Now the new No. Series is used. InitSeries no longer exist, instead a No. Series is selected and the next number is retrieved.,24.0)]
procedure RaiseObsoleteOnAfterInitSeries(NoSeriesCode: Code[20], DefaultNoSeriesCode: Code[20], NewDate: Date, var NewNo: Code[20])

Parameters

Name Type Description
NoSeriesCode Code[20]
DefaultNoSeriesCode Code[20]
NewDate Date
NewNo Code[20]

InitSeries

Obsolete

This element will become obsolete from version 24.0. Please use AreRelated in the "No. Series" codeunit instead

[Obsolete(Please use AreRelated in the "No. Series" codeunit instead,24.0)]
procedure InitSeries(DefaultNoSeriesCode: Code[20], OldNoSeriesCode: Code[20], NewDate: Date, var NewNo: Code[20], var NewNoSeriesCode: Code[20])

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
OldNoSeriesCode Code[20]
NewDate Date
NewNo Code[20]
NewNoSeriesCode Code[20]

SetDefaultSeries

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" codeunit instead

[Obsolete(Please use the "No. Series" codeunit instead,24.0)]
procedure SetDefaultSeries(var NewNoSeriesCode: Code[20], NoSeriesCode: Code[20])

Parameters

Name Type Description
NewNoSeriesCode Code[20]
NoSeriesCode Code[20]

SelectSeries

Obsolete

This element will become obsolete from version 24.0. Use method LookupRelatedNoSeries in codeunit "No. Series instead.

[Obsolete(Use method LookupRelatedNoSeries in codeunit "No. Series instead.,24.0)]
procedure SelectSeries(DefaultNoSeriesCode: Code[20], OldNoSeriesCode: Code[20], var NewNoSeriesCode: Code[20]): Boolean

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
OldNoSeriesCode Code[20]
NewNoSeriesCode Code[20]

Returns

Type Description
Boolean

LookupSeries

Obsolete

This element will become obsolete from version 24.0. Use method LookupRelatedNoSeries in codeunit "No. Series" instead.

[Obsolete(Use method LookupRelatedNoSeries in codeunit "No. Series" instead.,24.0)]
procedure LookupSeries(DefaultNoSeriesCode: Code[20], var NewNoSeriesCode: Code[20]): Boolean

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
NewNoSeriesCode Code[20]

Returns

Type Description
Boolean

TestSeries

Obsolete

This element will become obsolete from version 24.0. Use method TestAreRelated in codeunit "No. Series" instead.

[Obsolete(Use method TestAreRelated in codeunit "No. Series" instead.,24.0)]
procedure TestSeries(DefaultNoSeriesCode: Code[20], NewNoSeriesCode: Code[20])

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
NewNoSeriesCode Code[20]

SetSeries

Obsolete

This element will become obsolete from version 24.0. Use method GetNextNo in codeunit "No. Series" instead.

[Obsolete(Use method GetNextNo in codeunit "No. Series" instead.,24.0)]
procedure SetSeries(var NewNo: Code[20])

Parameters

Name Type Description
NewNo Code[20]

FilterSeries

Obsolete

This element will become obsolete from version 24.0. This method will be removed. There is no replacement.

[Obsolete(This method will be removed. There is no replacement.,24.0)]
procedure FilterSeries()

GetNextNo

Obsolete

This element will become obsolete from version 24.0. Please use method GetNextNo(Code[20]; Date) or PeekNextNo(Code[20]; UsageDate) in the codeunit "No. Series" or "No. Series - Batch" instead. GetNextNo(Code[20]; Date; Boolean) does not have the same behavior. Make sure to use the correct parameters.

[Obsolete(Please use method GetNextNo(Code[20]; Date) or PeekNextNo(Code[20]; UsageDate) in the codeunit "No. Series" or "No. Series - Batch" instead. GetNextNo(Code[20]; Date; Boolean) does not have the same behavior. Make sure to use the correct parameters.,24.0)]
procedure GetNextNo(NoSeriesCode: Code[20], SeriesDate: Date, ModifySeries: Boolean): Code[20]

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date
ModifySeries Boolean

Returns

Type Description
Code[20]

GetNextNo3

Obsolete

This element will become obsolete from version 21.0. Use DoGetNextNo() instead

[Obsolete(Use DoGetNextNo() instead,21.0)]
procedure GetNextNo3(NoSeriesCode: Code[20], SeriesDate: Date, ModifySeries: Boolean, NoErrorsOrWarnings: Boolean): Code[20]

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date
ModifySeries Boolean
NoErrorsOrWarnings Boolean

Returns

Type Description
Code[20]

DoGetNextNo

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

Gets the next number in a number series. If ModifySeries is set to true, the number series is incremented when getting the next number.

procedure DoGetNextNo(NoSeriesCode: Code[20], SeriesDate: Date, ModifySeries: Boolean, NoErrorsOrWarnings: Boolean): Code[20]

Parameters

Name Type Description
NoSeriesCode Code[20]

The identifier of the number series.

SeriesDate Date

The date of the number series. The default date is WorkDate.

ModifySeries Boolean

Set to true to increment the number series when getting the next number. Set to false if you want to manually increment the number series.

NoErrorsOrWarnings Boolean

Set to true to disable errors and warnings.

Returns

Type Description
Code[20]

The next number in the number series.

FindNoSeriesLine

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure FindNoSeriesLine(var NoSeriesLineResult: Record "No. Series Line", NoSeriesCode: Code[20], SeriesDate: Date): Boolean

Parameters

Name Type Description
NoSeriesLineResult Record "No. Series Line"
NoSeriesCode Code[20]
SeriesDate Date

Returns

Type Description
Boolean

IsCurrentNoSeriesLine

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure IsCurrentNoSeriesLine(NoSeriesLineIn: Record "No. Series Line"): Boolean

Parameters

Name Type Description
NoSeriesLineIn Record "No. Series Line"

Returns

Type Description
Boolean

TryGetNextNo

Obsolete

This element will become obsolete from version 24.0. Use PeekNextNo from codeunit "No. Series" instead.

[Obsolete(Use PeekNextNo from codeunit "No. Series" instead.,24.0)]
procedure TryGetNextNo(NoSeriesCode: Code[20], SeriesDate: Date): Code[20]

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date

Returns

Type Description
Code[20]

GetNextNo1

Obsolete

This element will become obsolete from version 21.0. Use SetParametersBeforeRun() instead

[Obsolete(Use SetParametersBeforeRun() instead,21.0)]
procedure GetNextNo1(NoSeriesCode: Code[20], SeriesDate: Date)

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date

SetParametersBeforeRun

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure SetParametersBeforeRun(NoSeriesCode: Code[20], SeriesDate: Date)

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date

GetNextNo2

Obsolete

This element will become obsolete from version 21.0. Use GetNextNoAfterRun() instead

[Obsolete(Use GetNextNoAfterRun() instead,21.0)]
procedure GetNextNo2(): Code[20]

Returns

Type Description
Code[20]

GetNextNoAfterRun

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure GetNextNoAfterRun(): Code[20]

Returns

Type Description
Code[20]

SaveNoSeries

Obsolete

This element will become obsolete from version 24.0. Use the SaveState method in the No. Series - Batch codeunit instead.

[Obsolete(Use the SaveState method in the No. Series - Batch codeunit instead.,24.0)]
procedure SaveNoSeries()

ClearNoSeriesLine

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure ClearNoSeriesLine()

SetNoSeriesLineFilter

Obsolete

This element will become obsolete from version 24.0. Please use the method GetNoSeriesLine on the "No. Series" and "No. Series - Batch" codeunits instead

[Obsolete(Please use the method GetNoSeriesLine on the "No. Series" and "No. Series - Batch" codeunits instead,24.0)]
procedure SetNoSeriesLineFilter(var NoSeriesLine: Record "No. Series Line", NoSeriesCode: Code[20], StartDate: Date)

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"
NoSeriesCode Code[20]
StartDate Date

IncrementNoText

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure IncrementNoText(var No: Code[20], IncrementByNo: Decimal)

Parameters

Name Type Description
No Code[20]
IncrementByNo Decimal

UpdateNoSeriesLine

Obsolete

This element will become obsolete from version 24.0. Please use the method from "No. Series - Setup" instead.

[Obsolete(Please use the method from "No. Series - Setup" instead.,24.0)]
procedure UpdateNoSeriesLine(var NoSeriesLine: Record "No. Series Line", NewNo: Code[20], NewFieldName: Text[100])

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"
NewNo Code[20]
NewFieldName Text[100]

CheckSalesDocNoGaps

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have dependencies to Sales. Please use the method in codeunit "IT - Report Management" instead

[Obsolete(The No. Series module cannot have dependencies to Sales. Please use the method in codeunit "IT - Report Management" instead,24.0)]
procedure CheckSalesDocNoGaps(MaxDate: Date)

Parameters

Name Type Description
MaxDate Date

CheckPurchDocNoGaps

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have dependencies to Purchases. Please use the method in codeunit "IT - Report Management" instead

[Obsolete(The No. Series module cannot have dependencies to Purchases. Please use the method in codeunit "IT - Report Management" instead,24.0)]
procedure CheckPurchDocNoGaps(MaxDate: Date)

Parameters

Name Type Description
MaxDate Date

GetNoSeriesWithCheck

Obsolete

This element will become obsolete from version 24.0. Use method LookupRelatedNoSeries in codeunit "No. Series" instead.

[Obsolete(Use method LookupRelatedNoSeries in codeunit "No. Series" instead.,24.0)]
procedure GetNoSeriesWithCheck(NewNoSeriesCode: Code[20], SelectNoSeriesAllowed: Boolean, CurrentNoSeriesCode: Code[20]): Code[20]

Parameters

Name Type Description
NewNoSeriesCode Code[20]
SelectNoSeriesAllowed Boolean
CurrentNoSeriesCode Code[20]

Returns

Type Description
Code[20]

SeriesHasRelations

Obsolete

This element will become obsolete from version 24.0. Use method HasRelatedSeries in codeunit "No. Series" instead.

[Obsolete(Use method HasRelatedSeries in codeunit "No. Series" instead.,24.0)]
procedure SeriesHasRelations(DefaultNoSeriesCode: Code[20]): Boolean

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]

Returns

Type Description
Boolean

ClearStateAndGetNextNo

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

procedure ClearStateAndGetNextNo(NoSeriesCode: Code[20]): Code[20]

Parameters

Name Type Description
NoSeriesCode Code[20]

Returns

Type Description
Code[20]

Events

OnObsoleteCheckSalesDocNoGaps

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have dependencies to Sales. Please use the method in codeunit "IT - Report Management" instead

[Obsolete(The No. Series module cannot have dependencies to Sales. Please use the method in codeunit "IT - Report Management" instead,24.0)]
[IntegrationEvent(False,False)]
local procedure OnObsoleteCheckSalesDocNoGaps(MaxDate: Date)

Parameters

Name Type Description
MaxDate Date

OnObsoleteCheckPurchDocNoGaps

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have dependencies to Purchases. Please use the method in codeunit "IT - Report Management" instead

[Obsolete(The No. Series module cannot have dependencies to Purchases. Please use the method in codeunit "IT - Report Management" instead,24.0)]
[IntegrationEvent(False,False)]
local procedure OnObsoleteCheckPurchDocNoGaps(MaxDate: Date)

Parameters

Name Type Description
MaxDate Date

OnBeforeCheckPurchDocNoGaps

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have dependencies to Sales. Please use the event in codeunit "IT - Report Management" instead

[Obsolete(The No. Series module cannot have dependencies to Sales. Please use the event in codeunit "IT - Report Management" instead,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPurchDocNoGaps(MaxDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
MaxDate Date
IsHandled Boolean

OnBeforeCheckSalesDocNoGaps

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have dependencies to Purchases. Please use the event in codeunit "IT - Report Management" instead

[Obsolete(The No. Series module cannot have dependencies to Purchases. Please use the event in codeunit "IT - Report Management" instead,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSalesDocNoGaps(MaxDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
MaxDate Date
IsHandled Boolean

OnAfterGetNextNo3

Obsolete

This element will become obsolete from version 24.0. This event is obsolete. Please use the extensibility options provided by the No. Series module.

[Obsolete(This event is obsolete. Please use the extensibility options provided by the No. Series module.,24.0)]
[IntegrationEvent(False,False)]
internal procedure OnAfterGetNextNo3(var NoSeriesLine: Record "No. Series Line", ModifySeries: Boolean)

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"
ModifySeries Boolean

OnAfterSaveNoSeries

Obsolete

This element will become obsolete from version 24.0. This event is no longer used. Please use the No. Series Batch codeunit instead.

[Obsolete(This event is no longer used. Please use the No. Series Batch codeunit instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterSaveNoSeries(var NoSeriesLine: Record "No. Series Line")

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"

OnAfterSaveNoSeriesSales

Obsolete

This element will become obsolete from version 24.0. The No. Series Line Sales table is obsolete. Please use the No. Series Line table instead.

[Obsolete(The No. Series Line Sales table is obsolete. Please use the No. Series Line table instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterSaveNoSeriesSales(var NoSeriesLineSales: Record "No. Series Line Sales")

Parameters

Name Type Description
NoSeriesLineSales Record "No. Series Line Sales"

OnAfterSetParametersBeforeRun

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

[IntegrationEvent(False,False)]
local procedure OnAfterSetParametersBeforeRun(var TryNoSeriesCode: Code[20], var TrySeriesDate: Date, var WarningNoSeriesCode: Code[20])

Parameters

Name Type Description
TryNoSeriesCode Code[20]
TrySeriesDate Date
WarningNoSeriesCode Code[20]

OnAfterSaveNoSeriesPurchase

Obsolete

This element will become obsolete from version 24.0. The No. Series Line Purchase table is obsolete. Please use the No. Series Line table instead.

[Obsolete(The No. Series Line Purchase table is obsolete. Please use the No. Series Line table instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterSaveNoSeriesPurchase(var NoSeriesLinePurchase: Record "No. Series Line Purchase")

Parameters

Name Type Description
NoSeriesLinePurchase Record "No. Series Line Purchase"

OnAfterTestManual

Obsolete

This element will become obsolete from version 24.0. This event will be removed. There is no replacement. Please use the extensibility options provided by the No. Series module.

[Obsolete(This event will be removed. There is no replacement. Please use the extensibility options provided by the No. Series module.,24.0)]
[IntegrationEvent(False,False)]
internal procedure OnAfterTestManual(DefaultNoSeriesCode: Code[20])

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]

OnBeforeGetNextNo

Obsolete

This element will become obsolete from version 24.0. This event is obsolete. Please use the extensibility options provided by the No. Series module.

[Obsolete(This event is obsolete. Please use the extensibility options provided by the No. Series module.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeGetNextNo(var NoSeriesCode: Code[20], var SeriesDate: Date, var ModifySeries: Boolean, var Result: Code[20], var IsHandled: Boolean, var NoSeriesLine: Record "No. Series Line")

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date
ModifySeries Boolean
Result Code[20]
IsHandled Boolean
NoSeriesLine Record "No. Series Line"

OnBeforeDoGetNextNo

Obsolete

This element will become obsolete from version 24.0. This event is obsolete. Please use the extensibility options provided by the No. Series module.

[Obsolete(This event is obsolete. Please use the extensibility options provided by the No. Series module.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeDoGetNextNo(var NoSeriesCode: Code[20], var SeriesDate: Date, var ModifySeries: Boolean, var NoErrorsOrWarnings: Boolean)

Parameters

Name Type Description
NoSeriesCode Code[20]
SeriesDate Date
ModifySeries Boolean
NoErrorsOrWarnings Boolean

OnBeforeModifyNoSeriesLine

Obsolete

This element will become obsolete from version 24.0. Please use the "No. Series" and "No. Series - Batch" codeunits instead

[IntegrationEvent(False,False)]
internal procedure OnBeforeModifyNoSeriesLine(var NoSeriesLine: Record "No. Series Line", var IsHandled: Boolean)

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"
IsHandled Boolean

OnBeforeUpdateNoSeriesLine

Obsolete

This element will become obsolete from version 24.0. This event is obsolete. Please use the extensibility options provided by the No. Series module.

[Obsolete(This event is obsolete. Please use the extensibility options provided by the No. Series module.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateNoSeriesLine(var NoSeriesLine: Record "No. Series Line", NewNo: Code[20], NewFieldName: Text[100], var IsHandled: Boolean)

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"
NewNo Code[20]
NewFieldName Text[100]
IsHandled Boolean

OnNoSeriesLineFilterOnBeforeFindLast

Obsolete

This element will become obsolete from version 24.0. Please use OnAfterSetNoSeriesCurrentLineFilters in the No. Series module instead.

[Obsolete(Please use OnAfterSetNoSeriesCurrentLineFilters in the No. Series module instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnNoSeriesLineFilterOnBeforeFindLast(var NoSeriesLine: Record "No. Series Line")

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"

OnAfterInitSeries

Obsolete

This element will become obsolete from version 24.0. This event will be removed. There is no replacement. Please use the No. Series module instead.

[Obsolete(This event will be removed. There is no replacement. Please use the No. Series module instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterInitSeries(var NoSeries: Record "No. Series", DefaultNoSeriesCode: Code[20], NewDate: Date, var NewNo: Code[20])

Parameters

Name Type Description
NoSeries Record "No. Series"
DefaultNoSeriesCode Code[20]
NewDate Date
NewNo Code[20]

OnBeforeFilterSeries

Obsolete

This element will become obsolete from version 24.0. This event will be removed. There is no replacement. Please use the No. Series module instead.

[Obsolete(This event will be removed. There is no replacement. Please use the No. Series module instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeFilterSeries(var NoSeries: Record "No. Series", NoSeriesCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
NoSeries Record "No. Series"
NoSeriesCode Code[20]
IsHandled Boolean

OnBeforeInitSeries

Obsolete

This element will become obsolete from version 24.0. This event will be removed. There is no replacement. Please use the No. Series module instead.

[Obsolete(This event will be removed. There is no replacement. Please use the No. Series module instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeInitSeries(var DefaultNoSeriesCode: Code[20], OldNoSeriesCode: Code[20], NewDate: Date, var NewNo: Code[20], var NewNoSeriesCode: Code[20], var NoSeries: Record "No. Series", var IsHandled: Boolean, var NoSeriesCode: Code[20])

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
OldNoSeriesCode Code[20]
NewDate Date
NewNo Code[20]
NewNoSeriesCode Code[20]
NoSeries Record "No. Series"
IsHandled Boolean
NoSeriesCode Code[20]

OnBeforeSelectSeries

Obsolete

This element will become obsolete from version 24.0. This event will be removed. Please use the Page trigger events instead.

[Obsolete(This event will be removed. Please use the Page trigger events instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeSelectSeries(var DefaultNoSeriesCode: Code[20], OldNoSeriesCode: Code[20], var NewNoSeriesCode: Code[20], var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
OldNoSeriesCode Code[20]
NewNoSeriesCode Code[20]
Result Boolean
IsHandled Boolean

OnSelectSeriesOnBeforePageRunModal

Obsolete

This element will become obsolete from version 24.0. This event will be removed. Please use the Page trigger events instead.

[Obsolete(This event will be removed. Please use the Page trigger events instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnSelectSeriesOnBeforePageRunModal(DefaultNoSeriesCode: Code[20], var NoSeries: Record "No. Series")

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
NoSeries Record "No. Series"

OnBeforeSaveNoSeries

Obsolete

This element will become obsolete from version 24.0. This event is no longer used. Please use the No. Series Batch codeunit instead.

[Obsolete(This event is no longer used. Please use the No. Series Batch codeunit instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeSaveNoSeries(var NoSeriesLine: Record "No. Series Line", var IsHandled: Boolean)

Parameters

Name Type Description
NoSeriesLine Record "No. Series Line"
IsHandled Boolean

OnBeforeTestManual

Obsolete

This element will become obsolete from version 24.0. This event will be removed. There is no replacement. Please use the No. Series module instead.

[Obsolete(This event will be removed. There is no replacement. Please use the No. Series module instead.,24.0)]
[IntegrationEvent(False,False)]
internal procedure OnBeforeTestManual(var DefaultNoSeriesCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
DefaultNoSeriesCode Code[20]
IsHandled Boolean

OnBeforeSetDefaultSeries

Obsolete

This element will become obsolete from version 24.0. This event will be removed. There is no replacement. Please use the No. Series module instead.

[Obsolete(This event will be removed. There is no replacement. Please use the No. Series module instead.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeSetDefaultSeries(var NewNoSeriesCode: Code[20], var NoSeriesCode: Code[20], var IsHandled: Boolean)

Parameters

Name Type Description
NewNoSeriesCode Code[20]
NoSeriesCode Code[20]
IsHandled Boolean

OnObsoleteSetNoSeriesLineSalesFilter

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have a dependency on Sales. Do not use this event.

[Obsolete(The No. Series module cannot have a dependency on Sales. Do not use this event.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnObsoleteSetNoSeriesLineSalesFilter(var NoSeriesLineSales: Record "No. Series Line Sales", NoSeriesCode: Code[20], StartDate: Date)

Parameters

Name Type Description
NoSeriesLineSales Record "No. Series Line Sales"
NoSeriesCode Code[20]
StartDate Date

OnObsoleteSetNoSeriesLinePurchaseFilter

Obsolete

This element will become obsolete from version 24.0. The No. Series module cannot have a dependency on Purchase. Do not use this event.

[Obsolete(The No. Series module cannot have a dependency on Purchase. Do not use this event.,24.0)]
[IntegrationEvent(False,False)]
local procedure OnObsoleteSetNoSeriesLinePurchaseFilter(var NoSeriesLinePurchase: Record "No. Series Line Purchase", NoSeriesCode: Code[20], StartDate: Date)

Parameters

Name Type Description
NoSeriesLinePurchase Record "No. Series Line Purchase"
NoSeriesCode Code[20]
StartDate Date

OnBeforeUpdateLine

Obsolete

This element will become obsolete from version 24.0. Temporary event for backwards compatibility. Do not use this event.

[Obsolete(Temporary event for backwards compatibility. Do not use this event.,24.0)]
[IntegrationEvent(False,False)]
internal procedure OnBeforeUpdateLine(var NoSeries: Record "No. Series", var StartDate: Date, var StartNo: Code[20], var EndNo: Code[20], var LastNoUsed: Code[20], var WarningNo: Code[20], var IncrementByNo: Integer, var LastDateUsed: Date, var Implementation: Enum "No. Series Implementation", var IsHandled: Boolean)

Parameters

Name Type Description
NoSeries Record "No. Series"
StartDate Date
StartNo Code[20]
EndNo Code[20]
LastNoUsed Code[20]
WarningNo Code[20]
IncrementByNo Integer
LastDateUsed Date
Implementation Microsoft.Foundation.NoSeries."No. Series Implementation"
IsHandled Boolean

See also