Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Run Page Action in Job Queue

$
0
0
Hi as per my knowledge this is the only way you can run the page actions from job queue. In your codeunit, in OnRun trigger property give the table no as "Job Queue Entry" then try to write a Case statement which will call the function code which is present in your action button. Ex.: CASE UPPERCASE("Parameter String") OF 'ANYNAME' : BEGIN YourFunction(); END; END; Use the value which you have given, in this ex. 'ANYNAME' in "Parameter String" field of "Job Queue Entries" page. Start the job queue for your timings so that it runs your code without your involvement in clicking action button. Hope this helps you.

Viewing all articles
Browse latest Browse all 11285

Trending Articles