AddNewYear([YearName: String [,PeriodStyle: String [, PlusAdjustment: Boolean [, InitialStatus: String [, StartDate: Date [, EndDate: Date , [NumPeriods: Number]]]]]]])
Add a new year of periods.
AddNewYear function syntax has these named arguments:
Parameter |
Description |
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
YearName |
Optional. Name for the added year. Defaults to "Year ending MMM YYYY". |
||||||||||||||||||||
PeriodStyle |
Optional. Period style for the added year. Defaults to the Period Style in Company Settings.
|
||||||||||||||||||||
PlusAdjustment |
Optional. Defaults to the Period Style in Company Settings. |
||||||||||||||||||||
InitialStatus |
Optional.
|
||||||||||||||||||||
StartDate |
Optional. Will only be used by the function if it is a new company i.e no existing periods. |
||||||||||||||||||||
EndDate |
Optional. Will only be used if PeriodStyle is Custom. |
||||||||||||||||||||
NumPeriods |
Optional. Will only be used if PeriodStyle is Custom. |
Usage:
AddNewYear("YearEnding Custom", "1", True, "O")
or
AddNewYear