データモデル
CData Power BI Connector for Vault CRM は、Vault CRM オブジェクトをリレーショナルビューとしてモデル化します。 Vault CRM オブジェクトは他のオブジェクトとリレーションを持ちます。ビューでは、これらのリレーションは外部キーを使用して表されます。 次のセクションでは、Vault CRM API の静的なエンドポイントを示します。
残りのビューは、Vault CRM API で公開されたメタデータを使用して動的に決定されます。すべてのvault オブジェクトは本製品 によって公開されます。 しかし、本製品 は、設計時にすべての利用可能なカラムを判別できるビューのみをリストしています。CData Power BI Connector for Vault CRM で使用できるがヘルプには表示されないVeeva オブジェクトの例として、以下のものがあります。
- Documents (利用可能なドキュメントをクエリします。このオブジェクトでは、可能な場合はVQL が使用されます。)
- Users (既存のユーザーをクエリします。このオブジェクトでは、可能な場合はVQL が使用されます。)
- Groups (既存のグループをクエリします。このオブジェクトでは、可能な場合はVQL が使用されます。)
- Vault Objects (独自のビューで任意のvault オブジェクトをクエリします。Vault Object のビューをクエリするためにVQL が常に使用されます。)
テーブル
テーブル セクションでは標準的なSQL テーブルについて詳しく説明しており、ビュー セクションでは読み取り専用のSQLテーブル が一覧表示されています。
よく使用されるテーブルには以下が含まれます。
| テーブル | 説明 |
| Accounts | Customer account records, such as profile information and metadata for Customer Relationship Management (CRM) processes. |
| Addresses | Stores postal addresses for accounts or Healthcare Professionals (HCPs), supporting mailing and territory assignment. |
| Users | Metadata for Vault CRM users includes identifiers, authentication details, and role mappings. |
| Calls | Table documenting key details of sales rep field calls, including participants, location, channel, and outcomes. |
| KeyMessages | Stores marketing and medical content for compliant, targeted messaging in closed-loop marketing systems. |
| MultichannelActivities | Captures marketing, sales, and digital interactions across multiple channels. |
| Territories | Tracks areas assigned to field teams or sales representatives to aid in planning and resource alignment. |
| Group | Shows Vault CRM user groups used for access control and content targeting. |
| Products | Stores key product data like names, IDs, active ingredients, and therapeutic areas. |
| CallClickstreams | Records user interactions during calls, showing how they click and engage with digital content. |
| AccountTerritories | Maps sales areas to specific accounts, organizing staff and aligning regional strategies. |
| ConsentLines | Records user consent for marketing, including method and timestamp. |
| EventAttendees | Keeps track of each user's or stakeholder's agreement for marketing or communication activities. |
| EmailActivity | Logs email communications sent through Vault CRM, including timestamps and recipients. |
| ApprovedEmailSettings | Contains metadata about approved configuration settings related to Vault CRM. |
| Countries2 | Stores country codes and names used across Vault CRM applications. |
| UserRoleSetup | Links users to roles for managing permissions, access control, and task assignments. |
| Users | Contains metadata about users, which includes system identifiers and their preferences. |
| PicklistValues | Lists all predefined options used across metadata fields. |
| Integrations | Outlines how Vault CRM communicates with external systems, including protocols, authentication methods, and integration status. |
ストアドプロシージャ
ストアドプロシージャ は、標準的なCRUD 操作を超える機能を持つSQL スクリプトです。パラメータを受け取り、関数を実行し、サービスからデータを返すことで、処理の成功または失敗を示します。
Veeva Vault Query について
Veeva Vault Query(VQL)はSQL に似たクエリ言語です。Vault CRM API を介して使用できます。クエリがサーバー側で処理できる場合、
プロバイダーはSQL をVQL に変換してVault CRM に送信します。このように最適化すると、フィルタリングがサーバー側で行われるため、実行時間が短縮されます。
QueryPassthrough 接続プロパティをTrue に設定すると、本製品 はVault CRM API に対してVQL クエリを直接実行します。