Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Dynamics GP Batch Recovery Error

(0) ShareShare
ReportReport
Posted on by

Hi, When I am trying to recover sales batch from batch recovery error, I am getting the following error.

Index 0 of local array is out of range in script 'RM_Post_Validate_Sales_GL_Dist_II'. Script terminated.

Thanks !!

*This post is locked for comments

  • Suggested answer
    L Vail Profile Picture
    65,271 on at
    RE: Dynamics GP Batch Recovery Error

    Hi,

    That's a good lead from Victor! I've been having problems using links to old posts, so I'm just posting the solution here:

    Naga Siva Kiran Meesaraganda responded on 10 Jun 2014 3:40 PM

    I was expecting the results added by Rob with the query I posted. I feel the issue should go off by executing the below queries mentioned by Jonathan.

    insert into DYNAMICS..ADH00100 values ('0',  '498','3',  'Requisition Line Items','sa','-1')

    insert into DYNAMICS..ADH00100 values ('0',  '499','3',  'Purchase Requisitions','sa','-1')

    Note :  

    * DYNAMICS is the system database and you should replace that with your System Database name.

    * -1 at the end of insert statements should be changed according to your Company ID. -1 is for Fabrikam (TWO)

    Execute the below query by selecting System Database in SQL to know company ID.

    SELECT CMPNYNAM as Company_Name,CMPANYID Company_ID FROM SY01500

    Would like to know your feedback on this.

    Kind regards,

    Leslie

  • Community Member Profile Picture
    on at
    RE: Dynamics GP Batch Recovery Error

    Look in the following link if you can help with the solution.

    https://community.dynamics.com/gp/f/32/t/128874

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans