CUST_PRCGP_VW

(SQL View)
Index Back

Cust-Price grp link view


SELECT cln.setid , cln.cust_id , cln.customer_group 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.customer_group = cln.customer_group AND %EffdtCheck(cust_group_tbl,c1,%CurrentDateIn) 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