ruconomic 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +100 -0
- data/Rakefile +2 -0
- data/lib/ruconomic/api/account.rb +520 -0
- data/lib/ruconomic/api/accounting_period.rb +113 -0
- data/lib/ruconomic/api/accounting_year.rb +161 -0
- data/lib/ruconomic/api/activity.rb +90 -0
- data/lib/ruconomic/api/bank_payment_type.rb +103 -0
- data/lib/ruconomic/api/budget_figure.rb +343 -0
- data/lib/ruconomic/api/cash_book.rb +232 -0
- data/lib/ruconomic/api/cash_book_entry.rb +716 -0
- data/lib/ruconomic/api/company.rb +294 -0
- data/lib/ruconomic/api/cost_type.rb +138 -0
- data/lib/ruconomic/api/cost_type_group.rb +115 -0
- data/lib/ruconomic/api/creditor.rb +688 -0
- data/lib/ruconomic/api/creditor_contact.rb +269 -0
- data/lib/ruconomic/api/creditor_entry.rb +235 -0
- data/lib/ruconomic/api/creditor_group.rb +208 -0
- data/lib/ruconomic/api/currency.rb +67 -0
- data/lib/ruconomic/api/current_invoice.rb +1110 -0
- data/lib/ruconomic/api/current_invoice_line.rb +440 -0
- data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
- data/lib/ruconomic/api/debtor.rb +978 -0
- data/lib/ruconomic/api/debtor_contact.rb +328 -0
- data/lib/ruconomic/api/debtor_entry.rb +223 -0
- data/lib/ruconomic/api/debtor_group.rb +232 -0
- data/lib/ruconomic/api/delivery_location.rb +341 -0
- data/lib/ruconomic/api/department.rb +197 -0
- data/lib/ruconomic/api/distribution_key.rb +187 -0
- data/lib/ruconomic/api/document_archive_category.rb +163 -0
- data/lib/ruconomic/api/employee.rb +421 -0
- data/lib/ruconomic/api/employee_group.rb +199 -0
- data/lib/ruconomic/api/entry.rb +318 -0
- data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
- data/lib/ruconomic/api/inventory_location.rb +91 -0
- data/lib/ruconomic/api/invoice.rb +655 -0
- data/lib/ruconomic/api/invoice_line.rb +248 -0
- data/lib/ruconomic/api/key_figure_code.rb +103 -0
- data/lib/ruconomic/api/mileage_entry.rb +319 -0
- data/lib/ruconomic/api/order.rb +1169 -0
- data/lib/ruconomic/api/order_line.rb +451 -0
- data/lib/ruconomic/api/price_group.rb +200 -0
- data/lib/ruconomic/api/product.rb +533 -0
- data/lib/ruconomic/api/product_group.rb +271 -0
- data/lib/ruconomic/api/product_price.rb +164 -0
- data/lib/ruconomic/api/project.rb +449 -0
- data/lib/ruconomic/api/project_group.rb +113 -0
- data/lib/ruconomic/api/quotation.rb +1145 -0
- data/lib/ruconomic/api/quotation_line.rb +451 -0
- data/lib/ruconomic/api/report_code.rb +78 -0
- data/lib/ruconomic/api/report_code_set.rb +89 -0
- data/lib/ruconomic/api/scanned_document.rb +175 -0
- data/lib/ruconomic/api/subscriber.rb +475 -0
- data/lib/ruconomic/api/subscription.rb +375 -0
- data/lib/ruconomic/api/subscription_line.rb +307 -0
- data/lib/ruconomic/api/sum_interval.rb +164 -0
- data/lib/ruconomic/api/template_collection.rb +78 -0
- data/lib/ruconomic/api/term_of_payment.rb +307 -0
- data/lib/ruconomic/api/time_entry.rb +258 -0
- data/lib/ruconomic/api/unit.rb +187 -0
- data/lib/ruconomic/api/vat_account.rb +151 -0
- data/lib/ruconomic/api.rb +79 -0
- data/lib/ruconomic/fault.rb +17 -0
- data/lib/ruconomic/soap/document.rb +79 -0
- data/lib/ruconomic/soap/node.rb +24 -0
- data/lib/ruconomic/soap.rb +7 -0
- data/lib/ruconomic/version.rb +3 -0
- data/lib/ruconomic/web_service.rb +50 -0
- data/lib/ruconomic.rb +42 -0
- data/ruconomic.gemspec +27 -0
- metadata +202 -0
@@ -0,0 +1,318 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module Entry
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns an entry data object for a given entry.
|
7
|
+
# Parameters: entityHandle: A handle for the entry.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('Entry_GetData') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Returns entry data objects for a given set of entry handles.
|
19
|
+
# Parameters: entityHandles: An array of the entry handles.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('Entry_GetDataArray') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns the last used serial number, or 0 if no serial numbers exists.
|
31
|
+
#
|
32
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
33
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetLastUsedSerialNumber
|
34
|
+
# @return [Hash] The body content of the SOAP response.
|
35
|
+
def self.get_last_used_serial_number
|
36
|
+
response = invoke('Entry_GetLastUsedSerialNumber') do |message|
|
37
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns an array of handles for the entries with numbers in the given interval.
|
42
|
+
# Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.
|
43
|
+
#
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
45
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_FindBySerialNumberInterval
|
46
|
+
# @return [Hash] The body content of the SOAP response.
|
47
|
+
def self.find_by_serial_number_interval
|
48
|
+
response = invoke('Entry_FindBySerialNumberInterval') do |message|
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Returns an array of handles for the entries within the given time interval.
|
54
|
+
# Parameters: fromDate: First day in interval. toDate: Last day in interval.
|
55
|
+
#
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
57
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_FindByDateInterval
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.find_by_date_interval
|
60
|
+
response = invoke('Entry_FindByDateInterval') do |message|
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Gets the number of an entry.
|
66
|
+
# Parameters: entryHandle: Handle for the entry.
|
67
|
+
#
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
69
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetSerialNumber
|
70
|
+
# @return [Hash] The body content of the SOAP response.
|
71
|
+
def self.get_serial_number
|
72
|
+
response = invoke('Entry_GetSerialNumber') do |message|
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Get handle for account of an entry.
|
78
|
+
# Parameters: entryHandle: Handle for the entry.
|
79
|
+
#
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
81
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetAccount
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.get_account
|
84
|
+
response = invoke('Entry_GetAccount') do |message|
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# Gets the amount of an entry.
|
90
|
+
# Parameters: entryHandle: Handle for the entry.
|
91
|
+
#
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
93
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetAmount
|
94
|
+
# @return [Hash] The body content of the SOAP response.
|
95
|
+
def self.get_amount
|
96
|
+
response = invoke('Entry_GetAmount') do |message|
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# Gets the amount (in default currency) of an entry.
|
102
|
+
# Parameters: entryHandle: Handle for the entry.
|
103
|
+
#
|
104
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
105
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetAmountDefaultCurrency
|
106
|
+
# @return [Hash] The body content of the SOAP response.
|
107
|
+
def self.get_amount_default_currency
|
108
|
+
response = invoke('Entry_GetAmountDefaultCurrency') do |message|
|
109
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Gets a handle for the unit1 of an entry. The unit1 is only accessible when there is access to the Dimension add-on module.
|
114
|
+
# Parameters: entryHandle: Handle for the entry.
|
115
|
+
#
|
116
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
117
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetUnit1
|
118
|
+
# @return [Hash] The body content of the SOAP response.
|
119
|
+
def self.get_unit1
|
120
|
+
response = invoke('Entry_GetUnit1') do |message|
|
121
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Gets a handle for the unit2 of an entry. The unit2 is only accessible when there is access to the Dimension add-on module.
|
126
|
+
# Parameters: entryHandle: Handle for the entry.
|
127
|
+
#
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
129
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetUnit2
|
130
|
+
# @return [Hash] The body content of the SOAP response.
|
131
|
+
def self.get_unit2
|
132
|
+
response = invoke('Entry_GetUnit2') do |message|
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# Gets the quantity1 of an entry. The quantity1 is only accessible when there is access to the Dimension add-on module.
|
138
|
+
# Parameters: entryHandle: Handle for the entry.
|
139
|
+
#
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
141
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetQuantity1
|
142
|
+
# @return [Hash] The body content of the SOAP response.
|
143
|
+
def self.get_quantity1
|
144
|
+
response = invoke('Entry_GetQuantity1') do |message|
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Gets the quantity2 of an entry. The quantity2 is only accessible when there is access to the Dimension add-on module.
|
150
|
+
# Parameters: entryHandle: Handle for the entry.
|
151
|
+
#
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
153
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetQuantity2
|
154
|
+
# @return [Hash] The body content of the SOAP response.
|
155
|
+
def self.get_quantity2
|
156
|
+
response = invoke('Entry_GetQuantity2') do |message|
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Gets the currency of the entry.
|
162
|
+
# Parameters: entryHandle: Handle for the entry.
|
163
|
+
#
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
165
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetCurrency
|
166
|
+
# @return [Hash] The body content of the SOAP response.
|
167
|
+
def self.get_currency
|
168
|
+
response = invoke('Entry_GetCurrency') do |message|
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Gets the date of the entry.
|
174
|
+
# Parameters: entryHandle: Handle for the entry.
|
175
|
+
#
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
177
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDate
|
178
|
+
# @return [Hash] The body content of the SOAP response.
|
179
|
+
def self.get_date
|
180
|
+
response = invoke('Entry_GetDate') do |message|
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# Gets the text of the entry.
|
186
|
+
# Parameters: entryHandle: Handle for the entry.
|
187
|
+
#
|
188
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
189
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetText
|
190
|
+
# @return [Hash] The body content of the SOAP response.
|
191
|
+
def self.get_text
|
192
|
+
response = invoke('Entry_GetText') do |message|
|
193
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
# Gets the entry type of entry.
|
198
|
+
#
|
199
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
200
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetType
|
201
|
+
# @return [Hash] The body content of the SOAP response.
|
202
|
+
def self.get_type
|
203
|
+
response = invoke('Entry_GetType') do |message|
|
204
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
# Gets a handle for the department of an entry. The department is only accessible when there is access to the Dimension add-on module.
|
209
|
+
# Parameters: entryHandle: Handle for the entry.
|
210
|
+
#
|
211
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
212
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDepartment
|
213
|
+
# @return [Hash] The body content of the SOAP response.
|
214
|
+
def self.get_department
|
215
|
+
response = invoke('Entry_GetDepartment') do |message|
|
216
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# Gets a handle for the distribution key of an entry. The distribution key is only accessible when there is access to the Dimension add-on module.
|
221
|
+
# Parameters: entryHandle: Handle for the entry.
|
222
|
+
#
|
223
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
224
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDistributionKey
|
225
|
+
# @return [Hash] The body content of the SOAP response.
|
226
|
+
def self.get_distribution_key
|
227
|
+
response = invoke('Entry_GetDistributionKey') do |message|
|
228
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
# Gets a handle for the VAT account of an entry.
|
233
|
+
# Parameters: entryHandle: Handle for the entry.
|
234
|
+
#
|
235
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
236
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetVatAccount
|
237
|
+
# @return [Hash] The body content of the SOAP response.
|
238
|
+
def self.get_vat_account
|
239
|
+
response = invoke('Entry_GetVatAccount') do |message|
|
240
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# Gets the voucher number of the entry.
|
245
|
+
# Parameters: entryHandle: Handle for the entry.
|
246
|
+
#
|
247
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
248
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetVoucherNumber
|
249
|
+
# @return [Hash] The body content of the SOAP response.
|
250
|
+
def self.get_voucher_number
|
251
|
+
response = invoke('Entry_GetVoucherNumber') do |message|
|
252
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# Gets handle for the project of the entry.
|
257
|
+
# Parameters: entryHandle: Handle for the entry.
|
258
|
+
#
|
259
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
260
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetProject
|
261
|
+
# @return [Hash] The body content of the SOAP response.
|
262
|
+
def self.get_project
|
263
|
+
response = invoke('Entry_GetProject') do |message|
|
264
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# Gets the scanned document of the entry.
|
269
|
+
# Parameters: entryHandle: Handle for the entry.
|
270
|
+
#
|
271
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
272
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDocument
|
273
|
+
# @return [Hash] The body content of the SOAP response.
|
274
|
+
def self.get_document
|
275
|
+
response = invoke('Entry_GetDocument') do |message|
|
276
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
# Creates a copy of all the entries that match the same voucher number and date as the selected entry.
|
281
|
+
# Parameters: cashBookEntryHandle: Handle for the cashbook entry that is base for the copy. newVoucherNumber: New voucher number if needed. If left out the voucher number from the entry copied is used. newVoucherDate: New voucher date if needed. If left out the date from the entry copied is used. newText: New text if needed. If left out the text from the entry copied is used. newCashBook: The CashBook to create the new entries on.
|
282
|
+
#
|
283
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
284
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_CopyVoucher
|
285
|
+
# @return [Hash] The body content of the SOAP response.
|
286
|
+
def self.copy_voucher
|
287
|
+
response = invoke('Entry_CopyVoucher') do |message|
|
288
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
# Reverse all the entries that belong to the same voucher and are on the same date as this entry. Reverse creates opposite entries, thus undoing the voucher entries. This is done by multiplying amounts by -1.
|
293
|
+
# Parameters: cashBookEntryHandle: Handle for the cashbook entry that is base for the copy. newVoucherNumber: New voucher number if needed. If left out the voucher number from the entry copied is used. newVoucherDate: New voucher date if needed. If left out the date from the entry copied is used. newText: New text if needed. If left out the text from the entry copied is used. newCashBook: The CashBook to create the new entries on.
|
294
|
+
#
|
295
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
296
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_ReverseVoucher
|
297
|
+
# @return [Hash] The body content of the SOAP response.
|
298
|
+
def self.reverse_voucher
|
299
|
+
response = invoke('Entry_ReverseVoucher') do |message|
|
300
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# Turn all the entries that belong to the same voucher and are on the same date as this entry. Turn creates opposite entries, and then proceeds to create entries that have the opposite sign of the voucher entries. This is done by multiplying amounts by -2.
|
305
|
+
# Parameters: cashBookEntryHandle: Handle for the cashbook entry that is base for the copy. newVoucherNumber: New voucher number if needed. If left out the voucher number from the entry copied is used. newVoucherDate: New voucher date if needed. If left out the date from the entry copied is used. newText: New text if needed. If left out the text from the entry copied is used. newCashBook: The CashBook to create the new entries on.
|
306
|
+
#
|
307
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
308
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_TurnVoucher
|
309
|
+
# @return [Hash] The body content of the SOAP response.
|
310
|
+
def self.turn_voucher
|
311
|
+
response = invoke('Entry_TurnVoucher') do |message|
|
312
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module ExtendedVatZone
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns handle for the extended VAT zone with a given number.
|
7
|
+
# Parameters: number: The extended VAT zone to search for.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ExtendedVatZone_FindByNumber
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.find_by_number
|
13
|
+
response = invoke('ExtendedVatZone_FindByNumber') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Returns handles for all extended VAT zones with a given number.
|
19
|
+
#
|
20
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
21
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ExtendedVatZone_GetAll
|
22
|
+
# @return [Hash] The body content of the SOAP response.
|
23
|
+
def self.get_all
|
24
|
+
response = invoke('ExtendedVatZone_GetAll') do |message|
|
25
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
# Returns the extended VAT zone data object for the given handle.
|
30
|
+
# Parameters: extendedVatZoneHandle: The extended VAT zone handle.
|
31
|
+
#
|
32
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
33
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ExtendedVatZone_GetData
|
34
|
+
# @return [Hash] The body content of the SOAP response.
|
35
|
+
def self.get_data
|
36
|
+
response = invoke('ExtendedVatZone_GetData') do |message|
|
37
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns extended VAT zone data objects for the given handles.
|
42
|
+
# Parameters: extendedVatZoneHandles: The extended VAT zone handles.
|
43
|
+
#
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
45
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ExtendedVatZone_GetDataArray
|
46
|
+
# @return [Hash] The body content of the SOAP response.
|
47
|
+
def self.get_data_array
|
48
|
+
response = invoke('ExtendedVatZone_GetDataArray') do |message|
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Gets the name of an extended VAT zone.
|
54
|
+
# Parameters: extendedVatZoneHandle: Handle for the extended VAT zone.
|
55
|
+
#
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
57
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ExtendedVatZone_GetName
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.get_name
|
60
|
+
response = invoke('ExtendedVatZone_GetName') do |message|
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Gets the number of an extended VAT zone.
|
66
|
+
# Parameters: extendedVatZoneHandle: Handle for the extended VAT zone.
|
67
|
+
#
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
69
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ExtendedVatZone_GetNumber
|
70
|
+
# @return [Hash] The body content of the SOAP response.
|
71
|
+
def self.get_number
|
72
|
+
response = invoke('ExtendedVatZone_GetNumber') do |message|
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module InventoryLocation
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns a inventory location data object for a given inventory location.
|
7
|
+
# Parameters: entityHandle: A handle for the inventory location.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('InventoryLocation_GetData') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Returns location objects for a given set of location handles.
|
19
|
+
# Parameters: entityHandles: An array of the location handles.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('InventoryLocation_GetDataArray') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Return handles for all locations.
|
31
|
+
#
|
32
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
33
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_GetAll
|
34
|
+
# @return [Hash] The body content of the SOAP response.
|
35
|
+
def self.get_all
|
36
|
+
response = invoke('InventoryLocation_GetAll') do |message|
|
37
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns a handle for the inventory location with the given name.
|
42
|
+
# Parameters: name: The name to search for.
|
43
|
+
#
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
45
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_FindByName
|
46
|
+
# @return [Hash] The body content of the SOAP response.
|
47
|
+
def self.find_by_name
|
48
|
+
response = invoke('InventoryLocation_FindByName') do |message|
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Returns a handle for the inventory location with the given number.
|
54
|
+
# Parameters: number: The number to search for.
|
55
|
+
#
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
57
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_FindByNumber
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.find_by_number
|
60
|
+
response = invoke('InventoryLocation_FindByNumber') do |message|
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Gets the number of an inventory location.
|
66
|
+
# Parameters: InventoryLocationHandle: Handle for the inventory location.
|
67
|
+
#
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
69
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_GetNumber
|
70
|
+
# @return [Hash] The body content of the SOAP response.
|
71
|
+
def self.get_number
|
72
|
+
response = invoke('InventoryLocation_GetNumber') do |message|
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Gets the name of an inventory location.
|
78
|
+
# Parameters: InventoryLocationHandle: Handle for the inventory location.
|
79
|
+
#
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
81
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=InventoryLocation_GetName
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.get_name
|
84
|
+
response = invoke('InventoryLocation_GetName') do |message|
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|