OBJECT
ForecastEntity
Sales forecast that sums an amount over the opportunities of a pipeline for a period, broken down by levels such as sales units and users.
link GraphQL Schema definition
- type ForecastEntity {
- # True when the record is protected against deletion because it must always exist
- # in the space. Deleting a record that is not protected can still fail on other
- # checks. Read-only.
- : Boolean!
- # Unique identifier of entity.
- : ID!
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # Field whose value is summed when computing forecast amounts (typically a
- # currency field on Opportunity).
- : FieldEntity
- # User who owns the forecast.
- : ClientEntity
- # Pipeline whose opportunities the forecast aggregates.
- : PipelineEntity
- # Free-text description shown alongside the forecast.
- : String
- # Last date covered by the forecast period.
- : Date!
- # Id of the aggregation field.
- : ID!
- # Name of the entity and its default text representation.
- : String!
- # Id of the owning user.
- : ID!
- # Id of the pipeline whose opportunities the forecast aggregates.
- : ID!
- # Forecast configuration as a JSON object conforming to the BetterForecastSchema
- # type: currency, period (year + quarter/month), breakdown levels (type), items
- # and quotas, and column layout. Validated on write. Full structure:
- # https://api-doc.coevera.com/latest/graphql/space/betterforecastschema.doc.html
- # This payload conforms to the `BetterForecastSchema` JSON Schema:
- # https://api-doc.coevera.com/schemas/BetterForecastSchema.json
- : BetterForecastSchema!
- # Who besides the owner can access the forecast. Updating it to AllEdit shares the
- # forecast with the users and sales units it covers (see sharedClients and
- # sharedUnits) and stores the mode as Standard.
- : ShareModeEnum
- # Legacy additional sharing options; kept with the record but no longer applied.
- : Int
- # First date covered by the forecast period.
- : Date!
- # Order of forecast levels as a JSON array (e.g. ["Units", "Users"]). Each level
- # adds a grouping dimension to the breakdown.
- : JSONString!
- # Revision when entity was lastly changed.
- : Int
- # For multi-level forecasts (a "type" path like Pipeline/Step/Owner), the last
- # element of the path identifying the current breakdown axis.
- : ForecastType!
- # Users granted shared access to this forecast (custom share mode).
- : [ClientEntity!]!
- # Sales units granted shared access to this forecast (custom share mode).
- : [SalesUnitEntity!]!
- # Permissions the current user has on this record, out of the requested ones.
- #
- # Arguments
- # permissions: Permissions to check; the result lists those the
- # current user has.
- (: [EntityPermsEnum!]!): [EntityPermsEnum!]!
- # Goal value to reach within the selected period; when the period covers only part
- # of the target or forecast period, only the matching months count.
- #
- # Arguments
- # period: Period to compute the goal for; the whole period when
- # omitted.
- (: PeriodOptionParams): Int!
- }
link Require by
- CreateForecastPayloadResult of the createForecast mutation.
- DeleteForecastPayloadResult of the deleteForecast mutation.
- ForecastEntityEdgeA Relay edge containing a `ForecastEntity` and its cursor.
- ForecastRepositoryRead operations for Forecast records.
- UpdateForecastPayloadResult of the updateForecast mutation.