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!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Account Owner
Dhany
Posts: 30
 
Account OwnerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 06 1:48 AM

viagra prodej plzen

viagra cena blog.dastagarri.com
fiogf49gjkf0d
Dear All

How do I assign the Account Owner / Account Manager to conform to this following rule ?
- Any Account Manager can do anything to the account he/she has.
- Any Direct Manager of the Account Manager can do anything to the account that his/her subordinates has
- Any other person besides the two, have readonly access to the account.

I can't seem to achive this correctly using the Account Owner/Account Manager stuff.
Or this is simply impossible to achieve ?
TIA

Dhany
[Reply][Quote]
Ron Buchanan
Posts: 72
 
Re: Account OwnerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 May 06 3:46 PM

1mg melatonin and pregnancy

melatonin tablets and pregnancy website
fiogf49gjkf0d
Here's how I dealt with it with this similar dilema. I made users that have rights to change the accountmanager as part of the Admin department.

In the AXFormChange subroutine:
...
'Changed lueAcctMgr.readonly to TRUE
'Is the user a member of the Admin Department?
sUserID = objBasic.CurrentUserID
if IsMember(sUserID,"Admin","D") Then
'Enable the Account Manager field
lueAcctMgr.readonly = False
else
lueAcctMgr.readonly = True
end if 'HCDI
....
Function IsMember(ByVal sUser, ByVal sGroup, ByVal sGroupType) 'HCDI
'Routine to check if user is a member of a Department or Group borrowed from R. Stalhon
Dim objRS

If sGroupType = "T" Then sGroupType = "G"
Set objRS = CreateObject("ADODB.Recordset")
With objRS
Set .ActiveConnection = Application.GetNewConnection
.Open "select accessid from secrights where seccodeid = " & _
"(select seccodeid from seccode where (seccodedesc = '" & sGroup & "') " & _
"and (seccodetype = '" & sGroupType & "')) and (accessid = '" & sUser & "')"

If Not (.EOF Or .BOF) Then
IsMember = (.Fields(0).Value & "" = sUser)
Else
IsMember = False
End If
.Close
End With
Set objRS = Nothing
End Function

[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: Account OwnerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 May 06 8:35 AM

otc asthma inhalers containing epinephrine

over the counter asthma inhalers
fiogf49gjkf0d
Hi Dhany,

If your environment allows the folowing SHOULD hold true...

Person A with Manager M:

Person A is assigned to Manager M inside of the Admin tool. This will give M inherent rights to all of A's records. (A record is placed in SECRights table for all heirarchical managers when assigned)

Person B

Assign Read Only Profile to B for all of A's records. This could be by creating Team A and Team B or forced.

Carla



[Reply][Quote]
Dhany
Posts: 30
 
Re: Account OwnerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 May 06 8:30 PM
fiogf49gjkf0d
Ron,

If I'm reading correctly from your code, your approcah only disbales the Account Manager changes behaviour, while what I want to achieve is to disable all update operation based on Account Manager and Manager relationship.
But I'm thinking about using the IsMember function for a different scenario.
Thanks for the tip!
Regards,

Dhany
[Reply][Quote]
Dhany
Posts: 30
 
Re: Account OwnerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 May 06 8:33 PM
fiogf49gjkf0d
Carla,

Yups. that's what I'm affraid of. In my situation, hat would mean I have to create Group as many as the Account Managers, which I think would be an administration nightmare. But I don't see any other option.
Tks for the insight.
Regards,

Dhany
[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 8:00:09 PM