REQ_PO_INQ_VW

(SQL View)
Index Back

Requisition/PO XRef

Requisition/PO XRef

SELECT a.req_id , a.business_unit , a.po_id , a.line_nbr , a.sched_nbr , a.distrib_line_num , a.qty_po , a.req_line_nbr , a.req_sched_nbr , a.req_distrib_nbr , b.qty_req , b.distrib_ln_status , c.chng_ord_batch , c.po_status , b.qty_open , b.amt_open , d.inv_item_id , d.currency_cd , e.business_unit_om , e.order_no , e.order_int_line_no , e.sched_line_nbr , e.ship_to_cust_id , d.descr254_mixed , e.due_dt , f.cntrct_setid , f.cntrct_id , f.release_nbr FROM ps_po_line_distrib a , ps_req_ln_distrib b , ps_po_hdr c , ps_req_line d , PS_PO_LINE_SHIP e , ps_po_line f WHERE a.business_unit = b.business_unit AND a.req_id = b.req_id AND a.req_line_nbr = b.line_nbr AND a.req_sched_nbr = b.sched_nbr AND a.req_distrib_nbr = b.distrib_line_num AND a.business_unit = c.business_unit AND a.po_id = c.po_id AND a.business_unit = d.business_unit AND a.req_id = d.req_id AND a.req_line_nbr = d.line_nbr AND a.dst_acct_type = 'DST' AND e.business_unit = a.business_unit AND e.po_id = a.po_id AND e.line_nbr = a.line_nbr AND e.sched_nbr = a.sched_nbr AND f.business_unit = a.business_unit AND f.po_id = a.po_id AND f.line_nbr = a.line_nbr

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
4 PO_LINE_NBR Number(5,0) INTEGER NOT NULL Purchase Order Line Number
5 PO_SCHED_NBR Number(3,0) SMALLINT NOT NULL PO Schedule Number
6 PO_DIST_LINE_NUM Number(5,0) INTEGER NOT NULL PO Distribution Line Number
7 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity
8 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
9 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
10 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
11 QTY_REQ Number(16,4) DECIMAL(15,4) NOT NULL Requisition Quantity
12 DISTRIB_LN_STATUS Character(1) VARCHAR2(1) NOT NULL Distribution Line Status
C=Closed
M=Mass Liquidated
O=Open
P=Unavailable for Sourcing
X=Canceled
13 CHNG_ORD_BATCH Number(3,0) SMALLINT NOT NULL Change Order Number
14 PO_STATUS Character(2) VARCHAR2(2) NOT NULL PO Status
A=Approved
C=Complete
D=Dispatched
DA=Denied
I=Initial
LD=Line Denied
O=Open
PA=Pending Approval/Approved
PX=Pending Cancel
X=Canceled
15 QTY_OPEN Number(16,4) DECIMAL(15,4) NOT NULL Open Quantity
16 AMT_OPEN Signed Number(28,3) DECIMAL(26,3) NOT NULL Open Amount
17 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
18 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
19 BUSINESS_UNIT_OM Character(5) VARCHAR2(5) NOT NULL Order Management Business Unit
20 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
21 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
22 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
23 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
24 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
25 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
26 CNTRCT_SETID Character(5) VARCHAR2(5) NOT NULL SetID
27 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
28 RELEASE_NBR Number(5,0) INTEGER NOT NULL Release Number