Login / Register  search  syndication

          Kris Halsrud's Blog

Kris Halsrud on development and Integration with CRM and Development

Creating new custom entities in the SalesLogix web entity model - A warning

I recently ran into a problem where after adding a new custom entity to a system I was unable to do a build in the application architect.  I was suddenly getting errors like:

C:\Documents and Settings\user\Application Data\Sage\Platform\Output\implementation\Account.cs(159,23):The type name 'Int32' does not exist in the type 'Sage.SalesLogix.Entities.System'

C:\Documents and Settings\user\Application Data\Sage\Platform\Output\implementation\Account.cs(159,23):The type name 'String' does not exist in the type 'Sage.SalesLogix.Entities.System'

 

It took me a second to figure out why I was suddenly unable to build.

Then it occurred to me.

I had created a new entity named "System".

Well in doing this, I inadvertently caused a conflict where they system was confused by the standard System class and my new Entity called System.

So a word to the wise.  Carefully consider the name of your entities.  Don't create them using the same name as Classes that will be used by the system (and by system I mean SalesLogix, not System :) ).

What's This?
Bookmark and Share

About Kris Halsrud

   Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.


Related Content
   Using SQL triggers to enforce data rules in SalesLogix.
In a recent project, I used triggers to enforce some data rules in the Ticket area of SalesLogix. We did
Posted on Feb 05, 2010 by Jason Buss to Jason Buss' Blog
 
   SalesLogix 7.5.2 Hot Fix 1 – the Dependency Lookup is still broken
SalesLogix released hotfix 1 for SalesLogix 7.5.2.  One of the published resolutions of the hot fix
Posted on Jan 27, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   System Dates
One of my customers had an issue this week with setting the date on their system. They were trying to ru
Posted on Jan 15, 2010 by Dale Richter to Tech Talk
 
   Message box dialogs in the SalesLogix web client
In the web client, there's not an easy way to present the user with a multiple choice dialog. One q
Posted on Jan 14, 2010 by Jason Buss to Jason Buss' Blog
 
   Clearing user default settings in the SalesLogix web client
Each user of the SalesLogix web client can define various user based  settings while they are using
Posted on Jan 13, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
Comments

 

Kris Halsrud said:

In a recent post I wrote about being careful about what names you give your Entities to prevent them

November 11, 2009 7:53 AM

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2010 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