Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Monday, November 25, 2024
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)
11/25/2024 5:22:43 PM
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!
Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix .NET Extensions
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Creating Unique IDs
Raj
Posts: 1
Creating Unique IDs
Posted: 21 Jul 10 12:13 PM
Hi,
I am new to Saleslogix. We are using Saleslogix 7.2. I want to create .NET DLL to create unique Ids for the table. I saw some samples and they are using SLXDB_ID. Is it must to use this procedure to generate unique ids? If yes, How to add that procedure into .NET Class. If not, what is the best way to generate?
Thanks
[
Reply
][
Quote
]
Raul A. Chavez
Posts: 1300
Re: Creating Unique IDs
Posted: 21 Jul 10 3:37 PM
Check the Articles under OLEDB Provider (left bar).
One of the best will be this one:
http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=87
[
Reply
][
Quote
]
RJ Samp
Posts: 973
Re: Creating Unique IDs
Posted: 03 Aug 10 8:35 AM
If this is on the LAN side...table name Abbreviation & cSTR(Timer) kinds of stuff always has worked for me....you need a 12 character unique string for the TABLE......
the POSTALCODE table: "USZIP0" + "5 digit postal code" + 0,1,2,3....for multiple towns\city per zip. it's a free ID with no overhead of hitting SYS Key Gen table....
I'll give you all a hint.....on a one to many table the ParentID is ALWAYS unique for the first record related to any parent......
Parent Table ACCOUNT keyfield: ACCOUNTID= 'A1'
Child Table AARDVARK table keyfield: AARDVARKID = 'A1', ACCOUNTID (the parent) = 'A1'
works every time.....it's a free ID with no overhead of hitting SYS Key Gen table....
[
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 © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/25/2024 6:11:27 PM