AR_CUSTGP2_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT SETID , CUSTOMER_GROUP , EFFDT , EFF_STATUS , DESCR , DESCRSHORT FROM PS_CUST_GROUP_TBL WHERE EFF_STATUS = 'A' AND EFFDT <= ( SELECT MAX(EFFDT) FROM PS_CUST_GROUP_TBL G WHERE G.EFF_STATUS = 'A' AND G.SETID = SETID AND G.CUSTOMER_GROUP = CUSTOMER_GROUP AND EFFDT <= %CurrentDateIn) |
# | 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 |
2 | CUSTOMER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Customer Group |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |