module Ruconomic::API::EmployeeGroup

Public Class Methods

create() click to toggle source

Creates an emplyee group. Parameters: number: Number of new employee group. name: Name of new employee group.

@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=EmployeeGroup_Create @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 120
def self.create
  response = invoke('EmployeeGroup_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 employee group from a data object. Parameters: data: The data object that specifies the properties of the new employee group.

@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=EmployeeGroup_CreateFromData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 12
def self.create_from_data
  response = invoke('EmployeeGroup_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 employee groups from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new employee groups.

@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=EmployeeGroup_CreateFromDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 24
def self.create_from_data_array
  response = invoke('EmployeeGroup_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 an employee group. Parameters: Handle for employee group to be deleted.

@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=EmployeeGroup_Delete @return [Hash] The body content of the SOAP response.

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

Returns handles for employee groups with a given name. Parameters: name: The name to search for.

@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=EmployeeGroup_FindByName @return [Hash] The body content of the SOAP response.

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

Returns handle for employee group with a given number. Parameters: number: The number to search for.

@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=EmployeeGroup_FindByNumber @return [Hash] The body content of the SOAP response.

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

Returns an array with handles for the products corresponding to the given product numbers. If a product with a given number does not exist then the array contains nothing at that index. Parameters: numbers: The numbers to search for.

@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=EmployeeGroup_FindByNumberList @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 155
def self.find_by_number_list
  response = invoke('EmployeeGroup_FindByNumberList') 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

Returns handles for all employee groups.

@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=EmployeeGroup_GetAll @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 131
def self.get_all
  response = invoke('EmployeeGroup_GetAll') 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 employee group data object for a given debtor. Parameters: entityHandle: A handle for the employee group.

@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=EmployeeGroup_GetData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 60
def self.get_data
  response = invoke('EmployeeGroup_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 employee group data objects for a given set of employee group handles. Parameters: entityHandles: An array of the employee group 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=EmployeeGroup_GetDataArray @return [Hash] The body content of the SOAP response.

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

Gets handles for employees in an employee group. Parameters: employeeGroupHandle: Handle for the employee group.

@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=EmployeeGroup_GetEmployees @return [Hash] The body content of the SOAP response.

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

Gets the name of an employee group. Parameters: employeeGroupHandle: Handle for the employee group.

@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=EmployeeGroup_GetName @return [Hash] The body content of the SOAP response.

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

Gets the number of an employee group. Parameters: employeeGroupHandle: Handle for the employee group.

@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=EmployeeGroup_GetNumber @return [Hash] The body content of the SOAP response.

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

Sets the name of an employee group. Parameters: employeeGroupHandle: Handle for the employee group. value: The new name of the employee group.

@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=EmployeeGroup_SetName @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 108
def self.set_name
  response = invoke('EmployeeGroup_SetName') 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 an employee group 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=EmployeeGroup_UpdateFromData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/employee_group.rb, line 48
def self.update_from_data
  response = invoke('EmployeeGroup_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 employee groups 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=EmployeeGroup_UpdateFromDataArray @return [Hash] The body content of the SOAP response.

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