exact 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/exact/mappings/g_l_account_mapping.rb +4 -0
- data/lib/exact/models/g_l_account.rb +50 -0
- data/lib/exact/version.rb +1 -1
- data/lib/exact.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a90a638bc3cc1e94c87d187d9586b9e4ee86f04
|
4
|
+
data.tar.gz: e655fe92d9cb52de3dfc008642d6b2dfe208d3a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb455ea82d3bc5b4f17deda11e18ee7109b49d694815f5b57fd5f364c37c3bf45a5bf589769c5a3c9ca864969404ea462a04f58975c177a4c1c15d4a098fe753
|
7
|
+
data.tar.gz: 18b623e48f29170027e886b063ebc5d6c3c2389ab7a38ab06cd2f89714b1b5a2226593ddb0042db7fb0e4efdbb86ff42dddf6e17c29cf6fcb2554141843d3e33
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module Exact
|
2
|
+
class GLAccount < Base
|
3
|
+
include ActiveModel::Model
|
4
|
+
include Virtus.model
|
5
|
+
|
6
|
+
EXACT_SERVICE = 'financial'
|
7
|
+
EXACT_GUID = 'ID'
|
8
|
+
|
9
|
+
attribute :AssimilatedVATBox, Integer
|
10
|
+
attribute :BalanceSide, String
|
11
|
+
attribute :BalanceType, String
|
12
|
+
attribute :BelcotaxType, Integer
|
13
|
+
attribute :Code, String
|
14
|
+
attribute :Compress, Boolean
|
15
|
+
attribute :Costcenter, String
|
16
|
+
attribute :CostcenterDescription, String
|
17
|
+
attribute :Costunit, String
|
18
|
+
attribute :CostunitDescription, String
|
19
|
+
attribute :Created, DateTime
|
20
|
+
attribute :Creator, String
|
21
|
+
attribute :CreatorFullName, String
|
22
|
+
attribute :Description, String
|
23
|
+
attribute :Division, Integer
|
24
|
+
attribute :ExcludeVATListing, String
|
25
|
+
attribute :ExpenseNonDeductiblePercentage, String
|
26
|
+
attribute :ID, String
|
27
|
+
attribute :IsBlocked, Boolean
|
28
|
+
attribute :Matching, Boolean
|
29
|
+
attribute :Modified, DateTime
|
30
|
+
attribute :Modifier, String
|
31
|
+
attribute :ModifierFullName, String
|
32
|
+
attribute :PrivateGLAccount, String
|
33
|
+
attribute :PrivatePercentage, String
|
34
|
+
attribute :ReportingCode, String
|
35
|
+
attribute :RevalueCurrency, Boolean
|
36
|
+
attribute :SearchCode, String
|
37
|
+
attribute :Type, Integer
|
38
|
+
attribute :TypeDescription, String
|
39
|
+
attribute :UseCostcenter, String
|
40
|
+
attribute :UseCostunit, String
|
41
|
+
attribute :VATCode, String
|
42
|
+
attribute :VATDescription, String
|
43
|
+
attribute :VATGLAccountType, String
|
44
|
+
attribute :VATNonDeductibleGLAccount, String
|
45
|
+
attribute :VATNonDeductiblePercentage, String
|
46
|
+
attribute :VATSystem, String
|
47
|
+
attribute :YearEndCostGLAccount, String
|
48
|
+
attribute :YearEndReflectionGLAccount, String
|
49
|
+
end
|
50
|
+
end
|
data/lib/exact/version.rb
CHANGED
data/lib/exact.rb
CHANGED
@@ -11,6 +11,7 @@ module Exact
|
|
11
11
|
autoload :Base, 'exact/models/base'
|
12
12
|
autoload :CostCenter, 'exact/models/cost_center'
|
13
13
|
autoload :CostUnit, 'exact/models/cost_unit'
|
14
|
+
autoload :GLAccount, 'exact/models/g_l_account'
|
14
15
|
autoload :Item, 'exact/models/item'
|
15
16
|
autoload :Project, 'exact/models/project'
|
16
17
|
autoload :SalesInvoice, 'exact/models/sales_invoice'
|
@@ -22,6 +23,7 @@ module Exact
|
|
22
23
|
autoload :BaseMapping, 'exact/mappings/base_mapping'
|
23
24
|
autoload :CostCenterMapping, 'exact/mappings/cost_center_mapping'
|
24
25
|
autoload :CostUnitMapping, 'exact/mappings/cost_unit_mapping'
|
26
|
+
autoload :GLAccountMapping, 'exact/mappings/g_l_account_mapping'
|
25
27
|
autoload :ItemMapping, 'exact/mappings/item_mapping'
|
26
28
|
autoload :ProjectMapping, 'exact/mappings/project_mapping'
|
27
29
|
autoload :SalesInvoiceMapping, 'exact/mappings/sales_invoice_mapping'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zzk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- lib/exact/mappings/base_mapping.rb
|
178
178
|
- lib/exact/mappings/cost_center_mapping.rb
|
179
179
|
- lib/exact/mappings/cost_unit_mapping.rb
|
180
|
+
- lib/exact/mappings/g_l_account_mapping.rb
|
180
181
|
- lib/exact/mappings/item_mapping.rb
|
181
182
|
- lib/exact/mappings/project_mapping.rb
|
182
183
|
- lib/exact/mappings/sales_invoice_line_mapping.rb
|
@@ -186,6 +187,7 @@ files:
|
|
186
187
|
- lib/exact/models/base.rb
|
187
188
|
- lib/exact/models/cost_center.rb
|
188
189
|
- lib/exact/models/cost_unit.rb
|
190
|
+
- lib/exact/models/g_l_account.rb
|
189
191
|
- lib/exact/models/item.rb
|
190
192
|
- lib/exact/models/project.rb
|
191
193
|
- lib/exact/models/sales_invoice.rb
|