Recursion in an updatable BAQ

Hi All,

E9.05.702A

I created an updatable BAQ so that I could run ABL code to retrieve related information for each row returned.

Part of what I need to do is travel up the BOM for the part number of the current row.

In order to do this, I need an ability to create a recursive function.

When I try adding just the definition for either a PROCEDURE or a FUNCTION, I get a compile error of:

Compilation error:Missing END statement. Already defining GetListPost83_A1. You cannot nest procedure, function, or method definitions. (5908)

The examples of what I have tried adding are:

PROCEDURE bom:

END PROCEDURE.

And

FUNCTION bom RETURNS DECIMAL (INPUT pn as CHARACTER):

END FUNCTION.

It sounds like I will not be able to define a procedure or a function within my code.

Am I missing something or is there another way to get this recursive functionality into my code?

Joe Rojas

Epicor Application Manager

Nordson MEDICAL

261 Cedar Hill Street

Marlborough, MA 01752 USA

+1.508.597.1392 **Phone
**+1.774.826.9245 Mobile

joseph.rojas@nordsonmedical.com

Quality Works Here