<?php
class SalesQuotationMaintenanceHeaderTemplateTable extends Table {
	const C_TABLE                       = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE" ;
	const C_PK               			= "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_ID";
	const C_HEADER_ID               	= "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_ID";
	const C_ID               			= "SALES_QUOTATION_MAINTENANCE_ID";
	const C_QUOTATION_ID                = "SALES_QUOTATION_ID";
	const C_CURRENCY                    = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_CURRENCY";
	const C_SUBTOTAL                    = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_SUBTOTAL";
	const C_DISC_TYPE             		= "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_DISC_TYPE";
	const C_DISC_PERCENTAGE             = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_DISC_PERCENTAGE";
	const C_DISC_TOTAL                 	= "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_DISC_TOTAL";
	const C_GST_PERCENTAGE              = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_GST_PERCENTAGE";
	const C_GST_TOTAL                   = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_GST_TOTAL";
	const C_GRAND_TOTAL                 = "SALES_QUOTATION_MAINTENANCE_HEADER_TEMPLATE_GRAND_TOTAL";
	
}

class SalesQuotationMaintenanceHeaderTemplateTableDetail extends TableDetail {
	const C_HEADER_ID               	= "identity|||";
	const C_ID               			= "int||NO|(0)" ;
	const C_QUOTATION_ID                = "int||NO|(0)" ;
	const C_CURRENCY                 	= "nvarchar|5|NO|''";
	const C_SUBTOTAL                 	= "decimal|18,4|NO|(0)";
	const C_DISC_TYPE                 	= "nchar|1|NO|''";
	const C_DISC_PERCENTAGE             = "decimal|18,2|NO|(0)";
	const C_DISC_TOTAL                 	= "decimal|18,4|NO|(0)";
	const C_GST_PERCENTAGE             	= "decimal|18,2|NO|(0)";
	const C_GST_TOTAL              		= "decimal|18,4|NO|(0)";
	const C_GRAND_TOTAL              	= "decimal|18,4|NO|(0)";
}
?>