INV_LOT_C_CR_VW

(SQL View)
Index Back

Lot Comp Customer Returns View


SELECT c.setid , a.business_unit , a.inv_item_id , a.inv_lot_id , a.serial_id , a.oprid , a.dt_timestamp , a.receiver_id , a.recv_ln_nbr , b.rma_id , b.rma_line_nbr , a.qty , a.unit_of_measure , a.transaction_group FROM ps_transaction_inv a , PS_INV_RECV_LN b , ps_set_cntrl_rec c WHERE a.business_unit = b.business_unit AND b.business_unit = c.setcntrlvalue AND a.inv_item_id = b.inv_item_id AND a.receiver_id = b.receiver_id AND a.recv_ln_nbr = b.Recv_ln_nbr AND c.recname = 'MASTER_ITEM_TBL' AND a.transaction_group = '024'

# 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 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
9 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
10 RMA_ID Character(10) VARCHAR2(10) NOT NULL RMA Number
11 RMA_LINE_NBR Number(5,0) INTEGER NOT NULL RMA Line Number
12 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
13 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
14 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.