Introduction This script will used to find the customer contact points. SELECT DECODE(cont_point.contact_point_purpose,’DUNNING’,cont_point.ORIG_SYSTEM_REFERENCE||’-DUN’,’COLLECTIONS’,cont_point. ORIG_SYSTEM_REFERENCE||’-COLL’,’BUSINESS’,cont_point.ORIG_SYSTEM_REFERENCE||’-BUSS’,cont_point.ORIG_SYSTEM_REFERENCE) Cnct_Point_Orig_Sys_Ref, hpsub.ORIG_SYSTEM_REFERENCE Party_Orig_Sys_Ref, hpobj.ORIG_SYSTEM_REFERENCE Party_Site_Orig_Sys_Ref, cont_point.Primary_flag, ‘I’ Insert_Update_Indicator, cont_point.contact_point_type, cont_point.contact_point_purpose, DECODE(cont_point.email_address,’x’,NULL,cont_point.email_address)email_address, cont_point.email_format, cont_point.phone_area_code, cont_point.phone_country_code, cont_point.phone_extension, cont_point.phone_line_type,…
Read More