Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value

(4) ShareShare
ReportReport
Posted on by 18
I am trying to setup a reoccurring job queue entry to process item journal batch post, Codeunit 243 and trying to determine what VALUE to put into the parameter string field to post a specific batch with the name, IKTRANS.  Screen shot attached.
 
 
  • CU09061445-0 Profile Picture
    18 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    Hi ZHU,
    How do I find/download the codeunit 23 in BC to modify it?  We are on-premise user.  Can I use notepad to modify?
  • Suggested answer
    YUN ZHU Profile Picture
    84,278 Super User 2025 Season 1 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    Hi, Sorry I haven't confirmed it in detail, you can try the following codeunit, and then add some filtering in the OnBeforeOnRun event.
     
    Hope this can give you some hints.
    Thanks
    ZHU
  • CU09061445-0 Profile Picture
    18 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    ZHU,
    How do I get the custom codeunit into BC24?
  • YUN ZHU Profile Picture
    84,278 Super User 2025 Season 1 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    Hi, The variable you passed is not in the OnRun trigger. As far as I know, this cannot be passed using parameter string.
    Here is a simple example:
     
    You can customize it a bit, or tailor a report to batch post, which is the behavior in the standard.
     
    Hope this helps.
    Thanks.
    ZHU
  • CU09061445-0 Profile Picture
    18 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    Hi Mansi,
    Thank you so much for your response.  I tried to do as instructed and ran into an error.  Here are the screenshots, what did I not do correctly?
  • Suggested answer
    Sohail Ahmed Profile Picture
    3,285 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    Maybe this will give you a hint to resolve your issue
     
     
    Mark this answer as verified if it helps you.
  • Suggested answer
    Mansi Soni Profile Picture
    3,391 on at
    Dynamics 365 Business Central V24 On-Premise - Job Queue Entry Parameter String Value
    Hello,

    To schedule the posting of a specific Item Journal batch (e.g., IKTRANS) using Job Queue with Codeunit 243 (Item Jnl.-B.Post), you need to use a parameter string that tells the system exactly which journal template and batch to process. In the Parameter String field, enter: JournalTemplateName=ITEM; JournalBatchName=IKTRANS. Here, ITEM refers to the standard Item Journal Template, and IKTRANS is your specific batch name. This setup ensures that when the job queue runs, it processes only the IKTRANS batch. Make sure the batch exists under the ITEM template and the job queue user has the necessary posting permissions. Once configured, set the job status to “Ready” so it can execute as scheduled.

    Hope this answer will help you!

    Regards,
    Mansi Soni

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans