EnumAccounts

Description: Returns a list of accounts for the entity currently open in the HSFWebService.

Prerequisites: CreateSession(), OpenServer(), OpenDatabase() and OpenEntity().

Syntax

  • Visual Basic

    Public Function EnumAccounts( _ 
       ByVal sessionID As String _ 
    ) As DataSet
  • C#

    public DataSet EnumAccounts(
       string sessionID
    )
  • C++

    public:
     DataSet EnumAccounts(
       String sessionID
    ) sealed 
  • JScript

    public  function EnumAccounts(
       sessionID : String
    ) : DataSet

Parameters

Table 19. EnumAccounts Parameters

ParameterData TypeDescription
sessionIDstringA session identifier

Returns

DataSet

Table 20. EnumAccounts DataSet

ParameterData TypeDescription
IDstringAccount ID
NamestringAccount name
NumberstringAccount number
IsInputbooleanIndicates if the account is an input or an output:
  • true

    Input account

  • false

    Output account

Example

See IncomeStatement.aspx.