If you do try to build something yourself, I'd rec...
# suitescript
e
If you do try to build something yourself, I'd recommend first looking into 2.0's Map/Reduce script, as opposed to a Scheduled Script