Results 1 to 4 of 4

Thread: Add assigned user account field

  1. #1
    pasgou13 is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    21

    Red face Add assigned user account field

    Hello,

    i'm trying to add the user assigned to an account in the case view, but after lot of try i can t do it. Somebody can help a noob

    Thankx

    Pasgou

  2. #2
    leenwebb is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    New Hampshire
    Posts
    77

    Default Re: Add assigned user account field

    Hi Pasgou,
    In my Sugar (4.5.0e), "Assigned To" is already one of the fields in both EditView and DetailView of Cases by default. If you accidentally removed them, you should be able to use Studio to put them back in the layouts.

    Eileen

  3. #3
    pasgou13 is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    21

    Default Re: Add assigned user account field

    Hi Eileen,

    I m not talking about the assigned user of a case, but the assigned user of an account for the case is opened..

    In fine, I want my sales men could see the cases opened on their accounts. So I need to add the assigned user account in this frame.

    Pasgou

  4. #4
    leenwebb is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    New Hampshire
    Posts
    77

    Default Re: Add assigned user account field

    That shouldn't be too hard -- something like:

    In the Case DetailView.php, run a sql query that grabs "assigned user" (probably an ID, so you'll have to get the name attached to it) based on the account ID/name for the case. Then use xtpl to push that information over to DetailView.html (where you'll have to edit the display table to show that newly-pushed information).

    Good luck!
    Eileen

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
  •