web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Salespers./Purch. Code must have a value in Approval Entry: Entry No.=0. It cannot be zero or empty.

(0) ShareShare
ReportReport
Posted on by 10

Hi all.

I have set up the approval user setup for my purchase invoices and assigned sales/purchase codes to my users.

When they request approval, the following error pops up

Salespers./Purch. Code must have a value in Approval Entry: Entry No.=0. It cannot be zero or empty.

Can you please assist?

I have the same question (0)
  • Suggested answer
    Dan Kinsella Profile Picture
    468 on at

    Hi Wouter,

    Does the related invoice have the purchaser code set?

  • Suggested answer
    Vanessa Garcia Profile Picture
    Microsoft Employee on at

    Hi WouterDB!

    Dan is totally right.

    I do get the same error message as you, just if I don't specify the "Purchaser Code" (or Salesperson Code) in the invoice:

    pastedimage1596808331148v1.png

    As soon as you add this "Purchaser Code" / "SalesPerson Code" you won't get the error message and the Approval Request will be sent:

    pastedimage1596808409503v2.png

  • Nathanp Profile Picture
    12 on at

    We don't use any Salesperson/Purchaser Codes.  How do I get rid of this error?

  • Ritu Khurana Profile Picture
    5 on at

    Change the setting in workflow. Change the "approver type" from Saleperson to workflow in "Edit - Workflow Responses - Approval of a purchase document is requested"

  • Suggested answer
    Sushil Chaudhari Profile Picture
    50 on at

    Thanks Ritu for correct solution. I fixed my issues related to same.

    Thank you,

    Sushil

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,055 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,014 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans