Module: Ruconomic::API::CashBook

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

Class Method Summary collapse

Class Method Details

.bookHash

Note:

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

Books all entries in the cashbook.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



164
165
166
167
168
# File 'lib/ruconomic/api/cash_book.rb', line 164

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

.book_with_dateHash

Note:

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

Books entries in the cashbook between fromDate and toDate. Parameters: fromDate: The fromDate, toDate: The toDate.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



176
177
178
179
180
# File 'lib/ruconomic/api/cash_book.rb', line 176

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

.book_with_date_closed_periodHash

Note:

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

Books entries in the cashbook between fromDate and toDate. Some or all entries are in a closed period. Parameters: fromDate: The fromDate, toDate: The toDate, accrualDate: The accrualDate, accrualText: The accrualText.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



188
189
190
191
192
# File 'lib/ruconomic/api/cash_book.rb', line 188

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

.delete_all_entriesHash

Note:

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

Delete all entries from a cash book. Action that cannot be undone. Parameters: cashBookHandle: Handle for the cash book.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



153
154
155
156
157
# File 'lib/ruconomic/api/cash_book.rb', line 153

def self.delete_all_entries
  response = invoke('CashBook_DeleteAllEntries') 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 a handle for the cash book with the given name. Parameters: name: The name to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.find_by_name_listHash

Note:

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

Returns an array with handles for the cash books corresponding to the given names. If a cash book with a given name does not exist or if no name is given then the array contains nothing at that index. Parameters: names: The names to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.find_by_name_list
  response = invoke('CashBook_FindByNameList') 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 cash book with the given number. Parameters: number: The number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.find_by_number
  response = invoke('CashBook_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 cash books corresponding to the given numbers. If a cash book 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:



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

def self.find_by_number_list
  response = invoke('CashBook_FindByNumberList') 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

Return handles for all cash books.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

.get_entriesHash

Note:

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

Gets the entries in the cashbook.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



141
142
143
144
145
# File 'lib/ruconomic/api/cash_book.rb', line 141

def self.get_entries
  response = invoke('CashBook_GetEntries') 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 cash book. Parameters: cashBookHandle: Handle for the cash book.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



212
213
214
215
216
# File 'lib/ruconomic/api/cash_book.rb', line 212

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

.get_next_voucher_numberHash

Note:

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

Get the next available voucher number for the cashbook.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



130
131
132
133
134
# File 'lib/ruconomic/api/cash_book.rb', line 130

def self.get_next_voucher_number
  response = invoke('CashBook_GetNextVoucherNumber') 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 cash book. Parameters: cashBookHandle: Handle for the cash book.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



200
201
202
203
204
# File 'lib/ruconomic/api/cash_book.rb', line 200

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

.register_pdf_voucherHash

Note:

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

Assigns a PDF document to a voucher number. Parameters: data: PDF document. voucherNumber: Voucher number. entryDate: Entry date.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

def self.register_pdf_voucher
  response = invoke('CashBook_RegisterPdfVoucher') 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 cash book. Parameters: cashBookHandle: Handle for the cash book. value: The new name.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



224
225
226
227
228
# File 'lib/ruconomic/api/cash_book.rb', line 224

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



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

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