Results 1 to 7 of 7

Thread: removed Note not flaged 'deleted=1'

  1. #1
    othmanelmoulat is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    22

    Default removed Note not flaged 'deleted=1'

    Hi all,
    I use a java program to archive a Openoffice document into a Contact sugar item.the file is correctly archived to contact.
    i then login to my sugar local web application from web browser.then browse to archived OO document.
    i click 'rem' button to remove this archived file (archived using external java program)'. the file is removed from sugar contact notes ..but when i checked the sugarcrm database i found the 'deleted' field in notes table is not set to deleted=1for filename='my file'.
    is this a bug ? or is it supposed to work like this? i guess when i use 'rem' button from sugar web application then the deleted field in notes table should be set to 1 .but yet it stays 0 in my case.
    i'm using latest sugarcrm community release.
    thanks for any help regarding this issue.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: removed Note not flaged 'deleted=1'

    Does the note/attachment show up under Activities > Notes?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    othmanelmoulat is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    22

    Default Re: removed Note not flaged 'deleted=1'

    Quote Originally Posted by Angel View Post
    Does the note/attachment show up under Activities > Notes?
    No , I checked the 'Activities' module and found no note in the name of my file.
    actually i archived the file into a contact 'Mona' . when i clicked on Contact named 'mona' , i see the file attachment under 'History' (see attached jpeg image) . it is not on Activities .when i click the button 'rem' on right of History->'my note' then it got removed from contact ->history .but in db table notes the field 'deleted' is still set to 0.
    Attached Images Attached Images  

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: removed Note not flaged 'deleted=1'

    Hi

    Rem button will remove the relationship between the contact and notes and it will not delete the note.
    In notes table, parent_type & parent_id fields for that note will be set empty once Rem link is clicked.
    If you want to delete the note, click on the note and you can delete it from note's detail view.

  5. #5
    othmanelmoulat is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    22

    Default Re: removed Note not flaged 'deleted=1'

    Quote Originally Posted by crmsiva View Post
    Hi

    Rem button will remove the relationship between the contact and notes and it will not delete the note.
    In notes table, parent_type & parent_id fields for that note will be set empty once Rem link is clicked.
    If you want to delete the note, click on the note and you can delete it from note's detail view.
    Hmmm ,exactly that's what i did to get the field deleted set to 1.
    But when the rem button removes the relationship between the contact and notes,where is the note gone? how can one find this note again under this Contact item?
    thanks indeed for clarifying this issue.

  6. #6
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: removed Note not flaged 'deleted=1'

    In Activities tab, you can find link to notes in Shortcut menu. Click that link. Now you can find the notes module.
    Edit the particular note and set values for "Related To" field.

  7. #7
    othmanelmoulat is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    22

    Default Re: removed Note not flaged 'deleted=1'

    Quote Originally Posted by crmsiva View Post
    In Activities tab, you can find link to notes in Shortcut menu. Click that link. Now you can find the notes module.
    Edit the particular note and set values for "Related To" field.
    thank you very much. this solves my problem. It was my mistake . i was not doing the note deletion in the right way.
    thank you again.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Created and removed FAQ. FAQ still appears
    By bmcaulay in forum Help
    Replies: 1
    Last Post: 2009-02-18, 10:07 PM
  2. ProjectTask Fields Removed in 5.0
    By rgauss in forum Developer Help
    Replies: 5
    Last Post: 2008-03-14, 12:43 PM
  3. Deleted Note doesn't delete uploaded file
    By kirkland in forum General Discussion
    Replies: 3
    Last Post: 2005-05-31, 05:25 PM

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
  •