ORDHLD_MAXDT_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT A.BUSINESS_UNIT ,A.ORDER_NO ,A.ORDER_INT_LINE_NO ,A.SCHED_LINE_NBR ,A.STATUS_DT FROM PS_ORD_HOLD A WHERE A.EFF_STATUS = 'A' AND A.STATUS_DT = ( SELECT MAX(X.STATUS_DT) FROM PS_ORD_HOLD X WHERE X.BUSINESS_UNIT = A.BUSINESS_UNIT AND X.ORDER_NO = A.ORDER_NO AND X.ORDER_INT_LINE_NO = A.ORDER_INT_LINE_NO AND X.SCHED_LINE_NBR = A.SCHED_LINE_NBR) |
# | 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 | STATUS_DT | Date(10) | DATE | Status Date |