Skip to main content

Notifications

Community site session details

Community site session details

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

Error

(1) ShareShare
ReportReport
Posted on by 77
Hello all,
 
 
Can anyone tell me how to solve the below error.
 
The Sales Header does not exist. Identification fields and values: Document Type='Quote',No.=''
 
It would be really helpful if you could help me out.
 
Thank you.
 
Regards,
 
Reshma Shaik.
 
 
 
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,312 Super User 2025 Season 1 on at
    Error
    Hi,
     
    it seems there is a find code written somewhere like -
    1. Salesheader.findfirst()
    2. SalesHeader.Findset()
    3. SalesHeader.Find()
    But salesheader is not set to the right record. When a variable is not initialized it tries to find first record which is the error message that you are getting. As the first document type enum value is quote that why it says DocumentType=Quote.
     
    Work with developer to fix this issue.
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    YUN ZHU Profile Picture
    79,602 Super User 2025 Season 1 on at
    Error
    If you have trouble finding the problem, I recommend asking a developer to debug it.
     
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Teddy Herryanto (That NAV Guy) Profile Picture
    13,219 Moderator on at
    Error
    Could you describe the problem more? Where and how do you encounter this?
    There is a chance that this is a customisation on your BC environment as well.
  • gdrenteria Profile Picture
    16,226 Most Valuable Professional on at
    Error
    Hi
    When do you get this error? Can you see the details of the error and try to find out where the problem is?
    BR
    GR
  • Netjacker2097 Profile Picture
    273 on at
    Error
    hi,
     
    looks like the document is no longer avaible in the sales quote.
     
    Regards,
    M

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!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,304 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,160 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans