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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Recalculate Inventory - Recurrence

(8) ShareShare
ReportReport
Posted on by 308
Hello Community,
 
I want to set up a recurring inventory recalculate process to happen every Saturday, but the system requires a date to recalculate inventory up to as shown below.  If I set this up as the first Saturday coming up, will it continue to only do up to 3/1 if I set up a recurring schedule?  If so, is it best to just set it to the end of the year so that every time it happens it will always be fresh on that date it runs on?
 
Categories:
I have the same question (2)
  • Verified answer
    Hylke Britstra Profile Picture
    93 on at
    You can use the field Period Code with a Date Interval for today. An example is described here: https://community.dynamics.com/forums/thread/details/?threadid=f74479d1-ad18-4d5a-bec6-892c7fd3bb99
     
    Kind regards,
     
    Hylke
  • Jsabanovski Profile Picture
    308 on at
    Hi Hylke,
     
    So just simply making a new date interval with today's date will always update the date when the batch runs the recurrence inventory recalculation (e.g., if I schedule it weekly, it will now use that date for that week when it needs to run)? 
     
    Jet
  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    Hi Jsabanovski,
     
    Your understanding is correct. The period code is evaluated at run time of the batch job whereas the field Revaluate inventory up to will be stored within the batch parameters.
    I had a similar requirement where I needed to configure a period for yesterday. That is also possible if you create a period code starting from today minus one day..
  • Jsabanovski Profile Picture
    308 on at
    Hi Andre,
     
    Understood, but I have a batch job scheduled for recurrence on 03/15/2025 but when I look at the parameters of the batch job it show recalculate inventory up to 03/06/2025 when I originally set up the recurrence.  Will the recurring batch job still calculate inventory up to 03/15/2025 or 03/06/2025?  That is where I'm a little bit confused on. 
     
    Jet
  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    Can you share a screenshot of the current parameters you used for the recurring batch job?
  • Jsabanovski Profile Picture
    308 on at
    Andre,
     
    Below is the screenshot of the recurring batch job that's next scheduled on 03/15/2025.  When I click on parameters in the Batch tasks, it shows that the recalculate inventory up to date as 03/06/2025, not 03/15/2025. 
     
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at
    Hi Jsabanovski,

    Thanks for sharing the screenshot. At the moment you select the Period code, it defaults the date to today. This date is stored in the parameters, but gets changed the moment the batch job starts. So, when your batch runs on March 15, it will first replace the date with the actual date and the recalculates the inventory up to March 15, not March 6.
  • Jsabanovski Profile Picture
    308 on at
    Hi Andre,
     
    Perfect!  Thank you for clarifying the process!  Have a great day.
     
    Jet

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans