Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

NUMBER SERIES ISSUE on Purchase Order

(0) ShareShare
ReportReport
Posted on by 95

Hello, 

I have an issue.

I have a client who can create two kind of Purchase Orders - stock item and non stock item.

The no. series for stock item is P-ORD and for non stock item is P-ORD-A.

When he post a purchase order for stock item it is converted into a purchase invoice which takes the code defined in the system that is, P-Inv for stock item.

The issue is that when he is posting purchase order for non- Stock item, Business Central is taking the no. serie for stock item - P-Inv instead of P-Inv-A which is for non stock item.

Is there any way to solve this or it is a customization?

Thanks for helping me. 

  • RE: NUMBER SERIES ISSUE on Purchase Order

    Thank you.

    Apologies for any confusion.

    That's I wanted. When the PO is non stock item and when it is converted as purchase invoice, it should take the serial no being setup for non - stock item in the purchase payables setup.

  • Verified answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,198 Super User 2024 Season 1 on at
    RE: NUMBER SERIES ISSUE on Purchase Order

    Hi,

    You should make it more clear like where did you add no series for non-stock PO. or add the screenshot of your code.

    What I have understood after reading your question.

    You need to make another number series for the non-stock items and set it in the purchase setup form in Purchase and Payable Setup in Manual Setup...

    For that, you need to make an extension of the purchase and payable setup table and form to add one more field for No. Series for non-stock items.

    var

    NoSeriesMgt: Codeunit NoSeriesManagement;

    POSetup: Record " e.g PO payable setup table";

    begin

    PO."Order No." := NoSeriesMgt.GetNextNo(POSetup."Your No. Series", WorkDate(), true);

    end

    When posting the purchase order make sure you select the non-stock item's purchase order.

    Regards People Eater.

  • Pushparaj P Profile Picture
    Pushparaj P 205 on at
    RE: NUMBER SERIES ISSUE on Purchase Order

    Hi,

    There is only one option to assign No Series For Purchase Invoice in Purchase & Payable Setup.

    So There is no other option Except Customization to post with two different No Series From Purchase Order.

    But If You Post Directly From Purchase Invoice Page, You Can Assign Two Different No Series as you wish. 

    pastedimage1667820197597v2.png

    Like This.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans