ruconomic 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +100 -0
  6. data/Rakefile +2 -0
  7. data/lib/ruconomic/api/account.rb +520 -0
  8. data/lib/ruconomic/api/accounting_period.rb +113 -0
  9. data/lib/ruconomic/api/accounting_year.rb +161 -0
  10. data/lib/ruconomic/api/activity.rb +90 -0
  11. data/lib/ruconomic/api/bank_payment_type.rb +103 -0
  12. data/lib/ruconomic/api/budget_figure.rb +343 -0
  13. data/lib/ruconomic/api/cash_book.rb +232 -0
  14. data/lib/ruconomic/api/cash_book_entry.rb +716 -0
  15. data/lib/ruconomic/api/company.rb +294 -0
  16. data/lib/ruconomic/api/cost_type.rb +138 -0
  17. data/lib/ruconomic/api/cost_type_group.rb +115 -0
  18. data/lib/ruconomic/api/creditor.rb +688 -0
  19. data/lib/ruconomic/api/creditor_contact.rb +269 -0
  20. data/lib/ruconomic/api/creditor_entry.rb +235 -0
  21. data/lib/ruconomic/api/creditor_group.rb +208 -0
  22. data/lib/ruconomic/api/currency.rb +67 -0
  23. data/lib/ruconomic/api/current_invoice.rb +1110 -0
  24. data/lib/ruconomic/api/current_invoice_line.rb +440 -0
  25. data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
  26. data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
  27. data/lib/ruconomic/api/debtor.rb +978 -0
  28. data/lib/ruconomic/api/debtor_contact.rb +328 -0
  29. data/lib/ruconomic/api/debtor_entry.rb +223 -0
  30. data/lib/ruconomic/api/debtor_group.rb +232 -0
  31. data/lib/ruconomic/api/delivery_location.rb +341 -0
  32. data/lib/ruconomic/api/department.rb +197 -0
  33. data/lib/ruconomic/api/distribution_key.rb +187 -0
  34. data/lib/ruconomic/api/document_archive_category.rb +163 -0
  35. data/lib/ruconomic/api/employee.rb +421 -0
  36. data/lib/ruconomic/api/employee_group.rb +199 -0
  37. data/lib/ruconomic/api/entry.rb +318 -0
  38. data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
  39. data/lib/ruconomic/api/inventory_location.rb +91 -0
  40. data/lib/ruconomic/api/invoice.rb +655 -0
  41. data/lib/ruconomic/api/invoice_line.rb +248 -0
  42. data/lib/ruconomic/api/key_figure_code.rb +103 -0
  43. data/lib/ruconomic/api/mileage_entry.rb +319 -0
  44. data/lib/ruconomic/api/order.rb +1169 -0
  45. data/lib/ruconomic/api/order_line.rb +451 -0
  46. data/lib/ruconomic/api/price_group.rb +200 -0
  47. data/lib/ruconomic/api/product.rb +533 -0
  48. data/lib/ruconomic/api/product_group.rb +271 -0
  49. data/lib/ruconomic/api/product_price.rb +164 -0
  50. data/lib/ruconomic/api/project.rb +449 -0
  51. data/lib/ruconomic/api/project_group.rb +113 -0
  52. data/lib/ruconomic/api/quotation.rb +1145 -0
  53. data/lib/ruconomic/api/quotation_line.rb +451 -0
  54. data/lib/ruconomic/api/report_code.rb +78 -0
  55. data/lib/ruconomic/api/report_code_set.rb +89 -0
  56. data/lib/ruconomic/api/scanned_document.rb +175 -0
  57. data/lib/ruconomic/api/subscriber.rb +475 -0
  58. data/lib/ruconomic/api/subscription.rb +375 -0
  59. data/lib/ruconomic/api/subscription_line.rb +307 -0
  60. data/lib/ruconomic/api/sum_interval.rb +164 -0
  61. data/lib/ruconomic/api/template_collection.rb +78 -0
  62. data/lib/ruconomic/api/term_of_payment.rb +307 -0
  63. data/lib/ruconomic/api/time_entry.rb +258 -0
  64. data/lib/ruconomic/api/unit.rb +187 -0
  65. data/lib/ruconomic/api/vat_account.rb +151 -0
  66. data/lib/ruconomic/api.rb +79 -0
  67. data/lib/ruconomic/fault.rb +17 -0
  68. data/lib/ruconomic/soap/document.rb +79 -0
  69. data/lib/ruconomic/soap/node.rb +24 -0
  70. data/lib/ruconomic/soap.rb +7 -0
  71. data/lib/ruconomic/version.rb +3 -0
  72. data/lib/ruconomic/web_service.rb +50 -0
  73. data/lib/ruconomic.rb +42 -0
  74. data/ruconomic.gemspec +27 -0
  75. metadata +202 -0
@@ -0,0 +1,451 @@
1
+ module Ruconomic
2
+ module API
3
+ module QuotationLine
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new quotation line from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new quotation line.
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=QuotationLine_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('QuotationLine_CreateFromData') 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
+ # Creates new quotation lines from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new quotation lines.
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=QuotationLine_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('QuotationLine_CreateFromDataArray') 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
+ # Update quotation lines from data objects.
31
+ # Parameters: dataArray: The array of data objects.
32
+ #
33
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
34
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('QuotationLine_UpdateFromDataArray') do |message|
38
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
39
+ end
40
+ end
41
+
42
+ # Updates an quotation line from a data object.
43
+ # Parameters: data: The data object.
44
+ #
45
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
46
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('QuotationLine_UpdateFromData') do |message|
50
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
51
+ end
52
+ end
53
+
54
+ # Returns an quotation line data object for a given quotation line.
55
+ # Parameters: entityHandle: A handle for the quotation line.
56
+ #
57
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
58
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('QuotationLine_GetData') do |message|
62
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
63
+ end
64
+ end
65
+
66
+ # Returns quotation line data objects for a given set of quotation line handles.
67
+ # Parameters: entityHandles: An array of the quotation line handles.
68
+ #
69
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
70
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('QuotationLine_GetDataArray') do |message|
74
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
75
+ end
76
+ end
77
+
78
+ # Gets the number of an quotation line.
79
+ # Parameters: quotationLineHandle: Handle for the quotation line.
80
+ #
81
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
82
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetNumber
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.get_number
85
+ response = invoke('QuotationLine_GetNumber') do |message|
86
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
87
+ end
88
+ end
89
+
90
+ # Gets a handle for the quotation of an quotation line.
91
+ # Parameters: quotationLineHandle: Handle for the quotation line.
92
+ #
93
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
94
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetQuotation
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.get_quotation
97
+ response = invoke('QuotationLine_GetQuotation') do |message|
98
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
99
+ end
100
+ end
101
+
102
+ # Sets the description of an quotation line.
103
+ # Parameters: quotationLineHandle: Handle for the quotation line. value: The new description of the quotation line.
104
+ #
105
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
106
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetDescription
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.set_description
109
+ response = invoke('QuotationLine_SetDescription') do |message|
110
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
111
+ end
112
+ end
113
+
114
+ # Gets the description of an quotation line.
115
+ # Parameters: quotationLineHandle: Handle for the quotation line.
116
+ #
117
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
118
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetDescription
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.get_description
121
+ response = invoke('QuotationLine_GetDescription') do |message|
122
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
123
+ end
124
+ end
125
+
126
+ # Gets the delivery date of an quotation line.
127
+ # Parameters: quotationLineHandle: Handle for the quotation line.
128
+ #
129
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
130
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetDeliveryDate
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.get_delivery_date
133
+ response = invoke('QuotationLine_GetDeliveryDate') do |message|
134
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
135
+ end
136
+ end
137
+
138
+ # Sets the delivery date of an quotation line.
139
+ # Parameters: quotationLineHandle: Handle for the quotation line. value: The new delivery date of the quotation line.
140
+ #
141
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
142
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetDeliveryDate
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.set_delivery_date
145
+ response = invoke('QuotationLine_SetDeliveryDate') do |message|
146
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
147
+ end
148
+ end
149
+
150
+ # Gets handle for primary unit of an quotation line.
151
+ # Parameters: quotationLineHandle: Handle for the quotation line.
152
+ #
153
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
154
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetUnit
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.get_unit
157
+ response = invoke('QuotationLine_GetUnit') do |message|
158
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
159
+ end
160
+ end
161
+
162
+ # Sets primary unit of an quotation line.
163
+ # Parameters: quotationLineHandle: Handle for the quotation line. valueHandle: Handle for new primary unit of the quotation line.
164
+ #
165
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
166
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetUnit
167
+ # @return [Hash] The body content of the SOAP response.
168
+ def self.set_unit
169
+ response = invoke('QuotationLine_SetUnit') do |message|
170
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
171
+ end
172
+ end
173
+
174
+ # Gets handle for product of an quotation line.
175
+ # Parameters: quotationLineHandle: Handle for the quotation line.
176
+ #
177
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
178
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetProduct
179
+ # @return [Hash] The body content of the SOAP response.
180
+ def self.get_product
181
+ response = invoke('QuotationLine_GetProduct') do |message|
182
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
183
+ end
184
+ end
185
+
186
+ # Sets product of an quotation line. Setting the product also sets the unit cost price to the cost price of the product. The product must be set before setting the quantity and the unit net price.
187
+ # Parameters: quotationLineHandle: Handle for the quotation line. valueHandle: Handle for new product of the quotation line.
188
+ #
189
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
190
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetProduct
191
+ # @return [Hash] The body content of the SOAP response.
192
+ def self.set_product
193
+ response = invoke('QuotationLine_SetProduct') do |message|
194
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
195
+ end
196
+ end
197
+
198
+ # Sets primary quantity of an quotation line. The product of the quotation line must be set before setting this property.
199
+ # Parameters: quotationLineHandle: Handle for the quotation line. valueHandle: Handle for primary quantity of the quotation line.
200
+ #
201
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
202
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetQuantity
203
+ # @return [Hash] The body content of the SOAP response.
204
+ def self.set_quantity
205
+ response = invoke('QuotationLine_SetQuantity') do |message|
206
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
207
+ end
208
+ end
209
+
210
+ # Gets primary quantity of an quotation line.
211
+ # Parameters: quotationLineHandle: Handle for the quotation line.
212
+ #
213
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
214
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetQuantity
215
+ # @return [Hash] The body content of the SOAP response.
216
+ def self.get_quantity
217
+ response = invoke('QuotationLine_GetQuantity') do |message|
218
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
219
+ end
220
+ end
221
+
222
+ # Sets price per unit without VAT of an quotation line (in the currency of the quotation). The product of the quotation line must be set before setting this property.
223
+ # Parameters: quotationLineHandle: Handle for the quotation line. value: The new price per unit without VAT of the quotation line.
224
+ #
225
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
226
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetUnitNetPrice
227
+ # @return [Hash] The body content of the SOAP response.
228
+ def self.set_unit_net_price
229
+ response = invoke('QuotationLine_SetUnitNetPrice') do |message|
230
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
231
+ end
232
+ end
233
+
234
+ # Gets price per unit without VAT of an quotation line (in the currency of the quotation).
235
+ # Parameters: quotationLineHandle: Handle for the quotation line.
236
+ #
237
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
238
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetUnitNetPrice
239
+ # @return [Hash] The body content of the SOAP response.
240
+ def self.get_unit_net_price
241
+ response = invoke('QuotationLine_GetUnitNetPrice') do |message|
242
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
243
+ end
244
+ end
245
+
246
+ # Gets discount of an quotation line as percent.
247
+ # Parameters: quotationLineHandle: Handle for the quotation line.
248
+ #
249
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
250
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetDiscountAsPercent
251
+ # @return [Hash] The body content of the SOAP response.
252
+ def self.get_discount_as_percent
253
+ response = invoke('QuotationLine_GetDiscountAsPercent') do |message|
254
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
255
+ end
256
+ end
257
+
258
+ # Sets discount of an quotation line as percent.
259
+ # Parameters: quotationLineHandle: Handle for the quotation line. value: The new discount as percent of the quotation line.
260
+ #
261
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
262
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetDiscountAsPercent
263
+ # @return [Hash] The body content of the SOAP response.
264
+ def self.set_discount_as_percent
265
+ response = invoke('QuotationLine_SetDiscountAsPercent') do |message|
266
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
267
+ end
268
+ end
269
+
270
+ # Gets the cost price per unit witout VAT of an quotation line (in the default currency).
271
+ # Parameters: quotationLineHandle: Handle for the quotation line.
272
+ #
273
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
274
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetUnitCostPrice
275
+ # @return [Hash] The body content of the SOAP response.
276
+ def self.get_unit_cost_price
277
+ response = invoke('QuotationLine_GetUnitCostPrice') do |message|
278
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
279
+ end
280
+ end
281
+
282
+ # Gets the total amount without VAT of an quotation line (in the currency of the quotation).
283
+ # Parameters: quotationLineHandle: Handle for the quotation line.
284
+ #
285
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
286
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetTotalNetAmount
287
+ # @return [Hash] The body content of the SOAP response.
288
+ def self.get_total_net_amount
289
+ response = invoke('QuotationLine_GetTotalNetAmount') do |message|
290
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
291
+ end
292
+ end
293
+
294
+ # Gets the margin of an quotation line (in the currency of the quotation).
295
+ # Parameters: quotationLineHandle: Handle for the quotation line.
296
+ #
297
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
298
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetTotalMargin
299
+ # @return [Hash] The body content of the SOAP response.
300
+ def self.get_total_margin
301
+ response = invoke('QuotationLine_GetTotalMargin') do |message|
302
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
303
+ end
304
+ end
305
+
306
+ # Gets the margin as percent of an quotation line.
307
+ # Parameters: quotationLineHandle: Handle for the quotation line.
308
+ #
309
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
310
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetMarginAsPercent
311
+ # @return [Hash] The body content of the SOAP response.
312
+ def self.get_margin_as_percent
313
+ response = invoke('QuotationLine_GetMarginAsPercent') do |message|
314
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
315
+ end
316
+ end
317
+
318
+ # Gets a handle for the department of an quotation line. The department is only accessible when there is access to the Dimension add-on module.
319
+ # Parameters: quotationLineHandle: Handle for the quotation line.
320
+ #
321
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
322
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetDepartment
323
+ # @return [Hash] The body content of the SOAP response.
324
+ def self.get_department
325
+ response = invoke('QuotationLine_GetDepartment') do |message|
326
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
327
+ end
328
+ end
329
+
330
+ # Sets the department of an quotation line. The department is only accessible when there is access to the Dimension add-on module. The department cannot be set when the distribution key is set.
331
+ # Parameters: quotationLineHandle: Handle for the quotation line. value: Handle for the new department of the quotation line.
332
+ #
333
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
334
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetDepartment
335
+ # @return [Hash] The body content of the SOAP response.
336
+ def self.set_department
337
+ response = invoke('QuotationLine_SetDepartment') do |message|
338
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
339
+ end
340
+ end
341
+
342
+ # Gets a handle for the distribution key of an quotation line. The distribution key is only accessible when there is access to the Dimension add-on module.
343
+ # Parameters: quotationLineHandle: Handle for the quotation line.
344
+ #
345
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
346
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetDistributionKey
347
+ # @return [Hash] The body content of the SOAP response.
348
+ def self.get_distribution_key
349
+ response = invoke('QuotationLine_GetDistributionKey') do |message|
350
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
351
+ end
352
+ end
353
+
354
+ # Sets the distribution key of an quotation line. The distribution key is only accessible when there is access to the Dimension add-on module. The distribution key cannot be set when the department is set.
355
+ # Parameters: quotationLineHandle: Handle for the quotation line. value: Handle for the new distribution key of the quotation line.
356
+ #
357
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
358
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetDistributionKey
359
+ # @return [Hash] The body content of the SOAP response.
360
+ def self.set_distribution_key
361
+ response = invoke('QuotationLine_SetDistributionKey') do |message|
362
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
363
+ end
364
+ end
365
+
366
+ # Creates a new quotation line.
367
+ # Parameters: quotationHandle: Handle for a quotation.
368
+ #
369
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
370
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_Create
371
+ # @return [Hash] The body content of the SOAP response.
372
+ def self.create
373
+ response = invoke('QuotationLine_Create') do |message|
374
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
375
+ end
376
+ end
377
+
378
+ # Returns handles for all quotation lines.
379
+ #
380
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
381
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetAll
382
+ # @return [Hash] The body content of the SOAP response.
383
+ def self.get_all
384
+ response = invoke('QuotationLine_GetAll') do |message|
385
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
386
+ end
387
+ end
388
+
389
+ # Returns handles for quotation lines that uses a given product.
390
+ # Parameters: product: The product to search for.
391
+ #
392
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
393
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_FindByProduct
394
+ # @return [Hash] The body content of the SOAP response.
395
+ def self.find_by_product
396
+ response = invoke('QuotationLine_FindByProduct') do |message|
397
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
398
+ end
399
+ end
400
+
401
+ # Returns handles for quotation lines that uses a given set of products.
402
+ # Parameters: products: The products to search for.
403
+ #
404
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
405
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_FindByProductList
406
+ # @return [Hash] The body content of the SOAP response.
407
+ def self.find_by_product_list
408
+ response = invoke('QuotationLine_FindByProductList') do |message|
409
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
410
+ end
411
+ end
412
+
413
+ # Deletes an quotation line.
414
+ # Parameters: quotationLineHandle: Handle for the quotation line.
415
+ #
416
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
417
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_Delete
418
+ # @return [Hash] The body content of the SOAP response.
419
+ def self.delete
420
+ response = invoke('QuotationLine_Delete') do |message|
421
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
422
+ end
423
+ end
424
+
425
+ # Gets a handle for the inventory location of a quotation line. The inventory location is only accessible when there is access to the Stock add-on module.
426
+ # Parameters: quotationLineHandle: Handle for the quotation line.
427
+ #
428
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
429
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_GetInventoryLocation
430
+ # @return [Hash] The body content of the SOAP response.
431
+ def self.get_inventory_location
432
+ response = invoke('QuotationLine_GetInventoryLocation') do |message|
433
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
434
+ end
435
+ end
436
+
437
+ # Sets the inventory location of a quotation line. The inventory location is only accessible when there is access to the Stock add-on module.
438
+ # Parameters: quotationLineHandle: Handle for the current invoice line. value: Handle for the new inventory location of the quotation line.
439
+ #
440
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
441
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=QuotationLine_SetInventoryLocation
442
+ # @return [Hash] The body content of the SOAP response.
443
+ def self.set_inventory_location
444
+ response = invoke('QuotationLine_SetInventoryLocation') do |message|
445
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
446
+ end
447
+ end
448
+
449
+ end
450
+ end
451
+ end
@@ -0,0 +1,78 @@
1
+ module Ruconomic
2
+ module API
3
+ module ReportCode
4
+ extend Ruconomic::WebService
5
+
6
+ # Returns a ReportCode data object for a given ReportCode.
7
+ # Parameters: entityHandle: A handle for the ReportCode.
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=ReportCode_GetData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.get_data
13
+ response = invoke('ReportCode_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 ReportCode data objects for a given set of ReportCode handles.
19
+ # Parameters: entityHandles: An array of the ReportCode 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=ReportCode_GetDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_data_array
25
+ response = invoke('ReportCode_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
+ # Gets handles for the accounts of a report code.
31
+ # Parameters: reportCodeHandle: Handle for the report code.
32
+ #
33
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
34
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ReportCode_GetAccounts
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.get_accounts
37
+ response = invoke('ReportCode_GetAccounts') do |message|
38
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
39
+ end
40
+ end
41
+
42
+ # Gets the code of the ReportCode.
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=ReportCode_GetCode
46
+ # @return [Hash] The body content of the SOAP response.
47
+ def self.get_code
48
+ response = invoke('ReportCode_GetCode') 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 fullcode of the ReportCode.
54
+ #
55
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
56
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ReportCode_GetFullCode
57
+ # @return [Hash] The body content of the SOAP response.
58
+ def self.get_full_code
59
+ response = invoke('ReportCode_GetFullCode') do |message|
60
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
61
+ end
62
+ end
63
+
64
+ # Gets a handle for the parentCode of a ReportCode.
65
+ # Parameters: reportCodeHandle: Handle for the report code.
66
+ #
67
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
68
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ReportCode_GetParentCode
69
+ # @return [Hash] The body content of the SOAP response.
70
+ def self.get_parent_code
71
+ response = invoke('ReportCode_GetParentCode') do |message|
72
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
73
+ end
74
+ end
75
+
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,89 @@
1
+ module Ruconomic
2
+ module API
3
+ module ReportCodeSet
4
+ extend Ruconomic::WebService
5
+
6
+ # Returns a ReportCodeSet data object for a given ReportCodeSet.
7
+ # Parameters: entityHandle: A handle for the ReportCodeSet.
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=ReportCodeSet_GetData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.get_data
13
+ response = invoke('ReportCodeSet_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 ReportCodeSet data objects for a given set of ReportCodeSet handles.
19
+ # Parameters: entityHandles: An array of the ReportCodeSet 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=ReportCodeSet_GetDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_data_array
25
+ response = invoke('ReportCodeSet_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 handles for all ReportCodeSets.
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=ReportCodeSet_GetAll
34
+ # @return [Hash] The body content of the SOAP response.
35
+ def self.get_all
36
+ response = invoke('ReportCodeSet_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 handles for the ReportCodeSets 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=ReportCodeSet_FindByName
46
+ # @return [Hash] The body content of the SOAP response.
47
+ def self.find_by_name
48
+ response = invoke('ReportCodeSet_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
+ # Gets handles for ReportCodes in a ReportCodeSet.
54
+ # Parameters: reportCodeSetHandle: Handle for the ReportCodeSet.
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=ReportCodeSet_GetCodes
58
+ # @return [Hash] The body content of the SOAP response.
59
+ def self.get_codes
60
+ response = invoke('ReportCodeSet_GetCodes') 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 name of the ReportCodeSet.
66
+ #
67
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
68
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ReportCodeSet_GetName
69
+ # @return [Hash] The body content of the SOAP response.
70
+ def self.get_name
71
+ response = invoke('ReportCodeSet_GetName') do |message|
72
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
73
+ end
74
+ end
75
+
76
+ # Gets the codeSet of the ReportCodeSet.
77
+ #
78
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
79
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ReportCodeSet_GetCodeSet
80
+ # @return [Hash] The body content of the SOAP response.
81
+ def self.get_code_set
82
+ response = invoke('ReportCodeSet_GetCodeSet') do |message|
83
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
84
+ end
85
+ end
86
+
87
+ end
88
+ end
89
+ end