I’m trying to create a communication template that retrieves the price from a work orders planned service items. But if the selected work order has fewer lines of planned service items and the template has more, it says :REP_PLANSERV.plusplineprice for each excess line in the template. The number of planned service items can vary per work order and I want to include all planned service items.
Is it possible to get the communication template to select all lines from planned service items in a work order without that text being visible if the lines are fewer than in the template?
The template looks like this:
:REP_PLANSERV[0].plusplineprice
:REP_PLANSERV[1].plusplineprice
:REP_PLANSERV[2].plusplineprice
:REP_PLANSERV[3].plusplineprice
:REP_PLANSERV[4].plusplineprice
:REP_PLANSERV[5].plusplineprice
And when I apply it to a workorder with only three planned service items it looks like this:
100,00
6 209,12
1 776,86
:REP_PLANSERV[3].plusplineprice
:REP_PLANSERV[4].plusplineprice
:REP_PLANSERV[5].plusplineprice