<?php
$strTableName="Materials_Master";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="material_master";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT `Material Code`,   `Material Description`,   `Material Category`,   Specification,   Status,   List_Price,   MDP,   Tax,   `Last Updated on`,   `Last Updated by`";
$gsqlFrom="FROM material_master";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/Materials_Master_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_Materials_Master;
$eventObj = &$tableEvents["Materials_Master"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>