PO_ITEM_VW(SQL View) |
Index Back |
---|---|
PO Items View |
select h.business_unit, h.po_id, l.inv_item_id, l.descr254_mixed, d.chartfield_status, h.buyer_id, h.change_status, h.chng_ord_batch, h.chng_ord_seq, h.disp_action, h.disp_method, h.hold_status, h.po_dt, h.po_status, h.vendor_id from PS_PO_HDR h, ps_po_line l, ps_po_line_distrib d where l.business_unit = h.business_unit and d.business_unit = h.business_unit and l.po_id = h.po_id and d.po_id = h.po_id and l.inv_item_id <> ' ' group by h.business_unit, h.po_id, l.inv_item_id, l.descr254_mixed, d.chartfield_status, h.buyer_id, h.change_status, h.chng_ord_batch, h.chng_ord_seq, h.disp_action, h.disp_method, h.hold_status, h.po_dt, h.po_status, h.vendor_id |
# | 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 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
5 | CHARTFIELD_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Chartfield Status
R=Recycled V=Valid |
6 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
7 | CHANGE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Change Order Status
C=Changed U=Unchanged |
8 | CHNG_ORD_BATCH | Number(3,0) | SMALLINT NOT NULL | Change Order Number |
9 | CHNG_ORD_SEQ | Number(3,0) | SMALLINT NOT NULL | Change Order Sequence Number |
10 | DISP_ACTION | Character(1) | VARCHAR2(1) NOT NULL | Allow Dispatch When Appr |
11 | DISP_METHOD | Character(3) | VARCHAR2(3) NOT NULL |
Dispatch Method
EDX=Electronic Document Exchange EML=Email Dispatch FAX=Fax Transmission PHN=Phone Dispatch PRN=Print |
12 | HOLD_STATUS | Character(1) | VARCHAR2(1) NOT NULL | Hold From Further Processing |
13 | PO_DT | Date(10) | DATE | Date |
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 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |