tell application id "DNtp"
set theDatabase to current database
set theRecords to (selected records)
set theGroup to create location "/z PROJECTS DONE"
-- set theGroup to parent named "z PROJECTS DONE" of theDatabase
repeat with theRecord in theRecords
move record theRecord to theGroup
display notification "Moved <" & name of theRecord & "> to 'z PROJECTS DONE'" with title "Moved group to DONE"