Forecast Calls
This table has 1 row per forecast call object.
Column | Type | Definition | Sample Value(s) | Sample Use |
---|---|---|---|---|
BENTO | Varchar | A collection of machines that power the Outreach app. Orgs live inside these. | This may distinguish orgs that are in different data centers. | |
COMMENT | Varchar | Any comments on the forecast metric. | ||
CREATED_AT | Timestamp_NTZ | Time when the forecast call was created. | ||
DEFAULT | Float | The Forecast metric default value. | ||
DML_AT | Timestamp_NTZ | A datetime (local to server) in which the row was last modified. dml_at can be used to identify updated and new records, but as tables may not see changed records every day, it is not authoritative on when the table was last synced. | 2019-01-01 12:14:01:10 | Where dml_at::date >= current_date-7 This will return all rows modified in the last 7 days. |
DML_TYPE | Varchar | The type of manipulation that last occurred to a row. | 'update', 'delete', 'insert', 'backfill', 'backfill-delete' | Where dml_type <> 'delete' Excludes deleted rows. |
FORECAST_ID | Varchar | ID of the associated forecast. | ||
FORECAST_METRIC_NAME | Varchar | Name of the forecast metric. | ||
ID | Varchar | Unique ID of the forecast call. | ||
IS_DELETED_IN_APP | Boolean | Is the latest dml_type "delete" or "backfill-delete". | Where is_deleted_in_app = false Only keeps undeleted rows. | |
KEY | Varchar | The Forecast metric key. | ||
O_ID | Varchar | Organization ID, also called instance ID. This is the ID for your unique Outreach account. | Most commonly used on joins alongside other primary keys. where a.o_id = b.o_id and a.id = b.a_id | |
OWNER_ID | Varchar | ID of the Owner. This can be user id or territory id. | ||
OWNER_NAME | Varchar | The name of the owner. This will be the name of a User or Territory, depending on the OWNER_TYPE. | ||
OWNER_TYPE | Varchar | The type of owner. There are two possible values: `User` or `Territory`. | ||
VALUE | Float | The Forecast metric value. |