ruconomic 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- 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,432 +6,432 @@ module Ruconomic
|
|
6
6
|
# Creates a new current invoice line from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new current invoice line.
|
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=CurrentInvoiceLine_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('CurrentInvoiceLine_CreateFromData') 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
|
# Creates new current invoice lines from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new current invoice lines.
|
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=CurrentInvoiceLine_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('CurrentInvoiceLine_CreateFromDataArray') 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
|
# Update current invoice lines from data objects.
|
31
31
|
# Parameters: dataArray: The array of data objects.
|
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=CurrentInvoiceLine_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('CurrentInvoiceLine_UpdateFromDataArray') 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
|
# Updates a current invoice line from a data object.
|
43
43
|
# Parameters: data: The data object.
|
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=CurrentInvoiceLine_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('CurrentInvoiceLine_UpdateFromData') 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
|
# Returns a current invoice line data object for a given current invoice line.
|
55
55
|
# Parameters: entityHandle: A handle for the current invoice line.
|
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=CurrentInvoiceLine_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('CurrentInvoiceLine_GetData') 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
|
# Returns current invoice line data objects for current invoice lines.
|
67
67
|
# Parameters: entityHandles: The array of current invoice line handles.
|
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=CurrentInvoiceLine_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('CurrentInvoiceLine_GetDataArray') 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 the number of a current invoice line.
|
79
79
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetNumber
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.get_number
|
85
85
|
response = invoke('CurrentInvoiceLine_GetNumber') 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
|
# Gets a handle for the current invoice of a current invoice line.
|
91
91
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetInvoice
|
95
95
|
# @return [Hash] The body content of the SOAP response.
|
96
96
|
def self.get_invoice
|
97
97
|
response = invoke('CurrentInvoiceLine_GetInvoice') 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 description of a current invoice line.
|
103
103
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetDescription
|
107
107
|
# @return [Hash] The body content of the SOAP response.
|
108
108
|
def self.get_description
|
109
109
|
response = invoke('CurrentInvoiceLine_GetDescription') 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
|
# Sets the description of a current invoice line.
|
115
115
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new description of the current invoice line.
|
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=CurrentInvoiceLine_SetDescription
|
119
119
|
# @return [Hash] The body content of the SOAP response.
|
120
120
|
def self.set_description
|
121
121
|
response = invoke('CurrentInvoiceLine_SetDescription') 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
|
# Gets the delivery date of a current invoice line.
|
127
127
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetDeliveryDate
|
131
131
|
# @return [Hash] The body content of the SOAP response.
|
132
132
|
def self.get_delivery_date
|
133
133
|
response = invoke('CurrentInvoiceLine_GetDeliveryDate') 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
|
# Sets the delivery date of a current invoice line.
|
139
139
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new delivery date of the current invoice line.
|
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=CurrentInvoiceLine_SetDeliveryDate
|
143
143
|
# @return [Hash] The body content of the SOAP response.
|
144
144
|
def self.set_delivery_date
|
145
145
|
response = invoke('CurrentInvoiceLine_SetDeliveryDate') 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
|
# Gets a handle for the primary unit of a current invoice line.
|
151
151
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetUnit
|
155
155
|
# @return [Hash] The body content of the SOAP response.
|
156
156
|
def self.get_unit
|
157
157
|
response = invoke('CurrentInvoiceLine_GetUnit') 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
|
# Sets the primary unit of a current invoice line.
|
163
163
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. valueHandle: Handle for the new primary unit of the current invoice line.
|
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=CurrentInvoiceLine_SetUnit
|
167
167
|
# @return [Hash] The body content of the SOAP response.
|
168
168
|
def self.set_unit
|
169
169
|
response = invoke('CurrentInvoiceLine_SetUnit') 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
|
# 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
175
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. valueHandle: Handle for the new product of the current invoice line.
|
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=CurrentInvoiceLine_SetProduct
|
179
179
|
# @return [Hash] The body content of the SOAP response.
|
180
180
|
def self.set_product
|
181
181
|
response = invoke('CurrentInvoiceLine_SetProduct') 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 a handle for the product of a current invoice line.
|
187
187
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetProduct
|
191
191
|
# @return [Hash] The body content of the SOAP response.
|
192
192
|
def self.get_product
|
193
193
|
response = invoke('CurrentInvoiceLine_GetProduct') 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
|
# Sets the primary quantity of a current invoice line. The product of the current invoice line must be set before setting this property.
|
199
199
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new primary quantity of the current invoice line.
|
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=CurrentInvoiceLine_SetQuantity
|
203
203
|
# @return [Hash] The body content of the SOAP response.
|
204
204
|
def self.set_quantity
|
205
205
|
response = invoke('CurrentInvoiceLine_SetQuantity') 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
|
# Gets the primary quantity of a current invoice line.
|
211
211
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
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=CurrentInvoiceLine_GetQuantity
|
215
215
|
# @return [Hash] The body content of the SOAP response.
|
216
216
|
def self.get_quantity
|
217
217
|
response = invoke('CurrentInvoiceLine_GetQuantity') 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
|
# Gets the price per unit without VAT of a current invoice line (in the currency of its current invoice).
|
223
223
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
224
224
|
#
|
225
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
225
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
226
226
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetUnitNetPrice
|
227
227
|
# @return [Hash] The body content of the SOAP response.
|
228
228
|
def self.get_unit_net_price
|
229
229
|
response = invoke('CurrentInvoiceLine_GetUnitNetPrice') do |message|
|
230
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
230
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|
234
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
235
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new price per unit of the current invoice line.
|
236
236
|
#
|
237
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
237
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
238
238
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_SetUnitNetPrice
|
239
239
|
# @return [Hash] The body content of the SOAP response.
|
240
240
|
def self.set_unit_net_price
|
241
241
|
response = invoke('CurrentInvoiceLine_SetUnitNetPrice') do |message|
|
242
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
242
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
243
243
|
end
|
244
244
|
end
|
245
245
|
|
246
246
|
# Gets the discount of a current invoice line as percent.
|
247
247
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
248
248
|
#
|
249
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
249
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
250
250
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetDiscountAsPercent
|
251
251
|
# @return [Hash] The body content of the SOAP response.
|
252
252
|
def self.get_discount_as_percent
|
253
253
|
response = invoke('CurrentInvoiceLine_GetDiscountAsPercent') do |message|
|
254
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
254
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
255
255
|
end
|
256
256
|
end
|
257
257
|
|
258
258
|
# Sets the discount of a current invoice line as percent.
|
259
259
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: The new discount of the current invoice line as percent.
|
260
260
|
#
|
261
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
261
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
262
262
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_SetDiscountAsPercent
|
263
263
|
# @return [Hash] The body content of the SOAP response.
|
264
264
|
def self.set_discount_as_percent
|
265
265
|
response = invoke('CurrentInvoiceLine_SetDiscountAsPercent') do |message|
|
266
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
266
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
267
267
|
end
|
268
268
|
end
|
269
269
|
|
270
270
|
# Gets the cost price per unit without VAT of a current invoice line (in the default currency).
|
271
271
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
272
272
|
#
|
273
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
273
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
274
274
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetUnitCostPrice
|
275
275
|
# @return [Hash] The body content of the SOAP response.
|
276
276
|
def self.get_unit_cost_price
|
277
277
|
response = invoke('CurrentInvoiceLine_GetUnitCostPrice') do |message|
|
278
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
278
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
279
279
|
end
|
280
280
|
end
|
281
281
|
|
282
282
|
# Gets the total amount without VAT of a current invoice line (in the currency of its current invoice).
|
283
283
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
284
284
|
#
|
285
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
285
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
286
286
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetTotalNetAmount
|
287
287
|
# @return [Hash] The body content of the SOAP response.
|
288
288
|
def self.get_total_net_amount
|
289
289
|
response = invoke('CurrentInvoiceLine_GetTotalNetAmount') do |message|
|
290
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
290
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
291
291
|
end
|
292
292
|
end
|
293
293
|
|
294
294
|
# Gets the margin of a current invoice line (in the currency of its current invoice).
|
295
295
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
296
296
|
#
|
297
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
297
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
298
298
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetTotalMargin
|
299
299
|
# @return [Hash] The body content of the SOAP response.
|
300
300
|
def self.get_total_margin
|
301
301
|
response = invoke('CurrentInvoiceLine_GetTotalMargin') do |message|
|
302
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
302
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
303
303
|
end
|
304
304
|
end
|
305
305
|
|
306
306
|
# Gets the margin of a current invoice as percent.
|
307
307
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
308
308
|
#
|
309
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
309
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
310
310
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetMarginAsPercent
|
311
311
|
# @return [Hash] The body content of the SOAP response.
|
312
312
|
def self.get_margin_as_percent
|
313
313
|
response = invoke('CurrentInvoiceLine_GetMarginAsPercent') do |message|
|
314
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
314
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
315
315
|
end
|
316
316
|
end
|
317
317
|
|
318
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
319
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new department of the current invoice line.
|
320
320
|
#
|
321
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
321
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
322
322
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_SetDepartment
|
323
323
|
# @return [Hash] The body content of the SOAP response.
|
324
324
|
def self.set_department
|
325
325
|
response = invoke('CurrentInvoiceLine_SetDepartment') do |message|
|
326
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
326
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
327
327
|
end
|
328
328
|
end
|
329
329
|
|
330
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
331
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
332
332
|
#
|
333
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
333
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
334
334
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetDepartment
|
335
335
|
# @return [Hash] The body content of the SOAP response.
|
336
336
|
def self.get_department
|
337
337
|
response = invoke('CurrentInvoiceLine_GetDepartment') do |message|
|
338
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
338
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
339
339
|
end
|
340
340
|
end
|
341
341
|
|
342
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
343
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
344
344
|
#
|
345
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
345
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
346
346
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetDistributionKey
|
347
347
|
# @return [Hash] The body content of the SOAP response.
|
348
348
|
def self.get_distribution_key
|
349
349
|
response = invoke('CurrentInvoiceLine_GetDistributionKey') do |message|
|
350
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
350
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
351
351
|
end
|
352
352
|
end
|
353
353
|
|
354
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
355
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new distribution key of the current invoice line.
|
356
356
|
#
|
357
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
357
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
358
358
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_SetDistributionKey
|
359
359
|
# @return [Hash] The body content of the SOAP response.
|
360
360
|
def self.set_distribution_key
|
361
361
|
response = invoke('CurrentInvoiceLine_SetDistributionKey') do |message|
|
362
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
362
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
363
363
|
end
|
364
364
|
end
|
365
365
|
|
366
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
367
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
368
368
|
#
|
369
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
369
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
370
370
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_GetInventoryLocation
|
371
371
|
# @return [Hash] The body content of the SOAP response.
|
372
372
|
def self.get_inventory_location
|
373
373
|
response = invoke('CurrentInvoiceLine_GetInventoryLocation') do |message|
|
374
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
374
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
375
375
|
end
|
376
376
|
end
|
377
377
|
|
378
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
379
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line. value: Handle for the new inventory location of the current invoice line.
|
380
380
|
#
|
381
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
381
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
382
382
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_SetInventoryLocation
|
383
383
|
# @return [Hash] The body content of the SOAP response.
|
384
384
|
def self.set_inventory_location
|
385
385
|
response = invoke('CurrentInvoiceLine_SetInventoryLocation') do |message|
|
386
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
386
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
387
387
|
end
|
388
388
|
end
|
389
389
|
|
390
390
|
# Creates a new current invoice line.
|
391
391
|
# Parameters: invoiceHandle: Handle for a current invoice.
|
392
392
|
#
|
393
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
393
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
394
394
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_Create
|
395
395
|
# @return [Hash] The body content of the SOAP response.
|
396
396
|
def self.create
|
397
397
|
response = invoke('CurrentInvoiceLine_Create') do |message|
|
398
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
398
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
399
399
|
end
|
400
400
|
end
|
401
401
|
|
402
402
|
# Returns handles for current invoice lines that uses a given products.
|
403
403
|
# Parameters: product: The product to search for.
|
404
404
|
#
|
405
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
405
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
406
406
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_FindByProduct
|
407
407
|
# @return [Hash] The body content of the SOAP response.
|
408
408
|
def self.find_by_product
|
409
409
|
response = invoke('CurrentInvoiceLine_FindByProduct') do |message|
|
410
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
410
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
411
411
|
end
|
412
412
|
end
|
413
413
|
|
414
414
|
# Returns handles for current invoice lines that uses a given set of products.
|
415
415
|
# Parameters: products: The products to search for.
|
416
416
|
#
|
417
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
417
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
418
418
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_FindByProductList
|
419
419
|
# @return [Hash] The body content of the SOAP response.
|
420
420
|
def self.find_by_product_list
|
421
421
|
response = invoke('CurrentInvoiceLine_FindByProductList') do |message|
|
422
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
422
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
423
423
|
end
|
424
424
|
end
|
425
425
|
|
426
426
|
# Deletes a current invoice line.
|
427
427
|
# Parameters: currentInvoiceLineHandle: Handle for the current invoice line.
|
428
428
|
#
|
429
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
429
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
430
430
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=CurrentInvoiceLine_Delete
|
431
431
|
# @return [Hash] The body content of the SOAP response.
|
432
432
|
def self.delete
|
433
433
|
response = invoke('CurrentInvoiceLine_Delete') do |message|
|
434
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
434
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
435
435
|
end
|
436
436
|
end
|
437
437
|
|