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

Check Stub Stub Report

(0) ShareShare
ReportReport
Posted on by 10

Hi 

I am facing an issue in Check Stub Stub Report. 

The error which I am getting 

The SourceExpr for report control 'PrnChkCheckAmountText_CheckStyle__US_' is not valid. The following error occurred: Index out of bounds.

Kindly Provide me the Solution. 

Thanks

Arun Kumar. P 

Senior Associate

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

    Hi,

    Did you debug the issue? also any customization done?

    Thanks.

  • Arun Kumar P Profile Picture
    10 on at

    Yes, I debug that Customization was done.

  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    You need to consult with the same developer or if you have customized that please debug the issue thoroughly.

  • Arun Kumar P Profile Picture
    10 on at

    We don't have the same developer right Now, also I debug the code thoroughly.

  • tonyab Profile Picture
    55 on at

    Did the modification work in the past? If so, can you roll back to that version, and try making the change again.

    Check report layouts are rather hard to work with, so you will want to have an experienced developer make the changes. If you don't have access to all of the changes made, it might be best to start over with a custom layout and just make the changes.

  • Suggested answer
    NAV_with_Narang Profile Picture
    2,320 Moderator on at

    It is important to understand that the error is occurring probably because something is "out of bounds". In such cases, the culprit is an ARRAY

    1. First locate the cell in the Report RDL where this textbox is located

    2. Find the textbox's corresponding report column in report's AL code

    3. Now search the first parameter of this column in the whole AL code. See which places it has been used. There will be a place/loop/trigger which makes it run in a repetitive manner

    4. The error is occurring because the data that is being fed in this array is more than that array could handle with it's present dimensions

    5. See if you can place a debugger inside this loop and see why this array is being fed an extra morsel when it was not designed to digest any extra. In most cases, it happens as the developer may have restructured the custom code, with no attention to proper testing.

    6. If it is becoming very tedious and urgent, try increasing the culprit array's dimension & see where you land thereafter. I won't recommend to take this approach as a permanent solution, as it will again some day rise and bite 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 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans