CPMES_INVENTORY_LOCATION_TYPE 
Logical Entity Name  CPMES_INVENTORY_LOCATION_TYPE 
Default Table Name  CPMES_INVENTORY_LOCATION_TYPE 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.CPMES_INVENTORY_LOCATION_TYPE(
     INV_LOC_TYPE             char(1)         COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     INV_LOC_TYPE_DESC        varchar(30)     COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     OBSOLETE_RECORD_FLAG     char(1)         COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__CPMES_INV__OBSOL__0551FE35] DEFAULT ('N') NOT NULL,
     UPDT_USERID              varchar(50)     COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__CPMES_INV__UPDT___0646226E] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP               datetime        CONSTRAINT [DF__CPMES_INV__TIME___073A46A7] DEFAULT (getdate()) NOT NULL,
     LAST_ACTION              varchar(20)     COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__CPMES_INV__LAST___082E6AE0] DEFAULT ('INSERTED') NOT NULL
)ON SFLOOKUP_DATA
go



ALTER TABLE SFMFG.CPMES_INVENTORY_LOCATION_TYPE ADD
     CONSTRAINT CPMES_INVENTORY_LOC_TYPE_PK PRIMARY KEY CLUSTERED (INV_LOC_TYPE)
     ON SFLOOKUP_DATA
go
 

CPMES_INVENTORY_LOCATION_TYPE Columns 
ColumnName  Domain  Datatype  NULL  Definition 
INV_LOC_TYPE(PK)    char(1)  NO 
Type of inventory location.
 
INV_LOC_TYPE_DESC    varchar(30)  YES 
Description for inventory location type.
 
OBSOLETE_RECORD_FLAG    char(1)  NO 
Type of inventory location.
 
UPDT_USERID    varchar(50)  NO 
Solumina login ID of the last user to manipulate the record.
 
TIME_STAMP    datetime  NO 
The date and time the record was last manipulated.
 
LAST_ACTION    varchar(20)  NO 
The last operation (update, insert, copy, etc.) applied to the record.
 

CPMES_INVENTORY_LOCATION_TYPE Primary and Unique Keys 
Key Name  Key Type  Keys 
CPMES_INVENTORY_LOC_TYPE_PK  PrimaryKey  INV_LOC_TYPE 

CPMES_INVENTORY_LOCATION_TYPE Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 
CPMES_INVENTORY_LOCATION_DEF  Non-Identifying  One To Zero or More  CPMES_INVENTORY_LOC_DEF_FK1        NO  NO 

CPMES_INVENTORY_LOCATION_TYPE Check Constraints 
Check Constraint Name  CheckConstraint 

CPMES_INVENTORY_LOCATION_TYPE Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  SFLOOKUP_DATA 
Text Image File Group   

CPMES_INVENTORY_LOCATION_TYPE Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
CPMES_INVENTORY_LOCATION_TYPE Security Types 
Name  Current Value 

CPMES_INVENTORY_LOCATION_TYPE Bound Attachments 
Name  Current Value 

CPMES_INVENTORY_LOCATION_TYPE Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  CPMES_INVENTORY_LOCATION_TYPE   
 
PhysicalOracle (Oracle)  CPMES_INVENTORY_LOCATION_TYPE   
 
PhysicalSS (Microsoft SQL Server)  SFMFG.CPMES_INVENTORY_LOCATION_TYPE   
 

CPMES_INVENTORY_LOCATION_TYPE Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  CPMES 
PhysicalOracle (Oracle)  Main Model 
PhysicalOracle (Oracle)  CPMES 
PhysicalSS (Microsoft SQL Server)  Main Model 
PhysicalSS (Microsoft SQL Server)  CPMES 

CPMES_INVENTORY_LOCATION_TYPE User-Defined Mappings 
Model  Name  Description