> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/projects/validate-forecast-connection-integrity.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Validate Forecast Connection Integrity

Validates RFC/CCO links on one project forecast with header, resource forecast and line reconciliation data. Read-only.

| Business area | Action type |
| ------------- | ----------- |
| Projects      | Read-only   |

## Overview

In IFS Cloud a project forecast can pull ETC from a project resource forecast (connection type RFC) and from contract change orders (connection type CCO). Each link is a row in ProjectForecastConnections (view project\_forecast\_conn\_all) with the connected forecast/change order, the base totals (TotalCost, TotalRevenue), the amounts already brought into the project forecast (ConnctedCost, ConnctedRevenue), a LastUpdated date and, for CCOs, the change-order state.

Reads project forecast connection rows and related forecasts.

## How it works

{% stepper %}
{% step %}
Connections: ProjectForecastConnectionsHandling.
{% endstep %}

{% step %}
Header: ProjectForecastsHandling.
{% endstep %}

{% step %}
Resource: ProjectResourceForecastsHandling.
{% endstep %}

{% step %}
Reconcile: ProjectForecastItemSet filter.
{% endstep %}

{% step %}
Return structured results and any escalation guidance.
{% endstep %}
{% endstepper %}

## Key capabilities

* Reads a single connection by its three keys or all connections of one forecast (max 50).
* Confirms the project forecast exists, belongs to the same project and is not Cancelled.
* For RFC links, confirms the resource forecast exists (ForecastSequence = ConnectionSequence), matches version/type/project and is not Cancelled.
* For CCO links, checks the change-order number and state (ChangeOrderObjState), flagging Canceled, Preliminary or Closed orders.
* Compares base totals with connected amounts (TotalCost/ConnctedCost, TotalRevenue/ConnctedRevenue) and reports the gap.
* Reconciles connection totals with EtcConnected on the forecast lines.
* Flags stale links by LastUpdated age relative to the forecast CutOffDate.
* Returns per-connection verdicts and a forecast-level summary with one next step.

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component                | Projection                         |
| ------------------------ | ---------------------------------- |
| PROJBF (OPTIONAL: CHANGE | ProjectForecastConnectionsHandling |
| CONMGT                   | ProjectForecastsHandling           |
| SUBCON)                  | ProjectResourceForecastsHandling   |
| PROJBF (OPTIONAL: CHANGE | ProjectForecastVersionLineHandling |

## Version compatibility

| Projection                         | Supported IFS Cloud releases |
| ---------------------------------- | ---------------------------- |
| ProjectForecastConnectionsHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |
| ProjectForecastsHandling           | 24R2, 25R1, 25R2, 26R1, 26R2 |
| ProjectResourceForecastsHandling   | 24R2, 25R1, 25R2, 26R1, 26R2 |
| ProjectForecastVersionLineHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Read-only: does not create, update, or delete IFS Cloud data.
* Requires projection-level security. Permission errors halt the run.
