Quantcast
Viewing all articles
Browse latest Browse all 10032

How to check if codeunit is running by other user?

Hi All,

I've created a import codeunit that will import Sales Order from external source, it is running by Job Queue, but user has option to run it manually in case they need to.

My question is how to check if the import codeunit is running? (I want to exit the import if other user/job queue is already running).

Thanks

vh8000

Viewing all articles
Browse latest Browse all 10032

Trending Articles