Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference

> ## generateEntityInstances

> This procedure associates DataFields and other master objects with an entity.

> Location: ry\app\rydesmngrp.i

> Parameters:

> `INPUT pcEntityObjectName AS CHARACTER`

> The entity object name, which is the same as the entity mnemonic.

> `INPUT pcFieldList AS CHARACTER`

> A `CHR(3)`-delimited list of fields in the order they should be added to the entity.

> `INPUT plDeleteExistingInstances AS LOGICAL`

> Whether to remove any existing instances before adding those specified here.

> Notes:

> - Entities cannot be customized, so they have no result code.

> - Because the objects to be associated with the fields are not bound to the schema and passing in a table name limits this API, the field list is used as passed in without performing any calculations. The caller should determine which master objects (dataField or other) to make instances of the entity.

> Examples: See the main block in `ry\app\rydesgeeip.p`.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095