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: Uninstall apps from Admin Center

Hi, Readers.Today I would like to share another mini tip about Business Central, how to uninstall apps from Admin Center. When an app is no lo...

16 hours ago

Dynamics 365 Business Central: Black Friday 1K AI Power-Up campaign (Free copilot credits)

Hi, Readers.I would like to share a piece of information today, Business Central Black Friday 1K AI Power-Up campaign.This message was posted ...

1 day ago

Dynamics 365 Business Central: How to quickly check if a field is a primary key field

Hi, Readers.Today I would like to share another mini tip about Business Central, how to quickly check if a field is a primary key field. In AL...

4 days ago

Dynamics 365 Business Central: How to quickly determine if the installed AppSource (Global) app is up-to-date?

Hi, Readers.Today I would like to briefly discuss a question I was asked recently, how to quickly determine if the installed AppSource (Global...

5 days ago

Dynamics 365 Business Central: How to check if a string contains particular strings (if a string is a substring of another)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to check if a string contains particular strings (if...

6 days ago

Dynamics 365 Business Central: Set a PDF password for the report (Password protect the document using a user and admin passwords) – No control add-in and APIs

Hi, Readers.Today I’d like to briefly talk about how to set a PDF password for the report in Business Central (Password protect the docu...

7 days ago

Dynamics 365 Business Central Blog Series: Links and Notes (System Parts)

Articles in this series: How to add Attachments, Links, Notes Factbox to any pages How to add Attachments, Links, Notes Factbox to any pages H...

8 days ago

Dynamics 365 Business Central: How to record extra serial or lot number information (Item Tracking Comments)

Hi, Readers.We discussed Automatically create Lot/Serial No. Information card on posting (No customization) before, today I’d like to sh...

11 days ago

Information sharing: SQL Server 2025 is now GA – Business Central to Support it in 2026 Release Wave 1 (BC28)

Hi, Readers.I would like to share a piece of information today, at Ignite, Microsoft announce the general availability of SQL Server 2025. Thi...

12 days ago

Same Power, New Look: Microsoft Dynamics Business Central Wallpapers

Microsoft Dynamics Business Central has always stood for innovation, reliability, and business empowerment. With the introduction of the new l...

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