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,191 +6,191 @@ module Ruconomic
|
|
6
6
|
# Creates a new employee group from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new employee group.
|
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=EmployeeGroup_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('EmployeeGroup_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 employee groups from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new employee groups.
|
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=EmployeeGroup_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('EmployeeGroup_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 employee groups 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=EmployeeGroup_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('EmployeeGroup_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 an employee group 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=EmployeeGroup_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('EmployeeGroup_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 employee group data object for a given debtor.
|
55
55
|
# Parameters: entityHandle: A handle for the employee group.
|
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=EmployeeGroup_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('EmployeeGroup_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 employee group data objects for a given set of employee group handles.
|
67
67
|
# Parameters: entityHandles: An array of the employee group 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=EmployeeGroup_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('EmployeeGroup_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 an employee group.
|
79
79
|
# Parameters: employeeGroupHandle: Handle for the employee group.
|
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=EmployeeGroup_GetNumber
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.get_number
|
85
85
|
response = invoke('EmployeeGroup_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 the name of an employee group.
|
91
91
|
# Parameters: employeeGroupHandle: Handle for the employee group.
|
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=EmployeeGroup_GetName
|
95
95
|
# @return [Hash] The body content of the SOAP response.
|
96
96
|
def self.get_name
|
97
97
|
response = invoke('EmployeeGroup_GetName') 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
|
# Sets the name of an employee group.
|
103
103
|
# Parameters: employeeGroupHandle: Handle for the employee group. value: The new name of the employee group.
|
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=EmployeeGroup_SetName
|
107
107
|
# @return [Hash] The body content of the SOAP response.
|
108
108
|
def self.set_name
|
109
109
|
response = invoke('EmployeeGroup_SetName') 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
|
# Creates an emplyee group.
|
115
115
|
# Parameters: number: Number of new employee group. name: Name of new employee group.
|
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=EmployeeGroup_Create
|
119
119
|
# @return [Hash] The body content of the SOAP response.
|
120
120
|
def self.create
|
121
121
|
response = invoke('EmployeeGroup_Create') 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
|
# Returns handles for all employee groups.
|
127
127
|
#
|
128
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
129
129
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_GetAll
|
130
130
|
# @return [Hash] The body content of the SOAP response.
|
131
131
|
def self.get_all
|
132
132
|
response = invoke('EmployeeGroup_GetAll') do |message|
|
133
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
137
|
# Returns handle for employee group with a given number.
|
138
138
|
# Parameters: number: The number to search for.
|
139
139
|
#
|
140
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
141
141
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_FindByNumber
|
142
142
|
# @return [Hash] The body content of the SOAP response.
|
143
143
|
def self.find_by_number
|
144
144
|
response = invoke('EmployeeGroup_FindByNumber') do |message|
|
145
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
149
|
# Returns an array with handles for the products corresponding to the given product numbers. If a product with a given number does not exist then the array contains nothing at that index.
|
150
150
|
# Parameters: numbers: The numbers to search for.
|
151
151
|
#
|
152
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
153
153
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_FindByNumberList
|
154
154
|
# @return [Hash] The body content of the SOAP response.
|
155
155
|
def self.find_by_number_list
|
156
156
|
response = invoke('EmployeeGroup_FindByNumberList') do |message|
|
157
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
161
|
# Returns handles for employee groups with a given name.
|
162
162
|
# Parameters: name: The name to search for.
|
163
163
|
#
|
164
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
165
165
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_FindByName
|
166
166
|
# @return [Hash] The body content of the SOAP response.
|
167
167
|
def self.find_by_name
|
168
168
|
response = invoke('EmployeeGroup_FindByName') do |message|
|
169
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
173
173
|
# Gets handles for employees in an employee group.
|
174
174
|
# Parameters: employeeGroupHandle: Handle for the employee group.
|
175
175
|
#
|
176
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
177
177
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_GetEmployees
|
178
178
|
# @return [Hash] The body content of the SOAP response.
|
179
179
|
def self.get_employees
|
180
180
|
response = invoke('EmployeeGroup_GetEmployees') do |message|
|
181
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
185
185
|
# Deletes an employee group.
|
186
186
|
# Parameters: Handle for employee group to be deleted.
|
187
187
|
#
|
188
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
188
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
189
189
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_Delete
|
190
190
|
# @return [Hash] The body content of the SOAP response.
|
191
191
|
def self.delete
|
192
192
|
response = invoke('EmployeeGroup_Delete') do |message|
|
193
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
193
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
data/lib/ruconomic/api/entry.rb
CHANGED
@@ -6,310 +6,310 @@ module Ruconomic
|
|
6
6
|
# Returns an entry data object for a given entry.
|
7
7
|
# Parameters: entityHandle: A handle for the entry.
|
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=Entry_GetData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.get_data
|
13
13
|
response = invoke('Entry_GetData') 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
|
# Returns entry data objects for a given set of entry handles.
|
19
19
|
# Parameters: entityHandles: An array of the entry handles.
|
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=Entry_GetDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.get_data_array
|
25
25
|
response = invoke('Entry_GetDataArray') 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
|
# Returns the last used serial number, or 0 if no serial numbers exists.
|
31
31
|
#
|
32
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
32
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
33
33
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetLastUsedSerialNumber
|
34
34
|
# @return [Hash] The body content of the SOAP response.
|
35
35
|
def self.get_last_used_serial_number
|
36
36
|
response = invoke('Entry_GetLastUsedSerialNumber') do |message|
|
37
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
37
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
41
|
# Returns an array of handles for the entries with numbers in the given interval.
|
42
42
|
# Parameters: minNumber: The start of the interval. maxNumber: The end of the interval.
|
43
43
|
#
|
44
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
45
45
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_FindBySerialNumberInterval
|
46
46
|
# @return [Hash] The body content of the SOAP response.
|
47
47
|
def self.find_by_serial_number_interval
|
48
48
|
response = invoke('Entry_FindBySerialNumberInterval') do |message|
|
49
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
53
|
# Returns an array of handles for the entries within the given time interval.
|
54
54
|
# Parameters: fromDate: First day in interval. toDate: Last day in interval.
|
55
55
|
#
|
56
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
57
57
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_FindByDateInterval
|
58
58
|
# @return [Hash] The body content of the SOAP response.
|
59
59
|
def self.find_by_date_interval
|
60
60
|
response = invoke('Entry_FindByDateInterval') do |message|
|
61
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
65
|
# Gets the number of an entry.
|
66
66
|
# Parameters: entryHandle: Handle for the entry.
|
67
67
|
#
|
68
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
69
69
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetSerialNumber
|
70
70
|
# @return [Hash] The body content of the SOAP response.
|
71
71
|
def self.get_serial_number
|
72
72
|
response = invoke('Entry_GetSerialNumber') do |message|
|
73
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
77
|
# Get handle for account of an entry.
|
78
78
|
# Parameters: entryHandle: Handle for the entry.
|
79
79
|
#
|
80
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
81
81
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetAccount
|
82
82
|
# @return [Hash] The body content of the SOAP response.
|
83
83
|
def self.get_account
|
84
84
|
response = invoke('Entry_GetAccount') do |message|
|
85
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
89
|
# Gets the amount of an entry.
|
90
90
|
# Parameters: entryHandle: Handle for the entry.
|
91
91
|
#
|
92
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
93
93
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetAmount
|
94
94
|
# @return [Hash] The body content of the SOAP response.
|
95
95
|
def self.get_amount
|
96
96
|
response = invoke('Entry_GetAmount') do |message|
|
97
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Gets the amount (in default currency) of an entry.
|
102
102
|
# Parameters: entryHandle: Handle for the entry.
|
103
103
|
#
|
104
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
104
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
105
105
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetAmountDefaultCurrency
|
106
106
|
# @return [Hash] The body content of the SOAP response.
|
107
107
|
def self.get_amount_default_currency
|
108
108
|
response = invoke('Entry_GetAmountDefaultCurrency') do |message|
|
109
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
109
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
113
|
# Gets a handle for the unit1 of an entry. The unit1 is only accessible when there is access to the Dimension add-on module.
|
114
114
|
# Parameters: entryHandle: Handle for the entry.
|
115
115
|
#
|
116
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
116
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
117
117
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetUnit1
|
118
118
|
# @return [Hash] The body content of the SOAP response.
|
119
119
|
def self.get_unit1
|
120
120
|
response = invoke('Entry_GetUnit1') do |message|
|
121
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
121
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
125
|
# Gets a handle for the unit2 of an entry. The unit2 is only accessible when there is access to the Dimension add-on module.
|
126
126
|
# Parameters: entryHandle: Handle for the entry.
|
127
127
|
#
|
128
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
129
129
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetUnit2
|
130
130
|
# @return [Hash] The body content of the SOAP response.
|
131
131
|
def self.get_unit2
|
132
132
|
response = invoke('Entry_GetUnit2') do |message|
|
133
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
137
|
# Gets the quantity1 of an entry. The quantity1 is only accessible when there is access to the Dimension add-on module.
|
138
138
|
# Parameters: entryHandle: Handle for the entry.
|
139
139
|
#
|
140
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
141
141
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetQuantity1
|
142
142
|
# @return [Hash] The body content of the SOAP response.
|
143
143
|
def self.get_quantity1
|
144
144
|
response = invoke('Entry_GetQuantity1') do |message|
|
145
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
149
|
# Gets the quantity2 of an entry. The quantity2 is only accessible when there is access to the Dimension add-on module.
|
150
150
|
# Parameters: entryHandle: Handle for the entry.
|
151
151
|
#
|
152
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
153
153
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetQuantity2
|
154
154
|
# @return [Hash] The body content of the SOAP response.
|
155
155
|
def self.get_quantity2
|
156
156
|
response = invoke('Entry_GetQuantity2') do |message|
|
157
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
161
|
# Gets the currency of the entry.
|
162
162
|
# Parameters: entryHandle: Handle for the entry.
|
163
163
|
#
|
164
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
165
165
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetCurrency
|
166
166
|
# @return [Hash] The body content of the SOAP response.
|
167
167
|
def self.get_currency
|
168
168
|
response = invoke('Entry_GetCurrency') do |message|
|
169
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
173
173
|
# Gets the date of the entry.
|
174
174
|
# Parameters: entryHandle: Handle for the entry.
|
175
175
|
#
|
176
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
177
177
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDate
|
178
178
|
# @return [Hash] The body content of the SOAP response.
|
179
179
|
def self.get_date
|
180
180
|
response = invoke('Entry_GetDate') do |message|
|
181
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
185
185
|
# Gets the text of the entry.
|
186
186
|
# Parameters: entryHandle: Handle for the entry.
|
187
187
|
#
|
188
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
188
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
189
189
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetText
|
190
190
|
# @return [Hash] The body content of the SOAP response.
|
191
191
|
def self.get_text
|
192
192
|
response = invoke('Entry_GetText') do |message|
|
193
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
193
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
197
197
|
# Gets the entry type of entry.
|
198
198
|
#
|
199
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
199
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
200
200
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetType
|
201
201
|
# @return [Hash] The body content of the SOAP response.
|
202
202
|
def self.get_type
|
203
203
|
response = invoke('Entry_GetType') do |message|
|
204
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
204
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
205
205
|
end
|
206
206
|
end
|
207
207
|
|
208
208
|
# Gets a handle for the department of an entry. The department is only accessible when there is access to the Dimension add-on module.
|
209
209
|
# Parameters: entryHandle: Handle for the entry.
|
210
210
|
#
|
211
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
211
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
212
212
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDepartment
|
213
213
|
# @return [Hash] The body content of the SOAP response.
|
214
214
|
def self.get_department
|
215
215
|
response = invoke('Entry_GetDepartment') do |message|
|
216
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
216
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
217
217
|
end
|
218
218
|
end
|
219
219
|
|
220
220
|
# Gets a handle for the distribution key of an entry. The distribution key is only accessible when there is access to the Dimension add-on module.
|
221
221
|
# Parameters: entryHandle: Handle for the entry.
|
222
222
|
#
|
223
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
223
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
224
224
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDistributionKey
|
225
225
|
# @return [Hash] The body content of the SOAP response.
|
226
226
|
def self.get_distribution_key
|
227
227
|
response = invoke('Entry_GetDistributionKey') do |message|
|
228
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
228
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
229
229
|
end
|
230
230
|
end
|
231
231
|
|
232
232
|
# Gets a handle for the VAT account of an entry.
|
233
233
|
# Parameters: entryHandle: Handle for the entry.
|
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=Entry_GetVatAccount
|
237
237
|
# @return [Hash] The body content of the SOAP response.
|
238
238
|
def self.get_vat_account
|
239
239
|
response = invoke('Entry_GetVatAccount') 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
|
# Gets the voucher number of the entry.
|
245
245
|
# Parameters: entryHandle: Handle for the entry.
|
246
246
|
#
|
247
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
247
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
248
248
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetVoucherNumber
|
249
249
|
# @return [Hash] The body content of the SOAP response.
|
250
250
|
def self.get_voucher_number
|
251
251
|
response = invoke('Entry_GetVoucherNumber') do |message|
|
252
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
252
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
253
253
|
end
|
254
254
|
end
|
255
255
|
|
256
256
|
# Gets handle for the project of the entry.
|
257
257
|
# Parameters: entryHandle: Handle for the entry.
|
258
258
|
#
|
259
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
259
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
260
260
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetProject
|
261
261
|
# @return [Hash] The body content of the SOAP response.
|
262
262
|
def self.get_project
|
263
263
|
response = invoke('Entry_GetProject') do |message|
|
264
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
264
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
265
265
|
end
|
266
266
|
end
|
267
267
|
|
268
268
|
# Gets the scanned document of the entry.
|
269
269
|
# Parameters: entryHandle: Handle for the entry.
|
270
270
|
#
|
271
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
271
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
272
272
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_GetDocument
|
273
273
|
# @return [Hash] The body content of the SOAP response.
|
274
274
|
def self.get_document
|
275
275
|
response = invoke('Entry_GetDocument') do |message|
|
276
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
276
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
277
277
|
end
|
278
278
|
end
|
279
279
|
|
280
280
|
# Creates a copy of all the entries that match the same voucher number and date as the selected entry.
|
281
281
|
# Parameters: cashBookEntryHandle: Handle for the cashbook entry that is base for the copy. newVoucherNumber: New voucher number if needed. If left out the voucher number from the entry copied is used. newVoucherDate: New voucher date if needed. If left out the date from the entry copied is used. newText: New text if needed. If left out the text from the entry copied is used. newCashBook: The CashBook to create the new entries on.
|
282
282
|
#
|
283
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
283
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
284
284
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_CopyVoucher
|
285
285
|
# @return [Hash] The body content of the SOAP response.
|
286
286
|
def self.copy_voucher
|
287
287
|
response = invoke('Entry_CopyVoucher') do |message|
|
288
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
288
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
289
289
|
end
|
290
290
|
end
|
291
291
|
|
292
292
|
# Reverse all the entries that belong to the same voucher and are on the same date as this entry. Reverse creates opposite entries, thus undoing the voucher entries. This is done by multiplying amounts by -1.
|
293
293
|
# Parameters: cashBookEntryHandle: Handle for the cashbook entry that is base for the copy. newVoucherNumber: New voucher number if needed. If left out the voucher number from the entry copied is used. newVoucherDate: New voucher date if needed. If left out the date from the entry copied is used. newText: New text if needed. If left out the text from the entry copied is used. newCashBook: The CashBook to create the new entries on.
|
294
294
|
#
|
295
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
295
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
296
296
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_ReverseVoucher
|
297
297
|
# @return [Hash] The body content of the SOAP response.
|
298
298
|
def self.reverse_voucher
|
299
299
|
response = invoke('Entry_ReverseVoucher') do |message|
|
300
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
300
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
301
301
|
end
|
302
302
|
end
|
303
303
|
|
304
304
|
# Turn all the entries that belong to the same voucher and are on the same date as this entry. Turn creates opposite entries, and then proceeds to create entries that have the opposite sign of the voucher entries. This is done by multiplying amounts by -2.
|
305
305
|
# Parameters: cashBookEntryHandle: Handle for the cashbook entry that is base for the copy. newVoucherNumber: New voucher number if needed. If left out the voucher number from the entry copied is used. newVoucherDate: New voucher date if needed. If left out the date from the entry copied is used. newText: New text if needed. If left out the text from the entry copied is used. newCashBook: The CashBook to create the new entries on.
|
306
306
|
#
|
307
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
307
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
308
308
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Entry_TurnVoucher
|
309
309
|
# @return [Hash] The body content of the SOAP response.
|
310
310
|
def self.turn_voucher
|
311
311
|
response = invoke('Entry_TurnVoucher') do |message|
|
312
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
312
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
313
313
|
end
|
314
314
|
end
|
315
315
|
|