# Data foundation overview

The Google Cloud Cortex Framework
[data foundation layer](https://docs.cloud.google.com/cortex/docs/overview.md.txt#data_foundation_layer) provides a
standardized, clean representation of the latest records from your source
systems. It bridges raw replicated enterprise systems of record and analytical
consumption models by materializing reusable tables in
BigQuery.

While the data foundation layer feeds the
[data product layer](https://docs.cloud.google.com/cortex/docs/overview.md.txt#data-product-layer), you can deploy
and query it independently with the following capabilities:

- **Independent deployment** : Organizations establishing a conformed operational datastore (ODS) in BigQuery can deploy only the [data foundation modules](https://docs.cloud.google.com/cortex/docs/overview.md.txt#data-modules). You don't need to deploy the data product layer to use the data foundation.
- **Direct consumption**: Standalone data foundation tables provide a centralized source of truth that powers enterprise data mesh architectures, downstream ETL pipelines, BI tools, machine learning models, and AI agents without requiring Cortex Framework data products.
- **High extensibility** : The framework recognizes and adds custom table columns (for example, `Z*` or `Y*` prefixed columns in SAP, or `*__c` custom fields in Salesforce) automatically during build and compilation of the foundation module. Extending the foundation with additional custom or standard tables requires minimal configuration.

## Supported data sources

The data foundation layer supports raw replicated data from the following
enterprise systems:

- [SAP ECC](https://docs.cloud.google.com/cortex/docs/source-system-integration/sap-erp.md.txt)
- [SAP S/4HANA](https://docs.cloud.google.com/cortex/docs/source-system-integration/sap-erp.md.txt)
- [Salesforce (Sales Cloud and Service Cloud)](https://docs.cloud.google.com/cortex/docs/source-system-integration/salesforce.md.txt)

For setup details, see
[Source system integration](https://docs.cloud.google.com/cortex/docs/source-system-integration/overview.md.txt).

## Core capabilities

The data foundation layer standardizes, cleanses, and conforms raw source data
into high-fidelity tables by using the following capabilities:

- **Schema shielding**: Raw operational schemas can change over time and vary across source systems. The foundation layer shields downstream consumers from raw table complexities by providing stable, standardized target structures.
- **Business-ready metadata and annotations** : The foundation layer applies curated column annotations from each module's `annotations/` directory during compilation, enriching technical column names in BigQuery with human-readable business descriptions for analysts, BI tools, and AI agents.
- **Dynamic schema discovery and adaptation** : During `uv run cortex-build`, Cortex Framework inspects source schemas---reading `DD03L` (required) and raw column metadata for SAP ERP, or querying BigQuery table metadata directly for Salesforce---while [`uv run cortex-metadata`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-metadata.md.txt) also inspects optional [SAP Data Dictionary (`DDIC`) tables](https://docs.cloud.google.com/cortex/docs/source-system-integration/sap-erp.md.txt#sap-ddic-metadata-tables) to enrich field labels, domain values, and foreign keys. The builder propagates custom columns (`Z*` and `Y*` fields in SAP, or `*__c` custom and managed-package fields in Salesforce) into conformed foundation tables without manual SQL edits. For incremental Salesforce CDC tables (`isCdc: true`), generated Dataform models preserve original `PascalCase` column names and set `onSchemaChange: "EXTEND"` so newly replicated `*__c` columns are added automatically. Prebuilt data products project only standard columns so canonical schemas stay deterministic (polymorphic `WhatId` fields on Salesforce `tasks` and `events` classify `a%` custom object IDs as `'CustomObject'`); to expose custom `*__c` fields or join custom `*__c` SObject tables in analytics, reference the conformed foundation tables from a custom or extended data product in your [custom namespace](https://docs.cloud.google.com/cortex/docs/extensibility-guide-namespaces.md.txt).
- **Automated deduplication and soft-delete handling** : Whether raw data arrives as CDC logs, incremental watermark transfers, or full snapshots, the foundation layer reconstructs the current state of every record. For Salesforce tables, soft-deleted rows are updated in place and retained with `IsDeleted = TRUE` to preserve historical referential integrity.

## CDC versus non-CDC sources

For pipelines managed natively by Cortex Framework, you configure
ingestion behavior at the individual table level under `source` (`tableName`,
`sapTableName` or `sfdcTableName`, `isCdc`, and `keys`), output properties under
`target` (`tableName`, `dataformTags`, `bigQueryLabels`, `clusterDetails`,
`partitionDetails`, `assertions`, and `security`), and entry-level
`deployAlways` in `table_settings.yaml`:

- **CDC-enabled tables (`isCdc: true`)** : Cortex Framework generates incremental Dataform `MERGE` pipelines that maintain the latest record state. SAP ERP tables deduplicate change logs by using `operation_flag` and `recordstamp` (from tools such as [BigQuery Connector for SAP](https://docs.cloud.google.com/sap/docs/bq-connector/latest) or [BigQuery Toolkit for SAP](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/bq-toolkit-for-sap-overview.md.txt)), whereas Salesforce tables deduplicate by primary key (`Id`) using system audit watermarks (`SystemModstamp`, `LastModifiedDate`, or `CreatedDate`) with a 10-minute lookback window (`INTERVAL 10 MINUTE`).
- **Non-CDC snapshot tables (`isCdc: false`)** : For sources or reference objects that arrive as full extracts without incremental watermarks, Cortex Framework rebuilds the target table as a full snapshot on each run---for example, `CurrencyType`, `Organization`, and `RecordType` in Salesforce, or custom full-extract SAP tables. For more information about source configuration, see [Deployment configuration](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#source_settings).

## External data foundations

In addition to managing CDC processing natively at the individual table level,
Cortex Framework integrates with existing external data
foundations at the module level. You can declare an entire foundation as
external when CDC processing has already been performed upstream:

- **Cortex Framework-managed data foundation**: Cortex Framework builds and orchestrates the Dataform transformation pipelines, reading from your raw landing zone and materializing conformed tables in your target foundation dataset.
- **External data foundation** : If your organization uses an external replication tool, third-party pipeline, or semantic layer that reconstructs CDC state and cleans data outside Cortex Framework, set `external: true` and omit `dataTargetId` (setting `dataTargetId` with `external: true` fails configuration validation) in the [data module foundation settings](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#data_modules_foundations). Cortex Framework skips generating built-in foundation transformation pipelines and points downstream data products directly to the existing dataset referenced by `dataSourceId`.

## Data foundation configurability options

While global and module-level configurations are managed in `config.yaml`,
granular **table-level** options are configured in a module-specific
`table_settings.yaml` file (referenced by `tableSettings`) or directly in
`config.yaml` with `inlineTableSettings` (`tableSettings` and
`inlineTableSettings` are mutually exclusive). Each entry separates source-table
behavior under `source` (`tableName`, `sapTableName` for SAP ERP or
`sfdcTableName` for Salesforce, `isCdc`, and `keys`) from target-table settings
under `target` (`tableName`, `dataformTags`, `bigQueryLabels`,
`clusterDetails`, `partitionDetails`, `assertions`, and `security`), alongside
entry-level `deployAlways`. SAP ERP foundations group table entries into
`common`, `ecc`, and `s4` sections, whereas Salesforce foundations use a flat
list of table entries. For schema details, see
[Configuration file: `table_settings.yaml`](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#config-table-settings-yaml).
These settings give you control over ingestion behavior, deployment
optimization, and BigQuery performance features for individual tables
without modifying SQL code:

- **[Dynamic dependency resolution](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#dynamic-dependency-resolution)** : By default (`deployAlways: false`), Cortex Framework optimizes the deployment footprint and execution cost by deploying and compiling only the data foundation tables required as dependencies by enabled downstream data products. To override this optimization and deploy a foundation table unconditionally (such as when running the data foundation standalone), set `deployAlways: true`. In `table_settings.default.yaml`, six SAP DDIC tables (`dd01l`, `dd03l`, `dd04t`, `dd07l`, `dd07t`, and `dd08l`) default to `isCdc: false` and `deployAlways: true`; four additional enrichment tables (`DD03T`, `DD02L`, `DD02T`, and `DD05S`) remain in the raw dataset only.
- **Ingestion mode (`source.isCdc`)** : Controls whether the table uses incremental CDC state reconstruction (`isCdc: true`) or full snapshot processing (`isCdc: false`).
- **Source mapping, keys, target naming, tags, and labels** : Specify the raw source table (`source.tableName`), map connector-prefixed or custom raw tables to canonical SAP (`source.sapTableName`) or Salesforce (`source.sfdcTableName`) names, declare primary key columns (`source.keys`, which overrides primary keys read from `DD03L` in SAP ERP and defaults to `Id` in Salesforce), customize the target conformed table name (`target.tableName`), attach metadata tags (`target.dataformTags`, for example, `[sap, foundation, finance, sap_fi, hourly]` or `[salesforce, sales, sales_cloud, foundation, masterdata, daily]`) to Dataform actions for selective pipeline runs (`dataform run --tags ...`), and apply resource labels (`target.bigQueryLabels`) to BigQuery tables.
- **Clustering details (`target.clusterDetails`)** : Colocate related data by sorting storage blocks across zero to four unique columns (`columns`, for example, `bukrs` and `gjahr` in SAP, or `Id` in Salesforce) to improve query performance and reduce scan costs. During `uv run cortex-build`, Cortex Framework validates that `columns` contains at most four case-insensitively unique column names and rejects unclusterable BigQuery data types (`FLOAT64`, `BYTES`, `JSON`, `TIME`, `INTERVAL`, `STRUCT`/`RECORD`, and `ARRAY`).
- **Partitioning details (`target.partitionDetails`)** : Segment large historical tables to avoid full table scans on filtered queries using either `partitionType: time`---with optional `dataType` (`DATE`, `DATETIME`, or `TIMESTAMP`, inferred from the source schema when available) and optional `timeGrain` (`hour`, `day`, `month`, or `year`, defaulting to `day`; `DATE` columns support `day`, `month`, and `year` only)---or `partitionType: integer` with `rangeStart`, `rangeEnd`, and `rangeInterval`.
- **[Data quality assertions](https://docs.cloud.google.com/cortex/docs/data-quality-assertions.md.txt) (`target.assertions`)** : Declare technical and business validation rules (`non_null`, `unique_key`, `range`, `foreign_key`, `accepted_values`, `cross_layer_parity`, and custom SQL rules) with optional `blocking: true` downstream DAG gating on all rule types except `cross_layer_parity` (which can't be blocking). On SAP foundation models (`publisher.operate()`), blocking rules also run inside a BigQuery `BEGIN TRANSACTION` block that rolls back the `MERGE` (or `DELETE` and `INSERT` on non-CDC refreshes), or drops a newly created table on initial load, if any blocking rule fails.
- **[Row- and column-level security](https://docs.cloud.google.com/cortex/docs/row-and-column-security.md.txt)
  (`target.security`)**: Apply table-level column-level security (CLS) policy tags and row-level security (RLS) policies on SAP ERP and Salesforce foundation tables to help protect sensitive columns and rows.

## Extending the data foundation

To extend the data foundation layer with additional tables, choose one of the
following options:

- [Use the agentic data product builder](https://docs.cloud.google.com/cortex/docs/agentic-skills-for-data-product-building.md.txt)
- [Add a table manually](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#add-table-to-data-foundation)
- Build a separate or customized foundation module using the extensibility framework. For details, see [Extend the data foundation](https://docs.cloud.google.com/cortex/docs/extensibility-guide-data-foundation.md.txt).

## Available data foundation tables

The Cortex Framework data foundation layer provides prebuilt
tables for [SAP ERP](https://docs.cloud.google.com/cortex/docs/data-foundation.md.txt#sap-erp-data-foundation-tables) and
[Salesforce](https://docs.cloud.google.com/cortex/docs/data-foundation.md.txt#data_foundation_tables_for_salesforce).


### Data foundation tables for SAP

The following table lists the SAP ECC and SAP S/4HANA tables included in the
`cortex.sap.foundations.sap` module:

| Line of business | SAP module | Table name | Description | Supported sources || Dataform tags | Partition details | Cluster details |
| Line of business | SAP module | Table name | Description | SAP ECC | SAP S/4HANA | Dataform tags | Partition details | Cluster details |
|---|---|---|---|---|---|---|---|---|
| Finance | CO | bpge | Budget Values (Overall) | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | bpja | Budget Values (Annual) | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | bpvg | Document Line Items | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cepc | Profit Center Master Data Table | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cepct | Texts for Profit Center Master Data | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | ckmlcr | Material Ledger: Period Totals Records Values | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | ckmlhd | Material Ledger: Header Record | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cobk | Controlling Object: Document Header | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | coep | Controlling Object: Line Items (By Period) | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cooi | Commitments Management: Line Items | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cosp | Controlling Object: Cost Totals for External Postings | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | coss | Controlling Object: Cost Totals for Internal Postings | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cskb | Cost Elements (Controlling Area-Dependent Data) | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | csks | Cost Center Master Record | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | cskt | Cost Center Texts | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | csku | Cost Element Texts | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | jest | Individual Object Status | ✅ | ✅ | sap, foundation, finance, sap_co, daily |   |   |
| Finance | CO | sethanahier0101 | Hierarchy table for Cost Center Groups |   | ✅ | sap, foundation, finance, sap_co, monthly |   |   |
| Finance | CO | sethanahier0106 | Hierarchy table for Profit Center Groups |   | ✅ | sap, foundation, finance, sap_co, monthly |   |   |
| Finance | CO | setheader | Set Header and Directory | ✅ | ✅ | sap, foundation, finance, sap_co, monthly |   |   |
| Finance | CO | setheadert | Short Description of Sets | ✅ | ✅ | sap, foundation, finance, sap_co, monthly |   |   |
| Finance | CO | setleaf | Values in Sets | ✅ | ✅ | sap, foundation, finance, sap_co, monthly |   |   |
| Finance | CO | setnode | Lower-Level Sets in Sets | ✅ | ✅ | sap, foundation, finance, sap_co, monthly |   |   |
| Finance | CO | tj02t | System Status Texts | ✅ | ✅ | sap, foundation, finance, sap_co, yearly |   |   |
| Finance | CO | tka01 | Controlling Areas | ✅ | ✅ | sap, foundation, finance, sap_co, yearly |   |   |
| Finance | CO | tka02 | Controlling Area Assignment | ✅ | ✅ | sap, foundation, finance, sap_co, yearly |   |   |
| Finance | FI | acdoca | Universal Journal Entry Line Items |   | ✅ | sap, foundation, finance, sap_fi, hourly |   | rclnt, rbukrs |
| Finance | FI | acdocu | Group Journal Entries |   | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | adr6 | Email Addresses (Business Address Services) | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | adrc | Addresses (Business Address Services) | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | adrct | Address Texts (Business Address Services) | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | anek | Asset Posting Document Header | ✅ |   | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | anep | Asset Line Items | ✅ |   | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | ankt | Asset Classes: Description | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | anla | Asset Master Record Segment | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | anlb | Depreciation Terms | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | anlc | Asset Value Record: Year | ✅ |   | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | anlh | Main Asset Number | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | anlz | Time-Dependent Asset Allocations | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | atras | Treasury Rates Table | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | bkpf | Accounting Document Header | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly | budat (DATE/day) | bukrs, gjahr |
| Finance | FI | bsad | Accounting: Secondary Index for Customers (Cleared Items) | ✅ |   | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | bsak | Accounting: Secondary Index for Vendors (Cleared Items) | ✅ |   | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | bseg | Accounting Document Segment | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   | mandt, bukrs, gjahr |
| Finance | FI | bsid | Accounting: Secondary Index for Customers | ✅ |   | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | bsik | Accounting: Secondary Index for Vendors | ✅ |   | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | but000 | Bp: General Data I | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | but020 | Bp: Addresses | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | but0bk | Bp: Bank Details | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | faat_doc_it | Asset Accounting: Statistical Line Items |   | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | faat_plan_values | Asset Values: Planned Values and Revaluations |   | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | faat_ydda | Asset Values: Year-Dependent Data |   | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | fagl_011pc | Fin Statement Version: Items in Financial Statement Version | ✅ | ✅ | sap, foundation, finance, sap_fi, monthly |   |   |
| Finance | FI | fagl_011qt | Fin Statement Structure: Text for Fin Statement Items | ✅ | ✅ | sap, foundation, finance, sap_fi, monthly |   |   |
| Finance | FI | fagl_011zc | Fin Statement Version: Assignment of Fs Items to G/L Accts | ✅ | ✅ | sap, foundation, finance, sap_fi, monthly |   |   |
| Finance | FI | faglflexa | General Ledger: Actual Line Items | ✅ |   | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | faglflext | General Ledger: Totals | ✅ |   | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | fincs_ref_vers_r | Reference Version Relation |   | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | finsc_ld_cmp | CompCode-Dependent Settings for Univ. Journal Entry Ledger |   | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | finsc_ledger | Universal Journal Entry Ledger |   | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | finsc_ledger_rep | Unified Journal Entry Ledger (Auxiliary table for Reporting) |   | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | finsc_ledger_t | Universal Journal Entry Ledger Text |   | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | glt0 | G/L Account Master Record Transaction Figures | ✅ |   | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | hrrp_directory | Hierarchy directory |   | ✅ | sap, foundation, finance, sap_fi, monthly |   |   |
| Finance | FI | hrrp_node | Hierarchy node |   | ✅ | sap, foundation, finance, sap_fi, monthly |   |   |
| Finance | FI | hrrp_nodet | Hierarchy node texts |   | ✅ | sap, foundation, finance, sap_fi, monthly |   |   |
| Finance | FI | ska1 | G/L Account Master (Chart of Accounts) | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | skat | G/L Account Master Record (Chart of Accounts: Description) | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | t001 | Company Codes | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | t002 | Language Keys (Component Bc-I18) | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | t002t | Language Key Texts | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | t005 | Countries | ✅ | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | t005k | Communication: Country Dialling Code | ✅ | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | t005s | Taxes: Region (Province) Key | ✅ | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | t005t | Country Names | ✅ | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | t005u | Taxes: Region Key: Texts | ✅ | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | t009 | Fiscal Year Variants | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | t009b | Fiscal Year Variant Periods | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | t090nat | Depreciation Key Texts | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | t093b | Company Code Settings for Depreciation Area | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | t093c | Company Code Settings for Asset Accounting | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | t093t | Depreciation Area Texts | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | t095t | Name of Account Determination | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | t098t | Reason for Manual Valuation Description | ✅ | ✅ | sap, foundation, finance, sap_fi, hourly |   |   |
| Finance | FI | t881 | Ledger Master | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | t881t | Fi-Sl Ledger Text | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | tabw | Asset Transaction Types | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | tabwh | Asset Transaction Type Group Texts | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | tabwt | Asset Transaction Type Texts | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | tcurc | Currency Codes | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | tcurf | Conversion Factors | ✅ | ✅ | sap, foundation, finance, sap_fi, once |   |   |
| Finance | FI | tcurr | Exchange Rates | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | tcurt | Currency Code Names | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | tcurx | Decimal Places in Currencies | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | tf200 | Consolidation Versions |   | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | tf201 | Versions: Name |   | ✅ | sap, foundation, finance, sap_fi, yearly |   |   |
| Finance | FI | tvarvc | Table of Variant Variables (Client-Specific) | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FI | vwpanla | Asset Master for Securities | ✅ | ✅ | sap, foundation, finance, sap_fi, daily |   |   |
| Finance | FSCM | fdsb | Cash Management and Forecast Summary Records | ✅ |   | sap, foundation, finance, sap_fscm, hourly |   |   |
| Finance | FSCM | fqm_flow | One Exposure From Operations |   | ✅ | sap, foundation, finance, sap_fscm, hourly |   |   |
| Finance | PS | prhi | Work Breakdown Structure, Edges (Hierarchy Pointer) | ✅ | ✅ | sap, foundation, finance, sap_ps, hourly |   |   |
| Finance | PS | proj | Project Definition | ✅ | ✅ | sap, foundation, finance, sap_ps, hourly |   |   |
| Finance | PS | prps | WBS Element Master Data | ✅ | ✅ | sap, foundation, finance, sap_ps, hourly |   |   |
| Finance | PS | prte | Scheduling Data for Project Item | ✅ | ✅ | sap, foundation, finance, sap_ps, hourly |   |   |
| Finance | PS | rpsco | Project info database: Costs, revenues, finances | ✅ | ✅ | sap, foundation, finance, sap_ps, daily |   |   |
| Finance | TRM | vtbfha | Financial Transaction (Vtbfha) | ✅ | ✅ | sap, foundation, finance, sap_trm, hourly |   |   |
| Finance | TRM | vtbfhapo | Transaction Flow (Vtbfhapo) | ✅ | ✅ | sap, foundation, finance, sap_trm, hourly |   |   |
| Finance | TRM | vtbfhazu | Transaction Activity (Vtbfhazu) | ✅ | ✅ | sap, foundation, finance, sap_trm, hourly |   |   |
| Finance | TRM | vtvbar | Npvs of Otc Transactions (Vtvbar) | ✅ | ✅ | sap, foundation, finance, sap_trm, hourly |   |   |
| IT | BASIS | dd01l | Domains | ✅ | ✅ | sap, foundation, it, sap_basis, once |   |   |
| IT | BASIS | dd03l | Table Fields | ✅ | ✅ | sap, foundation, it, sap_basis, once |   |   |
| IT | BASIS | dd04t | Data Element Texts | ✅ | ✅ | sap, foundation, it, sap_basis, once |   |   |
| IT | BASIS | dd07l | Domain Values | ✅ | ✅ | sap, foundation, it, sap_basis, once |   |   |
| IT | BASIS | dd07t | Texts for Domain Fixed Values (Language-Dependent) | ✅ | ✅ | sap, foundation, it, sap_basis, once |   |   |
| IT | BASIS | dd08l | Relationship Definitions | ✅ | ✅ | sap, foundation, it, sap_basis, once |   |   |
| Manufacturing | PP | afko | Order Header Data PP Orders | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, hourly |   |   |
| Manufacturing | PP | afpo | Order Item | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, hourly |   |   |
| Manufacturing | PP | aufk | Order Master Data | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, hourly |   |   |
| Manufacturing | PP | mast | Material to Bom Link | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, monthly |   |   |
| Manufacturing | PP | stas | Boms - Item Selection | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, monthly |   |   |
| Manufacturing | PP | stko | Bom Header | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, monthly |   |   |
| Manufacturing | PP | stpo | Bom Item | ✅ | ✅ | sap, foundation, manufacturing, sap_pp, monthly |   |   |
| Sales | SD | kna1 | General Data in Customer Master | ✅ | ✅ | sap, foundation, sales, sap_sd, daily |   |   |
| Sales | SD | konv | Conditions (Transaction Data) | ✅ |   | sap, foundation, sales, sap_sd, daily | kdatu (DATE/day) | stunr |
| Sales | SD | prcd_elements | Pricing Elements |   | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | t179 | Materials: Product Hierarchies | ✅ | ✅ | sap, foundation, sales, sap_sd, once |   |   |
| Sales | SD | t179t | Materials: Product Hierarchies: Texts | ✅ | ✅ | sap, foundation, sales, sap_sd, once |   |   |
| Sales | SD | tspa | Organizational Unit: Sales Divisions | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tspat | Organizational Unit: Sales Divisions: Texts | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tvfst | Billing : Blocking Reason Texts | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tvko | Organizational Unit: Sales Organizations | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tvkot | Organizational Unit: Sales Organizations: Texts | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tvlst | Deliveries: Blocking Reasons/Scope: Texts | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tvtw | Organizational Unit: Distribution Channels | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | tvtwt | Organizational Unit: Distribution Channels: Texts | ✅ | ✅ | sap, foundation, sales, sap_sd, yearly |   |   |
| Sales | SD | vbak | Sales Document: Header Data | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly | audat (DATE/day) | vkorg |
| Sales | SD | vbap | Sales Document: Item Data | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   | werks, lgort |
| Sales | SD | vbep | Sales Document: Schedule Line Data | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | vbfa | Sales Document Flow | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | vbpa | Sales Document: Partner | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | vbrk | Billing Document: Header Data | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | vbrp | Billing Document: Item Data | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | vbuk | Sales Document: Header Status and Administrative Data | ✅ |   | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | vbup | Sales Document: Item Status | ✅ |   | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | wb2_d_bvdetail | Ccs: Detailed Statement for Settlement | ✅ | ✅ | sap, foundation, sales, sap_sd, daily |   |   |
| Sales | SD | wb2_d_settl_cal | Rebates: Settlement Calendar | ✅ | ✅ | sap, foundation, sales, sap_sd, daily |   |   |
| Sales | SD | wbrk | Agency Settlement Document: Header | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | wbrp | Agency Settlement Document: Item | ✅ | ✅ | sap, foundation, sales, sap_sd, hourly |   |   |
| Sales | SD | wcocoh | Condition Contract: Header | ✅ | ✅ | sap, foundation, sales, sap_sd, daily |   |   |
| Sales | SD | wcocoi | Condition Contract: Item | ✅ | ✅ | sap, foundation, sales, sap_sd, daily |   |   |
| Supply Chain | LE | likp | SD Document: Delivery Header Data | ✅ | ✅ | sap, foundation, supply_chain, sap_le, hourly | erdat (DATE/month) | vkorg |
| Supply Chain | LE | lips | SD Document: Delivery: Item Data | ✅ | ✅ | sap, foundation, supply_chain, sap_le, hourly | erdat (DATE/month) |   |
| Supply Chain | MM | ekbe | Purchasing Document History (Ekbe) | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly | budat (DATE/day) | mandt, vgabe, ebeln, bwart |
| Supply Chain | MM | ekes | Vendor Confirmations (Ekes) | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | eket | Scheduling Agreement Schedule Lines | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly | eindt (DATE/day) | mandt, ebeln |
| Supply Chain | MM | ekkn | Account Assignment in Purchasing Document (Ekkn) | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | ekko | Purchasing Document Header | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly | bedat (DATE/day) | mandt, ebeln |
| Supply Chain | MM | ekpo | Purchasing Document Item | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly | aedat (DATE/day) | mandt, ebeln |
| Supply Chain | MM | lfa1 | Vendor Master (General Section) | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | makt | Material Descriptions | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   | spras |
| Supply Chain | MM | mara | General Material Data | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | marc | Plant Data for Material | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | mard | Storage Location Data for Material | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | matdoc | Material Documents |   | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | mbew | Material Valuation | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | mbewh | Material Valuation: History | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | mch1 | Batches (If Batch Management Cross-Plant) | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | mcha | Batches | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | mchb | Batch Stocks | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, daily |   |   |
| Supply Chain | MM | mkol | Special Stocks From Vendor | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, weekly |   |   |
| Supply Chain | MM | mseg | Document Segment: Material | ✅ |   | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | msfd | Sales Order Stock with Vendor | ✅ |   | sap, foundation, supply_chain, sap_mm, weekly |   |   |
| Supply Chain | MM | mska | Sales Order Stock | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, weekly |   |   |
| Supply Chain | MM | msku | Special Stocks with Customer | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, weekly |   |   |
| Supply Chain | MM | mslb | Special Stocks with Vendor | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, weekly |   |   |
| Supply Chain | MM | rbco | Document Item, Incoming Invoice, Account Assignment | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | rbkp | Document Header: Invoice Receipt | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | rseg | Document Item: Incoming Invoice | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, hourly |   |   |
| Supply Chain | MM | t001k | Valuation Area | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t001l | Storage Locations | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t001w | Plants/Branches | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t006 | Units of Measurement | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, yearly |   |   |
| Supply Chain | MM | t006a | Assign Internal to Language-Dependent Unit | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t006t | Dimension Texts | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t023 | Material Groups | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t023t | Material Group Descriptions | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t024 | Purchasing Groups | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t024e | Purchasing Organizations | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t134 | Material Types | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t134t | Material Type Descriptions | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t148t | Special Stock Descriptions | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t156 | Movement Type | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t156t | Movement Type Text | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t157e | Text Table: Reason for Movement | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t161 | Purchasing Document Types (T161) | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |
| Supply Chain | MM | t161t | Texts for Purchasing Document Types | ✅ | ✅ | sap, foundation, supply_chain, sap_mm, once |   |   |

### Data foundation tables for Salesforce

The following table lists the Salesforce standard objects deployed in the
`cortex.sfdc.foundations.sfdc` module:

| Line of business | Domain | Table name | Source SObject | Description | Supported sources || Dataform tags | Partition details | Cluster details |
| Line of business | Domain | Table name | Source SObject | Description | Sales Cloud | Service Cloud | Dataform tags | Partition details | Cluster details |
|---|---|---|---|---|---|---|---|---|---|
| Sales | Accounts | account | Account | Account business entities, customers, partners, and competitors. | ✅ | ✅ | salesforce, sales, sales_cloud, service_cloud, foundation, masterdata, daily |   |   |
| Sales | Activities | event | Event | Scheduled calendar events, appointments, and customer meetings. | ✅ | ✅ | salesforce, sales, sales_cloud, service_cloud, foundation, transactional, hourly |   |   |
| Sales | Activities | task | Task | Assigned to-do items, follow-ups, and sales or service activities. | ✅ | ✅ | salesforce, sales, sales_cloud, service_cloud, foundation, transactional, hourly |   |   |
| Sales | Assets | asset | Asset | Commercial asset representing an item or product owned or installed by a customer or account. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Campaigns | campaign | Campaign | Marketing campaigns, programs, and lead acquisition initiatives. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Campaigns | campaign_member | CampaignMember | Association between a marketing campaign and either a lead or a contact. | ✅ |   | salesforce, sales, sales_cloud, foundation, transactional, daily |   |   |
| Sales | Configuration | group | Group | Public or private group of users, roles, or territories for sharing and collaboration. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Configuration | organization | Organization | Top-level Salesforce organization profile and tenant settings. | ✅ | ✅ | salesforce, sales_cloud, service_cloud, foundation, masterdata, daily |   |   |
| Sales | Configuration | profile | Profile | User profile defining permissions, feature access, and administrative privileges. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Configuration | record_type | RecordType | Custom and standard object record types and page layout mappings. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Configuration | user | User | Internal system users, sales representatives, and user profile metadata. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Configuration | user_role | UserRole | User role in the Salesforce organization role hierarchy for data access and sharing. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Contacts | contact | Contact | Individual people associated with accounts, such as customers, prospects, and colleagues. | ✅ | ✅ | salesforce, sales, sales_cloud, service_cloud, foundation, masterdata, daily |   |   |
| Sales | Currency and Conversion | currency_type | CurrencyType | Supported currencies and corporate exchange rates in multi-currency organizations. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Currency and Conversion | dated_conversion_rate | DatedConversionRate | Historical dated exchange rates for multi-currency conversion over time. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Leads | lead | Lead | Prospective customers and unverified sales leads. | ✅ |   | salesforce, sales, sales_cloud, foundation, transactional, daily |   |   |
| Sales | Opportunities | opportunity | Opportunity | Sales deals, pending revenue events, and pipeline stages. | ✅ |   | salesforce, sales, sales_cloud, foundation, transactional, daily |   |   |
| Sales | Opportunities | opportunity_contact_role | OpportunityContactRole | Role that a contact plays in a commercial opportunity. | ✅ |   | salesforce, sales, sales_cloud, foundation, transactional, daily |   |   |
| Sales | Opportunities | opportunity_history | OpportunityHistory | Historical stage changes, amounts, expected revenues, and close dates for opportunities. | ✅ |   | salesforce, sales, sales_cloud, foundation, transactional, daily |   |   |
| Sales | Opportunities | opportunity_line_item | OpportunityLineItem | Line item representing an individual product or service associated with an opportunity. | ✅ |   | salesforce, sales, sales_cloud, foundation, transactional, daily |   |   |
| Sales | Products and Pricing | pricebook2 | Pricebook2 | Price book header defining a catalog of products and list prices. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Products and Pricing | pricebook_entry | PricebookEntry | Price book entry representing the price of a product in a specific price book. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Sales | Products and Pricing | product2 | Product2 | Product or service that an organization sells to customers. | ✅ |   | salesforce, sales, sales_cloud, foundation, masterdata, daily |   |   |
| Service | Cases | case | Case | Customer feedback, issues, service requests, and support tickets. |   | ✅ | salesforce, service, service_cloud, foundation, transactional, hourly |   |   |
| Service | Cases | case_comment | CaseComment | Comments and notes associated with a customer support case. |   | ✅ | salesforce, service, service_cloud, foundation, transactional, hourly |   |   |
| Service | Cases | case_history | CaseHistory | Field audit history, changes, and modifications to case records. |   | ✅ | salesforce, service, service_cloud, foundation, transactional, hourly |   |   |
| Service | Cases | email_message | EmailMessage | Email messages sent or received in relation to Salesforce records such as cases or contacts. |   | ✅ | salesforce, service, service_cloud, foundation, transactional, hourly |   |   |