Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual
Page 238

FactoryTalk EnergyMetrix Software
238
Properties
Methods
Usage
Fiscal Calendar Listing on page 282
in Sample MPR Scripts for usage examples.
Fiscal Months Collection
The FiscalMonths object is a collection of FiscalMonth objects. The FiscalMonths and
FiscalMonth objects provide an easy way for MPR script code to process data in fiscal
month periods.
Instancing
The FiscalMonths object is not a creatable object.
Accessing
The Report object automatically creates one FiscalMonths object (accessible by using the
Report.FiscalMonths property).
Properties
Property
R/W
Description
FiscalYearNumber As
Integer
R
The fiscal year number (2009)
FiscalMonthNumber As
Integer
R
The fiscal month number (1…12)
StartDate As DateTime
R
The starting date of the fiscal month (9/28/2009
00:00:00)
EndDate As DateTime
R
The ending date of the fiscal month (10/4/2010
00:00:00)
Method
Description
AddFiscalMonths(int
numFiscalMonths) As
FiscalMonth
Gets the fiscal month object for the fiscal month specified as an offset
from the current fiscal month object. Returns value of Nothing if
there is no fiscal month configured for that period.
Property
R/W
Description
FiscalMonths(index)
As FiscalMonth
R
Collection of FiscalYear objects that represent the report
date range in periods of fiscal years