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!
|
|
CreateAdHocGroup Return Value
Posted: 21 Oct 08 11:20 AM
|
I am using the Application.BasicFunctions.CreateAdHocGroup function in SLX version 7.2.1. The documentation (LAN Developers Reference v7.2) says it returns a boolean, but I am not getting anything back from the function (not true or false). If this function doesn't return True when it works and False when it doesn't, how can I catch errors from this function and handle them?
It does create the group without any problems, it's just the return value I am confused about. |
|
|
|
Re: CreateAdHocGroup Return Value
Posted: 22 Oct 08 8:08 AM
|
Actually.. it returns False on a successful execution. Not sure what happens on a failure.
We built an tool for creating group(s) directly from SQL for one of our customers that uses this function. I typically ignore the return result. |
|
|
|
Re: CreateAdHocGroup Return Value
Posted: 22 Oct 08 10:21 AM
|
Thanks for the reply.
It doesn't seem good to me to just assume that it worked, but I guess I have no choice here aside from checking the PLUGIN and ADHOCGROUP tables to verify the group was created.
One more question...Is it common for this to happen in SalesLogix (things not working as expected or documented) or is it usually correct and this is an exception? I am pretty new to SLX Development (about 1 month in) and this is the first issue like this I have run into. Should I expect more like this? |
|
|
|
Re: CreateAdHocGroup Return Value
Posted: 22 Oct 08 11:06 AM
|
Welcome to the community.
Yep.. like any software you may see things like this again.. and more.
However, don't expect to see things fixed quickly.. or at all in some cases...
I've been involved w/this (SalesLogix) for 10+ years 
-- RJLedger - www.SlxWizard.com |
|
|
|