Calendars Tags
The calendars tags specify which calendars are used while processing the Measure Factory. You can set these tags to create standard, custom, and fiscal calendars. The first calendar declared in the factory configuration script becomes the default calendar in DivePort QuickViews, unless the default-calendar tag is used.
For example:
calendars { calendar "Standard" calendar "Fiscal" type="Offset July" default-calendar "Fiscal" }
NOTE: Calendars defined in the factory configuration file are used by DivePort only. If you want to use the factory data in ProDiver with a fiscal calendar, you need to use ProDiver calendar features.
Calendars Tags
Tags | Examples | Notes |
---|---|---|
calendars |
calendars { calendar "Standard" calendar "Fiscal" type="offset July" default-calendar "Standard" } |
Defines the container tag for calendar and related tags. |
calendar |
calendar "Standard" |
Defines a calendar to use for this Measure Factory. When there are multiple calendars, the first one declared becomes the default for calendar QuickViews on DivePort pages, unless the default-calendar tag is used. TIP: To declare a standard calendar with a different name, use: calendar "<my name>" type="Standard" |
label |
calendar "Standard" label="Jan-Dec" | Defines a label for the calendar. This tag is deprecated. |
type |
calendar "Fiscal" type="Offset October" |
Defines the type of calendar. |
file |
calendar "Custom" file="custom-calendar.cbase" calendar "Last 12 Periods" file="payroll_r12.calendar" |
Defines the calendar from a file. |
default-calendar |
default-calendar "iso 8601" | Defines the default calendar. |