Module: Ruconomic::API::Employee

Extended by:
WebService
Defined in:
lib/ruconomic/api/employee.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 employee. Parameters: number: The number of the new employee. group: Handle for the group of the new employee. name: The name of the new employee.


367
368
369
370
371
# File 'lib/ruconomic/api/employee.rb', line 367

def self.create
  response = invoke('Employee_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 from a data object. Parameters: data: The data object that specifies the properties of the new employee.


224
225
226
227
228
# File 'lib/ruconomic/api/employee.rb', line 224

def self.create_from_data
  response = invoke('Employee_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 employees from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new employees.


236
237
238
239
240
# File 'lib/ruconomic/api/employee.rb', line 236

def self.create_from_data_array
  response = invoke('Employee_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. Parameters: employeeHandle: Handle for the employee.


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

def self.delete
  response = invoke('Employee_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 employees with a given name. Parameters: name: The name to search for.


413
414
415
416
417
# File 'lib/ruconomic/api/employee.rb', line 413

def self.find_by_name
  response = invoke('Employee_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

The returns handle for the employee with a given number.<br >Parameters: The number to search for.


389
390
391
392
393
# File 'lib/ruconomic/api/employee.rb', line 389

def self.find_by_number
  response = invoke('Employee_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 employees corresponding to the given product numbers. If an employee with a given number does not exist then the array contains nothing at that index. Parameters: numbers: The numbers to search for.


401
402
403
404
405
# File 'lib/ruconomic/api/employee.rb', line 401

def self.find_by_number_list
  response = invoke('Employee_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 employees.


378
379
380
381
382
# File 'lib/ruconomic/api/employee.rb', line 378

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

.get_cost_priceHash

Note:

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

Get costprice for a given employee on the current date.


70
71
72
73
74
# File 'lib/ruconomic/api/employee.rb', line 70

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

.get_cost_price_afterHash

Note:

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

Gets the cost price after of an employee. Parameters: employeeHandle: Handle for the employee. value: The new cost price after of the employee. The value may be null.


164
165
166
167
168
# File 'lib/ruconomic/api/employee.rb', line 164

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

.get_cost_price_beforeHash

Note:

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

Gets the cost price before of an employee. Parameters: employeeHandle: Handle for the employee. value: The new cost price before of the employee. The value may be null.


152
153
154
155
156
# File 'lib/ruconomic/api/employee.rb', line 152

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

.get_cost_price_by_dateHash

Note:

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

Gets the cost price for the given Employee.<br/>Parameters: employeeHandle: Handle for the employee. date: The cost price from the given date for the employee.


92
93
94
95
96
# File 'lib/ruconomic/api/employee.rb', line 92

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

.get_cutoff_dateHash

Note:

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

Gets the cutoff date of an employee. Parameters: employeeHandle: Handle for the employee.


212
213
214
215
216
# File 'lib/ruconomic/api/employee.rb', line 212

def self.get_cutoff_date
  response = invoke('Employee_GetCutoffDate') 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 employee data object for a given employee. Parameters: entityHandle: A handle for the employee.


272
273
274
275
276
# File 'lib/ruconomic/api/employee.rb', line 272

def self.get_data
  response = invoke('Employee_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 data objects for a given set of employee handles. Parameters: entityHandles: An array of the employee handles.


284
285
286
287
288
# File 'lib/ruconomic/api/employee.rb', line 284

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

.get_groupHash

Note:

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

Gets handle for the group of an employee. Parameters: employeeHandle: Handle for the employee.


319
320
321
322
323
# File 'lib/ruconomic/api/employee.rb', line 319

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

.get_mileage_entries_by_dateHash

Note:

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

Gets handles for the mileage entries of the employee within an interval. Parameters: from: First day in interval. to: Last day in interval.


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

def self.get_mileage_entries_by_date
  response = invoke('Employee_GetMileageEntriesByDate') 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 name of an employee. Parameters: employeeHandle: Handle for the employee.


343
344
345
346
347
# File 'lib/ruconomic/api/employee.rb', line 343

def self.get_name
  response = invoke('Employee_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. Parameters: employeeHandle: Handle for the employee.


307
308
309
310
311
# File 'lib/ruconomic/api/employee.rb', line 307

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

.get_sales_priceHash

Note:

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

Get sales price for a given employee on the current date.


59
60
61
62
63
# File 'lib/ruconomic/api/employee.rb', line 59

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

.get_sales_price_afterHash

Note:

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

Gets the sales price after of an employee. Parameters: employeeHandle: Handle for the employee.


188
189
190
191
192
# File 'lib/ruconomic/api/employee.rb', line 188

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

.get_sales_price_beforeHash

Note:

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

Gets the sales price before of an employee. Parameters: employeeHandle: Handle for the employee.


176
177
178
179
180
# File 'lib/ruconomic/api/employee.rb', line 176

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

.get_sales_price_by_dateHash

Note:

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

Gets the sales price for the given Employee.<br/>Parameters: employeeHandle: Handle for the employee. date: The sales price from the given date for the employee.


81
82
83
84
85
# File 'lib/ruconomic/api/employee.rb', line 81

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

.get_time_entriesHash

Note:

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

Gets handles for the time entries of the employee. Parameters: employeeHandle: Handle for the employee.


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

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

.get_time_entries_by_dateHash

Note:

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

Gets handles for the time entries of the employee within an interval. Parameters: from: First day in interval. to: Last day in interval.


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

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

.get_typeHash

Note:

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

Retrieve the type of an employee as the enum EmployeeType.


295
296
297
298
299
# File 'lib/ruconomic/api/employee.rb', line 295

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

.set_cost_price_afterHash

Note:

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

Sets the cost price after of an employee. Parameters: employeeHandle: Handle for the employee. value: The new cost price after of the employee. The value may be null.


116
117
118
119
120
# File 'lib/ruconomic/api/employee.rb', line 116

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

.set_cost_price_beforeHash

Note:

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

Sets the cost price before of an employee. Parameters: employeeHandle: Handle for the employee. value: The new cost price before of the employee. The value may be null.


104
105
106
107
108
# File 'lib/ruconomic/api/employee.rb', line 104

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

.set_cutoff_dateHash

Note:

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

Sets the cutoff date of an employee. Parameters: employeeHandle: Handle for the employee. value: The cutoff date for the employee. The value may be null.


200
201
202
203
204
# File 'lib/ruconomic/api/employee.rb', line 200

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

.set_groupHash

Note:

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

Sets handle for the group of an employee. Parameters: employeeHandle: Handle for the employee. valueHandle: Handle for new group of the employee.


331
332
333
334
335
# File 'lib/ruconomic/api/employee.rb', line 331

def self.set_group
  response = invoke('Employee_SetGroup') 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 name of an employee. Parameters: employeeHandle: Handle for the employee. value: The new name of the employee. The value may not be null.


355
356
357
358
359
# File 'lib/ruconomic/api/employee.rb', line 355

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

.set_sales_price_afterHash

Note:

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

Sets the sales price after of an employee. Parameters: employeeHandle: Handle for the employee. value: The new sales price after of the employee. The value may be null.


140
141
142
143
144
# File 'lib/ruconomic/api/employee.rb', line 140

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

.set_sales_price_beforeHash

Note:

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

Sets the sales price before of an employee. Parameters: employeeHandle: Handle for the employee. value: The new sales price before of the employee. The value may be null.


128
129
130
131
132
# File 'lib/ruconomic/api/employee.rb', line 128

def self.set_sales_price_before
  response = invoke('Employee_SetSalesPriceBefore') 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 from a data object. Parameters: data: The data object.


260
261
262
263
264
# File 'lib/ruconomic/api/employee.rb', line 260

def self.update_from_data
  response = invoke('Employee_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 employees from data objects. Parameters: dataArray: The array of data objects.


248
249
250
251
252
# File 'lib/ruconomic/api/employee.rb', line 248

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