<?php
class SalesQuotationMaintenanceTable extends Table {
	
	const C_TABLE                       = "SALES_QUOTATION_MAINTENANCE" ;
	const C_PK                  		= "SALES_QUOTATION_MAINTENANCE_ID";
	const C_ID             				= "SALES_QUOTATION_MAINTENANCE_ID";
	const C_QUOTATION_ID                = "SALES_QUOTATION_ID";
	const C_CURRENCY           			= "SALES_QUOTATION_MAINTENANCE_CURRENCY";
	const C_SUBTOTAL           			= "SALES_QUOTATION_MAINTENANCE_SUBTOTAL";
	const C_DISC_TYPE           		= "SALES_QUOTATION_MAINTENANCE_DISC_TYPE";
	const C_DISC_PERCENTAGE           	= "SALES_QUOTATION_MAINTENANCE_DISC_PERCENTAGE";
	const C_DISC_TOTAL           		= "SALES_QUOTATION_MAINTENANCE_DISC_TOTAL";
	const C_GST_PERCENTAGE           	= "SALES_QUOTATION_MAINTENANCE_GST_PERCENTAGE";
	const C_GST_TOTAL           		= "SALES_QUOTATION_MAINTENANCE_GST_TOTAL";
	const C_GRAND_TOTAL           		= "SALES_QUOTATION_MAINTENANCE_GRAND_TOTAL";
	const C_REF_ID        				= "SALES_QUOTATION_MAINTENANCE_REF_ID";

}

class SalesQuotationMaintenanceTableDetail extends TableDetail {
	
	const C_ID                    		= "identity|||";
	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)";
	const C_REF_ID                 		= "int||NO|(0)";
}
?>