Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition
by Simon Buxton
Number sequence setup
Whenever we need a number sequence, we will always use the number sequence framework to declare and maintain the number sequence we need. The first thing we did was create a class that extends the NumberSeqApplicationModule class. This allows us to define the number sequences, and also set up the event that will generate the number sequence setup data.
This makes the number sequence available, and we can create the sequence using the Number Sequence form found in Organizational administration | Number Sequences | Number Sequences. We can create one manually and refer to the sequence defined in our class, or use the Generate button.
If we take a look at the NumberSeqModule base enum, we will see that the extension is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access