Sha256: 6772dc59cbd3d62ea798251e673cf303fd7908d99debb9780eae0c60974953ef
Contents?: true
Size: 619 Bytes
Versions: 2
Compression:
Stored size: 619 Bytes
Contents
module Crm class Note < ActiveRecord::Base self.table_name = "Annotation" self.primary_key = "AnnotationId" belongs_to :account, foreign_key: 'OwnerId', crm_key: 'Account_Annotation' belongs_to :campaign, foreign_key: 'OwnerId', crm_key: 'Campaign_Annotation' belongs_to :campaign_response, foreign_key: 'OwnerId', crm_key: 'CampaignResponse_Annotation' belongs_to :case, foreign_key: 'OwnerId', crm_key: 'Case_Annotation' belongs_to :contact, foreign_key: 'OwnerId', crm_key: 'Contact_Annotation' belongs_to :invoice, foreign_key: 'OwnerId', crm_key: 'Invoice_Annotation' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activerecord_sqlserver_crm-4.2.2 | app/models/crm/note.rb |
activerecord_sqlserver_crm-4.2.1 | app/models/crm/note.rb |