SAC_PO_ERR_SEL(SQL View) |
Index Back |
---|---|
Re Process Error View |
SELECT A.BUSINESS_UNIT , A.PO_ID , A.PO_STATUS FROM PS_PO_HDR A WHERE A.PO_STATUS IN ('A', 'D','X','PX') AND EXISTS ( SELECT 'X' FROM PS_SAC_ERP_PO_STS B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PO_ID = B.PO_ID AND B.SAC_INTG_PO_STS = 'E' AND A.LAST_DTTM_UPDATE >= B.LAST_DTTM_UPDATE ) |
# | 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_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 |