Hey all,
I have been facing this issue in Dynamics GP 2016 R2 (v16.00.0579), while opening a Line Item from the Purchase Order Entry window. Please find the screenshot attached.
"Index 1 of Array 'Show Hide Attachments' is out of range in script 'Display Line Item'. Script Terminated."
From what I understand, there seems to be a duplicate or incorrect field for "Show Hide Attachments" for the Line Item ("DisplayLineItem") that's causing this error. But I can't seem to find any trace or location of this "Show Hide Attachments" if it's a field.
I am not sure if the Document Attachment Setup (Tools > Setup > Company > Document Attachment Setup) has anything to do with this. By default, Attachments were disabled. I even tried allowing attachments in it, but the error message still persists.
I also tracked my GP Tables execution through SQL Tracing for the part where I open my Purchasing Item Detail Entry window, and it passes through the following tables, just before it throws the error message:
GL00100, IV00101, SOP60100, SY03900
Any suggestions or solutions provided will be greatly appreciated, as I've been trying to solve this issue since the past few days.
Thanks!
Regards,
- veggiedude
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156