Promote Document Version Notes to Document Notes

Promote Document Version Notes to Document Notes




  1. --The following script will promote document version notes
  2. --into document notes.  This is useful when a destination system
  3. --supports notes on documents but does not support notes on
  4. --specific document versions.
  5. --
  6. --If you are using this script, you should inform the client that 
  7. --Their version notes will no longer be attached to the version
  8. --as that is a limitation of the destination system.
  9. UPDATE
  10. __M_Common_Notes
  11. SET
  12. Final_Parent_Type = '__M_Documents_Digital_Files',
  13. Final_Parent_Id = Versions.Final_DocumentFile_Id
  14. FROM
  15. __M_Common_Notes Notes,
  16. __M_Documents_Digital_Files_Versions Versions
  17. WHERE 1=1
  18. AND Notes.Final_Parent_Type = '__M_Documents_Digital_Files_Versions'
  19. AND Notes.Final_Parent_Id = Versions.Id


    • Related Articles

    • Linearize Notes

      Some systems support note comments(notes-on-notes). On systems like this, you might see notes organized as follows: |-Matter ABC.001 +-Note 1 (2021-01-01) +-Note 2 (2021-01-02) +-Note 2A (2021-01-04) +-Note 2B (2021-01-05) +-Note 2C (2021-01-06) ...
    • Split Big Notes

      Some destinations have a max character count for notes. The script below will split notes that exceed that length into multiple notes. The subject of the note will be {original subject} (Part X of Y) and the description will be the first X number of ...
    • Create Notes from Matter Descriptions

      Some platforms do not support matter descriptions. The following will transform a matter description into a matter note. --Transform Matter Descriptions to Matter Notes INSERT INTO __M_Common_Notes (Id, Final_Parent_Id, Final_Parent_Type, ...
    • Notes: Add Creator Information to the Body

      The script below will append the text 'Created By: {firstName lastName}', 'Created on behalf of: {firstName lastName}', and 'Updated by: {firstName lastName}' to the end of the note description in cases where the user's Email address was changed on ...
    • Document Register: Moving digital documents into a Document Register Matter

      /* This script is a template that will help you move library documents (document register / safe custody records) into a general 'Document Register' matter. You should consider this a TEMPLATE that you may want to tweak and adjust for each client's ...