PO_SPNDHSTDTLVW(SQL View) |
Index Back |
|---|---|
Supplier Spend History DetailDetail table for Spend AE by schedule date 06/25/2008 PKL F-AHAYT-S60K7 Contract Enhancements |
| SELECT S.BUSINESS_UNIT , S.PO_ID , S.REPORT_ENTITY , S.BUYER_ID , S.VENDOR_SETID , S.VENDOR_ID , S.DUE_DT , S.CURRENCY_CD , S.MERCHANDISE_AMT , S.PO_DT , H.PO_STATUS , H.RECV_STATUS FROM PS_PO_SPND_HST_DTL S , PS_PO_HDR H WHERE H.BUSINESS_UNIT = S.BUSINESS_UNIT AND H.PO_ID = S.PO_ID |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
| 2 | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order | |
| 3 | REPORT_ENTITY | Character(5) | VARCHAR2(5) NOT NULL | Reporting Entity ID |
| 4 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
| 5 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
| 6 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
| 7 | 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. |
| 8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
| 9 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
| 10 | PO_DT | Date(10) | DATE | Date |
| 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 |