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: TableRelation, Enum/Option, Lookup and AssistEdit – What’s the difference on the page (UI)

Hi, Readers.Today I would like to briefly talk about a very basic topic, what is the difference between TableRelation, Enum/Option, Looku...

3 hours ago

Dynamics 365 Business Central: Why are custom actions not displayed? (Can’t view custom action/button)

Hi, Readers.Today I would like to briefly talk about a qustion I saw in the Dynamics 365 Community last week, why are custom actions...

1 day ago

Business Central 2024 wave 2 (BC25): The command for generating permission sets is now compatible with namespaces

Hi, Readers.Dynamics 365 Business Central 2024 wave 2 (BC25) is generally available. More details: General availability: Dynamics 365 Bus...

2 days ago

Dynamics 365 Business Central: Run code in an action without using the OnAction trigger (RunObject, RunPageLink, RunPageMode, RunPageView, and RunPageOnRec)

Hi, Readers.Today I would like to share a mini tip for adding custom actions in Business Central, how to run code in an action without using t...

3 days ago

Business Central 2024 wave 2 (BC25): Suggest item substitutions with Copilot

Hi, Readers.Dynamics 365 Business Central 2024 wave 2 (BC25) is generally available. More details: General availability: Dynamics 365 Bus...

7 days ago

Business Central 2024 wave 2 (BC25): Defining a positive list of elements in page customizations (Hide all actions/layout elements/views on the page)

Hi, Readers.Dynamics 365 Business Central 2024 wave 2 (BC25) is generally available. More details: General availability: Dynamics 365 Bus...

8 days ago

Dynamics 365 Business Central: How to save a report as encoded text (Base64 String) via AL

Hi, Readers.Today I would like to briefly talk about a qustion I saw in the Dynamics 365 Community last month, how to save a report ...

9 days ago

Business Central 2024 wave 2 (BC25): Experience enhancements to analysis assist with Copilot

Hi, Readers.Dynamics 365 Business Central 2024 wave 2 (BC25) is generally available. More details: General availability: Dynamics 365 Bus...

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