Permalink
Browse files

Merge pull request #138 from garyhgohoos/22951

Issue #22951:change update of contact_number
  • Loading branch information...
2 parents 29a47a2 + 190ded9 commit e51d6f4dc780f9e3cb427a1381bb02175088f009 Greg Pazo committed Mar 5, 2014
Showing with 1 addition and 27 deletions.
  1. +1 −27 dbscripts/api/views/prospect.sql
@@ -102,33 +102,7 @@ UPDATE prospect SET
prospect_number=UPPER(NEW.prospect_number),
prospect_name=NEW.prospect_name,
prospect_active=NEW.active,
- prospect_cntct_id=saveCntct(
- getCntctId(NEW.contact_number),
- NEW.contact_number,
- saveAddr(
- getAddrId(NEW.contact_address_number),
- NEW.contact_address_number,
- NEW.contact_address1,
- NEW.contact_address2,
- NEW.contact_address3,
- NEW.contact_city,
- NEW.contact_state,
- NEW.contact_postalcode,
- NEW.contact_country,
- NEW.contact_address_change),
- NEW.contact_honorific,
- NEW.contact_first,
- NEW.contact_middle,
- NEW.contact_last,
- NEW.contact_suffix,
- NEW.contact_voice,
- NEW.contact_alternate,
- NEW.contact_fax,
- NEW.contact_email,
- NEW.contact_web,
- NEW.contact_job_title,
- NEW.contact_change
- ),
+ prospect_cntct_id=getCntctId(NEW.contact_number),
prospect_taxzone_id=getTaxZoneId(NEW.default_tax_zone),
prospect_salesrep_id=getSalesRepId(NEW.sales_rep),
prospect_warehous_id=getWarehousId(NEW.site_code,'ACTIVE'),

0 comments on commit e51d6f4

Please sign in to comment.