LAST_FLPLTR_VW

(SQL View)
Index Back

Last Follow Up Letter


SELECT A.SETID , A.BUSINESS_UNIT , A.CUST_ID , A.CONVER_DTTM_INIT , A.REVIEW_OPRID , A.REVIEW_NEXT_DT , A.CONVER_DT , A.FOLLOW_UP_DT FROM %Table(CUST_CONVER_HDR) A WHERE A.CONVER_DTTM_INIT = ( SELECT MAX(Z.CONVER_DTTM_INIT) FROM %Table(CUST_CONVER_HDR) Z WHERE A.SETID = Z.SETID AND A.BUSINESS_UNIT = Z.BUSINESS_UNIT AND A.CUST_ID = Z.CUST_ID)

# 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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_AR_SET_NONVW

3 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_SRCH_VW

4 CONVER_DTTM_INIT DateTime(26) TIMESTAMP Initial Conversation DateTime
5 REVIEW_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
6 REVIEW_NEXT_DT Date(10) DATE Next Review Date
7 CONVER_DT Date(10) DATE Conversation Date
8 FOLLOW_UP_DT Date(10) DATE Date of Follow-up Letter