SRM_DB_ODPO_VW2(SQL View) |
Index Back |
---|---|
PO Overdue Schedules |
SELECT A.BUYER_ID , A.BUSINESS_UNIT_PO , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , B.SETID , B.VENDOR_ID , B.VNDR_NAME_SHRT_USR , A.ITM_SETID , A.INV_ITEM_ID , A.DESCR254_MIXED , A.QTY_PO , 0 , DUE_DT FROM PS_RECV_PO_SHIP_VW A , PS_VENDOR B , PS_PO_OPRDEFN_VW C , PS_SRM_DB_BU_VW D WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.BUYER_ID = C.OPRID AND (D.BUYER_ID = A.BUYER_ID AND D.BUSINESS_UNIT = A.BUSINESS_UNIT_PO) AND A.DUE_DT < %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
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 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
7 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
8 | VNDR_NAME_SHRT_USR | Character(10) | VARCHAR2(10) NOT NULL | Short Vendor Name |
9 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
10 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
11 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
12 | QTY_PO | Number(16,4) | DECIMAL(15,4) NOT NULL | Purchase Order Quantity |
13 | QTY_OPEN | Number(16,4) | DECIMAL(15,4) NOT NULL | Open Quantity |
14 | 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. |