CUST_GROUP_EVW

(SQL View)
Index Back

Customer Group Tbl Effdt View

This table stores the various customer groups a customer has been assigned. Customer groups are used as a means of grouping customers for pricing, reporting, analysis and more. Customers may belong to more than one group in any group type (pricing, reporting, analysis). Date Init. Issue # Description 03/14/01 JJM SP2 (DI-EDWONG-14) Created view for CRM

SELECT SETID , CUST_GRP_TYPE , CUSTOMER_GROUP , EFFDT , EFF_STATUS , DESCR , DESCRSHORT , EOEP_ARB_ID , GLOBAL_FLAG , ADJUST_BAPRC_FLG FROM PS_CUST_GROUP_TBL A WHERE %EffdtCheck(cust_group_tbl, A, %currentdatein)

  • Related Language Record: CUST_GROUP_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 CUST_GRP_TYPE Character(4) VARCHAR2(4) NOT NULL Customer Group Type
    ACCT=Accounting
    ALOC=Allocation Group
    BO=Backorder/Reservations
    CDT=Canceled Debt Reporting
    CLMB=Claimback Contract
    COLL=Collection
    DD=Direct Debit
    DRFT=Draft
    FCST=Forecasting
    FRT=Freight
    PBIL=Pay/Bill Management
    PRC=Pricing
    PRUL=Pricing Arbitration Plan
    RPT=Reporting
    SCON=Buying Agreement
    SSRC=Alternate Sources Of Supply
    TAX=Tax
    TRPT=Transportation
    3 CUSTOMER_GROUP Character(10) VARCHAR2(10) NOT NULL Customer Group
    4 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    8 EOEP_ARB_ID Character(10) VARCHAR2(10) NOT NULL Arbitration Plan
    9 GLOBAL_FLAG Character(1) VARCHAR2(1) NOT NULL Global

    Y/N Table Edit

    Default Value: N

    10 ADJUST_BAPRC_FLG Character(1) VARCHAR2(1) NOT NULL Buying Agreement Price Flag
    N=No
    Y=Yes