Module: Ruconomic::API::CurrentSupplierInvoice

Extended by:
WebService
Defined in:
lib/ruconomic/api/current_supplier_invoice.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 supplier invoice. Parameters: creditor: Handle for a creditor.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



47
48
49
50
51
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 47

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



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

def self.create_from_data_array
  response = invoke('CurrentSupplierInvoice_CreateFromDataArray') 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 current supplier invoices.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



23
24
25
26
27
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 23

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



95
96
97
98
99
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 95

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



107
108
109
110
111
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 107

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

.get_linesHash

Note:

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

Gets handles for the lines of a current supplier invoice. Parameters: currentSupplierInvoiceHandle: Handle for the current supplier invoice.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



35
36
37
38
39
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 35

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



83
84
85
86
87
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 83

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



71
72
73
74
75
# File 'lib/ruconomic/api/current_supplier_invoice.rb', line 71

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