[@TableID =] 'tabgeid',
[@KeepPermissions =] 'keep_perms',
[@BaseTablePermissions =] 'base_perms'
Enables workflow services for a user table. If the table is not specified, it applies to all registered user tables in the solution database. Exists in the solution database.
Parameters
[@TableID =] 'tabgeid'
The ID of the table for which to enable solution services.
[@KeepPermissions =] 'keep_perms'
If a solution base view for this table already exists, applies the existing permissions to the new base view.
[@BaseTablePermissions =] 'base_perms'
When True, modifies base table permissions to make it possible for updates from data access pages. When False, does not change existing permissions on the base table.
Remarks
This is the core procedure used to apply solution services to a user table or a database. It can be called for a new table or for a table that has already been processed. For a table hierarchy, modProcessTable must be called for each table in the hierarchy.
The procedure first creates a base view on top of the user table, so the table can be available to the client application. If a base view already exists and 'KeepPermissions' is True, the procedure preserves view permissions.
If the Permissions flag has been set (in the Permissions column in the modObjects table), it generates the view definition to enforce row-level permissions for the user table.
If the user table has an associated workflow table, the procedure enforces the following features:
Example
The following example enables solution services for the Issues table. The Issues table has previously been registered as a solution user table and an associated workflow process has been defined.
EXEC modProcessTable 'Issues'