ORD_PRCREGN_VW

(SQL View)
Index Back

Ord cust-region link view


select rt.setid, rt.cust_id, rt.region_cd, r.effdt, r.eff_status from ps_set_cntrl_rec sc, PS_REGION_CD r, ps_cust_regn_type rt where sc.setcntrlvalue = rt.setid and sc.recname = 'REGNCD_PRC_VW' and r.setid = sc.setid and r.eff_status = 'A' and r.region_cd = rt.region_cd and r.region_cd_type = 'PRC' and rt.region_cd_type = 'PRC'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

2 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
3 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.
4 EFFDT Date(10) DATE Effective Date
5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive