Module: Ruconomic::API::EmployeeGroup

Extended by:
WebService
Defined in:
lib/ruconomic/api/employee_group.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 an emplyee group. Parameters: number: Number of new employee group. name: Name of new employee group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



120
121
122
123
124
# 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/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 employee group from a data object. Parameters: data: The data object that specifies the properties of the new employee group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



12
13
14
15
16
# 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/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 employee groups from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new employee groups.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



24
25
26
27
28
# 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/ta/ruconomic#contributing"
  end
end

.deleteHash

Note:

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

Deletes an employee group. Parameters: Handle for employee group to be deleted.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



191
192
193
194
195
# 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/ta/ruconomic#contributing"
  end
end

.find_by_nameHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



167
168
169
170
171
# 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/ta/ruconomic#contributing"
  end
end

.find_by_numberHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



143
144
145
146
147
# 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/ta/ruconomic#contributing"
  end
end

.find_by_number_listHash

Note:

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

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.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



155
156
157
158
159
# 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/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 employee groups.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



131
132
133
134
135
# 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/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

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

Returns a employee group data object for a given debtor. Parameters: entityHandle: A handle for the employee group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



60
61
62
63
64
# 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/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

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

Returns employee group data objects for a given set of employee group handles. Parameters: entityHandles: An array of the employee group handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



72
73
74
75
76
# 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/ta/ruconomic#contributing"
  end
end

.get_employeesHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



179
180
181
182
183
# 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/ta/ruconomic#contributing"
  end
end

.get_nameHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



96
97
98
99
100
# 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/ta/ruconomic#contributing"
  end
end

.get_numberHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



84
85
86
87
88
# 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/ta/ruconomic#contributing"
  end
end

.set_nameHash

Note:

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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



108
109
110
111
112
# 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/ta/ruconomic#contributing"
  end
end

.update_from_dataHash

Note:

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

Updates an employee group from a data object. Parameters: data: The data object.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



48
49
50
51
52
# 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/ta/ruconomic#contributing"
  end
end

.update_from_data_arrayHash

Note:

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

Update employee groups from data objects. Parameters: dataArray: The array of data objects.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



36
37
38
39
40
# 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/ta/ruconomic#contributing"
  end
end