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 :
Microsoft Dynamics AX (Archived)

Dynamic posting date in "Production orders - end"

(0) ShareShare
ReportReport
Posted on by 55

Hi all,

I want to set up the job "Production oders - end" as batch which runs each day. The job should end the orders which have been finished five days ago. This can be done by using e. g. date range in the query.

The problem which I have is that the orders should be postet with the date five days ago too. This field is a field in the table where the selection is shown. I'm not able to use a range or anything like this.

Is there a possibility to do this?

Thanks a lot,

Markus

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hello Markus

    try technet.microsoft.com/.../aa569937.aspx

    last row I think will be solution for you.

    Best regards

    Tomasz S.

  • MarkusR Profile Picture
    55 on at

    Hello Tomasz,

    thank you but that's just for the query not for the parameters.

    BR Markus

  • Suggested answer
    Fredrik Sætre Profile Picture
    12,644 on at

    You use (dayrange(-99,-5)) in the finish date field.

    That finds order with a range negative 99 to 5 days relative to todays date.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans