RO_PK_CUSTGP_VW

(SQL View)
Index Back

Customer Group view

View for determining which Pricing Customer Group the customer belongs.

SELECT x.setid , x.customer_group , x.descr FROM PS_CUST_GROUP_TBL x WHERE cust_grp_type = 'PRC' AND effdt = ( SELECT MAX(y.effdt) FROM PS_CUST_GROUP_TBL y WHERE y.setid = x.setid AND y.customer_group = x.customer_group AND y.CUST_GRP_TYPE = x.CUST_GRP_TYPE AND y.effdt <= %CurrentDateIn)

  • Related Language Record: RO_PK_CSTGP_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

    Prompt Table: SP_SETID_NONVW

    2 CUSTOMER_GROUP Character(10) VARCHAR2(10) NOT NULL Customer Group
    3 EOEP_CHAR Character(254) VARCHAR2(254) NOT NULL Long field