Due Date Calculations Made Easy in Dynamics NAV and Business Central

by | Updated November 20, 2019 | Dynamics 365 Business Central, Dynamics NAV

Date calculations in Dynamics NAV or Dynamics 365 Business Central can be a tricky thing. As it is with most things, with many options available, there are many solutions you can implement. From Payments Terms to Recurring Journals, this article will help give you the information you need to master the language of date formulas and ensure you’ll always calculate the date you need to best run your business.

Here’s a quick primer on basic date calculations:

C = Current
D = Day
W = Week
M = Month
Q = Quarter
Y = Year
CD = Current Day
CW = Current week
CM = Current month

10D = 10 days from today
2W = 2 weeks from today

D10 = The next 10th day of a month
WD4 = The next 4th day of a week (Thursday)

CM+10D = Current month + 10 days

-1Y = 1 year ago from today

Using these expressions can help you exact the dates you need for your documents and journals. For instance, a value of CM+1W will ensure that the due date of any document will be 1 week after the end of the current month of the document date. This will apply to Purchase Orders, Sales Orders, and Service Orders, among other documents. Let’s look at a few examples:

Document Date Due Date Calculation Due Date
11/5/2019 10D 11/15/2019
11/5/2019 2W 11/19/2019
11/5/2019 D10 11/10/2019
11/5/2019 WD4 11/7/2019
11/5/2019 CM+10D 12/10/2019
11/5/2019 -1Y 11/5/2018

On a more complex level, we can set specific yearly due dates. For instance, let’s suppose that if a document date is before July 31st, the due date is July 31st of that year, and if the document date is after July 31st for that given year, the due date July 31st of the following year. We can then make that calculation with 5M-CY+7M-1D:

Start Date: 6/15/2019 5M 11/15/2019
-CY 1/1/2019
+7M 8/1/2019
-1D 7/31/2019


Start Date: 10/15/2019 5M 3/15/2020
-CY 1/1/2020
+7M 8/1/2020
-1D 7/31/2020

Lastly, perhaps you have a somewhat quarterly due date, where an invoice is due on the first Monday after the beginning of the next quarter from the document date. We can express that as 3M-CQ+WD1:

Start Date: 6/15/2019 3M 9/15/2019
-CQ 7/1/2019
+WD4 7/8/2019

As you can see, we can leverage NAV and BC’s date calculations to conform to our business needs, regardless of the complexity.

If you are looking for more information about date calculations in Dynamics NAV/Business Central or want help optimizing your system, reach out to our team at Stoneridge Software.

Related Posts


Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events


02sep10:00 am10:30 amThe Modern Manufacturer - Cycle Count Management

02sep12:00 pm12:30 pmBest Practices for Work Order Planning and Routing for Field Service Companies

09sep10:00 am11:00 amWhat is Levridge? An Overview of the Ultimate Ag Solution

09sep12:00 pm12:30 pmOverview of Microsoft Promotion for NAV and GP Clients

10sep11:00 am12:00 pmConfab with Stoneridge - Livestream - Field Service Comparisons

16sep10:00 am10:30 amThe Modern Manufacturer - Product Lifecycle Management

16sep12:00 pm12:30 pmHow to Upgrade to Dynamics 365 Finance and Operations: Examining Custom Code and ISV Implications

16sep2:00 pm2:30 pmScheduling and Dispatching for the Modern Field Service Company

23sep12:00 pm1:00 pmDynamics 365 Business Central Wave 2 Release Preview - An Overview of the Most Exciting New Features Coming in October

24sep11:00 am12:00 pmConfab with Stoneridge - Livestream - The Modern Workplace: Teams, Sharepoint, Outlook, Office, and AI Integration

30sep10:00 am10:30 amThe Modern Manufacturer - Return Management

30sep12:00 pm12:30 pmEmpowering Your Field Service Technicians with a Mobile Solution


07oct12:00 pm1:00 pmThe Three Paths to Business Central from Dynamics GP

08oct11:00 am12:00 pmConfab with Stoneridge - Livestream - The Vision and Strategy of Microsoft Business Systems

14oct10:00 am10:30 amThe Modern Manufacturer - Complex Cost Modeling

14oct12:00 pm12:30 pmGenerating Custom Inspection or Process Forms

19octAll Day22Stoneridge Connect Fall 2020

22oct11:00 am12:00 pmConfab with Stoneridge - Livestream - Stoneridge Connect Recap

28oct10:00 am10:30 amThe Modern Manufacturer - Engineering Change Orders

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!