Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Get recurring sales

(0) ShareShare
ReportReport
Posted on by 5

Can anyone tell me how to resolve this issue? I get this message when I attempt to create an invoice from the customer's card. I don't get it if I go directly to the create sales invoice link.

Message:

No. must have a value in Sales Header: Document Type=Invoice, No.=. It cannot be zero or empty.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Get recurring sales

    Yes, Zhu, I tried to create in Docker with latest image, and its working for, He need to debug the problem, or may be other custom extension installed still not removed yet.

    picard77 Can you please verify again? Also Debug it first.

  • picard77 Profile Picture
    picard77 5 on at
    RE: Get recurring sales

    I think this might be a Microsoft bug.

  • picard77 Profile Picture
    picard77 5 on at
    RE: Get recurring sales

    Hi Zhu, I uninstalled the customization, and the issue remains.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: Get recurring sales

    Try uninstalling it first and see if there is still a problem?

  • picard77 Profile Picture
    picard77 5 on at
    RE: Get recurring sales

    Hi ZHU, Yes the environment does have a customization.

  • picard77 Profile Picture
    picard77 5 on at
    RE: Get recurring sales

    Thanks for responding. Yes, the Sales & Receivables are set up like the screenshot you provided.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: Get recurring sales

    Hi, Nitin, this is a bit strange, the error message is not the same if the setting you mentioned is not set.

    "Invoice Nos. must have a value in Sales & Receivables Setup: Primary Key=. It cannot be zero or empty."

    pastedimage1684372712545v1.png

    And he has no problem creating invoices directly. I think there is no problem with the No. Series setting.

    This operation only opens the creation mode of Sales Invoice page, and does not actually create Sales Invoice. I suspect that there is some code in OnOpenPage of Sales Invoice or other triggers that cause this problem.

    pastedimage1684373132987v2.png

    Hi, picard77

    Does this environment include customization? I think you can try to debug it.

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Get recurring sales

    Please check if you have this setup already

    pastedimage1684371784024v1.png

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans