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 monitor User AI Consumption Data within BC (Agent consumption overview)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to monitor User AI Consumption Data within BC (Agent cons...

9 hours ago

Business Central 2026 release wave 1 (BC28): Map new Dataverse fields (New and custom Dataverse tables are readily available for mapping from the lookup on Integration Table column)

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28) is generally available. More details: General Available: Dynamics 365 Busine...

1 day ago

Dynamics 365 Business Central: How to add a “TAB” character to a string via AL

Hi, Readers.Today I would like to share another mini tip about Business Central, how to add a “TAB” character to a string via AL. ...

2 days ago

Dynamics 365 Business Central: How to display a custom Application Version (e.g., from W1 28.0 to YUN ZHU 28.0)

Hi, Readers.Today I would like to talk about an interesting topic, how to display a custom Application Version (e.g., from W1 28.0 to YUN ZHU ...

5 days ago

Dynamics 365 Business Central: How to set Company Badge (System Indicator) via AL Code – Automatically set Company Badge

Hi, Readers.Today I would like to talk about how to set Company Badge (System Indicator) via AL Code – Automatically set Company Badge. ...

6 days ago

Business Central 2026 release wave 1 (BC28): Storing Document Attachments outside the database (No customization) – See benefits of external storage support for document attachments

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28) is generally available. More details: General Available: Dynamics 365 Busine...

7 days ago

Dynamics 365 Business Central: How to easily prevent users from adding or modifying Links and Notes (Making Links and Notes Read-Only)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to easily prevent users from adding or modifying Links an...

8 days ago

Dynamics 365 Business Central: How to add Marketing Text Factbox to Item List page

Hi, Readers.Today I would like to talk about how to add Marketing Text Factbox to Item List page. For any item registered in Business Central,...

9 days ago

Major update of Dynamics 365 Business Central 2026 release wave 1 (BC28) is available for existing customers

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28) is generally available. More details: General Available: Dynamics 365 Business Ce...

12 days ago

Business Central 2026 release wave 1 (BC28): Run AL tests from Visual Studio Code (Test codeunits and test methods)

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28) is generally available. More details: General Available: Dynamics 365 Busine...

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