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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Sequential Numbering on Invoices generated from Word Templates

(0) ShareShare
ReportReport
Posted on by 240

Hello, 

I want to generate invoice from the information on that particular form. I used the word template to create the invoice. I am looking to populate the invoice number field. I want those to be in order and the number should increase based on the number of times the invoice was downloaded. 

How do I achieve a counter on the word template?

Thanks. 

I have the same question (0)
  • Aneeqa Pervaiz Profile Picture
    240 on at

    I created a macro to do the task - that works flawlessly. Below is the snippet.

    pastedimage1597967881649v1.png

    Now, when I save it and re-open it, it runs like it should. However, when I save it as a macro-enabled document, I cannot upload it in CRM. How should I go about it?

  • Thijs van der Klei Profile Picture
    780 on at

    Hi Aneeqa,

    I wonder what is the user story your solution is based on. Obviously an invoice has an automatically generated invoice number. So far everything available OotB. So you publish the invoice somewhere online and the customer can download the invoice, right? Why is the number of downloads relevant?

    Kind regards,

    Thijs van der Klei

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 44

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans