RMA_MSRSHPVWLNG(SQL View) |
Index Back |
---|---|
RMA MSR Ship Hist Vw RLRDate Initials Issue # Description 052504 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND |
SELECT SH.BUSINESS_UNIT , SH.DEMAND_SOURCE , SH.SOURCE_BUS_UNIT , SH.LOCATION , SH.ORDER_NO , SH.ORDER_INT_LINE_NO , SH.SCHED_LINE_NBR , SH.INV_ITEM_ID , SH.DEMAND_LINE_NO , M.LANGUAGE_CD , M.DESCR FROM PS_IN_DEMAND SH , PS_ISSUE_HDR_INV H , PS_SET_CNTRL_REC SC , PS_MASTER_ITM_LANG M WHERE %Join(COMMON_KEYS, IN_DEMAND SH, ISSUE_HDR_INV H) AND SH.IN_FULFILL_STATE IN ('60', '70') AND H.REQUEST_TYPE = 'I' AND SC.SETCNTRLVALUE = SH.BUSINESS_UNIT AND SC.RECNAME = 'MASTER_ITEM_TBL' AND M.SETID = SC.SETID AND M.INV_ITEM_ID = SH.INV_ITEM_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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 |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
5 | 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 |
6 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
7 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
8 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
9 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
10 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |