CUST_DATA_CP_VW(SQL View) |
Index Back |
|---|---|
Cust Info By Crspdnce Cust |
| SELECT C.CRSPD_SETID , C.CRSPD_CUST_ID , A.BUSINESS_UNIT , A.CUST_ID , C.SETID , A.BAL_AMT , A.HI_BAL_AMT , A.HI_BAL_DT , A.ITEM , A.ITEM_AMT , A.ITEM_DT , A.DEPOSIT_BU , A.DEPOSIT_ID , A.PAYMENT_SEQ_NUM , A.PAYMENT_DT , A.POST_DT , A.POSTED_PI , A.AGED_DT , A.AGED_PI , A.PAYMENT_ID , A.PAYMENT_AMT , A.ENTRY_CURRENCY , A.PAYMENT_CURRENCY , A.CURRENCY_CD , A.AGED_AMT_CR_CHK , A.PROCESS_INSTANCE , A.ITEM_LINE FROM PS_CUSTOMER C , PS_CUST_DATA A WHERE C.CUST_ID = A.CUST_ID AND C.CUST_STATUS IN ('A','I') AND C.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'CUSTOMER') |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
| 2 | Character(15) | VARCHAR2(15) NOT NULL | Correspondence Customer | |
| 3 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT |
|
| 4 | 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: CUSTOMER |
|
| 5 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
| 6 | BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Item Balance |
| 7 | HI_BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Hi Balance |
| 8 | HI_BAL_DT | Date(10) | DATE | Hi Balance Date |
| 9 | ITEM | Character(30) | VARCHAR2(30) NOT NULL | Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number. |
| 10 | ITEM_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
| 11 | ITEM_DT | Date(10) | DATE | Item Date |
| 12 | DEPOSIT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the business unit to which a deposit is posted. |
| 13 | DEPOSIT_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated. |
| 14 | PAYMENT_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Specifies the system-generated sequence number assigned to each payment as it is entered in a deposit. |
| 15 | PAYMENT_DT | Date(10) | DATE | Payment Date |
| 16 | POST_DT | Date(10) | DATE | The Date a transaction was Posted. |
| 17 | POSTED_PI | Number(10,0) | DECIMAL(10) NOT NULL | Last Post Process Instance |
| 18 | AGED_DT | Date(10) | DATE | Aged Date |
| 19 | AGED_PI | Number(10,0) | DECIMAL(10) NOT NULL | Last Aging Process Instance |
| 20 | PAYMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Identifies a customer payment. This is usually a check number but may be some other identifying number. |
| 21 | PAYMENT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of a customer payment. |
| 22 | ENTRY_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Specifies the currency associated with the monetary amount of a pending item. |
| 23 | PAYMENT_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Identifies the currency of a customer payment. This is generally the same as the currency specified for the deposit but it can be different. |
| 24 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
| 25 | AGED_AMT_CR_CHK | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount Credit Checked |
| 26 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
| 27 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |