Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

"Index out of Bounds" when trying to preview from Purchase Order in Navision 2018

Posted on by 4,359

Hi,

I would like to find out what does "Index out of Bounds" means?

In Purchase Orders, I as able to do Print > Preview, but only one PO I was not able to do it, as highlighted in grey.

I tried other PO to print > Preview, or PDF and it was okay.

I suspect it is the index in the invoice that was having error which cause this.

Index-out-of-bounds1.png

For the problematic PO, other than Preview, I also tried to export in PDF and Excel, all gave the same error "Index Out of Bounds"

Appreciate your help!

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: "Index out of Bounds" when trying to preview from Purchase Order in Navision 2018

    It means if you try to store a value in an array and if it overflows you get that error, for example, if you declared an array of x with size 10 and if you try to insert into it 11 items you will get that error.

    Looks like there may be customization in your report which is causing that issue.

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

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans