Module: Ruconomic::API::CurrentInvoiceLine

Extended by:
WebService
Defined in:
lib/ruconomic/api/current_invoice_line.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 current invoice line. Parameters: invoiceHandle: Handle for a current invoice.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


396
397
398
399
400
# File 'lib/ruconomic/api/current_invoice_line.rb', line 396

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


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

def self.create_from_data_array
  response = invoke('CurrentInvoiceLine_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 a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


432
433
434
435
436
# File 'lib/ruconomic/api/current_invoice_line.rb', line 432

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

.find_by_productHash

Note:

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

Returns handles for current invoice lines that uses a given products. Parameters: product: The product to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


408
409
410
411
412
# File 'lib/ruconomic/api/current_invoice_line.rb', line 408

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

.find_by_product_listHash

Note:

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

Returns handles for current invoice lines that uses a given set of products. Parameters: products: The products to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


420
421
422
423
424
# File 'lib/ruconomic/api/current_invoice_line.rb', line 420

def self.find_by_product_list
  response = invoke('CurrentInvoiceLine_FindByProductList') 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 current invoice line data object for a given current invoice line. Parameters: entityHandle: A handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


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

def self.get_data
  response = invoke('CurrentInvoiceLine_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 current invoice line data objects for current invoice lines. Parameters: entityHandles: The array of current invoice line handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


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

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

.get_delivery_dateHash

Note:

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

Gets the delivery date of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


132
133
134
135
136
# File 'lib/ruconomic/api/current_invoice_line.rb', line 132

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

.get_departmentHash

Note:

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

Gets a handle for the department of a current invoice line. The department is only accessible when there is access to the Dimension add-on module. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


336
337
338
339
340
# File 'lib/ruconomic/api/current_invoice_line.rb', line 336

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

.get_descriptionHash

Note:

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

Gets the description of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


108
109
110
111
112
# File 'lib/ruconomic/api/current_invoice_line.rb', line 108

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

.get_discount_as_percentHash

Note:

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

Gets the discount of a current invoice line as percent. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


252
253
254
255
256
# File 'lib/ruconomic/api/current_invoice_line.rb', line 252

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

.get_distribution_keyHash

Note:

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

Gets a handle for the distribution key of a current invoice line. The distribution key is only accessible when there is access to the Dimension add-on module. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


348
349
350
351
352
# File 'lib/ruconomic/api/current_invoice_line.rb', line 348

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

.get_inventory_locationHash

Note:

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

Gets a handle for the inventory location of a current invoice line. The inventory location is only accessible when there is access to the Stock add-on module. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


372
373
374
375
376
# File 'lib/ruconomic/api/current_invoice_line.rb', line 372

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

.get_invoiceHash

Note:

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

Gets a handle for the current invoice of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


96
97
98
99
100
# File 'lib/ruconomic/api/current_invoice_line.rb', line 96

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

.get_margin_as_percentHash

Note:

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

Gets the margin of a current invoice as percent. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


312
313
314
315
316
# File 'lib/ruconomic/api/current_invoice_line.rb', line 312

def self.get_margin_as_percent
  response = invoke('CurrentInvoiceLine_GetMarginAsPercent') 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 a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


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

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

.get_productHash

Note:

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

Gets a handle for the product of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


192
193
194
195
196
# File 'lib/ruconomic/api/current_invoice_line.rb', line 192

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

.get_quantityHash

Note:

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

Gets the primary quantity of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


216
217
218
219
220
# File 'lib/ruconomic/api/current_invoice_line.rb', line 216

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

.get_total_marginHash

Note:

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

Gets the margin of a current invoice line (in the currency of its current invoice). Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


300
301
302
303
304
# File 'lib/ruconomic/api/current_invoice_line.rb', line 300

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

.get_total_net_amountHash

Note:

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

Gets the total amount without VAT of a current invoice line (in the currency of its current invoice). Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


288
289
290
291
292
# File 'lib/ruconomic/api/current_invoice_line.rb', line 288

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

.get_unitHash

Note:

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

Gets a handle for the primary unit of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


156
157
158
159
160
# File 'lib/ruconomic/api/current_invoice_line.rb', line 156

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

.get_unit_cost_priceHash

Note:

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

Gets the cost price per unit without VAT of a current invoice line (in the default currency). Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


276
277
278
279
280
# File 'lib/ruconomic/api/current_invoice_line.rb', line 276

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

.get_unit_net_priceHash

Note:

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

Gets the price per unit without VAT of a current invoice line (in the currency of its current invoice). Parameters: currentInvoiceLineHandle: Handle for the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


228
229
230
231
232
# File 'lib/ruconomic/api/current_invoice_line.rb', line 228

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

.set_delivery_dateHash

Note:

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

Sets the delivery date of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new delivery date of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


144
145
146
147
148
# File 'lib/ruconomic/api/current_invoice_line.rb', line 144

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

.set_departmentHash

Note:

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

Sets the department of a current invoice line. 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: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new department of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


324
325
326
327
328
# File 'lib/ruconomic/api/current_invoice_line.rb', line 324

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

.set_descriptionHash

Note:

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

Sets the description of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new description of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


120
121
122
123
124
# File 'lib/ruconomic/api/current_invoice_line.rb', line 120

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

.set_discount_as_percentHash

Note:

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

Sets the discount of a current invoice line as percent. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new discount of the current invoice line as percent.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


264
265
266
267
268
# File 'lib/ruconomic/api/current_invoice_line.rb', line 264

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

.set_distribution_keyHash

Note:

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

Sets the distribution key of a current invoice line. 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: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new distribution key of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


360
361
362
363
364
# File 'lib/ruconomic/api/current_invoice_line.rb', line 360

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

.set_inventory_locationHash

Note:

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

Sets the inventory location of a current invoice line. The inventory location is only accessible when there is access to the Stock add-on module. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new inventory location of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


384
385
386
387
388
# File 'lib/ruconomic/api/current_invoice_line.rb', line 384

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

.set_productHash

Note:

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

Sets the product of a current invoice line. Setting the product also sets the unit cost price to the cost price of the product. The product must be set before setting the quantity and the unit net price. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. valueHandle: Handle for the new product of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


180
181
182
183
184
# File 'lib/ruconomic/api/current_invoice_line.rb', line 180

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

.set_quantityHash

Note:

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

Sets the primary quantity of a current invoice line. The product of the current invoice line must be set before setting this property. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new primary quantity of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


204
205
206
207
208
# File 'lib/ruconomic/api/current_invoice_line.rb', line 204

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

.set_unitHash

Note:

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

Sets the primary unit of a current invoice line. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. valueHandle: Handle for the new primary unit of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


168
169
170
171
172
# File 'lib/ruconomic/api/current_invoice_line.rb', line 168

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

.set_unit_net_priceHash

Note:

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

Sets the price per unit without VAT of a current invoice line (in the currency of its current invoice). The product of the current invoice line must be set before setting this property. Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new price per unit of the current invoice line.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:


240
241
242
243
244
# File 'lib/ruconomic/api/current_invoice_line.rb', line 240

def self.set_unit_net_price
  response = invoke('CurrentInvoiceLine_SetUnitNetPrice') 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 a current invoice line 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/current_invoice_line.rb', line 48

def self.update_from_data
  response = invoke('CurrentInvoiceLine_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 current invoice lines 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/current_invoice_line.rb', line 36

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