beautypg.com

Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 241

background image

9

ReportsPlus

241

Properties

Fiscal Year Object

The FiscalYear object represents one fiscal year.

Instancing

The FiscalYear object is not a creatable object

Accessing

Each FiscalYear object is accessed via the FiscalYears collection

Properties

Methods

Fiscal Years Collection

The FiscalYears object is a collection of FiscalYear objects. The FiscalYears and
FiscalYear objects provide an easy way for MPR script code to process data in fiscal year
periods.

Instancing

The FiscalYears object is not a creatable object.

Accessing

The Report object automatically creates one FiscalYears object (accessible by using the
Report.FiscalYears property).

Property

R/W

Description

FiscalWeeks(index) As
FiscalWeek

R

Collection of FiscalYear objects that represent
the report date range in periods of fiscal years

Property

R/W

Description

FiscalYearNumber As
Integer

R

The fiscal year number (2009)

StartDate As DateTime

R

The starting date of the fiscal year (9/28/2009
00:00:00)

EndDate As DateTime

R

The ending date of the fiscal year (10/4/2010 00:00:00)

Method

Description

AddFiscalYears(int
numFiscalYears) As
FiscalYear

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.