SFPL_PLAN_EFF 
Logical Entity Name  SFPL_PLAN_EFF 
Default Table Name  SFPL_PLAN_EFF 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFPL_PLAN_EFF(
     PLAN_ID              varchar(40)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     PLAN_VERSION         int              NOT NULL,
     PLAN_REVISION        int              NOT NULL,
     PLAN_ALTERATIONS     int              NOT NULL,
     EFF_TYPE             varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     EFF_FROM             varchar(40)      COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     UPDT_USERID          varchar(30)      COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFPL_PLAN__UPDT___790C22E1] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP           datetime         CONSTRAINT [DF__SFPL_PLAN__TIME___7A00471A] DEFAULT (getdate()) NOT NULL,
     LAST_ACTION          varchar(20)      COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFPL_PLAN__LAST___7AF46B53] DEFAULT ('INSERTED') NOT NULL,
     EFF_THRU             varchar(40)      COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     EFF_FROM_DATE        datetime         NULL,
     EFF_THRU_DATE        datetime         NULL,
     NOTES                varchar(255)     COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
     CONSTRAINT SFPL_PLAN_EFF_PLAN_REV_FK FOREIGN KEY (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
     REFERENCES SFMFG.SFPL_PLAN_REV(PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
)ON SFPL_DATA
go



ALTER TABLE SFMFG.SFPL_PLAN_EFF ADD
     CONSTRAINT SFPL_PLAN_EFF_PK PRIMARY KEY CLUSTERED (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS, EFF_TYPE, EFF_FROM)
     ON SFPL_DATA
go
 

SFPL_PLAN_EFF Columns 
ColumnName  Domain  Datatype  NULL  Definition 
PLAN_ID(PK)(FK)    varchar(40)  NO 
 
PLAN_VERSION(PK)(FK)    int  NO 
 
PLAN_REVISION(PK)(FK)    int  NO 
 
PLAN_ALTERATIONS(PK)(FK)    int  NO 
 
EFF_TYPE(PK)    varchar(30)  NO 
 
EFF_FROM(PK)    varchar(40)  NO 
 
UPDT_USERID    varchar(30)  NO 
 
TIME_STAMP    datetime  NO 
 
LAST_ACTION    varchar(20)  NO 
 
EFF_THRU    varchar(40)  YES 
 
EFF_FROM_DATE    datetime  YES 
 
EFF_THRU_DATE    datetime  YES 
 
NOTES    varchar(255)  YES 
 

SFPL_PLAN_EFF Primary and Unique Keys 
Key Name  Key Type  Keys 
SFPL_PLAN_EFF_PK  PrimaryKey  PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS, EFF_TYPE, EFF_FROM 

SFPL_PLAN_EFF Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SFPL_PLAN_REV  Identifying  One To Zero or More  SFPL_PLAN_EFF_PLAN_REV_FK      PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

SFPL_PLAN_EFF Check Constraints 
Check Constraint Name  CheckConstraint 

SFPL_PLAN_EFF Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  SFPL_DATA 
Text Image File Group   

SFPL_PLAN_EFF Object Permissions 

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

SFPL_PLAN_EFF Bound Attachments 
Name  Current Value 

SFPL_PLAN_EFF Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFPL_PLAN_EFF   
Work Plan Revision Effectivity -- An effectivity domain (in term of time period, finishing product units and etc.) of particular Work Plan Revision. For instance when the type of effectivity is time, the effectivity domain is defined by a begin and end date of the time period during which the Work Plan Revision is effective/applicable.
 
PhysicalOracle (Oracle)  SFPL_PLAN_EFF   
Work Plan Revision Effectivity -- An effectivity domain (in term of time period, finishing product units and etc.) of particular Work Plan Revision. For instance when the type of effectivity is time, the effectivity domain is defined by a begin and end date of the time period during which the Work Plan Revision is effective/applicable.
 
PhysicalSS (Microsoft SQL Server)  SFMFG.SFPL_PLAN_EFF   
 

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

SFPL_PLAN_EFF User-Defined Mappings 
Model  Name  Description