RE_EFF_REGION(SQL View) |
Index Back |
---|---|
Region CodesView of Regions by Effective Date and SetID. |
SELECT DISTINCT A.SETID , A.REGION_CD , A.DESCR FROM PS_RE_REGION A WHERE A.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_RE_REGION B_ED WHERE A.SETID = B_ED.SETID AND A.REGION_CD = B_ED.REGION_CD AND B_ED.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID |
2 | REGION_CD | Character(10) | VARCHAR2(10) NOT NULL | Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to. |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |