Skip to main content
Post a question

Notifications

Announcements

No record found.

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

NUMBER SERIES ISSUE on Purchase Order

Posted on 7 Nov 2022 11:06:24 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. 

Categories:
  • Beginner Dynamics 365 Business Central Profile Picture
    Beginner Dynamics 3... 95 on 07 Nov 2022 at 12:56:11
    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,203 Super User 2024 Season 1 on 07 Nov 2022 at 11:37:11
    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 07 Nov 2022 at 11:23:27
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans