activerecord_sqlserver_crm 4.2.13 → 4.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/crm/invoice.rb +0 -1
- data/app/models/crm/note.rb +6 -6
- data/lib/activerecord_sqlserver_crm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a305e8e0f158e0684397490c16894041c4e792bc
|
4
|
+
data.tar.gz: 509d7453753815d4c69e32234054c6c30f3553e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d122989952468c0e3e4dd75e128e2e3e6c25904f3142692638e6449e5ed742b3628838e87c2c814c367afc3bc41d497fcff6845881479c179ae1fd842c7b1ee
|
7
|
+
data.tar.gz: 4097d93d12a24e0790935e6cf89f17b9d19c829a59c1cab8e9178a69dd6524972d391614ca95dd01d02dfd99f3b5b6941730ada472dccca46371fb1720f0a737
|
data/app/models/crm/invoice.rb
CHANGED
data/app/models/crm/note.rb
CHANGED
@@ -3,12 +3,12 @@ module Crm
|
|
3
3
|
self.table_name = "Annotation"
|
4
4
|
self.primary_key = "AnnotationId"
|
5
5
|
|
6
|
-
belongs_to :account, foreign_key: '
|
7
|
-
belongs_to :campaign, foreign_key: '
|
8
|
-
belongs_to :campaign_response, foreign_key: '
|
9
|
-
belongs_to :case, foreign_key: '
|
10
|
-
belongs_to :contact, foreign_key: '
|
11
|
-
belongs_to :invoice, foreign_key: '
|
6
|
+
belongs_to :account, foreign_key: 'ObjectId', crm_key: 'objectid_account'
|
7
|
+
belongs_to :campaign, foreign_key: 'ObjectId', crm_key: 'objectid_campaign'
|
8
|
+
belongs_to :campaign_response, foreign_key: 'ObjectId', crm_key: 'objectid_campaignresponse'
|
9
|
+
belongs_to :case, foreign_key: 'ObjectId', crm_key: 'objectid_case'
|
10
|
+
belongs_to :contact, foreign_key: 'ObjectId', crm_key: 'objectid_contact'
|
11
|
+
belongs_to :invoice, foreign_key: 'ObjectId', crm_key: 'objectid_invoice'
|
12
12
|
|
13
13
|
validates :Subject, presence: true
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord_sqlserver_crm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rolf Lawrenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|