Number sequence

How to develop number sequence in X++ in Microsoft Dynamics 365 Finance and Operations