User Tools


Table with Header and Rows


Add number of elements
{foreach Fichero}
{iteration} {Fichero.filename}
Block on first iteration
{foreach Fichero.nivel=ALTO}
{ifexists iteration=1}
The next list of files have HIGH level:

Negative Conditions

If we want to obtain the records that do not meet a condition, we will use:

{foreach <MODULE>.<FIELD> != <VALUE>}

In the specific case of the Soportes, it would be:

{foreach Soportes.metodo_destruccion != }

That will get all records with the field “Destruction Method” NOT empty.

Nested foreach

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.

coreBOS Documentación