SFPL_PLAN_EFF_HIST 
Logical Entity Name  SFPL_PLAN_EFF_HIST 
Default Table Name  SFPL_PLAN_EFF_HIST 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
Log containing the change history of plan effectives.
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFPL_PLAN_EFF_HIST(
     HIST_ID              NUMBER            NOT NULL,
     HIST_USERID          VARCHAR2(30)      DEFAULT user NOT NULL,
     HIST_TIME_STAMP      DATE              DEFAULT sysdate NOT NULL,
     HIST_ACTION          VARCHAR2(20)      DEFAULT 'INSERTED' NOT NULL,
     PLAN_ID              VARCHAR2(40),
     PLAN_VERSION         NUMBER,
     PLAN_REVISION        NUMBER,
     PLAN_ALTERATIONS     NUMBER,
     EFF_TYPE             VARCHAR2(30),
     EFF_FROM             VARCHAR2(40),
     UPDT_USERID          VARCHAR2(30),
     TIME_STAMP           DATE,
     LAST_ACTION          VARCHAR2(20),
     EFF_THRU             VARCHAR2(40),
     EFF_FROM_DATE        DATE,
     EFF_THRU_DATE        DATE,
     NOTES                VARCHAR2(255)
)
TABLESPACE SFHISTORY_DATA
;



COMMENT ON TABLE SFMFG.SFPL_PLAN_EFF_HIST IS 'Log containing the change history of plan effectives.'
;
CREATE UNIQUE INDEX SFMFG.SFPL_PLAN_EFF_HIST_PK ON SFMFG.SFPL_PLAN_EFF_HIST(HIST_ID)
TABLESPACE SFHISTORY_INDEXES
;
CREATE INDEX SFMFG.SFPL_PLAN_EFF_HIST_IDX001 ON SFMFG.SFPL_PLAN_EFF_HIST(PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
TABLESPACE SFHISTORY_INDEXES
;
ALTER TABLE SFMFG.SFPL_PLAN_EFF_HIST ADD
     CONSTRAINT SFPL_PLAN_EFF_HIST_PK PRIMARY KEY (HIST_ID)
     USING INDEX SFMFG.SFPL_PLAN_EFF_HIST_PK
;
 

SFPL_PLAN_EFF_HIST Columns 
ColumnName  Domain  Datatype  NULL  Definition 
HIST_ID(PK)    NUMBER  NO 
Unique, system-generated ID of the obsolete (history) record.
 
HIST_USERID    VARCHAR2(30)  NO 
Solumina login ID of the user who moved the record to obsolete status.
 
HIST_TIME_STAMP    DATE  NO 
Date and time the record was moved to obsolete status.
 
HIST_ACTION    VARCHAR2(20)  NO 
The action that caused the record to be moved to obsolete status.
 
PLAN_ID    VARCHAR2(40)  YES 
Unique, system-generated identifier of a work plan.
 
PLAN_VERSION    NUMBER  YES 
The version number of the work plan.
 
PLAN_REVISION    NUMBER  YES 
The revision number of the work plan.
 
PLAN_ALTERATIONS    NUMBER  YES 
Alteration number of a given work plan version.revision. Not in use.
 
EFF_TYPE    VARCHAR2(30)  YES 
A type of work plan version.revision effectivity. For example: time period, or finishing product.
 
EFF_FROM    VARCHAR2(40)  YES 
The upper bound of the effectivity range for a effectivity type other than time period.
 
UPDT_USERID    VARCHAR2(30)  YES 
Solumina login ID of the last user to manipulate the record.
 
TIME_STAMP    DATE  YES 
The date and time the record was last manipulated.
 
LAST_ACTION    VARCHAR2(20)  YES 
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_HIST Primary and Unique Keys 
Key Name  Key Type  Keys 
SFPL_PLAN_EFF_HIST_PK  PrimaryKey  HIST_ID 

SFPL_PLAN_EFF_HIST Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 

SFPL_PLAN_EFF_HIST Check Constraints 
Check Constraint Name  CheckConstraint 

SFPL_PLAN_EFF_HIST Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  SFHISTORY_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_HIST Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

SFPL_PLAN_EFF_HIST Object Permissions 

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

SFPL_PLAN_EFF_HIST Bound Attachments 
Name  Current Value 

SFPL_PLAN_EFF_HIST Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFPL_PLAN_EFF_HIST   
Log containing the change history of plan effectives.
 
PhysicalOracle (Oracle)  SFMFG.SFPL_PLAN_EFF_HIST   
Log containing the change history of plan effectives.
 
PhysicalSS (Microsoft SQL Server)  SFPL_PLAN_EFF_HIST   
 

SFPL_PLAN_EFF_HIST 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_HIST User-Defined Mappings 
Model  Name  Description