|
| |
| |
|
Re: BasicFunctions.AddContactAndAccount() method is giving Exception
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 |
|
|
|
Re: BasicFunctions.AddContactAndAccount() method is giving Exception
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) |
|
|
|
Re: BasicFunctions.AddContactAndAccount() method is giving Exception
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
|
|
|
| |
| |
|