Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
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!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: SLX_DBIDS from Another Stored Procedure
Ramky
Posts: 8
 
SLX_DBIDS from Another Stored ProcedureYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 10:22 AM
Can i able to call SLX_DBIDS from within my stored procedure? or Is there any other way i can generate SLX ID from my stored procedure?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLX_DBIDS from Another Stored ProcedureYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 10:31 AM
SLX_DBIDS is not a real stored procedure. It is hard coded into the provider like all of the SalesLogix (built-in) "stored procedures"

Although all of these built-in "functions" are called like an SP, stored procedure is really a bad name for them.

The only way you can "call" them is via a SalesLogix Provider connection.

There's a bunch of postings in these forums about how to use SLX_DBIDS..

--
RJLedger - rjlSystems
[Reply][Quote]
Ramky
Posts: 8
 
Re: SLX_DBIDS from Another Stored ProcedureYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 10:44 AM
Thanks Bob. I am writing a stored procedure and I want to insert records into salesorder and salesorderitems table. Does any one know how to generate ID from stored procedure?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: SLX_DBIDS from Another Stored ProcedureYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 10:46 AM
Why are you doing SP's?.. data created by SP's will NOT sync... never..

Script it..

--
RJLedger - rjlSystems
[Reply][Quote]
Ramky
Posts: 8
 
Re: SLX_DBIDS from Another Stored ProcedureYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 11:06 AM
There are no remotes.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: SLX_DBIDS from Another Stored ProcedureYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 3:35 PM
The correct way of generating IDs is through using the SLX_DBIDs routine via a connection to the database using the SLX OLEDB Provider. Use DTS/SSIS to do this and it's not that hard. Anything else is a hack.
[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 9:53:46 PM