Skip to main content

Notifications

Announcements

No record found.

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.

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?

  • Suggested answer
    Sushil Chaudhari Profile Picture
    Sushil Chaudhari 50 on at
    RE: Salespers./Purch. Code must have a value in Approval Entry: Entry No.=0. It cannot be zero or empty.

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

    Thank you,

    Sushil

  • Ritu Khurana Profile Picture
    Ritu Khurana 5 on at
    RE: Salespers./Purch. Code must have a value in Approval Entry: Entry No.=0. It cannot be zero or empty.

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

  • Nathanp Profile Picture
    Nathanp 12 on at
    RE: Salespers./Purch. Code must have a value in Approval Entry: Entry No.=0. It cannot be zero or empty.

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

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

    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

  • Suggested answer
    Dan Kinsella Profile Picture
    Dan Kinsella 466 on at
    RE: Salespers./Purch. Code must have a value in Approval Entry: Entry No.=0. It cannot be zero or empty.

    Hi Wouter,

    Does the related invoice have the purchaser code set?

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans