web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to increase the Max Iteration?

(0) ShareShare
ReportReport
Posted on by

Getting the following error "The indexing 101 in the array is outside of the permitted range" in the Forecasting period end processing for one location.

1732.pic01a.png

2727.pic02.png

Some one, somewhere else mentioned that he resolved this issue by setting all instances of Max Iteration to 500 for the loops and set the dimension values to 500 for each array variable in C / AL.

I do not have any clue of how to do this. If some one can guide me with simple instructions, it will be a tremendous help!

Greatly appreciated.

Oswald

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi,

    look at this post

    www.mibuso.com/.../viewtopic.php

    Max Iteration

    "1)  you need to set all instances of Max Iteration to 500 for the loops > You need to modify C/AL code using partner's development license  

    Array dimension

    2) set the dimension values to 500 for each array variable" > You can set the dimension of an array variable by viewing "C/AL Globals" (or local variabiles) selecting your variable and pressing SHIFT+F4 (or property)

  • Community Member Profile Picture
    on at

    Well, that's the post I saw, and mentioned in my post. How to do that two steps? :)

    Any guidance or directions...................

    Thanks.

    Oswald.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans