Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

Posted on by 615

Hi, 

Actually when i go to inquiry --> General Entry Inq.  then select general entry no

Now when i click on to the source document  its showing the error message are :

Unhandled script exception:
SCRIPTS - data area

EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE
SCRIPT_CMD_INDEX

Please help me out if any one know that how can resolve this issue.

Thanks & Regards,

Govind Devda

*This post is locked for comments

  • Suggested answer
    Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    The following should provide you with the duplicates:

    select a.PMNTNMBR, a.BCHSOURC from PM10300 a
    inner join PM30200 b on (a.PMNTNMBR = b.VCHRNMBR) and (b.DOCTYPE = 6)
    


  • WindyCityGP Profile Picture
    WindyCityGP 1,045 on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    I used the script(s) from this article:  community.dynamics.com/.../identifying-duplicate-transactions.

    Hope it helps!!

  • GPHouston Profile Picture
    GPHouston 245 on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    Can you tell me how you found the duplicate record?

  • WindyCityGP Profile Picture
    WindyCityGP 1,045 on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    Never mind.  I found a duplicate in the PM10300 and PM30200.  Once I removed the stranded record from the PM10300 the error when away.

  • WindyCityGP Profile Picture
    WindyCityGP 1,045 on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    I am receiving it on GP 2015 R2 (14.00.1010).  It occurs when I am attempting to drilldown from the Journal Entry Inquiry window to the Purchasing Zoom from the Source Document link.  It happens even if I use the 'sa' account.

  • Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    What all of you have failed to do is provide the version/build number of Microsoft Dynamics GP where this is happening. In addition, what specific source document are you receiving this error on?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    I am getting this exact same error when doing a drill down  and was wondering how you resolved your issue?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE SCRIPT_CMD_INDEX

    Did you ever get an answer to this one? I have a company doing this when Source Document is selected in the Transaction Entry form.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans