What's new in Customer Journeys?

Connect and learn more! ×
Inserting Sales Products upon creating Leads — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Inserting Sales Products upon creating Leads

Received Response
edited Aug 6, 2020 11:17AM in Sales 2 comments


We want to create Sales Product upon creation of Sales Lead.


We want to create a Sales Product upon creation of Leads. Since we cannot add a product group in the Sales Lead creation page, I created a field and I used it in my script. But it doesn't work. Below is the code: def sLeadProductMulti = LeadProductMulti_c if(sLeadProductMulti != null){ def SalesLeadProductObject = MklProdAssoc1; def criteriaRow = SalesLeadProductObject.createRow() criteriaRow.setAttribute('ProductName', sLeadProductMulti) SalesLeadProductObject.insertRow(criteriaRow) }

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!