The Job Queue granule (3,810) in version 5.0 and later can be used to automate tasks by starting Nav Application Server with the parameter JOBQUEUE. Everyting that Job Queue starts is started with a record in the table Job Queue Entry. However, there are built in batches, like report 795, Adjust Cost – Item Entries, that Job Queue can start with some help. Here is a Report that I use to start built in batches from Job Queue.
Here is a zip file with the code needed.