ruconomic 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/ruconomic/api/account.rb +86 -86
- data/lib/ruconomic/api/accounting_period.rb +18 -18
- data/lib/ruconomic/api/accounting_year.rb +26 -26
- data/lib/ruconomic/api/activity.rb +14 -14
- data/lib/ruconomic/api/bank_payment_type.rb +16 -16
- data/lib/ruconomic/api/budget_figure.rb +56 -56
- data/lib/ruconomic/api/cash_book.rb +38 -38
- data/lib/ruconomic/api/cash_book_entry.rb +118 -118
- data/lib/ruconomic/api/company.rb +48 -48
- data/lib/ruconomic/api/cost_type.rb +22 -22
- data/lib/ruconomic/api/cost_type_group.rb +18 -18
- data/lib/ruconomic/api/creditor.rb +114 -114
- data/lib/ruconomic/api/creditor_contact.rb +44 -44
- data/lib/ruconomic/api/creditor_entry.rb +40 -40
- data/lib/ruconomic/api/creditor_group.rb +34 -34
- data/lib/ruconomic/api/currency.rb +10 -10
- data/lib/ruconomic/api/current_invoice.rb +184 -184
- data/lib/ruconomic/api/current_invoice_line.rb +72 -72
- data/lib/ruconomic/api/current_supplier_invoice.rb +18 -18
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +14 -14
- data/lib/ruconomic/api/debtor.rb +152 -152
- data/lib/ruconomic/api/debtor_contact.rb +54 -54
- data/lib/ruconomic/api/debtor_entry.rb +38 -38
- data/lib/ruconomic/api/debtor_group.rb +38 -38
- data/lib/ruconomic/api/delivery_location.rb +56 -56
- data/lib/ruconomic/api/department.rb +32 -32
- data/lib/ruconomic/api/distribution_key.rb +30 -30
- data/lib/ruconomic/api/document_archive_category.rb +26 -26
- data/lib/ruconomic/api/employee.rb +70 -70
- data/lib/ruconomic/api/employee_group.rb +32 -32
- data/lib/ruconomic/api/entry.rb +52 -52
- data/lib/ruconomic/api/extended_vat_zone.rb +12 -12
- data/lib/ruconomic/api/inventory_location.rb +14 -14
- data/lib/ruconomic/api/invoice.rb +115 -111
- data/lib/ruconomic/api/invoice_line.rb +40 -40
- data/lib/ruconomic/api/key_figure_code.rb +16 -16
- data/lib/ruconomic/api/mileage_entry.rb +52 -52
- data/lib/ruconomic/api/order.rb +194 -194
- data/lib/ruconomic/api/order_line.rb +74 -74
- data/lib/ruconomic/api/price_group.rb +32 -32
- data/lib/ruconomic/api/product.rb +88 -88
- data/lib/ruconomic/api/product_group.rb +44 -44
- data/lib/ruconomic/api/product_price.rb +26 -26
- data/lib/ruconomic/api/project.rb +74 -74
- data/lib/ruconomic/api/project_group.rb +18 -18
- data/lib/ruconomic/api/quotation.rb +190 -190
- data/lib/ruconomic/api/quotation_line.rb +74 -74
- data/lib/ruconomic/api/report_code.rb +12 -12
- data/lib/ruconomic/api/report_code_set.rb +14 -14
- data/lib/ruconomic/api/scanned_document.rb +28 -28
- data/lib/ruconomic/api/subscriber.rb +78 -78
- data/lib/ruconomic/api/subscription.rb +62 -62
- data/lib/ruconomic/api/subscription_line.rb +50 -50
- data/lib/ruconomic/api/sum_interval.rb +26 -26
- data/lib/ruconomic/api/template_collection.rb +12 -12
- data/lib/ruconomic/api/term_of_payment.rb +50 -50
- data/lib/ruconomic/api/time_entry.rb +42 -42
- data/lib/ruconomic/api/unit.rb +30 -30
- data/lib/ruconomic/api/vat_account.rb +24 -24
- data/lib/ruconomic/api.rb +12 -13
- data/lib/ruconomic/version.rb +1 -1
- data/ruconomic.gemspec +1 -1
- metadata +20 -21
@@ -6,525 +6,525 @@ module Ruconomic
|
|
6
6
|
# Sets the cost price of a product.
|
7
7
|
# Parameters: productHandle: Handle for the product. value: The new cost price of the product.
|
8
8
|
#
|
9
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
10
10
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetCostPrice
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.set_cost_price
|
13
13
|
response = invoke('Product_SetCostPrice') do |message|
|
14
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
# Gets the recommended price of a product.
|
19
19
|
# Parameters: productHandle: Handle for the product.
|
20
20
|
#
|
21
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
22
22
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetRecommendedPrice
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.get_recommended_price
|
25
25
|
response = invoke('Product_GetRecommendedPrice') do |message|
|
26
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
# Sets the recommended price of a product.
|
31
31
|
# Parameters: productHandle: Handle for the product. value: The new recommended price of the product.
|
32
32
|
#
|
33
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
34
34
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetRecommendedPrice
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.set_recommended_price
|
37
37
|
response = invoke('Product_SetRecommendedPrice') do |message|
|
38
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
# Gets handle for the primary unit of a product.
|
43
43
|
# Parameters: productHandle: Handle for the product.
|
44
44
|
#
|
45
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
46
46
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetUnit
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.get_unit
|
49
49
|
response = invoke('Product_GetUnit') do |message|
|
50
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
# Sets primary unit of a product.
|
55
55
|
# Parameters: productHandle: Handle for the product. value: Handle for new primary unit of the product.
|
56
56
|
#
|
57
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
58
58
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetUnit
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.set_unit
|
61
61
|
response = invoke('Product_SetUnit') do |message|
|
62
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# Sets whether a product is accessible.
|
67
67
|
# Parameters: productHandle: Handle for the product. value: Value that indicates whether the product should be accessible.
|
68
68
|
#
|
69
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
70
70
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetIsAccessible
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.set_is_accessible
|
73
73
|
response = invoke('Product_SetIsAccessible') do |message|
|
74
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
# Gets whether a product is accessible.
|
79
79
|
# Parameters: productHandle: Handle for the product.
|
80
80
|
#
|
81
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
82
82
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetIsAccessible
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.get_is_accessible
|
85
85
|
response = invoke('Product_GetIsAccessible') do |message|
|
86
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Sets the volume of a product.
|
91
91
|
# Parameters: productHandle: Handle for the product. value: The new volume value of the product.
|
92
92
|
#
|
93
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
93
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
94
94
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetVolume
|
95
95
|
# @return [Hash] The body content of the SOAP response.
|
96
96
|
def self.set_volume
|
97
97
|
response = invoke('Product_SetVolume') do |message|
|
98
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
98
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
102
|
# Gets the volume of a product.
|
103
103
|
# Parameters: productHandle: Handle for the product.
|
104
104
|
#
|
105
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
105
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
106
106
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetVolume
|
107
107
|
# @return [Hash] The body content of the SOAP response.
|
108
108
|
def self.get_volume
|
109
109
|
response = invoke('Product_GetVolume') do |message|
|
110
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
110
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
114
|
# Gets a handle for the department of a product. The department is only accessible when there is access to the Dimension add-on module.
|
115
115
|
# Parameters: productHandle: Handle for the product.
|
116
116
|
#
|
117
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
117
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
118
118
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetDepartment
|
119
119
|
# @return [Hash] The body content of the SOAP response.
|
120
120
|
def self.get_department
|
121
121
|
response = invoke('Product_GetDepartment') do |message|
|
122
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
122
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
126
|
# Sets the department of a product. 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.
|
127
127
|
# Parameters: productHandle: Handle for the product. value: Handle for the new department of the product.
|
128
128
|
#
|
129
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
129
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
130
130
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetDepartment
|
131
131
|
# @return [Hash] The body content of the SOAP response.
|
132
132
|
def self.set_department
|
133
133
|
response = invoke('Product_SetDepartment') do |message|
|
134
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
134
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
138
|
# Gets a handle for the distribution key of a product. The distribution key is only accessible when there is access to the Dimension add-on module.
|
139
139
|
# Parameters: productHandle: Handle for the product.
|
140
140
|
#
|
141
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
141
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
142
142
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetDistributionKey
|
143
143
|
# @return [Hash] The body content of the SOAP response.
|
144
144
|
def self.get_distribution_key
|
145
145
|
response = invoke('Product_GetDistributionKey') do |message|
|
146
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
146
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
150
|
# Sets the distribution key of the product. 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.
|
151
151
|
# Parameters: productHandle: Handle for the product. value: Handle for the new distribution key of the product.
|
152
152
|
#
|
153
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
153
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
154
154
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetDistributionKey
|
155
155
|
# @return [Hash] The body content of the SOAP response.
|
156
156
|
def self.set_distribution_key
|
157
157
|
response = invoke('Product_SetDistributionKey') do |message|
|
158
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
158
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
162
|
# Gets the quantity in stock of a product. InStock is only accessible when there is access to the Stock add-on module.
|
163
163
|
# Parameters: productHandle: Handle for the product.
|
164
164
|
#
|
165
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
165
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
166
166
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetInStock
|
167
167
|
# @return [Hash] The body content of the SOAP response.
|
168
168
|
def self.get_in_stock
|
169
169
|
response = invoke('Product_GetInStock') do |message|
|
170
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
170
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
174
|
# Gets the quantity in stock that is already used on orders for a product. OnOrder is only accessible when there is access to the Stock add-on module.
|
175
175
|
# Parameters: productHandle: Handle for the product.
|
176
176
|
#
|
177
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
177
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
178
178
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetOnOrder
|
179
179
|
# @return [Hash] The body content of the SOAP response.
|
180
180
|
def self.get_on_order
|
181
181
|
response = invoke('Product_GetOnOrder') do |message|
|
182
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
182
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
183
183
|
end
|
184
184
|
end
|
185
185
|
|
186
186
|
# Gets quantity ordered from suppliers for a product. Ordered is only accessible when there is access to the Stock add-on module.
|
187
187
|
# Parameters: productHandle: Handle for the product.
|
188
188
|
#
|
189
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
189
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
190
190
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetOrdered
|
191
191
|
# @return [Hash] The body content of the SOAP response.
|
192
192
|
def self.get_ordered
|
193
193
|
response = invoke('Product_GetOrdered') do |message|
|
194
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
194
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
195
195
|
end
|
196
196
|
end
|
197
197
|
|
198
198
|
# Gets the quantity in stock that is not yet used on orders for a product. Available is only accessible when there is access to the Stock add-on module.
|
199
199
|
# Parameters: productHandle: Handle for the product.
|
200
200
|
#
|
201
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
201
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
202
202
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAvailable
|
203
203
|
# @return [Hash] The body content of the SOAP response.
|
204
204
|
def self.get_available
|
205
205
|
response = invoke('Product_GetAvailable') do |message|
|
206
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
206
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
210
210
|
# Creates a new product.
|
211
211
|
# Parameters: number: The number of the new product. productGroupHandle: The product group of the new product. name: The name of the new product.
|
212
212
|
#
|
213
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
213
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
214
214
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_Create
|
215
215
|
# @return [Hash] The body content of the SOAP response.
|
216
216
|
def self.create
|
217
217
|
response = invoke('Product_Create') do |message|
|
218
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
218
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
219
219
|
end
|
220
220
|
end
|
221
221
|
|
222
222
|
# Returns handles for all products.
|
223
223
|
#
|
224
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
224
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
225
225
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAll
|
226
226
|
# @return [Hash] The body content of the SOAP response.
|
227
227
|
def self.get_all
|
228
228
|
response = invoke('Product_GetAll') do |message|
|
229
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
229
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
230
230
|
end
|
231
231
|
end
|
232
232
|
|
233
233
|
# Returns handles for all accessible products.
|
234
234
|
#
|
235
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
235
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
236
236
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAllAccessible
|
237
237
|
# @return [Hash] The body content of the SOAP response.
|
238
238
|
def self.get_all_accessible
|
239
239
|
response = invoke('Product_GetAllAccessible') do |message|
|
240
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
240
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
244
244
|
# Return handles for all products from date. fromDate is based on CET. includeCalculatedProperties, when set to True, includes products with only stock status updated.
|
245
245
|
#
|
246
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
246
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
247
247
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetAllUpdated
|
248
248
|
# @return [Hash] The body content of the SOAP response.
|
249
249
|
def self.get_all_updated
|
250
250
|
response = invoke('Product_GetAllUpdated') do |message|
|
251
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
251
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
252
252
|
end
|
253
253
|
end
|
254
254
|
|
255
255
|
# Returns handle for the product with a given number.
|
256
256
|
# Parameters: name: The number to search for.
|
257
257
|
#
|
258
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
258
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
259
259
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByNumber
|
260
260
|
# @return [Hash] The body content of the SOAP response.
|
261
261
|
def self.find_by_number
|
262
262
|
response = invoke('Product_FindByNumber') do |message|
|
263
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
263
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
264
264
|
end
|
265
265
|
end
|
266
266
|
|
267
267
|
# Returns an array with handles for the products corresponding to the given product numbers. If a product with a given number does not exist or if no number is given then the array contains nothing at that index.
|
268
268
|
# Parameters: numbers: The numbers to search for.
|
269
269
|
#
|
270
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
270
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
271
271
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByNumberList
|
272
272
|
# @return [Hash] The body content of the SOAP response.
|
273
273
|
def self.find_by_number_list
|
274
274
|
response = invoke('Product_FindByNumberList') do |message|
|
275
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
275
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
276
276
|
end
|
277
277
|
end
|
278
278
|
|
279
279
|
# Returns handles for the products with a given name.
|
280
280
|
# Parameters: name: The name to search for.
|
281
281
|
#
|
282
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
282
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
283
283
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByName
|
284
284
|
# @return [Hash] The body content of the SOAP response.
|
285
285
|
def self.find_by_name
|
286
286
|
response = invoke('Product_FindByName') do |message|
|
287
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
287
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
288
288
|
end
|
289
289
|
end
|
290
290
|
|
291
291
|
# Returns handles for the products with a given bar code.
|
292
292
|
# Parameters: barCode: The bar code to search for.
|
293
293
|
#
|
294
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
294
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
295
295
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_FindByBarCode
|
296
296
|
# @return [Hash] The body content of the SOAP response.
|
297
297
|
def self.find_by_bar_code
|
298
298
|
response = invoke('Product_FindByBarCode') do |message|
|
299
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
299
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
300
300
|
end
|
301
301
|
end
|
302
302
|
|
303
303
|
# Deletes a product.
|
304
304
|
# Parameters: productHandle: Handle for the product.
|
305
305
|
#
|
306
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
306
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
307
307
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_Delete
|
308
308
|
# @return [Hash] The body content of the SOAP response.
|
309
309
|
def self.delete
|
310
310
|
response = invoke('Product_Delete') do |message|
|
311
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
311
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
312
312
|
end
|
313
313
|
end
|
314
314
|
|
315
315
|
# Creates a new product from a data object.
|
316
316
|
# Parameters: data: The data object that specifies the properties of the new product.
|
317
317
|
#
|
318
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
318
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
319
319
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_CreateFromData
|
320
320
|
# @return [Hash] The body content of the SOAP response.
|
321
321
|
def self.create_from_data
|
322
322
|
response = invoke('Product_CreateFromData') do |message|
|
323
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
323
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
324
324
|
end
|
325
325
|
end
|
326
326
|
|
327
327
|
# Creates new products from data objects.
|
328
328
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new products.
|
329
329
|
#
|
330
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
330
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
331
331
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_CreateFromDataArray
|
332
332
|
# @return [Hash] The body content of the SOAP response.
|
333
333
|
def self.create_from_data_array
|
334
334
|
response = invoke('Product_CreateFromDataArray') do |message|
|
335
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
335
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
336
336
|
end
|
337
337
|
end
|
338
338
|
|
339
339
|
# Update products from data objects.
|
340
340
|
# Parameters: dataArray: The array of data objects.
|
341
341
|
#
|
342
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
342
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
343
343
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_UpdateFromDataArray
|
344
344
|
# @return [Hash] The body content of the SOAP response.
|
345
345
|
def self.update_from_data_array
|
346
346
|
response = invoke('Product_UpdateFromDataArray') do |message|
|
347
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
347
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
348
348
|
end
|
349
349
|
end
|
350
350
|
|
351
351
|
# Updates a product from a data object.
|
352
352
|
# Parameters: data: The data object.
|
353
353
|
#
|
354
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
354
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
355
355
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_UpdateFromData
|
356
356
|
# @return [Hash] The body content of the SOAP response.
|
357
357
|
def self.update_from_data
|
358
358
|
response = invoke('Product_UpdateFromData') do |message|
|
359
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
359
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
360
360
|
end
|
361
361
|
end
|
362
362
|
|
363
363
|
# Returns an product data object for a given product.
|
364
364
|
# Parameters: entityHandle: A handle for the product.
|
365
365
|
#
|
366
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
366
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
367
367
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetData
|
368
368
|
# @return [Hash] The body content of the SOAP response.
|
369
369
|
def self.get_data
|
370
370
|
response = invoke('Product_GetData') do |message|
|
371
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
371
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
375
375
|
# Returns product data objects for a given set of product handles.
|
376
376
|
# Parameters: entityHandles: An array of the product handles.
|
377
377
|
#
|
378
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
378
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
379
379
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetDataArray
|
380
380
|
# @return [Hash] The body content of the SOAP response.
|
381
381
|
def self.get_data_array
|
382
382
|
response = invoke('Product_GetDataArray') do |message|
|
383
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
383
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
384
384
|
end
|
385
385
|
end
|
386
386
|
|
387
387
|
# Gets the number of a product.
|
388
388
|
# Parameters: productHandle: Handle for the product.
|
389
389
|
#
|
390
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
390
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
391
391
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetNumber
|
392
392
|
# @return [Hash] The body content of the SOAP response.
|
393
393
|
def self.get_number
|
394
394
|
response = invoke('Product_GetNumber') do |message|
|
395
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
395
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
396
396
|
end
|
397
397
|
end
|
398
398
|
|
399
399
|
# Gets a handle for the product group of a product.
|
400
400
|
# Parameters: productHandle: Handle for the product.
|
401
401
|
#
|
402
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
402
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
403
403
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetProductGroup
|
404
404
|
# @return [Hash] The body content of the SOAP response.
|
405
405
|
def self.get_product_group
|
406
406
|
response = invoke('Product_GetProductGroup') do |message|
|
407
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
407
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
408
408
|
end
|
409
409
|
end
|
410
410
|
|
411
411
|
# Sets the product group of a product.
|
412
412
|
# Parameters: productHandle: Handle for the product. valueHandle: Handle for new product group of the product.
|
413
413
|
#
|
414
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
414
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
415
415
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetProductGroup
|
416
416
|
# @return [Hash] The body content of the SOAP response.
|
417
417
|
def self.set_product_group
|
418
418
|
response = invoke('Product_SetProductGroup') do |message|
|
419
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
419
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
420
420
|
end
|
421
421
|
end
|
422
422
|
|
423
423
|
# Gets the name of a product.
|
424
424
|
# Parameters: productHandle: Handle for the product.
|
425
425
|
#
|
426
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
426
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
427
427
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetName
|
428
428
|
# @return [Hash] The body content of the SOAP response.
|
429
429
|
def self.get_name
|
430
430
|
response = invoke('Product_GetName') do |message|
|
431
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
431
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
432
432
|
end
|
433
433
|
end
|
434
434
|
|
435
435
|
# Sets the name of a product.
|
436
436
|
# Parameters: productHandle: Handle for the product. value: The new name of the product.
|
437
437
|
#
|
438
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
438
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
439
439
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetName
|
440
440
|
# @return [Hash] The body content of the SOAP response.
|
441
441
|
def self.set_name
|
442
442
|
response = invoke('Product_SetName') do |message|
|
443
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
443
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
444
444
|
end
|
445
445
|
end
|
446
446
|
|
447
447
|
# Gets the description of a product.
|
448
448
|
# Parameters: productHandle: Handle for the product.
|
449
449
|
#
|
450
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
450
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
451
451
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetDescription
|
452
452
|
# @return [Hash] The body content of the SOAP response.
|
453
453
|
def self.get_description
|
454
454
|
response = invoke('Product_GetDescription') do |message|
|
455
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
455
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
456
456
|
end
|
457
457
|
end
|
458
458
|
|
459
459
|
# Sets the description of a product.
|
460
460
|
# Parameters: productHandle: Handle for the product. value: The new description of the product.
|
461
461
|
#
|
462
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
462
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
463
463
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetDescription
|
464
464
|
# @return [Hash] The body content of the SOAP response.
|
465
465
|
def self.set_description
|
466
466
|
response = invoke('Product_SetDescription') do |message|
|
467
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
467
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
468
468
|
end
|
469
469
|
end
|
470
470
|
|
471
471
|
# Sets the bar code of a product.
|
472
472
|
# Parameters: productHandle: Handle for the product. value: The new bar code of the product.
|
473
473
|
#
|
474
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
474
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
475
475
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetBarCode
|
476
476
|
# @return [Hash] The body content of the SOAP response.
|
477
477
|
def self.set_bar_code
|
478
478
|
response = invoke('Product_SetBarCode') do |message|
|
479
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
479
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
480
480
|
end
|
481
481
|
end
|
482
482
|
|
483
483
|
# Gets the bar code of a product.
|
484
484
|
# Parameters: productHandle: Handle for the product.
|
485
485
|
#
|
486
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
486
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
487
487
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetBarCode
|
488
488
|
# @return [Hash] The body content of the SOAP response.
|
489
489
|
def self.get_bar_code
|
490
490
|
response = invoke('Product_GetBarCode') do |message|
|
491
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
491
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
492
492
|
end
|
493
493
|
end
|
494
494
|
|
495
495
|
# Sets the sales price of a product.
|
496
496
|
# Parameters: productHandle: Handle for the product. value: The new sales price of the product.
|
497
497
|
#
|
498
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
498
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
499
499
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_SetSalesPrice
|
500
500
|
# @return [Hash] The body content of the SOAP response.
|
501
501
|
def self.set_sales_price
|
502
502
|
response = invoke('Product_SetSalesPrice') do |message|
|
503
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
503
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
504
504
|
end
|
505
505
|
end
|
506
506
|
|
507
507
|
# Gets the sales price of a product.
|
508
508
|
# Parameters: productHandle: Handle for the product.
|
509
509
|
#
|
510
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
510
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
511
511
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetSalesPrice
|
512
512
|
# @return [Hash] The body content of the SOAP response.
|
513
513
|
def self.get_sales_price
|
514
514
|
response = invoke('Product_GetSalesPrice') do |message|
|
515
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
515
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
516
516
|
end
|
517
517
|
end
|
518
518
|
|
519
519
|
# Gets the cost price of a product.
|
520
520
|
# Parameters: productHandle: Handle for the product.
|
521
521
|
#
|
522
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
522
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
523
523
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Product_GetCostPrice
|
524
524
|
# @return [Hash] The body content of the SOAP response.
|
525
525
|
def self.get_cost_price
|
526
526
|
response = invoke('Product_GetCostPrice') do |message|
|
527
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
527
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
528
528
|
end
|
529
529
|
end
|
530
530
|
|