Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual
Page 239

9
•
ReportsPlus
239
Fiscal Quarter Object
The FiscalQuarter object represents one fiscal quarter.
Instancing
The FiscalQuarter object is not a creatable object
Accessing
Each FiscalQuarter object is accessed via the FiscalQuarters collection
Properties
Methods
Fiscal Quarters Collection
The FiscalQuarters object is a collection of FiscalQuarter objects. The FiscalQuarters and
FiscalQuarter objects provide an easy way for MPR script code to process data in fiscal
quarter periods.
Instancing
The FiscalQuarters object is not a creatable object.
Accessing
The Report object automatically creates one FiscalQuarters object (accessible by using the
Report.FiscalQuarters property).
Property
R/W
Description
FiscalYearNumber As Integer
R
The fiscal year number (2009).
FiscalQuarterNumber As
Integer
R
The fiscal quarter number (1…4).
StartDate As DateTime
R
The starting date of the fiscal quarter
(9/28/2009 00:00:00)
EndDate As DateTime
R
The ending date of the fiscal quarter
(1/4/2010 00:00:00)
Method
Description
AddFiscalQuarters(int
numFiscalQuarters) As
FiscalQuarter
Gets the fiscal year object for the fiscal year specified as an
offset from the current fiscal year object. Returns null if
there is no fiscal year configured for that period.