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

Notifications

Announcements

Community site session details

Community site session details

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

Using Variables in Recurring Sales Lines

(0) ShareShare
ReportReport
Posted on by 5

Hello, all.

We invoice for many services on a calendar-monthly basis. Some of these services are billed with the month as the unit and some are billed daily so the number of units changes based on how many days are in the month.

Two questions related to this process:

1 - Is there a way to populate a variable in either the individual recurring sales line, or possibly in the 'work description', that indicates either the current month or current month +1? It would be helpful so our customer has an indication for which month they are being invoiced. It simply needs to read something similar to "October 2020."

2 - On items where the unit is daily but billed monthly, can a variable be used in the 'quantity' field to indicate the number of days in the current month?

Thanks in advance for any suggestions.

G

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    135 on at

    There a numerous date functions available. docs.microsoft.com/.../date-and-time-functions .You will need to get a copy of the base object and then add the variables you need based on your criteria. I would avoid the work description field as it’s a complex type and you probably just want a simple text field

    For the items check this dynamicsuser.net/.../how-to-calculate-number-of-days-in-a-month

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

News and Announcements

Season of Giving Solutions is Here!

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,651

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 808 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 718 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans