Loading...

Working with job queue parameter strings in Business Central

Working with job queue parameter strings in Business Central
Using job queue parameters you can pass some data to your codeunits that you run via Job queue. How it works? Define your codeunit with TableNo = "Job Queue Entry For example: codeunit 50149 MyCodeunit { TableNo = "Job Queue Entry"; trigger OnRun() var SalesOrderNo: Code[20]; begin if Rec."Parameter String" <> '' then UpdateSalesOrderExternalDocNo(Rec."Parameter String"); end; local procedure UpdateSalesOrderExternalDocNo(SalesOrderNo: Code[20]) var SalesHeader: Record "Sales Header"; begin if SalesHeader.get(SalesHeader."Document Type"::Order, SalesOrderNo) then begin SalesHeader.

Published on:

Learn more
Posts on Microsoft Dynamics 365 Business Central Development
Posts on Microsoft Dynamics 365 Business Central Development

Recent content in Posts on Microsoft Dynamics 365 Business Central Development

Share post:

Related posts

Dynamics 365 Business Central: How to check the font of a standard report

Hi, Readers.Today I would like to share another mini tip about Business Central, how to check the font of a standard report. This is a questio...

10 hours ago

Dynamics 365 Business Central: Add a calculator to the sales order page

Hi, Readers.Today I would like to talk about how to add a calculator to the sales order page in Business Central. This is an interesting ...

1 day ago

Dynamics 365 Business Central Blog Series: Inspecting pages (Page inspection)

Articles in this series: Analyzing performance issues using the page inspector Analyzing performance issues using the page inspector How to ch...

2 days ago

Dynamics 365 CE vs Business Central: Which Microsoft ERP & CRM Solution Should You Learn or Implement in 2026?

Introduction Microsoft Dynamics 365 has transformed how organizations manage customer relationships, business operations, and financial proces...

4 days ago

Dynamics 365 Business Central: Searches for duplicate external document numbers in sales documents and posted documents (Standard function/procedure)

Hi, Readers.Today I would like to talk about how to search for duplicate external document numbers in sales documents and posted documents usi...

5 days ago

Dynamics 365 Business Central: Configure text search language for multilingual environments (Text Search Language Optimizer)

Hi, Readers.Today I would like to talk about how to configure text search language for multilingual environments (Text Search Language Optimiz...

6 days ago

Does Dynamics 365 Business Central support browser-based translation (e.g., Microsoft Translator in Edge browser)?

Hi, Readers.Today I would like to discuss a question that was recently asked, does Dynamics 365 Business Central support browser-based tr...

7 days ago

What You Gain in Functionality Moving from Dynamics GP to Business Central

Moving from Dynamics GP to Business Central isn't just a platform switch, it's a meaningful jump in functionality. As organizations grow past ...

7 days ago

Dynamics 365 Business Central: Don’t Forget the Layout! Essential Steps for Publishing Report Extensions

Hi, Readers.Today, I’d like to share how to manage layout files directly in your source code when publishing Report Extensions. No more manual...

8 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy