INV_LOT_TD_VW(SQL View) |
Index Back |
---|---|
Lot Trace To Prdn View |
SELECT DISTINCT C.SETID , A.BUSINESS_UNIT , A.INV_ITEM_ID , A.INV_LOT_ID , A.SERIAL_ID , A.OPRID , A.DT_TIMESTAMP , 'Y' , A.FROM_PRDN_AREA , A.TO_PRDN_AREA , A.FROM_PRDN_ID , A.TO_PRDN_ID , A.INV_ITEM_ID , A.INV_LOT_ID , A.QTY , A.UNIT_MEASURE_STD , A.QTY , A.UNIT_MEASURE_STD , A.TRANSACTION_GROUP , ' ' FROM PS_TRANSACTION_INV A , PS_SF_OUTPUT_LIST B , PS_SET_CNTRL_REC C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.BUSINESS_UNIT = C.SETCNTRLVALUE AND A.FROM_PRDN_ID = B.PRODUCTION_ID AND A.TRANSACTION_GROUP = '221' AND A.QTY <> 0 AND B.MG_OUTPUT_TYPE = 'CP' AND B.MG_OUTPUT_RES_PCT = 100 AND C.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 | FROM_PRDN_AREA | Character(10) | VARCHAR2(10) NOT NULL | From Production Area |
10 | TO_PRDN_AREA | Character(10) | VARCHAR2(10) NOT NULL | To Production Area |
11 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Production ID |
12 | TO_PRDN_ID | Character(10) | VARCHAR2(10) NOT NULL | To 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 |