Description: Returns a list of time periods for the entity currently open in the HSFWebService.
Prerequisites: CreateSession(), OpenServer(), OpenDatabase() and OpenEntity().
Visual Basic
Public Function EnumTimePeriods( _ ByVal sessionID As String _ ) As DataSet
C#
public DataSet EnumTimePeriods( string sessionID )
C++
public: DataSet EnumTimePeriods( String sessionID ) sealed
JScript
public function EnumTimePeriods( sessionID : String ) : DataSet
Table 25. EnumTimePeriods Parameters
| Parameter | Data Type | Description |
|---|---|---|
| sessionID | string | A session identifier |
DataSet
Table 26. EnumTimePeriods DataSet
| Parameter | Data Type | Description |
|---|---|---|
| ID | string | Time Period ID |
| ParentID | string | Pointer to parent Time Period, if it exists |
| Name | string | Time Period name |
| IsParent | bool | Indicates if the time period is a parent:
|
| IsInput | bool | Indicates if ?:
|
See IncomeStatement.aspx.