SFWID_PENDING_ORDERS 
Logical Entity Name  SFWID_PENDING_ORDERS 
Default Table Name  SFWID_PENDING_ORDERS 
Physical Only  NO 
Do Not Generate  False 
Owner  SFMFG 
Definition 
Denormalized index-organized table of PENDING work orders for dispatch performance.
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE SFMFG.SFWID_PENDING_ORDERS(
     ORDER_NO                VARCHAR2(40)       NOT NULL,
     ORDER_ID                VARCHAR2(40)       NOT NULL,
     ORDER_TYPE              VARCHAR2(20),
     PART_NO                 VARCHAR2(50),
     PART_CHG                VARCHAR2(10),
     PROGRAM                 VARCHAR2(30),
     ORDER_STATUS            VARCHAR2(20),
     ORDER_HOLD_STATUS       VARCHAR2(20),
     ORDER_QTY               NUMBER,
     ORIG_ORDER_ID           VARCHAR2(40),
     SERIAL_FLAG             CHAR(1),
     LOT_FLAG                CHAR(1),
     SCHED_START_DATE        DATE,
     SCHED_END_DATE          DATE,
     REVISED_START_DATE      DATE,
     REVISED_END_DATE        DATE,
     ACTUAL_START_DATE       DATE,
     ACTUAL_END_DATE         DATE,
     PLAN_ID                 VARCHAR2(40),
     PLAN_UPDT_NO            NUMBER,
     ITEM_ID                 VARCHAR2(40),
     NEEDS_REVIEW_FLAG       CHAR(1),
     ORDER_SCRAP_QTY         NUMBER             NOT NULL,
     ORDER_COMPLETE_QTY      NUMBER             NOT NULL,
     ORDER_STOP_QTY          NUMBER             NOT NULL,
     SPLIT_FLAG              CHAR(1),
     UNSCRAP_FLAG            CHAR(1),
     PARENT_ORDER_ID         VARCHAR2(40),
     SUPERCEDED_ORDER_ID     VARCHAR2(40),
     SUPERCEDES_ORDER        VARCHAR2(40),
     ORDER_CUST_ID           VARCHAR2(40),
     SCHED_PRIORITY          VARCHAR2(4),
     ALT_ID                  VARCHAR2(40),
     ALT_STATUS              VARCHAR2(20),
     ASGND_WORK_LOC          VARCHAR2(30),
     UNIT_TYPE               VARCHAR2(30),
     UNIT_NO                 VARCHAR2(30),
     ORDER_UOM               VARCHAR2(10),
     PLAN_VERSION            NUMBER,
     PLAN_REVISION           NUMBER,
     PLAN_ALTERATIONS        NUMBER,
     PROJECT                 VARCHAR2(30),
     PLAN_TYPE               VARCHAR2(30),
     LTA_SEND_FLAG           VARCHAR2(1)        DEFAULT 'N',
     ITEM_TYPE               VARCHAR2(30),
     ITEM_SUBTYPE            VARCHAR2(80),
     SECURITY_GROUP          VARCHAR2(4000),
     CONSTRAINT SFWID_PENDING_PK PRIMARY KEY (ORDER_NO)
)ORGANIZATION INDEX
TABLESPACE SFWID_DATA
PCTTHRESHOLD 50
OVERFLOW PCTFREE 10
PCTUSED 0
INITRANS 1
MAXTRANS 255
TABLESPACE SFWID_DATA
STORAGE(INITIAL 64K
         NEXT 1024K
         MINEXTENTS 1
         MAXEXTENTS UNLIMITED
         PCTINCREASE 0
         BUFFER_POOL DEFAULT
         )NOLOGGING
;



COMMENT ON TABLE SFMFG.SFWID_PENDING_ORDERS IS 'Denormalized index-organized table of PENDING work orders for dispatch performance.'
;
CREATE UNIQUE INDEX SFMFG.SFWID_PENDING_PK ON SFMFG.SFWID_PENDING_ORDERS(ORDER_NO)
;
CREATE INDEX SFMFG.SFWID_PENDING_ORDERS_IDX2 ON SFMFG.SFWID_PENDING_ORDERS(ORDER_ID)
TABLESPACE SFWID_INDEXES
;
CREATE INDEX SFMFG.SFWID_PENDING_ORDERS_INDX001 ON SFMFG.SFWID_PENDING_ORDERS(PLAN_ID, PLAN_VERSION, PLAN_REVISION, ORDER_NO)
TABLESPACE SFWID_INDEXES
     COMPRESS 4
;
 
PostSQL   

SFWID_PENDING_ORDERS Columns 
ColumnName  Domain  Datatype  NULL  Definition 
ORDER_NO(PK)    VARCHAR2(40)  NO 
Unique, user-assigned identifier of a given work order.
 
ORDER_ID    VARCHAR2(40)  NO 
Unique, system-generated identifier of a given work order.
 
ORDER_TYPE    VARCHAR2(20)  YES 
Type or classification of order.
 
PART_NO    VARCHAR2(50)  YES 
The primary identifier, part number, of the part.
 
PART_CHG    VARCHAR2(10)  YES 
Secondary number or letter identifier indicating the change (revision) level of a given component/part. Null for disposition/rework plans/orders.
 
PROGRAM    VARCHAR2(30)  YES 
The associated project or program.
 
ORDER_STATUS    VARCHAR2(20)  YES 
The status of the work order, e.g., ACTIVE, COMPLETE, IN QUEUE, or CANCEL.
 
ORDER_HOLD_STATUS    VARCHAR2(20)  YES 
The on-hold status of the work order, OPEN or CLOSED.
 
ORDER_QTY    NUMBER  YES 
The quantity of the part to be made for the given work order. Defaults to PLND_ORDER_QTY but can be changed.
 
ORIG_ORDER_ID    VARCHAR2(40)  YES 
The identifier of the original work order, which is the initial work order created from work plan release. Used to track splits, rework/dispositions, and supercedes.
 
SERIAL_FLAG    CHAR(1)  YES 
Flag (Y/N) indicating that the component/part is or should be tracked by serial number.
 
LOT_FLAG    CHAR(1)  YES 
Flag (Y/N) indicating that the component/part is or should be tracked by lot number.
 
SCHED_START_DATE    DATE  YES 
The date on which the manufacturing work for the work order is scheduled to start.
 
SCHED_END_DATE    DATE  YES 
The date on which the manufacturing work for the work order is scheduled to complete.
 
REVISED_START_DATE    DATE  YES 
The revised work start date.
 
REVISED_END_DATE    DATE  YES 
The revised work complete date.
 
ACTUAL_START_DATE    DATE  YES 
The date on which the work for the manufacturing work order has been started.
 
ACTUAL_END_DATE    DATE  YES 
The date on which the manufacturing work order has been completed.
 
PLAN_ID    VARCHAR2(40)  YES 
Unique, system-generated identifier of a work plan.
 
PLAN_UPDT_NO    NUMBER  YES 
Unique, system-generated sequence number identifying a specific version/revision/alteration of a given plan as it goes through authoring changes.
 
ITEM_ID    VARCHAR2(40)  YES 
The unique identifier of the item/part to be made upon the work order.
 
NEEDS_REVIEW_FLAG    CHAR(1)  YES 
A flag (Y/N) that indicates whether the associated Corrective Action Diagram requires review.
 
ORDER_SCRAP_QTY    NUMBER  NO 
Number of items/component parts that have been scrapped during the process of fulfilling the work order.
 
ORDER_COMPLETE_QTY    NUMBER  NO 
Number of items/component parts that have been completed during the process of fulfilling the given work order.
 
ORDER_STOP_QTY    NUMBER  NO 
Number of items/component parts that have been stopped during the process of fulfilling the given work order.
 
SPLIT_FLAG    CHAR(1)  YES 
A flag (Y/N) that indicates whether or not the work order is a split of another work order.
 
UNSCRAP_FLAG    CHAR(1)  YES 
A flag (Y/N) indicating whether the component/part should be or has been unscrapped.
 
PARENT_ORDER_ID    VARCHAR2(40)  YES 
The identifier of the parent work order, used to track order splits, and rework/dispositions
 
SUPERCEDED_ORDER_ID    VARCHAR2(40)  YES 
The identifier of the work order superceded by this work order.
 
SUPERCEDES_ORDER    VARCHAR2(40)  YES 
The identifier of the work order that supercedes this work order.
 
ORDER_CUST_ID    VARCHAR2(40)  YES 
The customer receiving the completed work, defaulted to PLND_CUST_ID but can be changed.
 
SCHED_PRIORITY    VARCHAR2(4)  YES 
The scheduled priority of the associated work order, e.g., High, Low, Medium.
 
ALT_ID    VARCHAR2(40)  YES 
The unique identifier of the last work order alteration that has affected the data record.
 
ALT_STATUS    VARCHAR2(20)  YES 
The status of the last alteration on this work order. For example: ORDER_AUTHORING.
 
ASGND_WORK_LOC    VARCHAR2(30)  YES 
The work location where the manufacturing work order is executed.
 
UNIT_TYPE    VARCHAR2(30)  YES 
The type or classification of the unit to be manufactured. For end-unit type effectivities, a type or classification of end unit.
 
UNIT_NO    VARCHAR2(30)  YES 
The unit number of the shipping product (e.g. airplane tail #) the work order is related to.
 
ORDER_UOM    VARCHAR2(10)  YES 
The Unit Of Measure associated with PLND_ORDER_QTY and ORDER_QTY.
 
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.
 
PROJECT    VARCHAR2(30)  YES 
Unique identifier of the associated project.
 
PLAN_TYPE    VARCHAR2(30)  YES 
Type or classification of the associated work plan.
 
LTA_SEND_FLAG    VARCHAR2(1)  YES 
 
ITEM_TYPE    VARCHAR2(30)  YES 
 
ITEM_SUBTYPE    VARCHAR2(80)  YES 
 
SECURITY_GROUP    VARCHAR2(4000)  YES 
 

SFWID_PENDING_ORDERS Primary and Unique Keys 
Key Name  Key Type  Keys 
SFWID_PENDING_PK  PrimaryKey  ORDER_NO 

SFWID_PENDING_ORDERS 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 

SFWID_PENDING_ORDERS Check Constraints 
Check Constraint Name  CheckConstraint 

SFWID_PENDING_ORDERS Storage 
STORAGE OPTION  STORAGE VALUE 
TABLESPACE  SFWID_DATA 
PctFree  10 
PCTUSED    
MinExtents  1 
MaxExtents  2147483645 
Initial  64 
Next  1024 
PctIncrease  0 
InitTrans  2 
MaxTrans  255 
Organization  Index-Organized 
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 

SFWID_PENDING_ORDERS Partitions 
PARTITION PROPERTY  PARTITION PROPERTY VALUE 

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

SFWID_PENDING_ORDERS Object Permissions 

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

SFWID_PENDING_ORDERS Bound Attachments 
Name  Current Value 

SFWID_PENDING_ORDERS Where Used - Model Usage 
Model  Logical Entity Name  Denormalization Mappings  Definition 
Logical  SFWID_PENDING_ORDERS   
Denormalized index-organized table of PENDING work orders for dispatch performance.
 
PhysicalOracle (Oracle)  SFMFG.SFWID_PENDING_ORDERS   
Denormalized index-organized table of PENDING work orders for dispatch performance.
 
PhysicalSS (Microsoft SQL Server)  SFWID_PENDING_ORDERS   
 

SFWID_PENDING_ORDERS 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 

SFWID_PENDING_ORDERS User-Defined Mappings 
Model  Name  Description 

SFWID_PENDING_ORDERS Data Movement Rules 
Name  Type  Rule Text/Value