OMOT_REQ_VW(SQL View) |
Index Back |
---|---|
schedule with requsitionsschedule with requsitions |
SELECT S.BUSINESS_UNIT , S.ORDER_NO , S.ORDER_INT_LINE_NO , S.SCHED_LINE_NBR , R.BUSINESS_UNIT , R.REQ_ID , D.LINE_NBR , D.SCHED_NBR , D.DISTRIB_LINE_NUM , R.REQ_DT FROM PS_ORD_SCHEDULE S , PS_IN_PEG_DMD_RQVW D , PS_REQ_HDR R WHERE D.BUSINESS_UNIT_IN = S.SHIP_FROM_BU AND D.DEMAND_SOURCE = 'OM' AND D.SOURCE_BUS_UNIT = S.BUSINESS_UNIT AND D.ORDER_NO = S.ORDER_NO AND D.ORDER_INT_LINE_NO = S.ORDER_INT_LINE_NO AND D.SCHED_LINE_NBR = S.SCHED_LINE_NBR AND R.BUSINESS_UNIT = D.BUSINESS_UNIT AND R.REQ_ID = D.REQ_ID AND R.REQ_STATUS<>'X' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
3 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
4 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
5 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
6 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
7 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
8 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
9 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
10 | REQ_DT | Date(10) | DATE | Requisition Date |