Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

SubstituteParameters 20 Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

(0) ShareShare
ReportReport
Posted on by

We are having problems with the business portal workflows and dynamics GP, when we start a requisition and then try to create the purchase order we receive an error that said: "PURCHASE ORDER FAILURE, Index was outside the bounds of the array" and in the event viewer the error said: 

"ExceptionHelper  SubstituteParameters  20  Index (zero based) must be greater than or equal to zero and less than the size of the argument list."

Here is the step by step of the error (in spanish and english):

 

---- 

A medida que vamos avanzando en las requisiciones se van generando warnings diferentes, aquí va el paso a paso con lo que da el eventviewer:

(in each step we capture the event viewer warnings):

 

1.       Se pone la requisición por parte del usuario (usamos clausosa, whitprodptadmin1, calopeza y probamos con las 3 compañias poli, whitney y compuclub) de un elemento. Req 13 en Poli por 6.000.000. (we create the requisition with users from poligran and adrp domains and for different companies)

2.       Se ingresaron ítems que hacen parte del listado y se guardó. (we add items that are on the product list)

3.       El warning en el event viewer arroja el mensaje: (event viewer warning)

Event Type:       Information

Event Source:   MicrosoftBusinessFrameworkLog

Event Category:              None

Event ID:             0

Date:                    12/31/2010

Time:                    3:42:48 PM

User:                    N/A

Computer:         WHITPDYNW101

Description:

ExceptionHelper  SubstituteParameters  20  Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Esto quiere decir que desde este momento ya se tiene un apuntador a una ubicación no váida. (at this point there is a pointer error)

4.       Al convertir la requisición en OC se presenta el error de apuntador no váido. (when the buyer convert the requisition to purchase order gets the following error)

Y no pasa la orden de compra a dynamics GP

 

Algo extraño pasa con Compuclub, en esta compañía no hay ítems en el inventario y aunque también muestra los warnings si deja crear la orden de compra

(with the company Compuclub we have the same warnings but this company does not have ítems in the inventory, and the purchase order is successfully created).

 

Alguna idea?

Any idea?

*This post is locked for comments

  • Nelsona Profile Picture
    Nelsona 537 on at
    Re: SubstituteParameters 20 Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

    Hi,

    We are receiving the same error when trying to create a purchase order. Did you find a resolution?

    Thanks!

  • Re: SubstituteParameters 20 Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

    Hello Horacio.  I noticed you did not receive an answer to your question back in January.  This sounds pretty complex and would recommend submitting a case so we can review your data.

    Thank you,

    Deseree

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans