Connect a vendor or business unit database
You connect vendor and business unit databases the same way.Open the Document Definitions dialog box
Edit the Document Definition
Open the Document Definition properties
Open the Data Sets tab
Open the data set
Select the source
Specify the connection string
Select the schema and table
Match the columns
- The names of columns in the data set.
- The corresponding columns from the external database.
- The Found column, which contains a checkmark when a match between the data set field and a database column has been established.
- The Normalization column, which shows the type of normalization used for the value.
Add custom columns (optional)
Set an update period
Enable script validation (optional)
Save your changes
Map a data set column to a database column
Open the column mapping
Select the database column
Set up multiple values (optional)
Select the normalization type
Set the Cannot be empty option
Save the mapping
The Data Sets tab
All data sets are listed on the Data Sets tab, with the following columns:View and edit data set records
To view or edit a data set, select it on the Data Sets tab of the Document Definition properties dialog box and click the View… button. All records belong to one of three record groups. You can select the record group you want to view from the Record group drop-down list.Database Check rules
The Invoice Document Definition contains rules that are used to check data in the Vendor and Business Unit groups of fields against the database. These are standard rules of the Database Check type, named (Rejected) Vendor should be found in the database and (Rejected) Business Unit should be found in the database. To learn how to find rules in the list, see Rules. You can view the properties of these rules to find out how each field in the Vendor and Business Unit groups is checked:- Which fields must exactly match records in the data set (and, by extension, in the database).
- Which fields do not have to match perfectly.
- Which fields are simply copied from the database.
