Previous Topic

Next Topic

AddPeriod - MaxBasic Function

AddPeriod(PeriodID: Number, Offset: Number, [Financial: Boolean]): Number

Adds Offset to PeriodID. Offset can be either positive or negative.

The optional boolean parameter Financial is True by default, and restricts periods considered to Financial Periods only (excludes Adjustment periods). If specified as False then all periods including Adjustment periods are considered.

AddPeriod function syntax has these named arguments:

Parameter

Description

Period ID

Required. Period ID to be added to.

Offset

Required. Offset to be added to Period ID.

Financial

Optional. If True, only financial periods are considered. If False, all periods including adjustment periods are considered.

See also the SQL AddPeriod function, and the Web Services AddPeriod function.

See Also

Period Functions

Book Contents

Book Index