dbo.SXAEISDataModel 
Default Table Name  SXAEISDataModel 
Definition  Meta Data table which defines relational structures consisting of entities, attributes, and relationships along with expressions and queries that act on the structures. Contains predefined or base data models and user-created or derived Data Models 

dbo.SXAEISDataModel Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  NO  Identifies the unique distributed database ID where the row was inserted. Distributed databases are no longer supported so this column is deprecated. 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  NO  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhen    datetime  NO  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  NO  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhen    datetime  NO  The date and time that the row was created and will be based on the Enterprise time zone. 
DataModelID(PK)    int  NO  Primary key 
BaseDataModelID(FK)    int  NO  A foreign key to the DataModelID column in the SXAEISDataModel table. 
UsageType    varchar(10)  NO  Usage Type for this data model (BASE for base data models, DLVP for derived data models) 
ModelName    varchar(50)  NO  Name of the data model 
Description    varchar(255)  NO  Description of the data model 
BuildPrefix    varchar(50)  YES  Prefix for Entity tables created for this data model 
StagingPrefix    varchar(50)  YES  Prefix for Staging tables used by the bulk loader for this data model 
DbObjectNamespace    varchar(50)  NO  Database Object namespace for this data model 
ExportedNamespaceID    varchar(50)  NO  Exported Namespace for this data model 
IsEisRoot    bit  NO  Flag that indicates if the data model is a Root EIS data model 
IsReadOnly    bit  NO  Flag that indicates if the data model is a read only. Base data models cannot be changed. 
IsActive    bit  NO  Flag that indicated if the data model is Active 
LastBuiltWhen    datetime  YES  Enterprise TimeZone - Date the data model was built 
OpenedBy    varchar(50)  YES  Name of the Admin application that has a data model open 
OpenedWhen    datetime  YES  Enterprise TimeZone - Date the Admin application opened the data model 
LockValue    varchar(255)  YES  Value of the Lock of the Admin application that has the data model open 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 

dbo.SXAEISDataModel Primary and Unique Keys 
Key Name  Key Type  Keys 
DataModelPK  PrimaryKey  DataModelID