Skip to main content

Notifications

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?

  • Suggested answer
    Sushil Chaudhari Profile Picture
    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
    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
    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
    Vanessa Garcia Profile Picture
    on at
    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
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans