Bookmark evaluation in quote details - SKIPIF

lock
push_pin
done
Answered
0

For a particular customer we want to control which tables within quote details are displayed.

Only when the table contains rows should it be displayed.

To achieve this we tried to create a variable which counts the rows that are inserted within the quote details.

However once we use 'SKIPIF' we run into an issue.

To illustrate this we have created two quote details, one which only prints the contents of the variable under each table using the following snippit:

The generated document indeed does correctly count and insert the amount of rows under each table as seen here:

 

However once we actually evalutate the variable within a 'SKIPIF' statement to skip that particular table using the following snippit:

All tables dissapear... When we then change it to > 0, all tables reappear.

This means that the value of 'IncludedRowsCount' bookmark evaluates to its actual value when directly filling it in, but evaluates to 0 when using it in a SKIPIF statement.

Does anyone know how this works under the hood, and/or perhaps knows of any workaround?

Kind regards,

Jari

14 h, 40 m ago | 08:04 AM

All Replies (0)

Add reply