ORD_PRCCUSGP_VW

(SQL View)
Index Back

Ord-Cust-Price grp link view


select cln.setid, cln.cust_id, cln.customer_group, c1.effdt, c1.eff_status from ps_set_cntrl_rec sc, ps_cust_group_tbl c1, PS_CUST_CGRP_LNK cln where sc.setcntrlvalue = cln.setid and sc.recname = 'CUSTGP_PRC_VW' and c1.setid = sc.setid and c1.eff_status = 'A' and c1.customer_group = cln.customer_group and c1.cust_grp_type = 'PRC' and cln.cust_grp_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 CUSTOMER_GROUP Character(10) VARCHAR2(10) NOT NULL Customer Group
4 EFFDT Date(10) DATE Effective Date
5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive