# Harvest Forecast (v1)

Information note **Harvest Forecast is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Harvest Forecast tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-harvest-forecast) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Harvest Forecast integration summary

Stitch’s Harvest Forecast integration replicates data using the [Harvest Forecast Experimental API](https://help.getharvest.com/forecast/faqs/faq-list/api/). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#schema) section for a list of objects available for replication.

## Harvest Forecast feature snapshot

A high-level look at Stitch's Harvest Forecast (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on September 18, 2018 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-harvest-forecast](https://github.com/singer-io/tap-harvest-forecast) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Remove icon<br><br>Advanced Scheduling is not supported for this integration.<br><br><br>Unsupported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Remove icon<br><br>Table selection is not supported for this integration. All available table and fields will be automatically selected for replication.<br><br><br>Unsupported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Remove icon<br><br>Column selection is not supported for this integration. All available columns in tables set to replicate will be selected.<br><br><br>Unsupported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Remove icon<br><br>As this integration doesn't support table or column selection, all available tables and columns are automatically replicated.<br><br><br>Unsupported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Harvest Forecast

### Harvest Forecast setup requirements

To set up Harvest Forecast in Stitch, you need:

* **A Harvest account with access to Harvest Forecast**. Your Harvest ID will be used to authorize the integration using OAuth.

### Step 1: Add Harvest Forecast as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Harvest Forecast** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Harvest Forecast” would create a schema called `stitch_harvest_forecast` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. Enter your Harvest Forecast account ID in the **Harvest Forecast Account ID** field. For example: If your Harvest Forecast account shows the URL as `forecastapp.com/123456/schedule/projects`, you’d enter `123456` in this field.

### Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Harvest Forecast integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Harvest Forecast’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 3: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Harvest Forecast integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 4: Authorize Stitch to Access Harvest Forecast

Lastly, you’ll be directed to Harvest’s website to complete the setup.

1. If not already logged into Harvest Forecast, enter your credentials and click **Sign In**.
2. A screen asking for authorization to Forecast will display. **Note that Stitch will only ever read your data.**
3. Click **Connect.**
4. After the authorization process successfully completes, you’ll be redirected back to Stitch.
5. Click **All Done**.

### Initial and historical replication jobs

After you finish setting up Harvest Forecast, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Harvest Forecast table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the Harvest Forecast integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### assignments

The `assignments` table contains info about the assignments assigned to the people in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [Harvest Forecast documentation](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast "Opens in new tab: Harvest Forecast documentation")<br><br><br>[assignments schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/assignments.json "Opens in new tab: assignments schema on GitHub") |

assignments table foreign keys

| Join assignments with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#clients) | ```<br>assignments.person_id = clients.updated_by_id<br>```<br><br>```<br>assignments.updated_by_id = clients.updated_by_id<br>``` |
| [milestones](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#milestones) | ```<br>assignments.person_id = milestones.updated_by_id<br>```<br><br>```<br>assignments.updated_by_id = milestones.updated_by_id<br>```<br><br>```<br>assignments.project_id = milestones.project_id<br>``` |
| [people](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#people) | ```<br>assignments.person_id = people.id<br>```<br><br>```<br>assignments.updated_by_id = people.id<br>```<br><br>```<br>assignments.person_id = people.updated_by_id<br>```<br><br>```<br>assignments.updated_by_id = people.updated_by_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#projects) | ```<br>assignments.person_id = projects.updated_by_id<br>```<br><br>```<br>assignments.updated_by_id = projects.updated_by_id<br>```<br><br>```<br>assignments.project_id = projects.id<br>``` |
| [placeholders](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#placeholders) | ```<br>assignments.person_id = placeholders.updated_by_id<br>```<br><br>```<br>assignments.updated_by_id = placeholders.updated_by_id<br>```<br><br>```<br>assignments.placeholder_id = placeholders.id<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#roles) | ```<br>assignments.person_id = roles.updated_by_id<br>```<br><br>```<br>assignments.updated_by_id = roles.updated_by_id<br>```<br><br>```<br>assignments.placeholder_id = roles.placeholder_ids<br>``` |

assignments table schema

| **active\_on\_days\_off**<br><br><br>BOOLEAN |
| --- |
| **allocation**<br><br><br>INTEGER |
| **end\_date**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **notes**<br><br><br>STRING |
| **person\_id**<br><br><br>INTEGER |
| **placeholder\_id**<br><br><br>INTEGER |
| **project\_id**<br><br><br>INTEGER |
| **repeated\_assignment\_set\_id**<br><br><br>INTEGER |
| **start\_date**<br><br><br>DATE-TIME |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>INTEGER |

### clients

The `clients` table contains info about the clients in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest Forecast documentation](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast "Opens in new tab: Harvest Forecast documentation")<br><br><br>[clients schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/clients.json "Opens in new tab: clients schema on GitHub") |

clients table foreign keys

| Join clients with | on |
| --- | --- |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#projects) | ```<br>clients.id = projects.client_id<br>```<br><br>```<br>clients.updated_by_id = projects.updated_by_id<br>``` |
| [assignments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#assignments) | ```<br>clients.updated_by_id = assignments.person_id<br>```<br><br>```<br>clients.updated_by_id = assignments.updated_by_id<br>``` |
| [milestones](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#milestones) | ```<br>clients.updated_by_id = milestones.updated_by_id<br>``` |
| [people](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#people) | ```<br>clients.updated_by_id = people.id<br>```<br><br>```<br>clients.updated_by_id = people.updated_by_id<br>``` |
| [placeholders](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#placeholders) | ```<br>clients.updated_by_id = placeholders.updated_by_id<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#roles) | ```<br>clients.updated_by_id = roles.updated_by_id<br>``` |

clients table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **harvest\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>INTEGER |

### milestones

The `milestones` table contains info about the project milestones in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest Forecast documentation](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast "Opens in new tab: Harvest Forecast documentation")<br><br><br>[milestones schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/milestones.json "Opens in new tab: milestones schema on GitHub") |

milestones table foreign keys

| Join milestones with | on |
| --- | --- |
| [assignments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#assignments) | ```<br>milestones.updated_by_id = assignments.person_id<br>```<br><br>```<br>milestones.updated_by_id = assignments.updated_by_id<br>```<br><br>```<br>milestones.project_id = assignments.project_id<br>``` |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#clients) | ```<br>milestones.updated_by_id = clients.updated_by_id<br>``` |
| [people](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#people) | ```<br>milestones.updated_by_id = people.id<br>```<br><br>```<br>milestones.updated_by_id = people.updated_by_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#projects) | ```<br>milestones.updated_by_id = projects.updated_by_id<br>```<br><br>```<br>milestones.project_id = projects.id<br>``` |
| [placeholders](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#placeholders) | ```<br>milestones.updated_by_id = placeholders.updated_by_id<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#roles) | ```<br>milestones.updated_by_id = roles.updated_by_id<br>``` |

milestones table schema

| **date**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **project\_id**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>INTEGER |

### people

The `people` table contains info about the people in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest Forecast documentation](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast "Opens in new tab: Harvest Forecast documentation")<br><br><br>[people schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/people.json "Opens in new tab: people schema on GitHub") |

people table foreign keys

| Join people with | on |
| --- | --- |
| [assignments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#assignments) | ```<br>people.id = assignments.person_id<br>```<br><br>```<br>people.updated_by_id = assignments.person_id<br>```<br><br>```<br>people.id = assignments.updated_by_id<br>```<br><br>```<br>people.updated_by_id = assignments.updated_by_id<br>``` |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#clients) | ```<br>people.id = clients.updated_by_id<br>```<br><br>```<br>people.updated_by_id = clients.updated_by_id<br>``` |
| [milestones](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#milestones) | ```<br>people.id = milestones.updated_by_id<br>```<br><br>```<br>people.updated_by_id = milestones.updated_by_id<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#projects) | ```<br>people.id = projects.updated_by_id<br>```<br><br>```<br>people.updated_by_id = projects.updated_by_id<br>``` |
| [placeholders](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#placeholders) | ```<br>people.id = placeholders.updated_by_id<br>```<br><br>```<br>people.updated_by_id = placeholders.updated_by_id<br>```<br><br>```<br>people.roles = placeholders.roles<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#roles) | ```<br>people.id = roles.updated_by_id<br>```<br><br>```<br>people.updated_by_id = roles.updated_by_id<br>```<br><br>```<br>people.roles = roles.id<br>``` |

people table schema

| **admin**<br><br><br>BOOLEAN |
| --- |
| **archived**<br><br><br>BOOLEAN |
| **avatar\_url**<br><br><br>STRING |
| **color\_blind**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **harvest\_user\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **last\_name**<br><br><br>STRING |
| **login**<br><br><br>STRING |
| **personal\_feed\_token\_id**<br><br><br>INTEGER |
| **roles**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **subscribed**<br><br><br>BOOLEAN |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>STRING |
| **weekly\_capacity**<br><br><br>INTEGER |
| **working\_days**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand working\_days<br><br><table> <tr> <td> <p> <strong>								friday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								monday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								saturday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sunday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								thursday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								tuesday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								wednesday							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |

### placeholders

The `placeholders` table contains info about the placeholders in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [placeholders schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/placeholders.json "Opens in new tab: placeholders schema on GitHub") |

placeholders table foreign keys

| Join placeholders with | on |
| --- | --- |
| [assignments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#assignments) | ```<br>placeholders.updated_by_id = assignments.person_id<br>```<br><br>```<br>placeholders.updated_by_id = assignments.updated_by_id<br>```<br><br>```<br>placeholders.id = assignments.placeholder_id<br>``` |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#clients) | ```<br>placeholders.updated_by_id = clients.updated_by_id<br>``` |
| [milestones](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#milestones) | ```<br>placeholders.updated_by_id = milestones.updated_by_id<br>``` |
| [people](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#people) | ```<br>placeholders.updated_by_id = people.id<br>```<br><br>```<br>placeholders.updated_by_id = people.updated_by_id<br>```<br><br>```<br>placeholders.roles = people.roles<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#projects) | ```<br>placeholders.updated_by_id = projects.updated_by_id<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#roles) | ```<br>placeholders.updated_by_id = roles.updated_by_id<br>```<br><br>```<br>placeholders.id = roles.placeholder_ids<br>```<br><br>```<br>placeholders.roles = roles.id<br>``` |

placeholders table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **roles**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>INTEGER |

### projects

The `projects` table contains info about the projects in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Harvest Forecast documentation](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast "Opens in new tab: Harvest Forecast documentation")<br><br><br>[projects schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/projects.json "Opens in new tab: projects schema on GitHub") |

projects table foreign keys

| Join projects with | on |
| --- | --- |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#clients) | ```<br>projects.client_id = clients.id<br>```<br><br>```<br>projects.updated_by_id = clients.updated_by_id<br>``` |
| [assignments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#assignments) | ```<br>projects.updated_by_id = assignments.person_id<br>```<br><br>```<br>projects.updated_by_id = assignments.updated_by_id<br>```<br><br>```<br>projects.id = assignments.project_id<br>``` |
| [milestones](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#milestones) | ```<br>projects.updated_by_id = milestones.updated_by_id<br>```<br><br>```<br>projects.id = milestones.project_id<br>``` |
| [people](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#people) | ```<br>projects.updated_by_id = people.id<br>```<br><br>```<br>projects.updated_by_id = people.updated_by_id<br>``` |
| [placeholders](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#placeholders) | ```<br>projects.updated_by_id = placeholders.updated_by_id<br>``` |
| [roles](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#roles) | ```<br>projects.updated_by_id = roles.updated_by_id<br>``` |

projects table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **client\_id**<br><br><br>INTEGER |
| **code**<br><br><br>STRING |
| **color**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **harvest\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **start\_date**<br><br><br>DATE-TIME |
| **tags**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>INTEGER |

### roles

The `roles` table contains info about the roles in your Harvest Forecast account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [roles schema on GitHub](https://github.com/singer-io/tap-harvest-forecast/blob/master/tap_harvest_forecast/schemas/roles.json "Opens in new tab: roles schema on GitHub") |

roles table foreign keys

| Join roles with | on |
| --- | --- |
| [assignments](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#assignments) | ```<br>roles.updated_by_id = assignments.person_id<br>```<br><br>```<br>roles.updated_by_id = assignments.updated_by_id<br>```<br><br>```<br>roles.placeholder_ids = assignments.placeholder_id<br>``` |
| [clients](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#clients) | ```<br>roles.updated_by_id = clients.updated_by_id<br>``` |
| [milestones](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#milestones) | ```<br>roles.updated_by_id = milestones.updated_by_id<br>``` |
| [people](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#people) | ```<br>roles.updated_by_id = people.id<br>```<br><br>```<br>roles.updated_by_id = people.updated_by_id<br>```<br><br>```<br>roles.id = people.roles<br>``` |
| [projects](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#projects) | ```<br>roles.updated_by_id = projects.updated_by_id<br>``` |
| [placeholders](https://help.qlik.com/en-US/stitch/integrations/saas/harvest-forecast#placeholders) | ```<br>roles.updated_by_id = placeholders.updated_by_id<br>```<br><br>```<br>roles.placeholder_ids = placeholders.id<br>```<br><br>```<br>roles.id = placeholders.roles<br>``` |

roles table schema

| **harvest\_role\_id**<br><br><br>INTEGER |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **person\_ids**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **placeholder\_ids**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **updated\_at**<br><br><br>DATE-TIME |
| **updated\_by\_id**<br><br><br>INTEGER |