CC_PO_LINE_VW(SQL View) |
Index Back |
---|---|
ProCard PO_LINE_NBR prompt04/11/2019 MANINSRI Added ItemID and Item Description to PO Line lookup for PSFTPO-5336-PCARD Processing Enhancements |
SELECT A.BUSINESS_UNIT , A.PO_ID , B.LINE_NBR , A.PO_DT , A.PO_STATUS , B.CANCEL_STATUS , B.INV_ITEM_ID , B.DESCR254_MIXED FROM PS_PO_HDR A , PS_PO_LINE B WHERE A.PO_STATUS IN ('A', 'D') AND A.MID_ROLL_STATUS <> 'Y' AND A.MATCH_STATUS_PO <> 'M' AND B.CANCEL_STATUS = 'A' AND %Join(COMMON_KEYS, PO_HDR A, PO_LINE B) |
# | 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 | PO_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Purchase Order Line Number |
4 | PO_DT | Date(10) | DATE | Date |
5 | 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 |
6 | CANCEL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Cancel Status
A=Active C=Closed D=Denied H=Hold O=Open P=Pending Approval X=Canceled |
7 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
8 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |