TRAN_IN_CONF_VW(SQL View) |
Index Back |
---|---|
Inventory Transaction Table08/10/01 dmw R-CMORSE-DQ7K6 / R-MSUBBA-3F5MV Performance Enhancement - add index D |
SELECT DPI.BUSINESS_UNIT , DPI.INV_ITEM_ID , SHP.PICK_CONFIRM_DTTM , 9999 , DPI.SOURCE_BUS_UNIT , DPI.ORDER_NO , DPI.ORDER_INT_LINE_NO , DPI.SCHED_LINE_NBR , DPI.DEMAND_LINE_NO , DPI.STAGED_DATE , DPI.INV_LOT_ID , DPI.SERIAL_ID , DPI.STORAGE_AREA , DPI.STOR_LEVEL_1 , DPI.STOR_LEVEL_2 , DPI.STOR_LEVEL_3 , DPI.STOR_LEVEL_4 , DPI.CONTAINER_ID , 0 , '03X' , %DatePart(SHP.PICK_CONFIRM_DTTM) , DPI.QTY_BASE , DPI.QTY_PICKED , MST.UNIT_MEASURE_STD , DPI.UNIT_MEASURE_PICK , SHP.REASON_CD , DPI.NON_OWN_FLAG , SHP.ORIG_OPRID , SHP.RTV_ID , SHP.RTV_LN_NBR , SHP.RTV_DISTRIB_NUM , SHP.INTERUNIT_ID , SHP.INTERUNIT_LINE , SHP.DESTIN_BU , SHP.TRANSFER_COST , SHP.DISTRIB_TYPE , DPI.DEMAND_SOURCE , SHP.SHIP_ID , SHP.IST_RETURN_FLG_IUT , SHP.IST_TXN_FLG , SHP.DESTIN_GL_BU , TRANSFER_CALC_TYPE FROM PS_DEMAND_PHYS_INV DPI , PS_IN_DEMAND SHP , PS_MASTER_ITEM_TBL MST WHERE DPI.BUSINESS_UNIT = SHP.BUSINESS_UNIT AND DPI.DEMAND_SOURCE = SHP.DEMAND_SOURCE AND DPI.SOURCE_BUS_UNIT = SHP.SOURCE_BUS_UNIT AND DPI.ORDER_NO = SHP.ORDER_NO AND DPI.ORDER_INT_LINE_NO = SHP.ORDER_INT_LINE_NO AND DPI.SCHED_LINE_NBR = SHP.SCHED_LINE_NBR AND DPI.INV_ITEM_ID = SHP.INV_ITEM_ID AND DPI.DEMAND_LINE_NO = SHP.DEMAND_LINE_NO AND SHP.IN_FULFILL_STATE BETWEEN '50' AND '60' AND MST.INV_ITEM_ID = DPI.INV_ITEM_ID AND MST.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = SHP.BUSINESS_UNIT AND RECNAME = 'MASTER_ITEM_TBL') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW |
3 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
4 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
5 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
6 | 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 |
7 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
8 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
9 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
10 | STAGED_DATE | Date(10) | DATE | Staged Date |
11 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
12 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
13 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
14 | STOR_LEVEL_1 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 1 |
15 | STOR_LEVEL_2 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 2 |
16 | STOR_LEVEL_3 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 3 |
17 | STOR_LEVEL_4 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 4 |
18 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container ID |
19 | RECV_LN_NBR | Number(5,0) | INTEGER NOT NULL | Receipt Line |
20 | TRANSACTION_GROUP | Character(3) | VARCHAR2(3) NOT NULL | 11/7/02 LLR - Added the new (600's) transactions groups for 8.8. |
21 | TRANSACTION_DATE | Date(10) | DATE | Transaction Date |
22 | QTY_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
23 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
24 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |
25 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
26 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Reason Code |
27 | NON_OWN_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
07/30/1998 WHS CN#ENH8.0: Created Translate Values 'Y'es and 'N'o
N=No Y=Yes Y/N Table Edit Default Value: N |
28 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
29 | RTV_ID | Character(10) | VARCHAR2(10) NOT NULL | Return To Vendor ID |
30 | RTV_LN_NBR | Number(5,0) | INTEGER NOT NULL | Return To Vendor Line |
31 | RTV_DISTRIB_NUM | Number(5,0) | INTEGER NOT NULL | RTV Distribution Number |
32 | INTERUNIT_ID | Character(10) | VARCHAR2(10) NOT NULL | InterUnit Order ID |
33 | INTERUNIT_LINE | Number(5,0) | INTEGER NOT NULL | InterUnit Order Line |
34 | DESTIN_BU | Character(5) | VARCHAR2(5) NOT NULL | Destination Unit |
35 | TRANSFER_COST | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Transfer Price |
36 | DISTRIB_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Distrib. Type |
37 | TRANSACTION_SOURCE | Character(2) | VARCHAR2(2) NOT NULL | Transaction Source |
38 | SHIP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shipping ID |
39 | IST_RETURN_FLG_IUT | Character(1) | VARCHAR2(1) NOT NULL |
Intrastat InterUnit Returns
Y/N Table Edit Default Value: N |
40 | IST_TXN_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Intrastat Transaction Flag
N=No Y=Yes Default Value: N |
41 | DESTIN_GL_BU | Character(5) | VARCHAR2(5) NOT NULL | Destination GL Business Unit |
42 | TRANSFER_CALC_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Holds information regarding when the transfer price is calculated.
0=Calculate Cost at Depletions 1=Transfer at Zero Cost Default Value: 0 |