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

No. must have a value in purchase line

(1) ShareShare
ReportReport
Posted on by 8

While trying to Copy Document to Return a purchase bill from Purchase Credit Memo, I get the Error message saying 'No. must have a value in purchase line' as shown in the photo. I would really appreciate if someone could help me solve this problem.

Error.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x480.png_2D00_640x206.png

There is a empty line with Item only in the purchased document as seen in the picture below so, i think this is the problem but I don't know how to fix that.

line-no-error.png 

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,784 Moderator on at

    Hi,

    can you please check if there is no customization done.

    thanks

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    Could there be a line in the original document initiated with a type but no number?

    Maybe you can share a screenshot of the lines in the original document?

  • Suggested answer
    DAnny3211 Profile Picture
    11,407 Super User 2026 Season 1 on at

    hello

    you probably have a line in the credi memo without No.

    double check the credit memo

    DAniele

  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, just adding to others' reply.

    You can try to debug it to see if it is your code problem or data problem.

    More details

    https://learn.microsoft.com/en-us/dynamics-nav/activating-the-debugger

    https://learn.microsoft.com/en-us/dynamics-nav/walkthrough--debugging-the-microsoft-dynamics-nav-windows-client

    Hope this helps.

    Thanks.

    ZHU

  • Abhishek Baral Profile Picture
    8 on at

    Yes, you are correct in the purchased document there is a empty line with type 'item' only but i don't know how to fix that. Hope you can help.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    You need to write some code in orde to fix that and i don't really think it is worth it.

    I would recommend you create a manually credit memo instead in this case unless you have a developer handy that can quickly fix that for you.

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,155 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,043 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 955 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans