Login / Register  search  syndication  about

          Jason Buss' Blog

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

Picklist Column types - Dispaying ticket status in the SalesLogix LAN datagrid

I recently had to build a datagrid displaying ticket information, including the current Status value.  Under tickets, the Statuscode field contains the itemid from the picklist table rather than the actual text value as is stored for the Account, Contact or Opportunity areas.  If you've only dealt with picklists in those other areas, it could cause some confusion when trying to determine just how to display the Ticket status text value in a datagird, however using the picklist column type makes this very easy.

When initially building the grid, you'll want to add the Ticket.Statuscode column within the Layout tab of the query builder for the grid, just as you would any other field.  Once that is done, open the Columns collection properties for the grid.

 

 If you right-click the Status column, one of the options will be "Change Column Type...".  Select this and chance the type from "Standard" to "Picklist".  Once this is done, right-click the status column again, but this type select "Properties...".

 

As you can see, this interface contains a number of properties.  In the case of displaying ticket status values, there are two that you have to worry about.  First, set the "Picklist" property to contain the appropriate picklist (in this case, Ticket Status).  In addition, you'll need to check the "Store Items IDs" checkbox.

That's all there is to it.  Your grid will now translate the itemid value do display the actual text value stored in the picklist table.

In my next blog post, I'll go over what this means in the Web client.

Thanks for reading!  

 Jason

What's This?
  
Bookmark and Share

About Jason Buss

   Jason is a senior application developer with Customer FX.



Related Content
   Preserving Custom Roles, Secured Actions, and Assignments in Infor CRM (formerly Saleslogix) Upgrades
When upgrading between levels of Infor CRM one of the tasks that is commonly needed is to run a batch/exe
Posted on Dec 16, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Easily Showing and Hiding Tabs at Runtime in Infor CRM (Saleslogix)
Showing and hiding tabs in the Infor CRM (Saleslogix) client should be an easy thing. It should be someth
Posted on Dec 16, 2014 by Ryan Farley to Ryan Farley's Blog
 
   Telnet Sample to Send an SMTP email
I am always forgetting how to test sending an email through an SMTP gateway using the Telnet client. 
Posted on Dec 12, 2014 by Kris Halsrud to Kris Halsrud's Blog
 
   Problem setting SLXTextbox enabled property / Setting unexposed base control properties for a custom control
I recently had an issue with a Quickform where I was attempting to set the Enabled property of a TextBox
Posted on Dec 05, 2014 by Jason Buss to Jason Buss' Blog
 
   Checking Infor CRM (Saleslogix) Picklists for valid data
This week I received a question about a particular picklist. One of the picklist items, when chosen, wou
Posted on Dec 05, 2014 by Dale Richter to Infor CRM Questions & Answers
 
Comments

 

Column Types | More More Pics said:

Pingback from  Column Types | More More Pics

February 19, 2011 3:02 AM

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