diff --git a/doc/import-commitments.md b/doc/import-commitments.md index 5ce0049df..b13b2f72a 100644 --- a/doc/import-commitments.md +++ b/doc/import-commitments.md @@ -11,19 +11,21 @@ Commitments are imported by the `commitments:import` rake task. You will need a csv of valid commitments provided by BEIS: ```csv -RODA identifier,Commitment value,Transaction date -RODA-ID,100000,2023-01-02 +RODA identifier,Commitment value +RODA-ID,100000 ``` The header fields are case sensitive. +The import script does not accept 'Commitment value' in the form of a string. If the csv has any values provided as strings, the string quotes around the number must be removed before running. + A RODA user email address to be used to log the user who is recorded in the history log as importing the commitments. No authorisation is performed, as long as the RODA identifier exists and does not already have a commitment, the importer will set one. -Copy the csv to production, [see details here](./importing-new-delivery-partner-data.md#import-activity-data-in-production) +Copy the csv to production, [see details here](./uploading-and-downloading-files.md) Run the rake task, setting the two required environment variables: diff --git a/doc/support_tasks/download_activities_for_annual_impact_metrics.md b/doc/support_tasks/download_activities_for_annual_impact_metrics.md index d227440d7..9a274f0f6 100644 --- a/doc/support_tasks/download_activities_for_annual_impact_metrics.md +++ b/doc/support_tasks/download_activities_for_annual_impact_metrics.md @@ -21,7 +21,7 @@ to pre-populate an annual collaborative spreadsheet of fund impact metrics. exit ``` 4. Copy the file to your local machine See [uploading and downloading - files](/doc/uploading-and-dowloading-files.md). + files](/doc/uploading-and-downloading-files.md). ```shell cf ssh beis-roda-prod --command "cat /app/tmp/annual_fund_impact_metrics.csv" > local_file.csv diff --git a/doc/uploading-and-dowloading-files.md b/doc/uploading-and-downloading-files.md similarity index 100% rename from doc/uploading-and-dowloading-files.md rename to doc/uploading-and-downloading-files.md