INV_LOT_PD_VW(SQL View) |
Index Back |
---|---|
Lot Trace Production View |
SELECT DISTINCT E.SETID , A.BUSINESS_UNIT , A.INV_ITEM_ID , A.INV_LOT_ID , A.SERIAL_ID , A.OPRID , A.DT_TIMESTAMP , A.MA_PRDN_ID_FLG , C.PRDN_AREA_CODE , C.PRDN_DUE_DATE , C.PRDN_DUE_SHIFT , A.PRODUCTION_ID , C.INV_ITEM_ID , D.INV_LOT_ID , D.QTY , D.UNIT_OF_MEASURE , A.QTY , A.UNIT_OF_MEASURE , A.TRANSACTION_GROUP , 'N' FROM PS_TRANSACTION_INV A , PS_SF_COMP_LIST B , PS_SF_PRDNID_HEADR C , PS_TRANSACTION_INV D , PS_SET_CNTRL_REC E , PS_SF_OUTPUT_LIST F WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND D.BUSINESS_UNIT = E.SETCNTRLVALUE AND A.PRODUCTION_ID = B.PRODUCTION_ID AND B.PRODUCTION_ID = C.PRODUCTION_ID AND C.PRODUCTION_ID = D.PRODUCTION_ID AND F.BUSINESS_UNIT = C.BUSINESS_UNIT AND F.PRODUCTION_ID = C.PRODUCTION_ID AND F.MG_OUTPUT_TYPE = 'CP' AND F.MG_OUTPUT_ITEM = C.INV_ITEM_ID AND F.MG_OUTPUT_RES_PCT = 100 AND A.INV_ITEM_ID = B.COMPONENT_ID AND B.PARENT_ITEM_ID = C.INV_ITEM_ID AND C.INV_ITEM_ID = D.INV_ITEM_ID AND A.TRANSACTION_GROUP IN ('220','230') AND D.TRANSACTION_GROUP = '021' AND E.RECNAME = 'MASTER_ITEM_TBL' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: MST_ITM_PRPT_VW |
4 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
5 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
6 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
7 | DATE_TIME_HM | DateTime(26) | TIMESTAMP | Date Timestamp |
8 | MA_PRDN_ID_FLG | Character(1) | VARCHAR2(1) NOT NULL |
10/18/99 SCC CN#IC800: Add label MAINTAIN_PID
N=No Y=Yes |
9 | PRDN_AREA_CODE | Character(10) | VARCHAR2(10) NOT NULL | Production Area |
10 | PRDN_DUE_DATE | Date(10) | DATE | Prdn Due Date |
11 | PRDN_DUE_SHIFT | Signed Number(2,0) | DECIMAL(1) NOT NULL | Prdn Due Shift |
12 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Production ID |
13 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
14 | PARENT_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Parent Lot ID |
15 | PARENT_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Parent Quantity |
16 | PARENT_UOM | Character(3) | VARCHAR2(3) NOT NULL | Parent Unit of Measure |
17 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
18 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
19 | TRANSACTION_GROUP | Character(3) | VARCHAR2(3) NOT NULL | 11/7/02 LLR - Added the new (600's) transactions groups for 8.8. |
20 | MULTI_OUTPUTS_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
AXS
N=No Y=Yes |