{BEGIN body} {$header} {BEGIN page} {BEGIN mastertable_block}
{$showmasterfile}
{END mastertable_block}

# SPC Quote

{BEGIN page_number}
Page {$pageno} of {$maxpages}
{END page_number} {BEGIN grid_block}

{BEGIN grid_header}
{BEGIN record_header} {BEGIN Material_Code_fieldheadercolumn} {BEGIN Material_Code_fieldheader} Material Code {END Material_Code_fieldheader} {END Material_Code_fieldheadercolumn} {BEGIN Specification_fieldheadercolumn} | {BEGIN Specification_fieldheader} Specification {END Specification_fieldheader} {END Specification_fieldheadercolumn} {BEGIN Quantity_fieldheadercolumn} | {BEGIN Quantity_fieldheader} Quantity {END Quantity_fieldheader} {END Quantity_fieldheadercolumn} {BEGIN Unit_Price_fieldheadercolumn} | {BEGIN Unit_Price_fieldheader} Unit Price {END Unit_Price_fieldheader} {END Unit_Price_fieldheadercolumn} {BEGIN Amonut_fieldheadercolumn} | {BEGIN Amonut_fieldheader} Amonut {END Amonut_fieldheader} {END Amonut_fieldheadercolumn} {BEGIN Tax___fieldheadercolumn} | {BEGIN Tax___fieldheader} Tax % {END Tax___fieldheader} {END Tax___fieldheadercolumn} {BEGIN Ext__Amount_fieldheadercolumn} | {BEGIN Ext__Amount_fieldheader} Ext. Amount {END Ext__Amount_fieldheader} {END Ext__Amount_fieldheadercolumn} {BEGIN endrecordheader_block} | {END endrecordheader_block} {END record_header}
{END grid_header} {BEGIN grid_row}
{BEGIN grid_record} {BEGIN Material_Code_fieldcolumn} {$Material_Code_value} {END Material_Code_fieldcolumn} {BEGIN Specification_fieldcolumn} | {$Specification_value} {END Specification_fieldcolumn} {BEGIN Quantity_fieldcolumn} | {$Quantity_value} {END Quantity_fieldcolumn} {BEGIN Unit_Price_fieldcolumn} | {$Unit_Price_value} {END Unit_Price_fieldcolumn} {BEGIN Amonut_fieldcolumn} | {$Amonut_value} {END Amonut_fieldcolumn} {BEGIN Tax___fieldcolumn} | {$Tax___value} {END Tax___fieldcolumn} {BEGIN Ext__Amount_fieldcolumn} | {$Ext__Amount_value} {END Ext__Amount_fieldcolumn} {BEGIN endrecord_block} | {END endrecord_block} {END grid_record}
{END grid_row} {BEGIN totals_row}
{BEGIN Material_Code_fieldfootercolumn} {BEGIN Material_Code_showtotal} {END Material_Code_showtotal} {END Material_Code_fieldfootercolumn} {BEGIN Specification_fieldfootercolumn} | {BEGIN Specification_showtotal} {END Specification_showtotal} {END Specification_fieldfootercolumn} {BEGIN Quantity_fieldfootercolumn} | {BEGIN Quantity_showtotal} {END Quantity_showtotal} {END Quantity_fieldfootercolumn} {BEGIN Unit_Price_fieldfootercolumn} | {BEGIN Unit_Price_showtotal} {END Unit_Price_showtotal} {END Unit_Price_fieldfootercolumn} {BEGIN Amonut_fieldfootercolumn} | {BEGIN Amonut_showtotal} Total: {$Amonut_total} {END Amonut_showtotal} {END Amonut_fieldfootercolumn} {BEGIN Tax___fieldfootercolumn} | {BEGIN Tax___showtotal} {END Tax___showtotal} {END Tax___fieldfootercolumn} {BEGIN Ext__Amount_fieldfootercolumn} | {BEGIN Ext__Amount_showtotal} Total: {$Ext__Amount_total} {END Ext__Amount_showtotal} {END Ext__Amount_fieldfootercolumn}
{END totals_row}

{END grid_block} {END page} {$footer} {END body}