Before you can start using Umbria's core features, you must import data from your billing system into Umbria using SQL Server Integration Services (SSIS). Once you successfully complete an initial import, you can perform incremental imports on a regular basis to keep Umbria synchronized with your billing system. For import philosophy and planning, see the Import Planning page.
For additional import instructions for the Profitability module, refer to Profitability Setup.
Warning: Set up the Data Source with this method ONLY if you are planning to import using the Umbria UI functionality rather than importing through the package manually or through a scheduled task. This requires SSIS to be installed on the web server.
To add your billing system as a data source for Umbria:
Field | Description |
---|---|
Name | Name for this connection. Typically Elite or Aderant. |
SQL Server | Type the IP address for SQL Server where the data source is located. |
Database Name | Type the name of the database. |
Integrated Security | Prosperoware recommends leaving this checkbox selected. |
Username | Username used to access the data source, if not using integrated security. |
Password | Password for username used to access the data source, if not using integrated security. |
Timeout | Prosperoware recommends changing the timeout from 15 to 150. |
Warning: Do not click Start SSIS Sync yet. Complete the next set of steps to edit the SSIS files before running the sync.
SSIS uses a package file (dtsx), multiple config files, and a batch bat file to run the import. You will need to modify the config and bat files.
To modify the config and bat files:
Field | Description | |
---|---|---|
SourceDB | Data Source= | SQL server name for source data. |
Initial Catalog= | SQL database name for source data. | |
Destination DB | Data Source= | SQL server name for target data. |
Initial Catalog= | SQL database name for target data. | |
Load Staging File Path | Path to either Elite or CMS Load Staging folders within the SSIS folder. | |
Update Production File Path | Path to the Update Production folder within the SSIS folder. | |
User: Enable Email Notification | Enables a status email notification to be sent at end of the import. | |
User: Email From | Sets the From email address. | |
User: Email Password | The password for the email account sending this email (From address) | |
User: Email Port | The port for the email server communication (e.g. 587). | |
User: Email Server | The email server, or SMTP server, that will be used to send the email. | |
User: Email To | The email(s) that will have the status sent to them. You can use commas to separate multiple addresses. |
Field | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Path name for Microsoft SQL Server |
| ||||||||||
/F | Input the path to the TimeBillingImport.dtsx file within the SSIS folder. | ||||||||||
/ConfigFile | Input the path to the Settings.dtsConfig file within the SSIS folder. |
All files required for importing time and billing data are installed to ...\Prosperoware.Umbria\SSIS.
File |
---|
CommandLineRun.bat |
ImportTimeBillingData.dtsx |
processdb.xml |
Settings.dtsConfig |
SSAS_Settings.dtsConfig |
UpdateCubeDatabase.dtsx |
The following tables in the Umbria database are used by the ImportTimeBillingData SSIS package during an import.
Table | Description |
---|---|
Caliban.SSISScriptPaths | Specifies which import scripts to run and the order in which to run them. |
Note: LastRunTime is Null or blank until you run the Create script from the Init folder. Then, by default, LastRunTime will be 1970-1-1, and Enable is set to 1 for all scripts.
You can manually change these times and whether scripts are enabled or not (or one of the other options via SQL or within the UI). Go into the Admin Panel. If you are using CMS Aderant, go to Aderant Expert Settings (as shown in the screen shot below). If you are using Elite Enterprise or 3E, go to Elite Enterprise Settings. Under SSIS Sync, you will see a list of script names, last sync times, and whether each script is enabled. Double-click a script to edit it.
There are multiple steps that occur with each sync:
Caliban.JobStepsDetails gives a lower level view of the JobSteps, including the run time for each of the job step portions. For example, you can see where we are truncating the Staging.[Matter] table at the beginning of the process, or when we are processing Employee.sql on the Production load step.
Note: For these tables, the Status_Code column allows you to pinpoint a failure or warning. A status code of -1 means there is an error, while 1 means that it was successful. Other possible statuses are Null (running) or 0 (unknown).
If there happens to be an error during the import, the error is captured in 1 or 2 tables, depending on the error and the part of the import. For specific errors on scripts or import inserts, the error is in the SSISJobStepDetails folder on the line that it failed on, as well as in the SSISErrors folder. SSIS errors, SQL errors, and system failure errors that occur before the sync actually starts are found only in the SSISErrors table.
The SSISErrors table contains information on the error date, package name that was running, source name (step of the import), task, error code, and error description.
Caliban.SSISDataValidation contains the validation count results for the different tables during the import, with the amount processed and not processed for comparison.
|
Below are high-level points regarding how the daily incremental syncs work.
To confirm import status:
Tip: If the status is Failed, return to the beginning of this topic and verify that all your settings are correct. If the import continues to fail, contact Support for assistance.
An SSIS import can be started from either the command line or directly within Umbria. Importing through Umbria is a slightly slower process, as it uses IIS Manager.
Tip: When an import is started from the command prompt, the import will continue even if you log off of your computer. However, if importing through Umbria, you are unable to log off the computer.
Command Line
Through Umbria
To configure Service Agents:
Note: For any new Service Agent added, the Agent Jobs will not be enabled by default. The Administrator must manually enable the jobs for the new Service Agent added.
This section covers what processes run in the background during the initial import of data as well as during incremental updates.
Indexing:
Umbria creates indexes for searching and for user interface interaction with the data, and also sets security on items.
Update Statistics:
Refer to the Update Statistics section for more information about this process.
Logging
Update statistics are logged in two places: the Command Log and Application Log.
Note: When running the SSIS 2016 package the following error may be displayed:
Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
To resolve this error, there are two options:
Use the Windows Command Line
OR
Use the SQL Server Integration Services Package
When you configure SQL 2016 job for import using the SQL Server Integration Services package, check the box for Use 32 bit runtime
There are two options available to import data from your billing system into Umbria using the Umbria web interface.
The instructions to update data from both the pages are similar. Please refer Admin>Import Jobs page for complete details to import Time & Billing information via the Umbria UI.