SFPL_PLAN_REV 
Logical Entity Name  SFPL_PLAN_REV 
Default Table Name  SFPL_PLAN_REV 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
Work Plan Revision -- A particular numbered version.revision of a given Work Plan. Different versions and revisions are used to track changes made to the plan. Versions and Revisions are created during the plan authoring process.
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFPL_PLAN_REV(
     PLAN_ID              VARCHAR2(40)      NOT NULL,
     PLAN_VERSION         NUMBER            DEFAULT 1 NOT NULL,
     PLAN_REVISION        NUMBER            DEFAULT 1 NOT NULL,
     PLAN_ALTERATIONS     NUMBER            DEFAULT 0 NOT NULL,
     UPDT_USERID          VARCHAR2(30)      DEFAULT user NOT NULL,
     TIME_STAMP           DATE              DEFAULT sysdate NOT NULL,
     LAST_ACTION          VARCHAR2(20)      DEFAULT 'INSERTED',
     PLAN_UPDT_NO         NUMBER,
     REV_STATE            VARCHAR2(20),
     REV_LOCKED_BY        VARCHAR2(30),
     REV_LOCK_STATE       VARCHAR2(20),
     REV_STATUS           VARCHAR2(20),
     EXTERNAL_PLM_NO      VARCHAR2(100),
     EXTERNAL_ERP_NO      VARCHAR2(100)
)
TABLESPACE SFPL_DATA
;



COMMENT ON TABLE SFMFG.SFPL_PLAN_REV IS 'Work Plan Revision -- A particular numbered version.revision of a given Work Plan. Different versions and revisions are used to track changes made to the plan. Versions and Revisions are created during the plan authoring process.'
;
CREATE UNIQUE INDEX SFMFG.SFPL_PLAN_REV_PK ON SFMFG.SFPL_PLAN_REV(PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
TABLESPACE SFPL_INDEXES
;
CREATE INDEX SFMFG.SFPL_PLAN_REV_INDX001 ON SFMFG.SFPL_PLAN_REV(PLAN_ID, PLAN_UPDT_NO, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
TABLESPACE SFPL_INDEXES
;
CREATE INDEX SFMFG.SFPL_PLAN_REV_INDX002 ON SFMFG.SFPL_PLAN_REV(REV_STATUS, PLAN_ID, PLAN_UPDT_NO, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS, UPDT_USERID, TIME_STAMP)
TABLESPACE SFPL_INDEXES
;
ALTER TABLE SFMFG.SFPL_PLAN_REV ADD
     CONSTRAINT SFPL_PLAN_REV_PK PRIMARY KEY (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
     USING INDEX SFMFG.SFPL_PLAN_REV_PK
;

ALTER TABLE SFMFG.SFPL_PLAN_REV ADD CONSTRAINT SFPL_PLANREV_PLANDESC_FK
     FOREIGN KEY (PLAN_ID, PLAN_UPDT_NO)
     REFERENCES SFMFG.SFPL_PLAN_DESC(PLAN_ID, PLAN_UPDT_NO)
;
 

SFPL_PLAN_REV Columns 
ColumnName  Domain  Datatype  NULL  Definition 
PLAN_ID(PK)(FK)    VARCHAR2(40)  NO 
Unique, system-generated identifier of a work plan.
 
PLAN_VERSION(PK)    NUMBER  NO 
The version number of the work plan.
 
PLAN_REVISION(PK)    NUMBER  NO 
The revision number of the work plan.
 
PLAN_ALTERATIONS(PK)    NUMBER  NO 
Alteration number of a given work plan version.revision. Not in use.
 
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)  YES 
The last operation (update, insert, copy, etc.) applied to the record.
 
PLAN_UPDT_NO(FK)    NUMBER  YES 
Unique, system-generated sequence number identifying a specific version/revision/alteration of a given plan as it goes through authoring changes.
 
REV_STATE    VARCHAR2(20)  YES 
Not in use.
 
REV_LOCKED_BY    VARCHAR2(30)  YES 
USERID of the user who has locked the work plan revision. Not in use.
 
REV_LOCK_STATE    VARCHAR2(20)  YES 
The work Plan Revision lock state. Used for creating multilevel user locks, GroupWare concept. Not in use.
 
REV_STATUS    VARCHAR2(20)  YES 
The status of a work plan revision. For example: PLG AUTHORING, PLAN RELEASED, or QA_PR.
 
EXTERNAL_PLM_NO    VARCHAR2(100)  YES 
 
EXTERNAL_ERP_NO    VARCHAR2(100)  YES 
 

SFPL_PLAN_REV Primary and Unique Keys 
Key Name  Key Type  Keys 
SFPL_PLAN_REV_PK  PrimaryKey  PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS 

SFPL_PLAN_REV Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Deferrable  Initially Deferred 
SFPL_PLAN_DESC  Non-Identifying  Zero or One to Zero or More  SFPL_PLANREV_PLANDESC_FK      PLAN_ID, PLAN_UPDT_NO  NO  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Deferrable  Initially Deferred 
SFFND_PLG_TASK  Non-Identifying  One To Zero or More  SFFND_PLG_TASK_PLNREV_FK        NO  NO  NO 
SFPL_MBOM_NOTIFICATION  Identifying  One To Zero or More  SFPL_MBOM_NOTIFICATION_FK1        NO  NO  YES 
SFPL_OPERATION_REV  Identifying  One To Zero or More  SFPL_OPERREV_PLANREV_FK        NO  NO  NO 
SFPL_PLAN_EFF  Identifying  One To Zero or More  SFPL_PLAN_EFF_PLAN_REV_FK        NO  NO  NO 
SFPL_PLAN_NOTIFICATION  Non-Identifying  One To Zero or More  SFPL_PLAN_NOTIF_PLAN_FK        NO  NO  NO 
SFPL_PLAN_PWP_XREF  Identifying  One To Zero or More  SFPL_PLAN_PWP_XREF_FK2        NO  NO  YES 
SFPL_PLAN_VALIDATION_KEYS  Identifying  One To Zero or More  SFPL_PLAN_VLDTN_KEY_FK        NO  NO  NO 
SFPL_PLAN_IMAGE  Identifying  One To Zero or More  SFPL_PLANIMG_PLANREV_FK        NO  NO  NO 
SFWID_ORDER_DESC  Non-Identifying  One To Zero or More  SFWID_ORDDESC_PPLANREV_FK        NO  NO  NO 

SFPL_PLAN_REV Check Constraints 
Check Constraint Name  CheckConstraint 

SFPL_PLAN_REV 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_REV Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

SFPL_PLAN_REV Object Permissions 

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

SFPL_PLAN_REV Bound Attachments 
Name  Current Value 

SFPL_PLAN_REV Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFPL_PLAN_REV   
Work Plan Revision -- A particular numbered version.revision of a given Work Plan. Different versions and revisions are used to track changes made to the plan. Versions and Revisions are created during the plan authoring process.
 
PhysicalOracle (Oracle)  SFMFG.SFPL_PLAN_REV   
Work Plan Revision -- A particular numbered version.revision of a given Work Plan. Different versions and revisions are used to track changes made to the plan. Versions and Revisions are created during the plan authoring process.
 
PhysicalSS (Microsoft SQL Server)  SFPL_PLAN_REV   
 

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

SFPL_PLAN_REV User-Defined Mappings 
Model  Name  Description