Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Friday, July 4, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
7/4/2025 4:29:49 AM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (
For version 7.2 and higher only
). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Web Platform & Application Architect
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: The type or namespace 'Data' does not exist in the namespace 'System' from Business Rule
Steve Knowles
Posts: 657
The type or namespace 'Data' does not exist in the namespace 'System' from Business Rule
Posted: 31 Aug 09 7:58 AM
I have a standalone table with that holds some default values - one row only. I have a custom entity that I want to populate with these values on a button click. I am trying to create a business rule that returns the default values from the standalone table then populates the values at the the entity level. My first thought is to run SQL to get the default values. I have run SQL in custom smartparts in the past. Using the code below in a business rule I keep getting the error: The type or namespace 'Data' does not exist in the namespace 'System'
System.Data.OleDb.OleDbConnection oConn = (System.Data.OleDb.OleDbConnection)data.GetConnection();
oConn.Open();
I tried adding System.Data to the usings and get the same error.. How can I run sql in the business rule? Is there a better way to return the values from this standalone table to a business rule on my custom entity? Thanks
[
Reply
][
Quote
]
Jim Wright
Posts: 12
Re: The type or namespace 'Data' does not exist in the namespace 'System' from Business Rule
Posted: 12 Oct 09 2:15 PM
Steve,
I don't know if you received an answer to this already, but I just ran across the same issue. I had to edit this file:
C:\Documents and Settings\All Users\Application Data\Sage\Platform\Configuration\Global\codesnippets.xml
and add the location of the system.data.dll to the defaultreferences section:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
-jim
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 7/4/2025 5:19:30 AM