RQSTR_REQ_PO_VW(SQL View) |
Index Back |
---|---|
Requester Req PO ViewRequestor Requisitions Purchase Order View |
select pohd.business_unit, pold.po_id, pohd.buyer_id, pold.line_nbr, pold.sched_nbr, pold.distrib_line_num, pold.qty_po, pols.price_po, pols.currency_cd, pols.due_dt, pohd.po_status, pohd.recv_status, pold.business_unit_req, pold.req_id, pold.req_line_nbr from ps_po_line_distrib pold, PS_PO_LINE_SHIP pols, ps_po_hdr pohd where pold.po_id = pols.po_id and pold.line_nbr = pols.line_nbr and pold.sched_nbr = pols.sched_nbr and pohd.po_id = pols.po_id and pohd.business_unit = pols.business_unit and pold.business_unit = pols.business_unit |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
3 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
4 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
5 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
6 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
7 | QTY_PO | Number(16,4) | DECIMAL(15,4) NOT NULL | Purchase Order Quantity |
8 | PRICE_PO | Signed Number(17,5) | DECIMAL(15,5) NOT NULL | Purchase Order Price |
9 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
10 | 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. |
11 | 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 |
12 | RECV_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Receipt Status
C=Closed Receipt H=Hold Receipt M=Moved to Destination N=PO Not Received O=Open P=PO Partially Received R=Fully Received X=Canceled |
13 | BUSINESS_UNIT_REQ | Character(5) | VARCHAR2(5) NOT NULL | Requesting Business Unit |
14 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
15 | REQ_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Requisition Line Number |