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

Business Central 2025 wave 1 (BC26): Added SetAutoCalcFields Method on the RecordRef data type

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

4 hours ago

Business Central 2025 wave 1 (BC26): Use Edit in Excel on output, consumption, and item journals (Include item tracking details)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

10 hours ago

Business Central 2025 wave 1 (BC26): Overloaded JsonObject data type GetValue method (New methods access properties and array elements for JSON)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

1 day ago

Business Central 2025 wave 1 (BC26): Manage document attachments in manufacturing

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

1 day ago

Business Central 2025 wave 1 (BC26): Search, navigate and use app symbols as context for GitHub Copilot (Searchable downloaded symbols and using them as context in Copilot Chat)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

2 days ago

Business Central 2025 wave 1 (BC26): New Command in VS Code to start a new project from a template (AL: New Project)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

2 days ago

Business Central 2025 wave 1 (BC26): Autofill fields with Copilot (New capability of Copilot)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

5 days ago

Business Central 2025 wave 1 (BC26): Use new properties on a report layout (ObsoleteState and ExcelLayoutMultipleDataSheets)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

5 days ago

Business Central 2025 wave 1 (BC26): Validate report layouts for errors as an admin (Check report layout without running)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

7 days ago

Business Central 2025 wave 1 (BC26): Use new IncStr parameter to change integers by more than 1 in string variables (New IncStr method overload)

Hi, Readers.The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link. I will contin...

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