Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Cash Receipt posting error : 'RM_Post_Validate_Cash_TRX_GL_Dist'

(0) ShareShare
ReportReport
Posted on by

I have imported a large number of Cash Receipts into Dynamics GP via eConnect with no issue.  However, when I try to post them, via a Series Post, I get the following error message on a small percentage of them.

“Batch xxxxx failed to complete posting.  Use the Batch Recovery window to complete the posting process.”

When I click on More Info, I get the following

“Index 26 of local array is out of range in script 'RM_Post_Validate_Cash_TRX_GL_Dist'. Script terminated.”

Unfortunately, when I try to recover the batch that fails as well which means I am left with a situation that I cannot recover from.

  1. Do you know what might cause this problem?
  2. What steps can I take to diagnose and recover from this problem?

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cash Receipt posting error : 'RM_Post_Validate_Cash_TRX_GL_Dist'

    Hi

    Im Stevenson (Peru - InsideB2B.com)

    When u try integrate with eConnect, must know that "Round account type" has the value "10" on table rm10101 but GP gives "26" so here is the problem.

    The distribution is not correct, I users have to modified  OR run a Store after Econnect integration, something like this.

    CREATE PROCEDURE [dbo].[PRD_ECONNECT_PM_RM_DISTRIBUTION_VALIDATE] (@documento VARCHAR(50),@origen VARCHAR(50)) AS  

    BEGIN

    IF @origen ='RM'

    BEGIN

    UPDATE RM10101 SET DISTTYPE=10 WHERE DOCNUMBR=@DOCUMENTO AND DISTTYPE=26

    END

    GO

    GRANT EXECUTE ON [PRD_ECONNECT_PM_RM_DISTRIBUTION_VALIDATE] TO DYNGRP

    GO

    I hope u solve it.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans