Module: Ruconomic::API::ProductGroup

Extended by:
WebService
Defined in:
lib/ruconomic/api/product_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 a new product group. Parameters: number: The number of the new product group. name: The name of the new product group. accountForVatLiableDebtorInvoicesCurrent : The account to use for products on invoices with VAT liable debtors.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.create_from_data_array
  response = invoke('ProductGroup_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 product group. Parameters: productGroupHandle: Handle for the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



263
264
265
266
267
# File 'lib/ruconomic/api/product_group.rb', line 263

def self.delete
  response = invoke('ProductGroup_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 the product groups with a given name. Parameter: name: The name to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



239
240
241
242
243
# File 'lib/ruconomic/api/product_group.rb', line 239

def self.find_by_name
  response = invoke('ProductGroup_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 a handle for the product group with a given number. Parameters: number: The number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



215
216
217
218
219
# File 'lib/ruconomic/api/product_group.rb', line 215

def self.find_by_number
  response = invoke('ProductGroup_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 product groups corresponding to the given product group numbers. If a product group 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:



227
228
229
230
231
# File 'lib/ruconomic/api/product_group.rb', line 227

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

.get_account_for_vat_exempt_debtor_invoices_currentHash

Note:

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

Gets a handle for the account to use for products of the product group on invoices for VAT exempt debtors. Parameters: productGroupHandle: Handle for the product group.



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

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

.get_account_for_vat_liable_debtor_invoices_currentHash

Note:

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

Gets a handle for the account to use for products of the product group on invoices for VAT liable debtors. Parameters: productGroupHandle: Handle for the product group.



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

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

.get_accrualHash

Note:

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

Gets a handle for the accrual account of a product group. Parameters: productGroupHandle: Handle for the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.get_accrual
  response = invoke('ProductGroup_GetAccrual') 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 product groups.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



203
204
205
206
207
# File 'lib/ruconomic/api/product_group.rb', line 203

def self.get_all
  response = invoke('ProductGroup_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 an product group data object for a given product group. Parameters: entityHandle: A handle for the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.get_data_array
  response = invoke('ProductGroup_GetDataArray') 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 a product group. Parameters: productGroupHandle: Handle for the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.get_name
  response = invoke('ProductGroup_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 a product group. Parameters: productGroupHandle: Handle for the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.get_productsHash

Note:

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

Gets handles for products of a product group. Parameters: productGroupHandle: Handle for the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



251
252
253
254
255
# File 'lib/ruconomic/api/product_group.rb', line 251

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

.set_account_for_vat_exempt_debtor_invoices_currentHash

Note:

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

Sets the the account to use for products of the product group on invoices for VAT exempt debtors. Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for account.



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

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

.set_account_for_vat_liable_debtor_invoices_currentHash

Note:

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

Sets the the account to use for products of the product group on invoices for VAT liable debtors. Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for account.



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

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

.set_accrualHash

Note:

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

Sets the accrual account of a product group. Parameters: productGroupHandle: Handle for the product group. valueHandle: Handle for new accrual account of the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.set_accrual
  response = invoke('ProductGroup_SetAccrual') 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 a product group. Parameters: productGroupHandle: Handle for the product group. value: The new name of the product group.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.set_name
  response = invoke('ProductGroup_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 a product 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/product_group.rb', line 48

def self.update_from_data
  response = invoke('ProductGroup_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 product 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/product_group.rb', line 36

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