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 
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.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE SFMFG.SFPL_PLAN_EFF(
     PLAN_ID              VARCHAR2(40)      NOT NULL,
     PLAN_VERSION         NUMBER            NOT NULL,
     PLAN_REVISION        NUMBER            NOT NULL,
     PLAN_ALTERATIONS     NUMBER            NOT NULL,
     EFF_TYPE             VARCHAR2(30)      NOT NULL,
     EFF_FROM             VARCHAR2(40)      NOT NULL,
     UPDT_USERID          VARCHAR2(30)      DEFAULT user NOT NULL,
     TIME_STAMP           DATE              DEFAULT sysdate NOT NULL,
     LAST_ACTION          VARCHAR2(20)      DEFAULT 'INSERTED' NOT NULL,
     EFF_THRU             VARCHAR2(40),
     EFF_FROM_DATE        DATE,
     EFF_THRU_DATE        DATE,
     NOTES                VARCHAR2(255)
)
TABLESPACE SFPL_DATA
;



COMMENT ON TABLE SFMFG.SFPL_PLAN_EFF IS '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.'
;
CREATE UNIQUE INDEX SFMFG.SFPL_PLAN_EFF_PK ON SFMFG.SFPL_PLAN_EFF(PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS, EFF_TYPE, EFF_FROM)
TABLESPACE SFPL_INDEXES
;
CREATE INDEX SFMFG.SFPL_PLAN_EFF_EFFFROM ON SFMFG.SFPL_PLAN_EFF(EFF_FROM)
TABLESPACE SFPL_INDEXES
;
CREATE INDEX SFMFG.SFPL_PLAN_EFF_EFFTYPE ON SFMFG.SFPL_PLAN_EFF(EFF_TYPE)
TABLESPACE SFPL_INDEXES
;
ALTER TABLE SFMFG.SFPL_PLAN_EFF ADD
     CONSTRAINT SFPL_PLAN_EFF_PK PRIMARY KEY (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS, EFF_TYPE, EFF_FROM)
     USING INDEX SFMFG.SFPL_PLAN_EFF_PK
;

ALTER TABLE SFMFG.SFPL_PLAN_EFF ADD 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)
;
 
PostSQL   

SFPL_PLAN_EFF Columns 
ColumnName  Domain  Datatype  NULL  Definition 
PLAN_ID(PK)(FK)    VARCHAR2(40)  NO 
Unique, system-generated identifier of a work plan.
 
PLAN_VERSION(PK)(FK)    NUMBER  NO 
The version number of the work plan.
 
PLAN_REVISION(PK)(FK)    NUMBER  NO 
The revision number of the work plan.
 
PLAN_ALTERATIONS(PK)(FK)    NUMBER  NO 
Alteration number of a given work plan version.revision. Not in use.
 
EFF_TYPE(PK)    VARCHAR2(30)  NO 
A type of work plan version.revision effectivity. For example: time period, or finishing product.
 
EFF_FROM(PK)    VARCHAR2(40)  NO 
The upper bound of the effectivity range for a effectivity type other than time period.
 
UPDT_USERID    VARCHAR2(30)  NO 
Solumina login ID of the last user to manipulate the record.
 
TIME_STAMP    DATE  NO 
The date and time the record was last manipulated.
 
LAST_ACTION    VARCHAR2(20)  NO 
The last operation (update, insert, copy, etc.) applied to the record.
 
EFF_THRU    VARCHAR2(40)  YES 
The lower bound of the effectivity range for a effectivity type other than time period.
 
EFF_FROM_DATE    DATE  YES 
The starting date of the time period during which the plan version.revision is effective.
 
EFF_THRU_DATE    DATE  YES 
The ending date of the time period during which the plan version.revision is effective.
 
NOTES    VARCHAR2(255)  YES 
Additional information about the task.
 

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  Deferrable  Initially Deferred 
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  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 

SFPL_PLAN_EFF Check Constraints 
Check Constraint Name  CheckConstraint 

SFPL_PLAN_EFF Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  SFPL_DATA 
PctFree  10 
PCTUSED   0 
MinExtents  1 
MaxExtents  2147483645 
Initial  64 
Next  1024 
PctIncrease  0 
InitTrans  1 
MaxTrans  255 
Organization  Heap 
Cache  NO 
Logging  Logged 
Parallel  NO 
Parallel Degrees   
Parallel Instances   
FREELISTS  FreeLists 
FREELIST GROUPS  FreeList Groups 
Buffer Pool  DEFAULT 
Table Compression  NO 
Row Movement  Disabled 

SFPL_PLAN_EFF Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

SFPL_PLAN_EFF Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count  0 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows  0 

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)  SFMFG.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)  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 

SFPL_PLAN_EFF Data Movement Rules 
Name  Type  Rule Text/Value