Sales and Finance OLAP cubes
If you have the Data Management add-on and plan to use the Sales and Finance cubes, extra steps are required after the standard installation. These cubes run on a separate data warehouse database, so you need to configure an extra source connection and import the cube extractions before building and loading the cubes.
important
Complete the standard installation before following these steps.
Create a data warehouse source connection
- Open DataSync, and click Connections.
- Next to Source Connections, click New.
- Choose the connection type: SQL Server, or SQL Azure (for SEI Cloud).
- In the Connection Properties panel, enter
Data Warehouse (Source)as the description. - Enter the Server and Database names matching those used by your data warehouse.
- Enter the data warehouse database credentials for Username and Password.
- In the Advanced Settings panel, set Tracking Type to Date.
The time zone must match the Sage 300 application server. - Click Save.
Create the S300_SCHEMA global variable
- From the DataSync welcome screen, select Variables.
- Next to Variables, click New.
- In Variable Name, enter
S300_SCHEMA. - In Variable Type, select String.
- In Variable Value, enter
[YOUR_SCHEMA]. - Click Save.
Configure the cube extractions
Cube extractions must be imported and built in a specific order. Importing them out of order will cause validation or build failures.
| Extraction Type | Description |
|---|---|
| 1 – Table Staging | Loads the staging tables required for cube processing. Executed only once. |
| 2 – Dimension Mapping | Loads the dimension‑mapping tables used by the cubes and refreshes the data. |
1 – Table Staging extraction
- In the left panel, select the Extractions icon.
- Click the Import Extraction icon in the top-right corner to open the dialog.
- Click Choose a zip file and select the Sage 300 ZIP file (
DS_20XX.0.X.XXX_Sage 300 OLAP ETL Staging.zip), or drag and drop the file into the dialog. - Click Next.
- Confirm the default extraction type is selected. Click Next again.
- In the Description field, enter a meaningful name, such as
Cube - Table Staging. - In Source Connection, select the connection that points to your Sage 300 database.
- In Destination Connection, select your cube database connection (for example, SEICube or NectariCube).
- In Source Schema, select your Sage 300 folder (for example,
PRODorSEED). - In Destination Schema, select the custom schema configured in Environments & Data Sources in SEI.
- Click Import.
- In the left panel, click Extractions again.
- Select the extraction you just created, and click the Validate and Build icon in the top-right corner.
- In the dialog, for the first company only, select Drop the previously created object and recreate the objects based on the new definition.
- Click Build.
When the process is complete, review the validation report and the Status column. If an error appears, click the link in the Error column to view the Log Page. - Select your extraction from the list and click the Run Extraction Now icon.
- Select the tables to populate.
- In the upper right, set the load mode to Truncate and Load, then click Run. This replaces all destination data with current source data.
Wait for the process to finish. The results appear in the Status column. If there's an error, click the link in the Error column to view details in the Logs page.
2 – Dimension Mapping extraction
- In the left panel, select the Extractions icon.
- Click the Import Extraction icon in the top-right corner to open the dialog.
- Click Choose a zip file and select the Sage 300 ZIP file (
DS_20XX.0.X.XXX_Sage 300 OLAP ETL Refresh.zip), or drag and drop the file into the dialog. - Click Next.
- Confirm the default extraction type is selected. Click Next again.
- In the Description field, enter a meaningful name, such as
Cube - Dimension Mapping. - In Source Connection, select the connection that points to your Sage 300 database.
- In Destination Connection, select your cube database connection (for example, SEICube or NectariCube).
- In Source Schema, select your Sage 300 folder (for example,
PRODorSEED). - In Destination Schema, select the custom schema configured in Environments & Data Sources in SEI.
- Click Import.
- In the left panel, click Extractions again.
- Select the extraction you just created, and click the Validate and Build icon in the top-right corner.
- In the dialog, for the first company only, select Drop the previously created object and recreate the objects based on the new definition.
- Click Build.
When the process is complete, review the validation report and the Status column. If an error appears, click the link in the Error column to view the Log Page. - Select your extraction from the list and click the Run Extraction Now icon.
- Select the tables to populate.
- In the upper right, set the load mode to Truncate and Load, then click Run. This replaces all destination data with current source data.
Wait for the process to finish. The results appear in the Status column. If there's an error, click the link in the Error column to view details in the Logs page.
Build and load from the OLAP Manager
Before continuing
- If not already done, create an OLAP cube data source in SEI.
Build the OLAP cubes
- In the navigation panel, select the gear icon to open Administration.
- Select OLAP Manager.
- In the Options panel on the right, click the Manage icon.
- In the Cubes list, select all the template cubes.
Template cubes are typically named according the template name. - In the Manage panel, make sure Build is selected from the Actions dropdown list.
- Select the environment.
- Select Confirm.
- In the confirmation dialog, check the box to confirm you understand all current cube data will be lost, then click Yes.
If errors occur, refer to Logs to enable and review logging.
Load the OLAP cubes
- In th Options panel on the right, click the Manage icon again.
- Check the built template cubes from the Cubes list.
- In the Manage panel, make sure Load All is selected from the Actions dropdown list.
- Select the environment.
- Select Confirm.
- In the confirmation dialog, check the box to confirm you understand all current cube data will be lost, then click Yes.
Schedule the OLAP cubes
You can schedule regular data refresh jobs for your OLAP cubes. The scheduler helps you automate when and how often the cube is refreshed or reloaded.
- In the OLAP Manager, select a template cube from the Cubes list.
- In the Options panel on the right, click the Navigation icon.
- Select Scheduler. The Jobs window appears.
- In the Options panel on the right, click the + icon to add a new job.
- Complete the required parameters as needed.
- Click Save. The job nows appears in the Jobs list.
Repeat these steps for any additional template cubes you want to schedule.
Job Details parameters
| Parameter | Description |
|---|---|
| Description | Enter a job name. |
| Action | Select:
|
| Environments | Select the environment. |
| Active | Activate the job on its schedule. Unchecked jobs will not run. |
| Settings | Choose between:
|
| Once |
|
| Daily |
|
| Weekly |
|
| Monthly |
|
| Time Zone | Select the time zone for job execution. |
| Advanced Settings | (Optional) Configure when the job will expire if needed. |