Skip to main content

Notifications

Business Central forum
Answered

Codeunit to get next Puchase Invoice Series to generate Document Number

Posted on by 87
Hi,
I am trying to insert a new Purchase Invoice into Business Central through AL.
Is there a way to get the next document number from the Purchase Invoice series?
Does any codeunit exist to do this task?
Categories:
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 68,095 Super User 2024 Season 2 on at
    Codeunit to get next Puchase Invoice Series to generate Document Number
    Hi, try the standard method below
    codeunit 396 NoSeriesManagement:
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,115 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans