Architecture Overview
The proposed architecture supplements Salesforce core with a CRM Analytics (Tableau CRM) layer connected via native Salesforce connectors. Opportunity, Product, Territory, and Quota objects are synced to Analytics datasets on a configurable schedule (minimum 15-minute refresh). Custom XMD schemas define forecast dimensions, enabling an unlimited number of virtualised forecast views rendered as Analytics dashboards — all operating within the Salesforce trust boundary with no external data egress.
Database Schema
| Table / Object | Key Fields | Type | Sync Mode | Notes |
|---|---|---|---|---|
| ForecastingQuota | QuotaAmount, StartDate, OwnerId | Standard Object | Full + Incremental | Base quota source |
| Opportunity | Amount, CloseDate, StageName, ForecastCategory | Standard Object | Incremental | Core pipeline data |
| Territory2 | Name, ParentTerritoryId, DeveloperName | Standard Object | Full | Territory hierarchy |
| ERPA_ForecastView__c | ViewType, Dimension, PeriodStart, OwnerGroup | Custom Object | Full | Virtual forecast config |
| Product2 | ProductCode, Family, IsActive | Standard Object | Full | Product-line splits |
Workflow
- Salesforce objects sync to Analytics datasets (15 min cadence)
- Dataflow recipes join Opportunity + Quota + Territory
- XMD schema applies custom dimension labels
- Dashboard lenses render per-view forecast aggregates
- Sharing rules enforce row-level security by role
Deployment Notes
- Requires CRM Analytics Growth or Plus licence
- Sandbox UAT cycle: estimated 2 weeks
- Production cutover via change set + metadata API
- Zero downtime — additive to existing forecast setup
- Rollback: disable Analytics app; core SF unaffected