<?php
class SalesQuotationItemsDetailTable extends Table {
	
	const C_TABLE                       = "SALES_QUOTATION_ITEMS_DETAIL" ;
	const C_PK	                  		= "SALES_QUOTATION_ITEMS_ID, SALES_QUOTATION_ID, SALES_QUOTATION_ITEMS_LINE_NO";
	const C_ITEMS_ID                   	= "SALES_QUOTATION_ITEMS_ID";
	const C_QUOTATION_ID                = "SALES_QUOTATION_ID";
	const C_LINE_NO                    	= "SALES_QUOTATION_ITEMS_LINE_NO";
	const C_LINE_DESC                   = "SALES_QUOTATION_ITEMS_LINE_DESCRIPTION";
	const C_LINE_COMMENT             	= "SALES_QUOTATION_ITEMS_LINE_COMMENT";
	const C_LINE_AMOUNT                 = "SALES_QUOTATION_ITEMS_LINE_AMOUNT";
	const C_LINE_DISC             		= "SALES_QUOTATION_ITEMS_LINE_DISCOUNT";
	const C_LINE_DISC_DESC     			= "SALES_QUOTATION_ITEMS_LINE_DISCOUNT_DESC";
	const C_LINE_UNIT_PRICE     		= "SALES_QUOTATION_ITEMS_LINE_UNIT_PRICE";
	const C_LINE_QTY    				= "SALES_QUOTATION_ITEMS_LINE_QUANTITY";
	const C_LINE_PHASE   				= "SALES_QUOTATION_ITEMS_LINE_PHASE";
	const C_LINE_ADDITIONAL				= "SALES_QUOTATION_ITEMS_LINE_ADDITIONAL";

}

class SalesQuotationItemsDetailTableDetail extends TableDetail {
	
	const C_ITEMS_ID                    = "int||NO|(0)";
	const C_QUOTATION_ID 		        = "int||NO|(0)";
	const C_LINE_NO                 	= "nvarchar|10|NO|''";
	const C_LINE_DESC                 	= "nvarchar|255|NO|''";
	const C_LINE_COMMENT             	= "ntext||NO|''";
	const C_LINE_AMOUNT                 = "decimal|18,4|NO|(0)";
	const C_LINE_DISC             		= "decimal|18,2|NO|(0)";
	const C_LINE_DISC_DESC              = "nvarchar|255|NO|''";
	const C_LINE_UNIT_PRICE             = "decimal|18,4|NO|(0)";
	const C_LINE_QTY 		        	= "decimal|18,2|NO|(0)";
	const C_LINE_PHASE                 	= "nvarchar|10|NO|''";	
	const C_LINE_ADDITIONAL 		    = "int||NO|(0)";
}
?>