Table of Contents

Codeunit "Cross-Company No. Series"

ID 283
Namespace: Microsoft.Foundation.NoSeries

Provides an interface for interacting with Tenant No. Series. These No. Series are cross-company and used for cross-company functionality For per-company functionality, see No. Series.

Properties

Name Value
InherentEntitlements X
InherentPermissions X

Methods

CreateNoSeries

Creates a new cross-company No. Series

procedure CreateNoSeries(NoSeriesCode: Code[10], NoSeriesDescription: Text[50], LastUsedNo: Code[10])

Parameters

Name Type Description
NoSeriesCode Code[10]

The new No. Series code.

NoSeriesDescription Text[50]

The new No. Series description.

LastUsedNo Code[10]

The last used number from the No. Series. The first number retrieved will be this number increased by one.

GetNextNo

Gets the next available number for the given cross-company No. Series

procedure GetNextNo(NoSeriesTenant: Record "No. Series Tenant"): Code[20]

Parameters

Name Type Description
NoSeriesTenant Table Microsoft.Foundation.NoSeries."No. Series Tenant"

The No. Series to get the next number from.

Returns

Type Description
Code[20]

The next number.

GetNextNo

Gets the next available number for the given cross-company No. Series

procedure GetNextNo(NoSeriesCode: Code[10]): Code[20]

Parameters

Name Type Description
NoSeriesCode Code[10]

Code for the No. Series Tenant to use.

Returns

Type Description
Code[20]

The next number.

Exists

Checks if the given cross-company No. Series exists

procedure Exists(NoSeriesCode: Code[10]): Boolean

Parameters

Name Type Description
NoSeriesCode Code[10]

Code for the No. Series Tenant to use.

Returns

Type Description
Boolean

Whether the No. Series exist.

See also