web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How do I filter a batch posted sales invoice email using Job Queue Entries?

(0) ShareShare
ReportReport
Posted on by 183

I am attempting to create a job queue entry scheduled to run every day.

For Parameter String, I use this following code to filter out Posted Sales Invoices for a specific Customer No.(C31661) that has the Date Sent to Today.

Document Type=Posted Sales Invoice AND Customer No.=C31661 AND Date Sent=Today

When I attempted to run a test of this job queue entry in the foreground, I receive the error message:

pastedimage1678246867324v2.png

Here is my current configuration of the Job Queue Entry.

pastedimage1678246528174v1.png

Is there a different parameter string format that I need to enter to achieve the effect that I am looking for?

Your help is much appreciated.

I have the same question (0)
  • Bilal Haider Profile Picture
    459 on at

    Hi,

    I do not think it can be directly applied to report. You can create a codeunit and get the parameters inside and filter.

    Step by step guide is here

    www.sauravdhyani.com/.../how-to-use-job-queue-parameter-string.html

  • DAnny3211 Profile Picture
    11,421 Super User 2026 Season 1 on at

    HI

    watch this

    www.sauravdhyani.com/.../how-to-use-job-queue-parameter-string.html

    refers to NAv but the logic is the same for BC

    DAniele

  • Suggested answer
    Joseph.Candava Profile Picture
    183 on at

    Thanks for your input.
    With this, I am able to remove the job queue entry since the parameters was not the correct field to use.


    I was able to create a new job queue entry while being able to filter out the correct document, using the "Create Recurring Sales Invoice" task page, then schedule it, then set it to send out email invoices to the specific customer number in mind daily.
    pastedimage1678321689957v1.png

    At this point, consider my question answered.

  • Charlie W Profile Picture
    10 on at

    I am trying to accomplish similar task. How do you set it up to send out email invoices to the specific customer number daily.

  • IB-29041624-0 Profile Picture
    1,177 Moderator on at
    [quote user="Charlie W"]

    I am trying to accomplish similar task. How do you set it up to send out email invoices to the specific customer number daily.

    [/quote]

    There is no standard functionality to do that.

    But if you use the Post and Send function in Business Central the invoice will be sendt directly after it is posted.

    If you want a daily routine you will need to  either customize some code or try to use Power Automate to achieve want you want to do.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,957 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 956 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 645 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans