Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 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 COM
Forum to discuss using the SalesLogix COM interfaces from external applications, such as SlxApplication, ClientObjix, etc. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix COM | New ThreadView:  Search:  
 Author  Thread: BasicFunctions.AddContactAndAccount() method is giving Exception
veeranjan
Posts: 19
 
BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Dec 06 9:44 AM
fiogf49gjkf0d
When i tried with the BasicFunctions.AddContactAndAccount() function i am getting some saleslogix exception what is the currect procedure to use this function

thanx
veera
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Dec 06 11:11 AM
fiogf49gjkf0d
Are you getting an error? What is the error? What does the code look like that you are using?
[Reply][Quote]
veeranjan
Posts: 19
 
Re: BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 06 12:38 AM
fiogf49gjkf0d
thanx for quick reply ..
i have tried with fallowing code

SalesLogix.SlxApplicationClass app=new SalesLogix.SlxApplicationClass();
string result = app.BasicFunctions.AddContactAndAccount();

whenever i exicuted above code i will get fallowing Exception:
Exception EAccessviolation:
AccessViolation at address 004E0B01 in module saleslogix.exe'. Read of address 00000198

Exception Location
[004EB01]{salesLogiX.exe}


the above is the exact exception i got what is the error in my code i need to make any changes in my code

and my other question is is it possible to add a new contact for perticular saleslogix client by using C#


tahnx
Veeranjan
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 06 9:28 AM
fiogf49gjkf0d
First of all, the AddContactAndAccount function is deprecated in SalesLogix versions 6.2 and later. I don't believe you get an error when attempting to use it, but I haven't tried for quite some time so maybe it does. That very well could be the cause of the error.

Second, if you want to create a new contact then you can just write directly to the table using a SLX OLEDB Connection. You'll need to write to the CONTACT and ADDRESS tables at a minimum (assuming you already have an account record to link it to, otherwise you'd need to create teh account as well, writing to the ACCOUNT, ADDRESS, and ACCOUNTSUMMARY tables)
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Jan 07 2:53 AM
fiogf49gjkf0d
[QUOTE]Originally posted by Ryan Farley

First of all, the AddContactAndAccount function is deprecated in SalesLogix versions 6.2 and later. I don't believe you get an error when attempting to use it, but I haven't tried for quite some time so maybe it does. That very well could be the cause of the error.
.....QUOTE]

100% correct.. it has been depreciated - It says so in the LAN dev ref... DOn't use it.. it does not work and will not be "fixed" since "depreciated means Not supported any more..

Quote: This function is deprecated in SalesLogix version 6.2 and later.

--
rjl
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jan 07 5:55 AM
fiogf49gjkf0d
Actually, I think you'll find depreciated means lowering in value Interestingly, "deprecated" indicates disapproval of. The proper word should actually be ceased or similar.
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: BasicFunctions.AddContactAndAccount() method is giving ExceptionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jan 07 11:48 AM
fiogf49gjkf0d
Quote:
Originally posted by Mike Spragg

Actually, I think you'll find depreciated means lowering in value Interestingly, "deprecated" indicates disapproval of. The proper word should actually be ceased or similar.


It's unfortunately that the word "depreciated" is used.. because it's not entirely fully descriptive of what is really happening.
Sometimes:
A - It is really depreciated....
B - It really no longer works the same
C - It no longer works..
I'd rather see a true statement than a politically correct one
--
rjl
[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/25/2024 8:04:52 AM