module Ruconomic::API::BudgetFigure

Public Class Methods

create() click to toggle source

Creates a new budget figure. Parameters: account: The account of the budget figure text: The text of the budget figure fromDate: The start date of the budget figure. toDate: The end date of the budget figure. amountDefaultCurrency: The amount in the default currency of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_Create @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 240
def self.create
  response = invoke('BudgetFigure_Create') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
create_from_data() click to toggle source

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

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_CreateFromData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 287
def self.create_from_data
  response = invoke('BudgetFigure_CreateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
create_from_data_array() click to toggle source

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

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_CreateFromDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 299
def self.create_from_data_array
  response = invoke('BudgetFigure_CreateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
delete() click to toggle source

Deletes a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_Delete @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 252
def self.delete
  response = invoke('BudgetFigure_Delete') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
find_by_date() click to toggle source

Returns an array with handles for the budget figures within a time interval. Parameters: fromDate: First day in the interval. toDate: Last day in the interval.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_FindByDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 275
def self.find_by_date
  response = invoke('BudgetFigure_FindByDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_account() click to toggle source

Get handle for account of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetAccount @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 36
def self.get_account
  response = invoke('BudgetFigure_GetAccount') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_all() click to toggle source

Return handles for all budget figures.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetAll @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 263
def self.get_all
  response = invoke('BudgetFigure_GetAll') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_amount_default_currency() click to toggle source

Gets the amount of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetAmountDefaultCurrency @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 120
def self.get_amount_default_currency
  response = invoke('BudgetFigure_GetAmountDefaultCurrency') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data() click to toggle source

Returns a budget figure data object for a given budgetfigure. Parameters: entityHandle: A handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 335
def self.get_data
  response = invoke('BudgetFigure_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data_array() click to toggle source

Returns budget figure data objects for a given set of budget figure handles. Parameters: entityHandles: An array of budget figure handles.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 12
def self.get_data_array
  response = invoke('BudgetFigure_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_department() click to toggle source

Gets a handle for the department of a budget figure. The department is only accessible when there is access to the Dimension add-on module. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetDepartment @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 204
def self.get_department
  response = invoke('BudgetFigure_GetDepartment') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_distribution_key() click to toggle source

Gets a handle for the distribution key of a budget figure. The distribution key is only accessible when there is access to the Dimension add-on module. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetDistributionKey @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 228
def self.get_distribution_key
  response = invoke('BudgetFigure_GetDistributionKey') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_from_date() click to toggle source

Gets the fromdate of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetFromDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 72
def self.get_from_date
  response = invoke('BudgetFigure_GetFromDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_quantity1() click to toggle source

Gets the quantity1 of a budget figure. The quantity1 is only accessible when there is access to the Dimension add-on module. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetQuantity1 @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 156
def self.get_quantity1
  response = invoke('BudgetFigure_GetQuantity1') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_quantity2() click to toggle source

Gets the quantity2 of a budget figure. The quantity2 is only accessible when there is access to the Dimension add-on module. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetQuantity2 @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 168
def self.get_quantity2
  response = invoke('BudgetFigure_GetQuantity2') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_text() click to toggle source

Gets the text of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetText @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 60
def self.get_text
  response = invoke('BudgetFigure_GetText') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_to_date() click to toggle source

Gets the todate of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetToDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 108
def self.get_to_date
  response = invoke('BudgetFigure_GetToDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_unit1() click to toggle source

Gets a handle for the unit1 of a budget figure. The unit1 is only accessible when there is access to the Dimension add-on module. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetUnit1 @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 132
def self.get_unit1
  response = invoke('BudgetFigure_GetUnit1') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_unit2() click to toggle source

Gets a handle for the unit2 of a budget figure. The unit2 is only accessible when there is access to the Dimension add-on module. Parameters: budgetfigureHandle: Handle for the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_GetUnit2 @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 144
def self.get_unit2
  response = invoke('BudgetFigure_GetUnit2') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_account() click to toggle source

Set the account of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure. valueHandle: New handle for new account of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetAccount @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 24
def self.set_account
  response = invoke('BudgetFigure_SetAccount') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_amount_default_currency() click to toggle source

Sets the amount of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure. value: The new amount of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetAmountDefaultCurrency @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 180
def self.set_amount_default_currency
  response = invoke('BudgetFigure_SetAmountDefaultCurrency') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_department() click to toggle source

Sets the department of a budget figure. The department is only accessible when there is access to the Dimension add-on module. The department cannot be set when the distribution key is set. Parameters: budgetfigureHandle: Handle for the budget figure. value: Handle for the new department of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetDepartment @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 192
def self.set_department
  response = invoke('BudgetFigure_SetDepartment') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_distribution_key() click to toggle source

Sets the distribution key of a budget figure. The distribution key is only accessible when there is access to the Dimension add-on module. The distribution key cannot be set when the department is set. Parameters: budgetfigureHandle: Handle for the budget figure. value: Handle for the new distribution key of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetDistributionKey @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 216
def self.set_distribution_key
  response = invoke('BudgetFigure_SetDistributionKey') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_from_date() click to toggle source

Sets the fromdate of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure. value: The new fromdate of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetFromDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 84
def self.set_from_date
  response = invoke('BudgetFigure_SetFromDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_text() click to toggle source

Sets the text of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure. value: The new text of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetText @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 48
def self.set_text
  response = invoke('BudgetFigure_SetText') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
set_to_date() click to toggle source

Sets the todate of a budget figure. Parameters: budgetfigureHandle: Handle for the budget figure. value: The new todate of the budget figure.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_SetToDate @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 96
def self.set_to_date
  response = invoke('BudgetFigure_SetToDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
update_from_data() click to toggle source

Updates a budget figure from a data object. Parameters: data: The data object.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_UpdateFromData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 323
def self.update_from_data
  response = invoke('BudgetFigure_UpdateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
update_from_data_array() click to toggle source

Update budget figures from data objects. Parameters: dataArray: The array of data objects.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=BudgetFigure_UpdateFromDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/budget_figure.rb, line 311
def self.update_from_data_array
  response = invoke('BudgetFigure_UpdateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end