SF_TRHSTOP_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT A.BUSINESS_UNIT , A.PRODUCTION_ID , A.PRDN_AREA_CODE , A.INV_ITEM_ID , B.DESCR , A.PRDN_DUE_DATE , A.PRDN_DUE_SHIFT , A.BOM_CODE , A.RTG_CODE , A.MA_PRDN_ID_FLG FROM PS_SF_PRDNID_HEADR A , PS_MASTER_ITEM_TBL B , PS_SF_OP_HIST C WHERE A.INV_ITEM_ID = B.INV_ITEM_ID AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC E WHERE A.BUSINESS_UNIT = E.SETCNTRLVALUE AND E.RECNAME = 'MASTER_ITEM_TBL') AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.PRODUCTION_ID = A.PRODUCTION_ID AND C.INV_ITEM_ID = A.INV_ITEM_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Production ID |
3 | PRDN_AREA_CODE | Character(10) | VARCHAR2(10) NOT NULL | Production Area |
4 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | PRDN_DUE_DATE | Date(10) | DATE | Prdn Due Date |
7 | PRDN_DUE_SHIFT | Signed Number(2,0) | DECIMAL(1) NOT NULL | Prdn Due Shift |
8 | BOM_CODE | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database |
9 | RTG_CODE | Number(2,0) | SMALLINT NOT NULL | Routing Code |
10 | MA_PRDN_ID_FLG | Character(1) | VARCHAR2(1) NOT NULL |
10/18/99 SCC CN#IC800: Add label MAINTAIN_PID
N=No Y=Yes |