SFOR_SFWID_ORDER_SUBJECT_HIST 
Logical Entity Name  SFOR_SFWID_ORDER_SUBJECT_HIST 
Default Table Name  SFOR_SFWID_ORDER_SUBJECT_HIST 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
Historical/audit records.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE SFMFG.SFOR_SFWID_ORDER_SUBJECT_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,
     HIST_ALT_ID              VARCHAR2(40),
     ORDER_ID                 VARCHAR2(40)       NOT NULL,
     SUBJECT_NO               NUMBER             NOT NULL,
     SUBJECT_REV              NUMBER             DEFAULT 1 NOT NULL,
     TITLE                    VARCHAR2(255),
     AUTHORITY                VARCHAR2(2000),
     UPDT_USERID              VARCHAR2(30)       DEFAULT user NOT NULL,
     TIME_STAMP               DATE               DEFAULT sysdate NOT NULL,
     LAST_ACTION              VARCHAR2(20)       DEFAULT 'INSERTED',
     OBSOLETE_RECORD_FLAG     CHAR(1),
     INCLUDED_FLAG            VARCHAR2(20),
     STANDARD_FLAG            CHAR(1),
     FILTERED_FLAG            CHAR(1),
     SUBJECT_STATUS           VARCHAR2(30),
     ALT_ID                   VARCHAR2(40),
     ALT_COUNT                NUMBER             DEFAULT 0,
     NOTES                    VARCHAR2(4000),
     DISC_ID                  VARCHAR2(40),
     DISC_LINE_NO             NUMBER(38, 0)
)
TABLESPACE SFHISTORY_DATA
;



COMMENT ON TABLE SFMFG.SFOR_SFWID_ORDER_SUBJECT_HIST IS 'Historical/audit records.'
;
CREATE UNIQUE INDEX SFMFG.SFOR_WID_ORDER_SUBJECT_HIST_PK ON SFMFG.SFOR_SFWID_ORDER_SUBJECT_HIST(HIST_ID)
TABLESPACE SFHISTORY_INDEXES
;
ALTER TABLE SFMFG.SFOR_SFWID_ORDER_SUBJECT_HIST ADD
     CONSTRAINT SFOR_WID_ORDER_SUBJECT_HIST_PK PRIMARY KEY (HIST_ID)
     USING INDEX SFMFG.SFOR_WID_ORDER_SUBJECT_HIST_PK
;
 
PostSQL   

SFOR_SFWID_ORDER_SUBJECT_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.
 
HIST_ALT_ID    VARCHAR2(40)  YES 
System-generated identifier of the alteration. Used in the event that the master record has been deleted.
 
ORDER_ID    VARCHAR2(40)  NO 
Unique, system-generated identifier of a given work order.
 
SUBJECT_NO    NUMBER  NO 
 
SUBJECT_REV    NUMBER  NO 
 
TITLE    VARCHAR2(255)  YES 
Title or name of the given operation.
 
AUTHORITY    VARCHAR2(2000)  YES 
 
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.
 
OBSOLETE_RECORD_FLAG    CHAR(1)  YES 
A flag (Y/N) that indicates whether the record is obsolete. An obsolete record is filtered when displaying data to a user.
 
INCLUDED_FLAG    VARCHAR2(20)  YES 
 
STANDARD_FLAG    CHAR(1)  YES 
 
FILTERED_FLAG    CHAR(1)  YES 
 
SUBJECT_STATUS    VARCHAR2(30)  YES 
 
ALT_ID    VARCHAR2(40)  YES 
The unique identifier of the last work order alteration that has affected the data record.
 
ALT_COUNT    NUMBER  YES 
Number of times the data record has been affected by work order alterations.
 
NOTES    VARCHAR2(4000)  YES 
 
DISC_ID    VARCHAR2(40)  YES 
 
DISC_LINE_NO    NUMBER(38, 0)  YES 
 

SFOR_SFWID_ORDER_SUBJECT_HIST Primary and Unique Keys 
Key Name  Key Type  Keys 
SFOR_WID_ORDER_SUBJECT_HIST_PK  PrimaryKey  HIST_ID 

SFOR_SFWID_ORDER_SUBJECT_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 

SFOR_SFWID_ORDER_SUBJECT_HIST Check Constraints 
Check Constraint Name  CheckConstraint 

SFOR_SFWID_ORDER_SUBJECT_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 

SFOR_SFWID_ORDER_SUBJECT_HIST Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

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

SFOR_SFWID_ORDER_SUBJECT_HIST Object Permissions 

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

SFOR_SFWID_ORDER_SUBJECT_HIST Bound Attachments 
Name  Current Value 

SFOR_SFWID_ORDER_SUBJECT_HIST Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFOR_SFWID_ORDER_SUBJECT_HIST   
Historical/audit records.
 
PhysicalOracle (Oracle)  SFMFG.SFOR_SFWID_ORDER_SUBJECT_HIST   
Historical/audit records.
 
PhysicalSS (Microsoft SQL Server)  SFOR_SFWID_ORDER_SUBJECT_HIST   
 

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

SFOR_SFWID_ORDER_SUBJECT_HIST User-Defined Mappings 
Model  Name  Description 

SFOR_SFWID_ORDER_SUBJECT_HIST Data Movement Rules 
Name  Type  Rule Text/Value