Two new document types have been added to DriveWorks 10. These allow you to export to the following table types:
Group Tables, new in DriveWorks 10, allow data to be stored , at Group level, that is accessible to all projects within it.
Simple Tables are project level data storage tables.
The ability to export to these tables allows new records to be inserted or existing records to be updated.
Group Tables can have new records inserted or existing records updated by creating an Export to Group Table document.
Tables, using the Simple Table template in the Define Tables task, can have new records inserted or existing records updated by creating an Export to Simple Table document.
Before you begin
When creating an Export to Group Table document a Group Table must exist in the Group that the export is to take place in.
When creating an Export to Simple Table document a table that uses the Simple Table template must exist in the project.
With your project open in DriveWorks Administrator go to Stage 4. Output Rules> Documents.
Control fields determine if a row is inserted, updated, or ignored.
Common Fields can make it easier to export to multiple rows where certain columns always have the same value in each row.
For these columns, you may only want to build one rule, instead of a separate rule for each row. To do this, mark the column as a Common Field, and DriveWorks will automatically use the same rule for the column in all rows.
The wizard will close and the Data Export Rows table will open in the Documents window.
With the Data Export Rows table open in the Documents window:
As with all documents the automatic release is covered by the Release Documents task. When using the default specification flow this task is applied to the Completed state on the Enter State Event.
A manual release can be applied by having a macro button on the user form and assigning the Release Documents task to a specification macro.