AR_CUSTCR_VW

(SQL View)
Index Back

SELECT A.SETID , A.CUST_ID , ' ' , A.CR_LIMIT , A.CURRENCY_CD , A.CR_LIMIT_DT , 1 , A.CURRENCY_CD , A.CURRENCY_CD , A.CR_LIMIT , A.CR_LIMIT , A.CURRENCY_CD FROM PS_CUST_CREDIT A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_CUST_CREDIT WHERE SETID = A.SETID AND CUST_ID = A.CUST_ID AND EFFDT <= %CurrentDateIn) AND 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 AR_AMTDESC_TITLE Character(30) VARCHAR2(30) NOT NULL Amount Description
4 AR_AMOUNT_TITLE Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
5 AR_CURRENCY_TITLE Character(3) VARCHAR2(3) NOT NULL Currency
6 AR_ASOFDATE_TITLE Date(10) DATE As of Date
7 SEQUENCE_NBR Number(2,0) SMALLINT NOT NULL Sequence Number
8 MAX_CUR_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 MIN_CUR_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 TRAN_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a transaction amount in bank reconciliation processing.
11 CONV_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
12 AR_CURR_DISP Character(25) VARCHAR2(25) NOT NULL Currency Code