TC_INV_LT_PD_VW

(SQL View)
Index Back

Lot Comp Production View


SELECT DISTINCT E.SETID , A.BUSINESS_UNIT , A.INV_ITEM_ID , A.INV_LOT_ID , A.SERIAL_ID , A.OPRID , B.COMPONENT_ID , D.INV_LOT_ID , D.QTY , D.UNIT_OF_MEASURE , A.DT_TIMESTAMP , A.MA_PRDN_ID_FLG , C.PRDN_AREA_CODE , C.PRDN_DUE_DATE , C.PRDN_DUE_SHIFT , A.PRODUCTION_ID , A.RECEIVER_ID , A.RECV_LN_NBR , A.INTERUNIT_ID , A.QTY , A.UNIT_OF_MEASURE , A.TRANSACTION_GROUP FROM PS_TRANSACTION_INV A , PS_SF_COMP_LIST B , PS_SF_PRDNID_HEADR C , PS_TRANSACTION_INV D , PS_SET_CNTRL_REC E 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 B.PARENT_ITEM_ID = C.INV_ITEM_ID AND A.INV_ITEM_ID = C.INV_ITEM_ID AND B.COMPONENT_ID = D.INV_ITEM_ID AND A.TRANSACTION_GROUP = '021' AND D.TRANSACTION_GROUP IN ('220','230') 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 COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id.
8 COMP_LOT_ID Character(15) VARCHAR2(15) NOT NULL Component Lot ID
9 COMPONENT_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Component Quantity
10 COMPONENT_UOM Character(3) VARCHAR2(3) NOT NULL Component Unit of Measure
11 DATE_TIME_HM DateTime(26) TIMESTAMP Date Timestamp
12 MA_PRDN_ID_FLG Character(1) VARCHAR2(1) NOT NULL 10/18/99 SCC CN#IC800: Add label MAINTAIN_PID
N=No
Y=Yes
13 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
14 PRDN_DUE_DATE Date(10) DATE Prdn Due Date
15 PRDN_DUE_SHIFT Signed Number(2,0) DECIMAL(1) NOT NULL Prdn Due Shift
16 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
17 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
18 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
19 INTERUNIT_ID Character(10) VARCHAR2(10) NOT NULL InterUnit Order ID
20 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
21 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
22 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.