AHLD_MIN_HLD_VW(SQL View) |
Index Back |
---|---|
OM Auto Hold Min Hold ViewView used in OMHOLD SQR process. |
SELECT A.PROCESS_INSTANCE , A.BUSINESS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.HOLD_CD , A.LASTUPDDTTM FROM PS_AHLD_HOLD_TMP A WHERE A.HOLD_COUNT = 0 AND A.HOLD_CD = ( SELECT MIN(E.HOLD_CD) FROM PS_AHLD_HOLD_TMP E WHERE E.PROCESS_INSTANCE = A.PROCESS_INSTANCE AND E.ORDER_NO = A.ORDER_NO AND E.ORDER_INT_LINE_NO = A.ORDER_INT_LINE_NO AND E.SCHED_LINE_NBR = A.SCHED_LINE_NBR AND E.HOLD_COUNT = 0) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | 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 |
4 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
5 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
6 | HOLD_CD | Character(6) | VARCHAR2(6) NOT NULL | Hold Code |
7 | LASTUPDDTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |