ORD_SRCCUSGP_VW

(SQL View)
Index Back

Ord alt-src cust grp link view

Alternate Source Customer Group 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_NGSRC_VW' AND c1.setid = sc.setid AND c1.eff_status = 'A' AND c1.cust_grp_type = cln.cust_grp_type AND c1.customer_group = cln.customer_group AND c1.cust_grp_type = 'SSRC'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
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