AddPeriod(PeriodID=Number,Offset=Number,[Financial=Boolean]): Number
AddPeriod Web Service Function adds Offset amount 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 Web Service Functions for sample code to access Web Services. Sample web service end point syntax is:
Response = MakeCall("AddPeriod(PeriodID=102,Offset=-12,Financial=True)")
See also the MaxBasic AddPeriod function and the SQL AddPeriod function.