Results 1 to 9 of 9

Thread: How to delete employees and users?

  1. #1
    shamel is offline Junior Member
    Join Date
    Jan 2006
    Posts
    1

    Default How to delete employees and users?

    I can't figure for the life of me how to delete an employee that was created by accident. It doesnt refer to anything. Its not a user. Was never used anywhere.

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: How to delete employees and users?

    There isn;t any, if it's not fixed in 4.0.1, I will write a quick module patch to do it.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Default Re: How to delete employees and users?

    is there any explenation why there is no such thing? Seems to be one of the very abvious things to have.

  4. #4
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Default Re: How to delete employees and users?

    You'd better to ask such questions to Sugar developers/managers

  5. #5
    janislanka is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Lithuania
    Posts
    32

    Default Re: How to delete employees and users?

    do developers ever visit this section to see what problems are out there?

  6. #6
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: How to delete employees and users?

    There are about 600 threads out there about "Why can't I delete users/employees". I am not sure why you can't still, but I am sure that one way or another you will be after 4.0.1.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  7. #7
    joey is offline Sugar Team Member
    Join Date
    May 2005
    Location
    Austin, TX
    Posts
    17

    Default Re: How to delete employees and users?

    One reason why it might be bad to programatically delete a user is because the user may have associated records assigned to him or her. It's much more safe--in terms of deleting users--to set his or her status to 'Inactive' on the Edit pane for the particular user. He or she will no longer show up in the drop down for assigned users so you could be effectively getting what you want by just using the Inactive status.

    Does this help you out?

    Thanks,
    Joey P.
    SugarCRM

  8. #8
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: How to delete employees and users?

    Quote Originally Posted by joey
    One reason why it might be bad to programatically delete a user is because the user may have associated records assigned to him or her. It's much more safe--in terms of deleting users--to set his or her status to 'Inactive' on the Edit pane for the particular user. He or she will no longer show up in the drop down for assigned users so you could be effectively getting what you want by just using the Inactive status.

    Does this help you out?

    Thanks,
    Joey P.
    SugarCRM
    This is true, and already mulled over a hundred times. There is a deleted field in the table. If I made a user/employee by mistake or want them gone for some other reason I can't see a problem with setting deleted=1. Inactive isn't gone enough sometimes.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  9. #9
    kimvette is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Default Re: How to delete employees and users?

    Quote Originally Posted by joey
    One reason why it might be bad to programatically delete a user is because the user may have associated records assigned to him or her.
    The intelligent thing to do in that case is to allow deleting of users/employees upon which no other data is associated, but merely "tombstone" the ones on which other records do depend.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •