Login / Register  search  syndication  about

          Jason Buss' Blog

Jason Buss on SalesLogix development & customization, SQL, and more.

Populating fields from a lookup result set in the SalesLogix web client

Recently, I needed to create an account tab in the web client which would show a number of values from a stand-alone entity in SalesLogix.  Using child relationships, SalesLogix web makes this easy to do.

In this example, I'm creating a simple Product tab at the account level. This tab contains a Product Lookup to select a product for the account, and then also shows a number of product fields on the view. These product fields are read only, and I wanted them to update based on what was selected in the Lookup.

Using relationships in the web client makes this easy. First of all, I created added a ProductID field in the account table, and added that as a property to the account entity. Once I had that property, I created a new child relationship to the Product entity under account.

 

Now that we have this relationship, I created a new QuickForm to hold the product information.  On the quick form, I added a Lookup as well as a couple other fields.

 

On the lookup control, I set the bindings property to the Products relationship I created.  In addition, I needed to set the Lookup Binding Mode property to "Object" and the Lookup Entity Name property to "Product".

 

For the other fields, the bind property just needs to be set to MainEntity.Products.FieldName, as well as setting the ReadOnly properties to "True".

That's it!  On this view, when you use the product Lookup and select a product, the appropriate values will be displayed in the other fields on the form.

What's This?
  
Bookmark and Share

About Jason Buss

   Jason is a senior application developer with Customer FX.



Related Content
   Infor CRM (formerly Saleslogix) Web- Dependency Lookup OnChange Event Not Working Correctly
In the Saleslogix 8.1 web client the dependency lookup still has a problem with the OnChange event. 
Posted on Nov 26, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Confirming Actions With an "Are you sure?" Prompt in Infor CRM (Saleslogix)
I'm not a huge fan of bugging end users. I figure, if an end user clicked something, he or she meant
Posted on Nov 18, 2014 by Ryan Farley to Ryan Farley's Blog
 
   Manipulating the DependencyLookup Control in the Infor CRM Web Client (Formerly Saleslogix)
 The Dependency Lookup control in the Saleslogix web client is what is used for the hierarchical Are
Posted on Nov 14, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Infor CRM (formerly Saleslogix) Statement of Direction
Learn more about the future of Infor CRM. Recently I received my login information for the Infor Partn
Posted on Nov 13, 2014 by Brianna Ojard to The Inbox
 
   Adding a report link to the Common Tasks pane in Infor CRM (formerly Saleslogix)
When you are viewing an Entity Detail page, the Common Tasks pane on the right of the page provides a nu
Posted on Nov 12, 2014 by Jason Buss to Jason Buss' Blog
 
Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2014 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register