Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Index out of range error in MMR after importing GL Segment descriptions to GL40200

(1) ShareShare
ReportReport
Posted on by 88
I imported both GL Account segment 1 and segment 4 with descriptions successfully to the GL40200 table.  I immediately ran checklinks on all tables in the Financial Series.  We thought everything went well until we restored (an unrelated database) which requires us to recreate the MMR Data Mart. 
 
I didn't create any of the segments as they were created when the GL Account was imported or created.  A sample script to update the segment 4 description is as follows:
GL40200 SET DSCRIPTN 'Jane Doe' WHERE SGMTNUMB = '4' AND SGMNTID = '1828'
 
The error occurred when I enabled the integration, we get the error "Index was out of range. Must be non-negative and less than the size of the collection"
 
I followed the the the resolution below and every segment description was kicked out of the GL40200 table.  The good news is I successfully recreated the MMR data mart.  The bad news is we are missing all segment descriptions that were imported.  It doesn't kick out any segment descriptions that are entered manually.  What am I missing?
 
 
Thank you in advance for your help.
 
Peggy Aitken
Categories:
  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,033 Super User 2024 Season 1 on at
    Index out of range error in MMR after importing GL Segment descriptions to GL40200
    Hi Peggy,
    Have you check on this option ? : Financial >> Cards >> Financial >> Mass Modify
     
  • Suggested answer
    Lisa at AonC.com Profile Picture
    Lisa at AonC.com 557 on at
    Index out of range error in MMR after importing GL Segment descriptions to GL40200
    I haven't run into this before, but I tend to update the segment descriptions via SQL.  (I'm guessing you used Table Import.)

    You could try to import with the Description padded with spaces to the maximum length.  Try it with one and see if you can then rebuild Data Mart.

    [We also moved all clients back to MR Legacy Adapter several versions ago when performance was no longer a "benefit" of Data Mart.]

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans