Module: Ruconomic::API::AccountingYear

Extended by:
WebService
Defined in:
lib/ruconomic/api/accounting_year.rb

Class Method Summary collapse

Class Method Details

.createHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates a new accounting year. Parameters: fromDate: The from date of the new accounting year. toDate: The to date of the new accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


107
108
109
110
111
# File 'lib/ruconomic/api/accounting_year.rb', line 107

def self.create
  response = invoke('AccountingYear_Create') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.create_from_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates a new AccountingYear from a data object. Parameters: data: The data object that specifies the properties of the new AccountingYear.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


12
13
14
15
16
# File 'lib/ruconomic/api/accounting_year.rb', line 12

def self.create_from_data
  response = invoke('AccountingYear_CreateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.create_from_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates new AccountingYear from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new AccountingYear.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


24
25
26
27
28
# File 'lib/ruconomic/api/accounting_year.rb', line 24

def self.create_from_data_array
  response = invoke('AccountingYear_CreateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.deleteHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Deletes an accounting year. Parameters: accountingYearHandle: Handle for the accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


119
120
121
122
123
# File 'lib/ruconomic/api/accounting_year.rb', line 119

def self.delete
  response = invoke('AccountingYear_Delete') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns an array of handles for the accounting years within the given time interval. Parameters: fromDate: First day in interval. toDate: Last day in interval.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


142
143
144
145
146
# File 'lib/ruconomic/api/accounting_year.rb', line 142

def self.find_by_date
  response = invoke('AccountingYear_FindByDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_allHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for all accounting years.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


130
131
132
133
134
# File 'lib/ruconomic/api/accounting_year.rb', line 130

def self.get_all
  response = invoke('AccountingYear_GetAll') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns an AccountingYear data object for a given accounting year. Parameters: accountingYearHandle: A handle for the accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


36
37
38
39
40
# File 'lib/ruconomic/api/accounting_year.rb', line 36

def self.get_data
  response = invoke('AccountingYear_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns AccountingYear data objects for a given set of accounting year handles. Parameters: accountingYearHandles: An array of the accounting year handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


48
49
50
51
52
# File 'lib/ruconomic/api/accounting_year.rb', line 48

def self.get_data_array
  response = invoke('AccountingYear_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_from_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the from-date of the accounting year. Parameters: accountingYearHandle: Handle for the accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


72
73
74
75
76
# File 'lib/ruconomic/api/accounting_year.rb', line 72

def self.get_from_date
  response = invoke('AccountingYear_GetFromDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_is_closedHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the isClosed boolean of the accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


95
96
97
98
99
# File 'lib/ruconomic/api/accounting_year.rb', line 95

def self.get_is_closed
  response = invoke('AccountingYear_GetIsClosed') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_periodsHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for all accounting periods.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


153
154
155
156
157
# File 'lib/ruconomic/api/accounting_year.rb', line 153

def self.get_periods
  response = invoke('AccountingYear_GetPeriods') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_to_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the to-date of the accounting year. Parameters: accountingYearHandle: Handle for the accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


84
85
86
87
88
# File 'lib/ruconomic/api/accounting_year.rb', line 84

def self.get_to_date
  response = invoke('AccountingYear_GetToDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_yearHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the year of an accounting year. Parameters: accountingYearHandle: Handle for the accounting year.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


60
61
62
63
64
# File 'lib/ruconomic/api/accounting_year.rb', line 60

def self.get_year
  response = invoke('AccountingYear_GetYear') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end