Dynamics 365 Business Central: the power of NumberSequence


Assigning number series to documents in Dynamics 365 Business Central can be complicated due to concurrency. Number series are designed for continuous numbering on transactional records, but this can cause locking. The new Business Foundation layer in Business Central provides two codeunits to handle number series, including a codeunit for batch requests. Number sequences can also be used, which generate numeric identifiers for data and records. Number sequences are extremely fast, especially when reserving a range of numbers. The only drawback is that errors in the transaction can result in gaps in the number series. Overall, working with NumberSequence in AL can provide many advantages.


Article 10m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time