NAS- Creating a Job for Low Level Code calc

fredp1
fredp1 Member Posts: 86
Hi,

I'm trying to create a entry in Job Queue to calculate the Low Level Code but an error in the Log entries has "The codeunit was called with a Job Queue Entry record. It has no parameters."

I've never created a Job queue before....
I have a NAS snapin service running for the correct db/company with a valid user.
The Job Queue is Active.
I can see a Process running and I even saw for a split second the LowLevelCode calc codeunit running.
I've copied an existing codeunit and modified it so it has no output or prompts by suppressing all output and it works interactively. i.e. You just run the codeunit and it will finish in a couple of minutes.

Can someone point me in the right direction.

I'm running Nav 5sp1 on SQL 2005.

Thanks!

Comments

  • jlandeen
    jlandeen Member Posts: 524
    The Job Queue Dispatcher and Job Startup codeunit call the LowLevelCode Calc codeunit that you created....but they also pass it a Job Queue Entry record. This may be what's causing your problem. Have you checked that the Codeunit you built has a TableNo of "Job Queue Entry".
    Jeff Landeen - Sr. Consultant
    Epimatic Corp.

    http://www.epimatic.com