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,440 @@
1
+ module Ruconomic
2
+ module API
3
+ module CurrentInvoiceLine
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new current invoice line from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new current invoice 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=CurrentInvoiceLine_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('CurrentInvoiceLine_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 current invoice lines from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new current invoice 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=CurrentInvoiceLine_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('CurrentInvoiceLine_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 current invoice 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=CurrentInvoiceLine_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('CurrentInvoiceLine_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 a current invoice 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=CurrentInvoiceLine_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('CurrentInvoiceLine_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 a current invoice line data object for a given current invoice line.
55
+ # Parameters: entityHandle: A handle for the current invoice 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=CurrentInvoiceLine_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('CurrentInvoiceLine_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 current invoice line data objects for current invoice lines.
67
+ # Parameters: entityHandles: The array of current invoice 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=CurrentInvoiceLine_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('CurrentInvoiceLine_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 a current invoice line.
79
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetNumber
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.get_number
85
+ response = invoke('CurrentInvoiceLine_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 current invoice of a current invoice line.
91
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetInvoice
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.get_invoice
97
+ response = invoke('CurrentInvoiceLine_GetInvoice') 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
+ # Gets the description of a current invoice line.
103
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetDescription
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.get_description
109
+ response = invoke('CurrentInvoiceLine_GetDescription') 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
+ # Sets the description of a current invoice line.
115
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new description of the current invoice 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=CurrentInvoiceLine_SetDescription
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.set_description
121
+ response = invoke('CurrentInvoiceLine_SetDescription') 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 a current invoice line.
127
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetDeliveryDate
131
+ # @return [Hash] The body content of the SOAP response.
132
+ def self.get_delivery_date
133
+ response = invoke('CurrentInvoiceLine_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 a current invoice line.
139
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new delivery date of the current invoice 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=CurrentInvoiceLine_SetDeliveryDate
143
+ # @return [Hash] The body content of the SOAP response.
144
+ def self.set_delivery_date
145
+ response = invoke('CurrentInvoiceLine_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 a handle for the primary unit of a current invoice line.
151
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetUnit
155
+ # @return [Hash] The body content of the SOAP response.
156
+ def self.get_unit
157
+ response = invoke('CurrentInvoiceLine_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 the primary unit of a current invoice line.
163
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. valueHandle: Handle for the new primary unit of the current invoice 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=CurrentInvoiceLine_SetUnit
167
+ # @return [Hash] The body content of the SOAP response.
168
+ def self.set_unit
169
+ response = invoke('CurrentInvoiceLine_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
+ # Sets the product of a current invoice 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.
175
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. valueHandle: Handle for the new product of the current invoice 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=CurrentInvoiceLine_SetProduct
179
+ # @return [Hash] The body content of the SOAP response.
180
+ def self.set_product
181
+ response = invoke('CurrentInvoiceLine_SetProduct') 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
+ # Gets a handle for the product of a current invoice line.
187
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetProduct
191
+ # @return [Hash] The body content of the SOAP response.
192
+ def self.get_product
193
+ response = invoke('CurrentInvoiceLine_GetProduct') 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 the primary quantity of a current invoice line. The product of the current invoice line must be set before setting this property.
199
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new primary quantity of the current invoice 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=CurrentInvoiceLine_SetQuantity
203
+ # @return [Hash] The body content of the SOAP response.
204
+ def self.set_quantity
205
+ response = invoke('CurrentInvoiceLine_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 the primary quantity of a current invoice line.
211
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetQuantity
215
+ # @return [Hash] The body content of the SOAP response.
216
+ def self.get_quantity
217
+ response = invoke('CurrentInvoiceLine_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
+ # Gets the price per unit without VAT of a current invoice line (in the currency of its current invoice).
223
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetUnitNetPrice
227
+ # @return [Hash] The body content of the SOAP response.
228
+ def self.get_unit_net_price
229
+ response = invoke('CurrentInvoiceLine_GetUnitNetPrice') 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
+ # Sets the price per unit without VAT of a current invoice line (in the currency of its current invoice). The product of the current invoice line must be set before setting this property.
235
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new price per unit of the current invoice 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=CurrentInvoiceLine_SetUnitNetPrice
239
+ # @return [Hash] The body content of the SOAP response.
240
+ def self.set_unit_net_price
241
+ response = invoke('CurrentInvoiceLine_SetUnitNetPrice') 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 the discount of a current invoice line as percent.
247
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetDiscountAsPercent
251
+ # @return [Hash] The body content of the SOAP response.
252
+ def self.get_discount_as_percent
253
+ response = invoke('CurrentInvoiceLine_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 the discount of a current invoice line as percent.
259
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new discount of the current invoice line as percent.
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=CurrentInvoiceLine_SetDiscountAsPercent
263
+ # @return [Hash] The body content of the SOAP response.
264
+ def self.set_discount_as_percent
265
+ response = invoke('CurrentInvoiceLine_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 without VAT of a current invoice line (in the default currency).
271
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetUnitCostPrice
275
+ # @return [Hash] The body content of the SOAP response.
276
+ def self.get_unit_cost_price
277
+ response = invoke('CurrentInvoiceLine_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 a current invoice line (in the currency of its current invoice).
283
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetTotalNetAmount
287
+ # @return [Hash] The body content of the SOAP response.
288
+ def self.get_total_net_amount
289
+ response = invoke('CurrentInvoiceLine_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 a current invoice line (in the currency of its current invoice).
295
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetTotalMargin
299
+ # @return [Hash] The body content of the SOAP response.
300
+ def self.get_total_margin
301
+ response = invoke('CurrentInvoiceLine_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 of a current invoice as percent.
307
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetMarginAsPercent
311
+ # @return [Hash] The body content of the SOAP response.
312
+ def self.get_margin_as_percent
313
+ response = invoke('CurrentInvoiceLine_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
+ # Sets the department of a current invoice 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.
319
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new department of the current invoice 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=CurrentInvoiceLine_SetDepartment
323
+ # @return [Hash] The body content of the SOAP response.
324
+ def self.set_department
325
+ response = invoke('CurrentInvoiceLine_SetDepartment') 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
+ # Gets a handle for the department of a current invoice line. The department is only accessible when there is access to the Dimension add-on module.
331
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetDepartment
335
+ # @return [Hash] The body content of the SOAP response.
336
+ def self.get_department
337
+ response = invoke('CurrentInvoiceLine_GetDepartment') 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 a current invoice line. The distribution key is only accessible when there is access to the Dimension add-on module.
343
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice 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=CurrentInvoiceLine_GetDistributionKey
347
+ # @return [Hash] The body content of the SOAP response.
348
+ def self.get_distribution_key
349
+ response = invoke('CurrentInvoiceLine_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 a current invoice 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: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new distribution key of the current invoice 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=CurrentInvoiceLine_SetDistributionKey
359
+ # @return [Hash] The body content of the SOAP response.
360
+ def self.set_distribution_key
361
+ response = invoke('CurrentInvoiceLine_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
+ # Gets a handle for the inventory location of a current invoice line. The inventory location is only accessible when there is access to the Stock add-on module.
367
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
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=CurrentInvoiceLine_GetInventoryLocation
371
+ # @return [Hash] The body content of the SOAP response.
372
+ def self.get_inventory_location
373
+ response = invoke('CurrentInvoiceLine_GetInventoryLocation') 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
+ # Sets the inventory location of a current invoice line. The inventory location is only accessible when there is access to the Stock add-on module.
379
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new inventory location of the current invoice line.
380
+ #
381
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
382
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_SetInventoryLocation
383
+ # @return [Hash] The body content of the SOAP response.
384
+ def self.set_inventory_location
385
+ response = invoke('CurrentInvoiceLine_SetInventoryLocation') do |message|
386
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
387
+ end
388
+ end
389
+
390
+ # Creates a new current invoice line.
391
+ # Parameters: invoiceHandle: Handle for a current invoice.
392
+ #
393
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
394
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_Create
395
+ # @return [Hash] The body content of the SOAP response.
396
+ def self.create
397
+ response = invoke('CurrentInvoiceLine_Create') do |message|
398
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
399
+ end
400
+ end
401
+
402
+ # Returns handles for current invoice lines that uses a given products.
403
+ # Parameters: product: The product to search for.
404
+ #
405
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
406
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_FindByProduct
407
+ # @return [Hash] The body content of the SOAP response.
408
+ def self.find_by_product
409
+ response = invoke('CurrentInvoiceLine_FindByProduct') do |message|
410
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
411
+ end
412
+ end
413
+
414
+ # Returns handles for current invoice lines that uses a given set of products.
415
+ # Parameters: products: The products to search for.
416
+ #
417
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
418
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_FindByProductList
419
+ # @return [Hash] The body content of the SOAP response.
420
+ def self.find_by_product_list
421
+ response = invoke('CurrentInvoiceLine_FindByProductList') do |message|
422
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
423
+ end
424
+ end
425
+
426
+ # Deletes a current invoice line.
427
+ # Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
428
+ #
429
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
430
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_Delete
431
+ # @return [Hash] The body content of the SOAP response.
432
+ def self.delete
433
+ response = invoke('CurrentInvoiceLine_Delete') do |message|
434
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
435
+ end
436
+ end
437
+
438
+ end
439
+ end
440
+ end
@@ -0,0 +1,115 @@
1
+ module Ruconomic
2
+ module API
3
+ module CurrentSupplierInvoice
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new current supplier invoice.
7
+ # Parameters: creditor: Handle for a creditor.
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=CurrentSupplierInvoice_Create
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create
13
+ response = invoke('CurrentSupplierInvoice_Create') 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 current supplier invoices.
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=CurrentSupplierInvoice_GetAll
22
+ # @return [Hash] The body content of the SOAP response.
23
+ def self.get_all
24
+ response = invoke('CurrentSupplierInvoice_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
+ # Gets handles for the lines of a current supplier invoice.
30
+ # Parameters: currentSupplierInvoiceHandle: Handle for the current supplier invoice.
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=CurrentSupplierInvoice_GetLines
34
+ # @return [Hash] The body content of the SOAP response.
35
+ def self.get_lines
36
+ response = invoke('CurrentSupplierInvoice_GetLines') 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
+ # Creates a new current supplier invoice from a data object.
42
+ # Parameters: data: The data object that specifies the properties of the new current supplier invoice.
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=CurrentSupplierInvoice_CreateFromData
46
+ # @return [Hash] The body content of the SOAP response.
47
+ def self.create_from_data
48
+ response = invoke('CurrentSupplierInvoice_CreateFromData') 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
+ # Creates new current supplier invoices from data objects.
54
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new current supplier invoices.
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=CurrentSupplierInvoice_CreateFromDataArray
58
+ # @return [Hash] The body content of the SOAP response.
59
+ def self.create_from_data_array
60
+ response = invoke('CurrentSupplierInvoice_CreateFromDataArray') 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
+ # Update current supplier invoices from data objects.
66
+ # Parameters: dataArray: The array of data objects.
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=CurrentSupplierInvoice_UpdateFromDataArray
70
+ # @return [Hash] The body content of the SOAP response.
71
+ def self.update_from_data_array
72
+ response = invoke('CurrentSupplierInvoice_UpdateFromDataArray') 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
+ # Updates a current supplier invoice from a data object.
78
+ # Parameters: data: The data object.
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=CurrentSupplierInvoice_UpdateFromData
82
+ # @return [Hash] The body content of the SOAP response.
83
+ def self.update_from_data
84
+ response = invoke('CurrentSupplierInvoice_UpdateFromData') 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
+ # Returns a current supplier invoice data object for a given current supplier invoice.
90
+ # Parameters: entityHandle: A handle for the current supplier invoice.
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=CurrentSupplierInvoice_GetData
94
+ # @return [Hash] The body content of the SOAP response.
95
+ def self.get_data
96
+ response = invoke('CurrentSupplierInvoice_GetData') 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
+ # Returns current supplier invoice data objects for a given set of current invoice handles.
102
+ # Parameters: entityHandles: An array of the current supplier invoice handles.
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=CurrentSupplierInvoice_GetDataArray
106
+ # @return [Hash] The body content of the SOAP response.
107
+ def self.get_data_array
108
+ response = invoke('CurrentSupplierInvoice_GetDataArray') 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
+ end
114
+ end
115
+ end
@@ -0,0 +1,92 @@
1
+ module Ruconomic
2
+ module API
3
+ module CurrentSupplierInvoiceLine
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new current supplier invoice line from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new current supplier invoice 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=CurrentSupplierInvoiceLine_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('CurrentSupplierInvoiceLine_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 current supplier invoice lines from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new current supplier invoice 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=CurrentSupplierInvoiceLine_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('CurrentSupplierInvoiceLine_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 current supplier invoice 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=CurrentSupplierInvoiceLine_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('CurrentSupplierInvoiceLine_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 a current supplier invoice 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=CurrentSupplierInvoiceLine_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('CurrentSupplierInvoiceLine_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 a current supplier invoice line data object for a given current supplier invoice line.
55
+ # Parameters: entityHandle: A handle for the current supplier invoice 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=CurrentSupplierInvoiceLine_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('CurrentSupplierInvoiceLine_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 current supplier invoice line data objects for current supplier invoice lines.
67
+ # Parameters: entityHandles: The array of current supplier invoice 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=CurrentSupplierInvoiceLine_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('CurrentSupplierInvoiceLine_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
+ # Creates a new current invoice line.
79
+ # Parameters: invoiceHandle: Handle for a current supplier invoice. productHandle: Handle for a product
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=CurrentSupplierInvoiceLine_Create
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.create
85
+ response = invoke('CurrentSupplierInvoiceLine_Create') 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
+ end
91
+ end
92
+ end