Table of Contents

Table Gen_Document_Versions

Entity

Entity: Systems.Core.DocumentVersions

History of each saved version of each document. Entity: Gen_Document_Versions

Summary

Name Type Description
Document_Data varbinary Compressed representation of the document data. Valid when Document Data Format = D (deflate compressed).
Document_Data_Format nvarchar(1) The format of the saved document data. 'U' - uncompressed and stored in Document Data XML; 'D' - Deflate compressed and stored in Document Data.
Document_Data_XML nvarchar(max) The uncompressed XML representation of the document data, including the document row, the header row and all types of lines. Valid when Document Data Format = U (uncompressed).
Document_Id uniqueidentifier The document whoose version is stored in this row
Document_Version_Id uniqueidentifier PK
Row_Version timestamp
State smallint Allowed: 0, 10, 20, 30, 40, 50, 5, Readonly The state of the document by the time it was saved
Update_Time datetime Readonly The date and time when this version was saved
Update_User nvarchar(64) Readonly The login name of the user that saved this version
Version int Readonly The version number that is stored in this row

Columns

Document_Data

Compressed representation of the document data. Valid when Document Data Format = D (deflate compressed).

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type varbinary (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Data_Format

The format of the saved document data. 'U' - uncompressed and stored in Document Data XML; 'D' - Deflate compressed and stored in Document Data.

Property Value
Auto Complete no
Data Filter no
Default Value U
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(1)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Data_XML

The uncompressed XML representation of the document data, including the document row, the header row and all types of lines. Valid when Document Data Format = U (uncompressed).

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 2147483647
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(max) (Allows NULL)
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Id

The document whoose version is stored in this row

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
Referenced Table Gen_Documents
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Document_Version_Id

Property Value
Auto Complete no
Data Filter no
Default Value NewGuid
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key yes (order: 1)
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type uniqueidentifier
UI Memo Editor no
UI Width Medium
User Login no
Visible no

Document_Version_Id - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Row_Version

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly no
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type timestamp
UI Memo Editor no
UI Width Medium
User Login no
Visible no

State

The state of the document by the time it was saved

Property Value
Allowed Values 0, 10, 20, 30, 40, 50, 5
Auto Complete no
Data Filter no
Default Value 0
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN yes
Type smallint
UI Memo Editor no
UI Width 100
User Login no
Visible yes

State - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no

Update_Time

The date and time when this version was saved

Property Value
Auto Complete no
Data Filter no
Default Value CurrentDateTime
Enter Stop yes
Format g
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable yes
Summary Type None
Supports EQUALS_IN no
Type datetime
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Update_Time - Supported Filters

Filter Type Default Include Nulls Hidden by Default
GreaterThanOrLessThan None no no

Update_User

The login name of the user that saved this version

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length 64
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type nvarchar(64)
UI Memo Editor no
UI Width 100
User Login yes
Visible yes

Update_User - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no no
Like None no no

Version

The version number that is stored in this row

Property Value
Auto Complete no
Data Filter no
Default Value None
Enter Stop yes
Ignore for Insert Order no
Is Entity Name no
Max Length -1
Order 2147483647
Ownership Reference no
Pasword no
Picture no
Primary Key no
Readonly yes
RTF no
Sortable no
Summary Type None
Supports EQUALS_IN no
Type int
UI Memo Editor no
UI Width 100
User Login no
Visible yes

Version - Supported Filters

Filter Type Default Include Nulls Hidden by Default
Equals NULL no yes
GreaterThanOrLessThan None yes no