{foreach Fichero}
{iteration} {Fichero.filename}
{/foreach}
{foreach Fichero.nivel=ALTO}
{ifexists iteration=1}
The next list of files have HIGH level:
{/ifexists}
{Fichero.filename}
{/foreach}
If we want to obtain the records that do not meet a condition, we will use:
{foreach <MODULE>.<FIELD> != <VALUE>}
That will get all records with the field "Destruction Method" NOT empty.
You can put foreach tags of related entities up to any level, this means that from an Account, you can reach one or several contacts, and from there reach their potentials and from there, loop over the related quotes.
Next| Chapter 5: GenDoc::Tips and Tricks