Invoices >> Line Items: Groups

Can someone please verify this for me.

Whilst I was looking for a field that was simply the unit cost x the quantity (which there doesn’t seem to be!) I found this:

I have a PDF template which I have inserted all the possible price options from all the fields (to verify which value is correct).
If I enter anything from the Invoices >> Line Items: Groups drop box, then the PDF breaks - sometimes it’s blank, sometimes it generates that field then shows field names for any other results.

Grab the below, then manually insert the field name in the appropriate table cell - then create a PDF from an invoice (preferably with multiple items and quantities)

Here’s the HTML so you don’t have to manually enter it all:
[spoiler]


<p> </p>
<p>$aos_products_quotes_product_qty x $aos_products_quotes_name @ </p>
<p>Here</p>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>Value</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Total &gt;&gt; </td>
<td>$aos_invoices_total_amt</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Total (default Currency) &gt;&gt;</td>
<td>$aos_invoices_total_amt_usdollar</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Subtotal &gt;&gt;</td>
<td>$aos_invoices_subtotal_amount</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Subtotal (default Currency) &gt;&gt;</td>
<td>$aos_invoices_subtotal_amount_usdollar</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Tax &gt;&gt; </td>
<td>$aos_invoices_tax_amount</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Tax (default Currency) &gt;&gt;</td>
<td>$aos_invoices_tax_amount_usdollar</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Grand Total &gt;&gt;</td>
<td>$aos_invoices_total_amount</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Grand Total (default Currency) &gt;&gt;</td>
<td>$aos_invoices_total_amount_usdollar</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Subtotal + Tax &gt;&gt;</td>
<td>$aos_invoices_subtotal_tax_amount</td>
</tr>
<tr>
<td>Invoices &gt;&gt; Grand Total (default Currency) &gt;&gt;</td>
<td>$aos_invoices_subtotal_tax_amount_usdollar</td>
</tr>
</tbody>
</table>
</div>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>Value</td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Total &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Total (default Currency) &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Subtotal &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Subtotal (default Currency) &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Tax &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Tax (default Currency) &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Subtotal + Tax &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Subtotal + Tax (default Currency) &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Group Total &gt;&gt; </td>
<td> </td>
</tr>
<tr>
<td>Line Items: Groups &gt;&gt; Group Total (default Currency) &gt;&gt; </td>
<td> </td>
</tr>
</tbody>
</table>
</div>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path </td>
<td>Value </td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Cost Price &gt;&gt; </td>
<td>$aos_products_quotes_product_cost_price</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Cost Price (default Currency) &gt;&gt;</td>
<td>$aos_products_quotes_product_cost_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; List Price &gt;&gt; </td>
<td>$aos_products_quotes_product_list_price</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; List Price (default Currency) &gt;&gt; </td>
<td>$aos_products_quotes_product_list_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Unit Price &gt;&gt;</td>
<td>$aos_products_quotes_product_unit_price</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Unit Price (default Currency) &gt;&gt; </td>
<td>$aos_products_quotes_product_unit_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Tax Amount &gt;&gt; </td>
<td>$aos_products_quotes_vat_amt</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Tax Amount (default Currency) &gt;&gt; </td>
<td>$aos_products_quotes_vat_amt_usdollar</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Total Price &gt;&gt; </td>
<td>$aos_products_quotes_product_total_price</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Total Price (default Currency) &gt;&gt; </td>
<td>$aos_products_quotes_product_total_price_usdollar</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Cost &gt;&gt;</td>
<td>$aos_products_cost</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Cost (default Currency) &gt;&gt; </td>
<td>$aos_products_cost_usdollar</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Price &gt;&gt; </td>
<td>$aos_products_price</td>
</tr>
<tr>
<td>Line Items: Products &gt;&gt; Price (default Currency) &gt;&gt; </td>
<td>$aos_products_price_usdollar</td>
</tr>
</tbody>
</table>
</div>
<div style="float: left;">
<table border="0">
<tbody>
<tr>
<td>Path </td>
<td>Value</td>
</tr>
<tr>
<td>Line Items: Services &gt;&gt; Sale Price &gt;&gt; </td>
<td>$aos_services_quotes_service_unit_price</td>
</tr>
<tr>
<td>Line Items: Services &gt;&gt; Total &gt;&gt; </td>
<td>$aos_services_quotes_service_total_price</td>
</tr>
</tbody>
</table>
</div>

[/spoiler]

#UPDATE#
Looks like it’s broken in the demo too…

Github issue created:
https://github.com/salesagility/SuiteCRM/issues/2170