CUSTMAST_360_VW(SQL View) |
Index Back |
---|---|
All Customers |
SELECT DISTINCT C.SETID , C.CUST_ID , C.CUST_ID %Concat '-' %Concat C.NAME1 ,C.CURRENCY_CD ,C.CUR_RT_TYPE ,B.COUNTRY ,B.STATE ,B.CITY FROM PS_CUSTOMER C , PS_CUST_ADDRESS B ,PS_CUST_OPTION D WHERE C.setid = B.setid AND C.cust_id = B.cust_id AND %EffdtCheck(cust_address, B, %currentdatein) AND C.CUST_STATUS IN ('A' ,'I') AND C.SETID = D.SETID AND C.CUST_ID = D.CUST_ID AND ( %EffdtCheck(cust_option,D,%currentdatein) AND D.EFF_STATUS = 'A') |
# | 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_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.
Prompt Table: CUST_ALL_VW |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | CUR_RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Currency Rate Type |
6 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
7 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_TBL |
8 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |