${reporttype}
${companyname}
Period: ${period}
${if rowexist }
Total rows: ${totalrows}
${end}
Item
Current Unit Price
Quantity
Amount
Average Price
${if rowexist }
${totals.itemprice}
${totals.soldqty}
${totals.soldamt}
${totals.soldrate}
${end}
${if rowexist } ${foreach rows row}
${row.solditem}
${row.itemprice}
${row.soldqty}
${row.soldamt}
${row.soldrate}
${end} ${else}
No records found
${end}