SFPL_PLAN_PWP_XREF 
Logical Entity Name  SFPL_PLAN_PWP_XREF 
Default Table Name  SFPL_PLAN_PWP_XREF 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
 
Note 
 
DDL Code  CREATE TABLE SFMFG.SFPL_PLAN_PWP_XREF(
     PWP_ID               varchar(40)     COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
     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,
     UPDT_USERID          varchar(30)     COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFPL_PLAN__UPDT___26D2ED91] DEFAULT (user_name()) NOT NULL,
     TIME_STAMP           datetime        CONSTRAINT [DF__SFPL_PLAN__TIME___27C711CA] DEFAULT (getdate()) NOT NULL,
     LAST_ACTION          varchar(20)     COLLATE SQL_Latin1_General_CP1_CS_AS CONSTRAINT [DF__SFPL_PLAN__LAST___28BB3603] DEFAULT ('INSERTED') NULL,
     CONSTRAINT SFPL_PLAN_PWP_XREF_FK2 FOREIGN KEY (PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
     REFERENCES SFMFG.SFPL_PLAN_REV(PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS),
     CONSTRAINT SFPL_PLAN_PWP_XREF_FK1 FOREIGN KEY (PWP_ID)
     REFERENCES SFMFG.SFPL_PWP_DESC(PWP_ID)
)ON SFPL_DATA
go



ALTER TABLE SFMFG.SFPL_PLAN_PWP_XREF ADD
     CONSTRAINT SFPL_PLAN_PWP_XREF_PK PRIMARY KEY CLUSTERED (PWP_ID, PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS)
     ON SFPL_DATA
go
 

SFPL_PLAN_PWP_XREF Columns 
ColumnName  Domain  Datatype  NULL  Definition 
PWP_ID(PK)(FK)    varchar(40)  NO 
 
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 
 
UPDT_USERID    varchar(30)  NO 
 
TIME_STAMP    datetime  NO 
 
LAST_ACTION    varchar(20)  YES 
 

SFPL_PLAN_PWP_XREF Primary and Unique Keys 
Key Name  Key Type  Keys 
SFPL_PLAN_PWP_XREF_PK  PrimaryKey  PWP_ID, PLAN_ID, PLAN_VERSION, PLAN_REVISION, PLAN_ALTERATIONS 

SFPL_PLAN_PWP_XREF Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
SFPL_PWP_DESC  Identifying  One To Zero or More  SFPL_PLAN_PWP_XREF_FK1      PWP_ID  NO  NO 
SFPL_PLAN_REV  Identifying  One To Zero or More  SFPL_PLAN_PWP_XREF_FK2      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_PWP_XREF Check Constraints 
Check Constraint Name  CheckConstraint 

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

SFPL_PLAN_PWP_XREF Object Permissions 

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

SFPL_PLAN_PWP_XREF Bound Attachments 
Name  Current Value 

SFPL_PLAN_PWP_XREF Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFPL_PLAN_PWP_XREF   
Work Plan Revision Work Package Cross Reference -- Cross reference between a particular Work Plan Revision (version.revision.alteration) and a given Planning Work Package.
 
PhysicalOracle (Oracle)  SFPL_PLAN_PWP_XREF   
Work Plan Revision Work Package Cross Reference -- Cross reference between a particular Work Plan Revision (version.revision.alteration) and a given Planning Work Package.
 
PhysicalSS (Microsoft SQL Server)  SFMFG.SFPL_PLAN_PWP_XREF   
 

SFPL_PLAN_PWP_XREF 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_PWP_XREF User-Defined Mappings 
Model  Name  Description