Module: Ruconomic::API::DocumentArchiveCategory

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


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

def self.create
  response = invoke('DocumentArchiveCategory_Create') 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 category. Parameters: documentArchiveCategoryHandle: Handle for the category.


119
120
121
122
123
# File 'lib/ruconomic/api/document_archive_category.rb', line 119

def self.delete
  response = invoke('DocumentArchiveCategory_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 document archive categories with a given name. Parameter: name: The name to search for.


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

def self.find_by_name
  response = invoke('DocumentArchiveCategory_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 scanned document with a given number. Parameters: number: The number to search for.


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

def self.find_by_number
  response = invoke('DocumentArchiveCategory_FindByNumber') 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 DocumentArchiveCategories.


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

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


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

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


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

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

.get_documentsHash

Note:

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

Gets all documents in this category. Parameters: invoiceHandle: Handle for the DocumentArchiveCategory.


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

def self.get_documents
  response = invoke('DocumentArchiveCategory_GetDocuments') 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 DocumentArchiveCategory. Parameters: DocumentArchiveCategoryHandle: Handle for the DocumentArchiveCategory.


143
144
145
146
147
# File 'lib/ruconomic/api/document_archive_category.rb', line 143

def self.get_name
  response = invoke('DocumentArchiveCategory_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 DocumentArchiveCategory. Parameters: DocumentArchiveCategoryHandle: Handle for the DocumentArchiveCategory.


131
132
133
134
135
# File 'lib/ruconomic/api/document_archive_category.rb', line 131

def self.get_number
  response = invoke('DocumentArchiveCategory_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 a DocumentArchiveCategory. Parameters: documentArchiveCategoryHandle: Handle for the DocumentArchiveCategory. value: new name of the DocumentArchiveCategory.


155
156
157
158
159
# File 'lib/ruconomic/api/document_archive_category.rb', line 155

def self.set_name
  response = invoke('DocumentArchiveCategory_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 DocumentArchiveCategory from a data object. Parameters: data: The data object.


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

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


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

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