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.
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.
I think this might be a Microsoft bug.
Hi Zhu, I uninstalled the customization, and the issue remains.
Try uninstalling it first and see if there is still a problem?
Hi ZHU, Yes the environment does have a customization.
Thanks for responding. Yes, the Sales & Receivables are set up like the screenshot you provided.
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."
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.
Hi, picard77
Does this environment include customization? I think you can try to debug it.
Hope this helps.
Thanks.
ZHU
Please check if you have this setup already
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156