AUC_CUST_CNTN_S

(SQL View)
Index Back

SELECT setid , name1 , CUST_ID FROM PS_CUST_CONTACT a WHERE effdt = ( SELECT MAX(effdt) FROM PS_CUST_CONTACT WHERE setid = a.setid AND name1 = a.name1 AND cust_id = a.cust_id AND effdt <= %CurrentDateIn)

# 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 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
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: CUSTOMER