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 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...

1 day 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...

2 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...

3 days ago

Dynamics 365 Business Central Blog Series: Customize the Role Center

Articles in this series: How to customize the Role Center in AL How to customize the Role Center in AL OnAction trigger on Role Center pages (...

3 days ago

Dynamics 365 Business Central: How to show Experience Tier (Essential or Premium) on the Companies (list page)

Hi, Readers.Today I would like to share another mini tip about Business Central, how to show Experience Tier (Essential or Premium) on the Com...

4 days ago

Dynamics 365 Business Central: How to determine whether the current environment is Sandbox or Production

Hi, Readers.Today I would like to briefly share a question that I was asked recently, how to determine whether the current environment is Sand...

5 days ago

Business Central 2025 wave 2 (BC27.1): Demo analytics with new enhanced demo data

Hi, Readers.Dynamics 365 Business Central 2025 wave 2 (BC27.1) is generally available. More details: Cumulative Update Summary for Micros...

8 days ago

Business Central 2025 wave 2 (BC27.1): Use the Account Payable Role Center

Hi, Readers.Dynamics 365 Business Central 2025 wave 2 (BC27.1) is generally available. More details: Cumulative Update Summary for Micros...

9 days ago

Business Central 2025 wave 2 (BC27.1): Print the Audit Trail report (report 330 “Audit Trail”)

Hi, Readers.Dynamics 365 Business Central 2025 wave 2 (BC27.1) is generally available. More details: Cumulative Update Summary for Micros...

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