DP_ROLEINTDMDVW(SQL View) |
Index Back |
---|---|
Demand Data InterfaceThis is an intermediate table used for bringing demand (actual and adjusted) in from an external (nonPS) source. |
SELECT DISTINCT(C.OPRID) ,A.DP_SEQNUMBER ,A.DP_IMPORTSPEC ,A.DP_CONFIGVIEW ,A.DP_CONFIGLEVEL ,A.DP_FORECASTITEM ,A.DP_PERIOD ,A.DP_YEAR ,A.DP_DEMANDDATE ,A.DP_DEMANDVALUE_STR ,A.DP_STG_DMDVAL ,A.DP_ACTLDEMAND_STR ,A.DP_STG_ACTLDMD ,A.DP_ADJDEMAND_STR ,A.DP_STG_ADJDMD ,A.DP_DEMANDUOM ,A.DP_ITEMCODE ,A.DP_LOCATION ,A.DP_UD01 ,A.DP_UD02 ,A.DP_UD03 ,A.DP_UD04 ,A.DP_UD05 ,A.DP_UD06 ,A.DP_UD07 ,A.DP_UD08 ,A.DP_UD09 ,A.DP_UD10 ,A.DP_UD11 ,A.DP_UD12 ,A.DP_UD13 ,A.DP_UD14 ,A.DP_UD15 ,A.DP_UD16 ,A.DP_UD17 ,A.DP_UD18 ,A.DP_UD19 ,A.DP_UD20 ,A.DP_UD21 ,A.DP_UD22 ,A.DP_UD23 ,A.DP_UD24 ,A.DP_UD25 ,A.DP_UD26 ,A.DP_UD27 ,A.DP_UD28 ,A.DP_UD29 ,A.DP_UD30 ,A.DP_UD31 ,A.DP_UD32 ,A.DP_UD33 ,A.DP_UD34 ,A.DP_UD35 ,A.DP_UD36 ,A.DP_UD37 ,A.DP_UD38 ,A.DP_UD39 ,A.DP_UD40 ,A.DP_UD41 ,A.DP_UD42 ,A.DP_UD43 ,A.DP_UD44 ,A.DP_UD45 ,A.DP_UD46 ,A.DP_UD47 ,A.DP_UD48 ,A.DP_UD49 ,A.DP_UD50 ,A.DP_TRANSDATE ,A.DP_TRANSFERREDBY ,A.DP_ERRORMESSAGE ,A.DP_DDH_REUPDATE ,A.DP_UPDATESTATUS ,A.DP_DELETEDATA ,A.DP_ROUNDDECIMALS ,A.DP_CONVFACTOR ,A.DP_TOTALDEMANDPDS ,A.DP_UPD_DMD ,A.DP_UPD_ACTL ,A.DP_UPD_ADJ FROM PS_DP_INT_DMDDATA A , PS_DP_ROLEFCITM B , PSOPRDEFN C , PSROLEUSER D WHERE D.ROLEUSER = C.OPRID AND B.ROLENAME = D.ROLENAME AND A.DP_CONFIGVIEW = B.DP_CONFIGVIEW AND A.DP_CONFIGLEVEL = B.DP_CONFIGLEVEL AND A.DP_FORECASTITEM = B.DP_FORECASTITEM |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | DP_SEQNUMBER | Number(10,0) | DECIMAL(10) NOT NULL | MT - increased size to 10 digits to be consistent with DP_SEQNUMBER_PREV field. |
3 | DP_IMPORTSPEC | Character(20) | VARCHAR2(20) NOT NULL | Specification used for running imports |
4 | DP_CONFIGVIEW | Character(20) | VARCHAR2(20) NOT NULL | DP_CONFIGVIEW |
5 | DP_CONFIGLEVEL | Number(2,0) | SMALLINT NOT NULL | DP_CONFIGLEVEL |
6 | DP_FORECASTITEM | Character(120) | VARCHAR2(120) NOT NULL | DP_FORECASTITEM |
7 | DP_PERIOD | Number(3,0) | SMALLINT NOT NULL |
DP_PERIOD
Default Value: 0 |
8 | DP_YEAR | Number(4,0) | SMALLINT NOT NULL |
DP_YEAR
Default Value: 0 |
9 | DP_DEMANDDATE | Date(10) | DATE | DP_DEMANDDATE |
10 | DP_DEMANDVALUE_STR | Character(15) | VARCHAR2(15) NOT NULL | DP_DEMANDVALUE_STR |
11 | DP_STG_DMDVAL | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | DP_STG_DMDVAL |
12 | DP_ACTLDEMAND_STR | Character(16) | VARCHAR2(16) NOT NULL | DP_ACTLDEMAND_STR |
13 | DP_STG_ACTLDMD | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | DP_STG_ACTLDMD |
14 | DP_ADJDEMAND_STR | Character(15) | VARCHAR2(15) NOT NULL | DP_ADJDEMAND_STR |
15 | DP_STG_ADJDMD | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | DP_STG_ADJDMD |
16 | DP_DEMANDUOM | Character(3) | VARCHAR2(3) NOT NULL |
DP_DEMANDUOM
Prompt Table: UNITS_TBL |
17 | DP_ITEMCODE | Character(18) | VARCHAR2(18) NOT NULL | DP_ITEMCODE |
18 | DP_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | DP_LOCATION |
19 | DP_UD01 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD01 |
20 | DP_UD02 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD02 |
21 | DP_UD03 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD03 |
22 | DP_UD04 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD04 |
23 | DP_UD05 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD05 |
24 | DP_UD06 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD06 |
25 | DP_UD07 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD07 |
26 | DP_UD08 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD08 |
27 | DP_UD09 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD09 |
28 | DP_UD10 | Character(30) | VARCHAR2(30) NOT NULL | DP_UD10 |
29 | DP_UD11 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD11 |
30 | DP_UD12 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD12 |
31 | DP_UD13 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD13 |
32 | DP_UD14 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD14 |
33 | DP_UD15 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD15 |
34 | DP_UD16 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD16 |
35 | DP_UD17 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD17 |
36 | DP_UD18 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD18 |
37 | DP_UD19 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD19 |
38 | DP_UD20 | Character(20) | VARCHAR2(20) NOT NULL | DP_UD20 |
39 | DP_UD21 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD21 |
40 | DP_UD22 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD22 |
41 | DP_UD23 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD23 |
42 | DP_UD24 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD24 |
43 | DP_UD25 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD25 |
44 | DP_UD26 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD26 |
45 | DP_UD27 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD27 |
46 | DP_UD28 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD28 |
47 | DP_UD29 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD29 |
48 | DP_UD30 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD30 |
49 | DP_UD31 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD31 |
50 | DP_UD32 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD32 |
51 | DP_UD33 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD33 |
52 | DP_UD34 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD34 |
53 | DP_UD35 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD35 |
54 | DP_UD36 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD36 |
55 | DP_UD37 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD37 |
56 | DP_UD38 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD38 |
57 | DP_UD39 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD39 |
58 | DP_UD40 | Character(10) | VARCHAR2(10) NOT NULL | DP_UD40 |
59 | DP_UD41 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD41 |
60 | DP_UD42 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD42 |
61 | DP_UD43 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD43 |
62 | DP_UD44 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD44 |
63 | DP_UD45 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD45 |
64 | DP_UD46 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD46 |
65 | DP_UD47 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD47 |
66 | DP_UD48 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD48 |
67 | DP_UD49 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD49 |
68 | DP_UD50 | Number(21,4) | DECIMAL(20,4) NOT NULL | DP_UD50 |
69 | DP_TRANSDATE | Date(10) | DATE | DP_TRANSDATE |
70 | DP_TRANSFERREDBY | Character(20) | VARCHAR2(20) NOT NULL | DP_TRANSFERREDBY |
71 | DP_ERRORMESSAGE | Character(254) | VARCHAR2(254) NOT NULL | DP_ERRORMESSAGE |
72 | DP_DDH_REUPDATE | Character(1) | VARCHAR2(1) NOT NULL |
Indicate that demand rows are to be run through updater again.
Y/N Table Edit Default Value: Y |
73 | DP_UPDATESTATUS | Signed Number(2,0) | DECIMAL(1) NOT NULL | 0 = Not processed 1 = Processed 2 = Partially Processed -1 = Errored |
74 | DP_DELETEDATA | Character(1) | VARCHAR2(1) NOT NULL |
DP_DELETEDATA
Y/N Table Edit Default Value: N |
75 | DP_ROUNDDECIMALS | Signed Number(3,0) | DECIMAL(2) NOT NULL | DP_ROUNDDECIMALS |
76 | DP_CONVFACTOR | Number(17,6) | DECIMAL(16,6) NOT NULL | DP_CONVFACTOR |
77 | DP_TOTALDEMANDPDS | Number(3,0) | SMALLINT NOT NULL | DP_TOTALDEMANDPDS |
78 | DP_UPD_DMD | Number(3,0) | SMALLINT NOT NULL | DP_UPD_DMD |
79 | DP_UPD_ACTL | Number(3,0) | SMALLINT NOT NULL | DP_UPD_ACTL |
80 | DP_UPD_ADJ | Number(3,0) | SMALLINT NOT NULL | DP_UPD_ADJ |