Forecast Configs

This table has 1 row per forecast config object.

ColumnTypeDefinitionSample Value(s)Sample Use
BENTOVarcharA collection of machines that power the Outreach app. Orgs live inside these.This may distinguish orgs that are in different data centers.
CREATED_ATTimestamp_NTZTime when the config was created.
CREATED_BYVarcharID of the user who created the config.
CREATED_BY_NAMEVarcharName of the user who created the config.
DESCRIPTIONVarcharAdditional notes on the config.
DML_ATTimestamp_NTZA 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:10Where dml_at::date >= current_date-7 This will return all rows modified in the last 7 days.
DML_TYPEVarcharThe type of manipulation that last occurred to a row.'update', 'delete', 'insert', 'backfill', 'backfill-delete'Where dml_type <> 'delete' Excludes deleted rows.
HIERARCHY_TYPEVarcharThe Hierarchy type.
IDVarcharUnique ID of the forecast config.
IS_DELETED_IN_APPBooleanIs the latest dml_type "delete" or "backfill-delete".Where is_deleted_in_app = false Only keeps undeleted rows.
MODEVarcharConfig mode.
NAMEVarcharName of the config.
OBJECT_SETTINGSVariantAdditional settings of the config.
O_IDVarcharOrganization 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
PERIOD_LENGTHVarcharThe Forecast period.
STATUSVarcharStatus of the config.
STATUS_DISABLED_ATTimestamp_NTZTime the config has been changed to disabled status.
STATUS_ENABLED_ATTimestamp_NTZTime the config has been changed to enabled status.
SUBMITTED_ATTimestamp_NTZTime of submission of the config.
SURROGATE_IDVarcharAn md5 hash of bento, o_id and ID for a table.This can be used to get distinct counts of records if an account has more than 1 org instance. Two orgs will both have a prospect with ID of "1" but each will have a different surrogate ID.
TENANT_IDVarcharTenant Id.
UPDATED_ATTimestamp_NTZTime when the config was last updated.
UPDATED_BYVarcharID of the user who last updated the config.
UPDATED_BY_NAMEVarcharName of the user who last updated the config.