C360_CREDIT_VW(SQL View) |
Index Back |
---|---|
Customer Credit View |
SELECT CRED.SETID , CRED.CUST_ID , CRED.RISK_CODE , CRED.RISK_SCORE , CRED.CREDIT_CLASS , CRED.CR_LIMIT , CRED.CURRENCY_CD FROM PS_CUST_CREDIT CRED WHERE CRED.EFFDT = ( SELECT MAX(I1.EFFDT) FROM PS_CUST_CREDIT I1 WHERE I1.SETID = CRED.SETID AND I1.CUST_ID = CRED.CUST_ID AND I1.EFFDT <= %CurrentDateIn ) AND CRED.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
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. |
3 | RISK_CODE | Character(2) | VARCHAR2(2) NOT NULL |
Risk Code
H=High L=Low M=Medium |
4 | RISK_SCORE | Number(3,0) | SMALLINT NOT NULL | Risk Score used in Receivables Collections Workbench |
5 | CREDIT_CLASS | Character(2) | VARCHAR2(2) NOT NULL |
Credit Class
A=Class A B=Class B C=Class C |
6 | CR_LIMIT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Credit Limit |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |