SPB_REG_SHIP_VW(SQL View) |
Index Back |
---|---|
Regioncode view |
SELECT DISTINCT A.SETID , A.REGION_CD , A.DESCR FROM PS_REGION_CD A , PS_SPB_REGIONLOCAT B WHERE A.SETID =B.SETID AND A.REGION_CD=B.REGION_CD AND A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_REGION_CD A_ED WHERE A.SETID = A_ED.SETID AND A.REGION_CD_TYPE = A_ED.REGION_CD_TYPE AND A.REGION_CD = A_ED.REGION_CD AND A_ED.EFFDT <= %CurrentDateIn) AND A.REGION_CD_TYPE = 'SPRS' AND A.EFF_STATUS = 'A' |
# | 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 Prompt Table: SP_SETID_NONVW |
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.
Prompt Table:
SPB_REGIONCD_VW
|
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |