SSF_CRDHST_VW2E

(SQL View)
Index Back

Credit History View


SELECT DISTINCT A.BUSINESS_UNIT , A.EMPLID , A.AGING_SET FROM PS_CREDIT_HISTORY A WHERE A.EMPLID > ' ' AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_CREDIT_HISTORY D WHERE D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.EMPLID = A.EMPLID AND D.AGING_SET = A.AGING_SET AND D.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 AGING_SET Character(5) VARCHAR2(5) NOT NULL Aging Set