Configuring the Extractions
After configuring the source and destination connections, you need to import the Sage 200 UK zip templates to create extractions. You then need to validate and build the extractions. This will create the tables and validate all SQL queries or calculated fields. Lastly, you need to run the extractions to populate the database tables.
You can choose between synchronization and consolidation extractions. If you only have one company and want to replicate the database, you will use the synchronization extractions. If you have multiple companies, you will use the consolidation extractions.
Both types of extractions will have an Incremental Refresh extraction and a Non Incremental Refresh extraction. The incremental refresh extraction is used for tables that have a valid Last Modified Date. The non incremental refresh extraction is used for tables that do not have a valid Last Modified Date.
Since some Sage 200 UK tables do not have the DateUpdated field, they cannot be loaded incrementally. However, these tables are often very small and do not pose a problem.
The diagram below illustrates how DataSync processes data.
Refer to the procedures below to create the extractions:
OR
Configuring the consolidation Refresh extraction
-
In DataSync, import the extraction (see Importing an Extraction for further details):
-
Click the Import icon located on the upper right-hand corner.
-
In the Import Extraction window, click the Choose a zip file hyperlink and browse to the location where you saved the DS_202X.0.X.XXX_Sage 200 UK CONSO Refresh.zip file or drag it directly into that window. Click Next.
-
The default extraction type is already selected. Click Next.
-
In the Description field, enter Refresh for the name.
-
Enter the company code in the Unique Identifier field.
-
Enter CPYID in the Column Name field.
-
Select the Refresh source connection and the Data Warehouse destination connection.
-
Click Add in the Destination Schema drop-down list to add the schema; for example, S200.
-
Click Import.
-
The Extractions window will automatically switch to the Tables window. Verify your tables and make sure that all fields are present. If some fields are missing, redo the import process.
-
-
Validate and build the Refresh extraction:
-
Click Extractions on the left to return to the Extractions page.
-
Select the Refresh extraction in the list and click the Validate and Build icon.
-
In the Validate and Build dialog box, select the Drop the previously created object and recreate the objects... option and click Build.
- Wait for the process to be done. A validation report is displayed to give you a quick overview once the process is finished. The results are displayed in the Status column. If there is an error, click the hyperlink in the Error column to view the Log Page.
-
-
Run the Refresh extraction:
-
Select the Refresh extraction in the list and click the Run Extraction Now icon.
-
Select the tables to be populated.
-
In the upper-right hand corner, select Truncate and Load and click Run. This will replace all data in your destination with the current data from your source.
-
Wait for the process to be done. When the process is finished, the results are displayed in the Status column. If there is an error, you can view more details on it by clicking on the hyperlink in the Error column, which leads to the Log Page.
-
Configuring the consolidation No Refresh extraction
-
In DataSync, import the extraction (see Importing an Extraction for further details):
-
Click the Import icon located on the upper right-hand corner.
-
In the Import Extraction window, click the Choose a zip file hyperlink and browse to the location where you saved the DS_202X.0.X.XXX_Sage 200 UK CONSO NoRefresh.zip file or drag it directly into that window. Click Next.
-
The default extraction type is already selected. Click Next.
-
In the Description field, enter No Refresh for the name.
-
Select the No Refresh source connection and the Data Warehouse destination connection.
-
Enter the company code in the Unique Identifier field.
-
Enter CPYID in the Column Name field.
-
Click Import.
-
The Extractions window will automatically switch to the Tables window. Verify your tables and make sure that all fields are present. If some fields are missing, redo the import process.
-
-
Validate and build the No Refresh extraction:
-
Click Extractions on the left to return to the Extractions page.
-
Select the No Refresh extraction in the list and click the Validate and Build icon.
-
In the Validate and Build dialog box, select the Drop the previously created object and recreate the objects... option and click Build.
- Wait for the process to be done. A validation report is displayed to give you a quick overview once the process is finished. The results are displayed in the Status column. If there is an error, click the hyperlink in the Error column to view the Log Page.
-
-
Run the No Refresh extraction:
-
Select the No Refresh extraction in the list and click the Run Extraction Now icon.
-
Select the tables to be populated.
-
In the upper-right hand corner, select Truncate and Load and click Run. This will replace all data in your destination with the current data from your source.
-
Wait for the process to be done. When the process is finished, the results are displayed in the Status column. If there is an error, you can view more details on it by clicking on the hyperlink in the Error column, which leads to the Log Page.
-
Configuring the synchronization Refresh extraction
-
In DataSync, import the extraction (see Importing an Extraction for further details):
-
Click the Import icon located on the upper right-hand corner.
-
In the Import Extraction window, click the Choose a zip file hyperlink and browse to the location where you saved the DS_202X.0.X.XXX_Sage 200 UK SYNC Refresh.zip file or drag it directly into that window. Click Next.
-
The default extraction type is already selected. Click Next.
-
In the Description field, enter Refresh for the name.
-
Select the Refresh source connection and the Data Warehouse destination connection.
-
Enter the company code in the Unique Identifier field.
-
Enter CPYID in the Column Name field.
-
Click Add in the Destination Schema drop-down list to add the schema; for example, S200.
-
Click Import.
-
The Extractions window will automatically switch to the Tables window. Verify your tables and make sure that all fields are present. If some fields are missing, redo the import process.
-
-
Validate and build the Refresh extraction:
-
Click Extractions on the left to return to the Extractions page.
-
Select the Refresh extraction in the list and click the Validate and Build icon.
-
In the Validate and Build dialog box, select the Drop the previously created object and recreate the objects... option and click Build.
- Wait for the process to be done. A validation report is displayed to give you a quick overview once the process is finished. The results are displayed in the Status column. If there is an error, click the hyperlink in the Error column to view the Log Page.
-
-
Run the Refresh extraction:
-
Select the Refresh extraction in the list and click the Run Extraction Now icon.
-
Select the tables to be populated.
-
In the upper-right hand corner, select Truncate and Load and click Run. This will replace all data in your destination with the current data from your source.
-
Wait for the process to be done. When the process is finished, the results are displayed in the Status column. If there is an error, you can view more details on it by clicking on the hyperlink in the Error column, which leads to the Log Page.
-
Configuring the synchronization No Refresh extraction
-
In DataSync, import the extraction (see Importing an Extraction for further details):
-
Click the Import icon located on the upper right-hand corner.
-
In the Import Extraction window, click the Choose a zip file hyperlink and browse to the location where you saved the DS_202X.0.X.XXX_Sage 200 UK SYNC NoRefresh.zip file or drag it directly into that window. Click Next.
-
The default extraction type is already selected. Click Next.
-
In the Description field, enter Refresh for the name.
-
Select the Refresh source connection and the Data Warehouse destination connection.
-
Enter the company code in the Unique Identifier field.
-
Enter CPYID in the Column Name field.
-
Click Import.
-
The Extractions window will automatically switch to the Tables window. Verify your tables and make sure that all fields are present. If some fields are missing, redo the import process.
-
-
Validate and build the No Refresh extraction:
-
Click Extractions on the left to return to the Extractions page.
-
Select the No Refresh extraction in the list and click the Validate and Build icon.
-
In the Validate and Build dialog box, select the Drop the previously created object and recreate the objects... option and click Build.
- Wait for the process to be done. A validation report is displayed to give you a quick overview once the process is finished. The results are displayed in the Status column. If there is an error, click the hyperlink in the Error column to view the Log Page.
-
-
Run the No Refresh extraction:
-
Select the No Refresh extraction in the list and click the Run Extraction Now icon.
-
Select the tables to be populated.
-
In the upper-right hand corner, select Truncate and Load and click Run. This will replace all data in your destination with the current data from your source.
-
Wait for the process to be done. When the process is finished, the results are displayed in the Status column. If there is an error, you can view more details on it by clicking on the hyperlink in the Error column, which leads to the Log Page.
-