The MsDateAutoPeriodOptions enumeration is used to determine the condition, by which period start and end dates are calculated.
It is used by the following properties:
Value | Brief description |
0 | None. It resets the conditions that specify calculation period. |
1 | StartByFact. Period start date is determined by actual data. |
2 | EndByFact. Period end date is determined by actual data. |
3 | AllByFact. Combination of StartByFact and EndByFact. |
4 | StartByEnd. Period start date is determined by period end date. |
8 | EndByStart. Period end date is determined by period start date. |
16 | EndByFactStart. Period end date is determined by actual data start date. |
32 | StartAsNow. Period start date is equal to the current date. |
64 | EndAsNow. Period end date is equal to the current date. |
68 | UseNowAndEndOffsets. Combination of EndAsNow and StartByEnd plus offset by the specified number of periods. |
96 | UseNowAndOffsets. Combination of EndAsNow and StartAsNow plus offset by the specified number of periods. |
128 | StartByOwner. Period start date is determined by period start date of calculated object owner. |
256 | EndByOwner. Period end date is determined by period end date of calculated object owner. |
384 | AllByOwner. Combination of StartByOwner and EndByOwner. |
Enumeration values can be combined. To do this, specify the required values through the Or operator.
See also: