Module: Ruconomic::API::ScannedDocument

Extended by:
WebService
Defined in:
lib/ruconomic/api/scanned_document.rb

Class Method Summary collapse

Class Method Details

.find_by_voucher_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 voucher number. Parameters: voucherNumber: The number to search for.



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

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

.find_by_voucher_number_intervalHash

Note:

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

Returns an array with handles for scanned documents with voucher numbers in the given interval. Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.



167
168
169
170
171
# File 'lib/ruconomic/api/scanned_document.rb', line 167

def self.find_by_voucher_number_interval
  response = invoke('ScannedDocument_FindByVoucherNumberInterval') 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 ScannedDocuments.



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

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

.get_categoryHash

Note:

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

Gets the category of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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



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

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



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

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

.get_from_dateHash

Note:

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

Gets the fromdate of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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

.get_noteHash

Note:

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

Gets the note of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

def self.get_note
  response = invoke('ScannedDocument_GetNote') 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 ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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

.get_page_countHash

Note:

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

Gets the pagecount of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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

.get_pdfHash

Note:

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

Gets the document as a PDF-file. Parameters: invoiceHandle: Handle for the ScannedDocument.



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

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

.get_statusHash

Note:

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

Gets the status of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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

.get_to_dateHash

Note:

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

Gets the todate of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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

.get_voucher_numberHash

Note:

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

Gets the vouchernumber of a ScannedDocument. Parameters: ScannedDocumentHandle: Handle for the ScannedDocument.



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

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