INV_LOT_T_IS_VW

(SQL View)
Index Back

Lot Trace Issued View


SELECT c.setid ,a.business_unit , a.inv_item_id , a.inv_lot_id , a.serial_id , a.oprid , a.dt_timestamp , a.order_no , a.order_int_line_no , a.sched_line_nbr , a.demand_line_no , b.cust_id , b.cust_name , b.location , a.qty , a.unit_of_measure , a.transaction_group FROM ps_transaction_inv a , PS_IN_DEMAND 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.order_no = b.order_no AND a.order_int_line_no = b.order_int_line_no AND a.sched_line_nbr = b.sched_line_nbr AND a.demand_line_no = b.demand_line_no AND c.recname = 'MASTER_ITEM_TBL' AND (a.transaction_group = '030' OR a.transaction_group = '034' OR a.transaction_group = '036' OR( a.transaction_group = '231' ))

# 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 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
9 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
10 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
11 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
12 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
13 CUST_NAME Character(40) VARCHAR2(40) NOT NULL Name
14 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
15 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
16 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
17 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.