IN_SDWCNIV_NONV(SQL View) |
Index Back |
---|---|
EOEN context recordEOEN context record |
SELECT %subrec(EOEN_LOG_KEY, P) , %subrec(IN_SDWC_CTX_SBR, P) , %subrec(IN_DMD_NKEY_SBR, P) , %subrec(IN_SDWC_BI_SBR, B) , %subrec(IN_SDWC_PRC_SBR, P) , %DatePart(I.SHIP_DTTM) , I.PRODUCT_ID , I.PARENT_PROD_ID , P.IN_SDWC_HASH_KEY , I.QTY_REQUESTED - I.QTY_BACKORDER , I.QTY_REQUESTED_BASE - I.QTY_BACKORDER_BASE , D.EOEN_STATUS , 0 FROM PS_IN_SDWC_NIV_CTX P JOIN PS_EOEN_DASHBRD D ON %Join(COMMON_KEYS, IN_SDWC_NIV_CTX P, EOEN_DASHBRD D) JOIN PS_IN_DEMAND I ON I.BUSINESS_UNIT = P.BUSINESS_UNIT AND I.DEMAND_SOURCE = P.DEMAND_SOURCE AND I.SOURCE_BUS_UNIT = P.SOURCE_BUS_UNIT AND I.ORDER_NO = P.ORDER_NO AND I.ORDER_INT_LINE_NO = P.ORDER_INT_LINE_NO AND I.SCHED_LINE_NBR = P.SCHED_LINE_NBR AND I.INV_ITEM_ID = P.INV_ITEM_ID AND I.DEMAND_LINE_NO = P.DEMAND_LINE_NO JOIN PS_IN_SDWC_SCH2_VW V ON %Join(COMMON_KEYS, IN_SDWC_SCH2_VW V, IN_DEMAND I) LEFT OUTER JOIN PS_IN_DEMAND_BI B ON %Join(COMMON_KEYS, IN_DEMAND_BI B, IN_DEMAND I) WHERE D.EOEN_STATUS = '0' AND (I.IN_FULFILL_STATE = '60' OR (I.IN_FULFILL_STATE = '70' AND OMB_PROCESS_DATE IS NOT NULL) OR (I.IN_FULFILL_STATE = '70' AND OMB_PROCESS_DATE IS NULL AND B.INVOICE = ' ')) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EOEN_PRCS_NAME | Character(30) | VARCHAR2(30) NOT NULL | EOEN Process Name |
2 | EOEN_CATEGORY | Character(30) | VARCHAR2(30) NOT NULL | EOEN Category |
3 | SEQ_NBR_EOEN | Number(15,0) | DECIMAL(15) NOT NULL | EOEN Sequence Nbr |
4 | EOEN_EMAIL_GROUP | Number(10,0) | DECIMAL(10) NOT NULL | Email group id |
5 | EOEN_NOTIFY_TO | Character(30) | VARCHAR2(30) NOT NULL | Notification receiver |
6 | EMAIL_ADDRESS | Long Character | CLOB | Email Addresses |
7 | QRYNAME | Character(30) | VARCHAR2(30) NOT NULL | Query Name |
8 | EOEN_LAST_DTTIME | DateTime(26) | TIMESTAMP | Last Date Time |
9 | EOEN_EMAIL_SUBJECT | Character(100) | VARCHAR2(100) NOT NULL | EOEN Email subject field |
10 | EOEC_UL_ID | Character(30) | VARCHAR2(30) NOT NULL | Identifies the user list to be used when creating the approval process. |
11 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
12 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
13 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Source Bus Unit
Prompt Table: SP_BU_FS_NONVW |
14 | 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 |
15 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
16 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
17 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
18 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
19 | INTFC_ID | Number(8,0) | INTEGER NOT NULL | Interface ID |
20 | INTFC_LINE_NUM | Number(8,0) | INTEGER NOT NULL | Interface Line Number |
21 | BUSINESS_UNIT_BI | Character(5) | VARCHAR2(5) NOT NULL |
Billing Business Unit
Prompt Table: SP_BU_BI_NONVW |
22 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
23 | LINE_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Sequence |
24 | BILLING_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Billing Status
A=Available B=In Billing C=Contract I=Invoiced N=Not Avail P=In Process S=Staged |
25 | TOTAL_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Total Quantity |
26 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
27 | EXTENDED_NET_PRICE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Ext Net Amount |
28 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
29 | IN_PROCESS_DATE | Date(10) | DATE | Process Date |
30 | SHIP_DATE | Date(10) | DATE | Item Shipping Date |
31 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
32 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
33 | IN_SDWC_HASH_KEY | Character(60) | VARCHAR2(60) NOT NULL | Hash |
34 | QTY_ORDER | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | 06/21/04 EGS: Created |
35 | QTY_ORDER_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | 06/21/04 EGS: Created |
36 | EOEN_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
EOEN Status
0=Open 1=Closed |
37 | ROWNBR | Number(7,0) | INTEGER NOT NULL | Row number |