INV_LOT_C_ST_VW

(SQL View)
Index Back

Lot Comp Stocked View

SSR:06/09/06 removed OR (a.transaction_group = '231' AND a.QTY_BASE < 0)) from sql statement to prevent negative issues from showing up in lot composition

SELECT b.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 , a.po_id , a.interunit_id , a.qty , a.unit_of_measure , a.transaction_group FROM PS_TRANSACTION_INV a , ps_set_cntrl_rec b WHERE a.business_unit = b.setcntrlvalue AND b.recname = 'MASTER_ITEM_TBL' AND (a.transaction_group = '010' OR a.transaction_group = '020')

# 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 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
11 INTERUNIT_ID Character(10) VARCHAR2(10) NOT NULL InterUnit Order ID
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.