PL_SOHOLD2_VW(SQL View) |
Index Back |
---|---|
PL Sales Load Product Vw08/16/01 JNW (CN#PL900-1.0): Added Planning view used during the sales order load to exclude sales order line products that have been put on hold |
SELECT O.BUSINESS_UNIT , O.ORDER_NO , O.ORDER_INT_LINE_NO , S.SETID , S.SETCNTRLVALUE FROM PS_MESSAGE_TBL M , PS_SET_CNTRL_REC S , PS_ORD_HOLD O WHERE S.RECNAME = 'MESSAGE_TBL' AND M.SETID = S.SETID AND M.MESSAGE_CD = O.MESSAGE_CD AND M.INCL_IN_PLAN = 'N' AND O.PASS_HOLD_LEVEL = 'PROD' AND O.EFF_STATUS = 'A' AND M.EFFDT = ( SELECT MAX(EFFDT) FROM PS_MESSAGE_TBL M2 WHERE M2.MESSAGE_CD = M.MESSAGE_CD AND M2.EFF_STATUS = 'A' AND M2.EFFDT <=%CurrentDateIn) |
# | 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 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
5 | SETCNTRLVALUE | Character(20) | VARCHAR2(20) NOT NULL | Tree Definition User Key Value |