--
-- Host: localhost    Database: reenakak_bstock
-- ------------------------------------------------------


--
-- Current Database: `reenakak_bstock`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `reenakak_bstock` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `reenakak_bstock`;

--
-- Table structure for table `baseprofile`
--

CREATE TABLE `baseprofile` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `is_active` enum('1','0') NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `baseprofile`
--

INSERT INTO `baseprofile` VALUES (1,'Administrator','1','1260879950','1260879950'),(2,'Sub-Admin','1','1260879950','1260879950'),(3,'Customer','1','1260879950','1260879950');

--
-- Table structure for table `bstock_bankers`
--

CREATE TABLE `bstock_bankers` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `bank_name` varchar(250) NOT NULL,
  `bank_address` text NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `user_id` int(10) NOT NULL COMMENT 'This is the user id of the user who added or edited this record.',
  `created_date` varchar(50) NOT NULL COMMENT 'This is the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This is the modified date for this record.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_bankers`
--

INSERT INTO `bstock_bankers` VALUES (1,'ABN AMRO BANK N.V.','14, Veer Nariman Road, Mumbai - 400 023','on',0,'','1263286811'),(2,'ICICI Bank','Napean Sea Road branch.','off',0,'','1265801035'),(3,'Citi Bank','Millenium Park\r\nRD No. 33\r\nAndheri East\r\nMumbai 400093','off',0,'1265800831','1265800831'),(4,'HDFC Bank ','Marol Maroshi\r\nAdheri East\r\nMumbai 400093','on',0,'1265800893','1265800893');

--
-- Table structure for table `bstock_countries`
--

CREATE TABLE `bstock_countries` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `country_code` varchar(5) NOT NULL,
  `country_initials` varchar(5) NOT NULL,
  `is_active` enum('1','0') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=841 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_countries`
--

INSERT INTO `bstock_countries` VALUES (356,'India','IN','IND','1'),(840,'United States','US','USA','1');

--
-- Table structure for table `bstock_currency`
--

CREATE TABLE `bstock_currency` (
  `currency_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Stores the name of the currency.',
  `code` varchar(50) NOT NULL COMMENT 'Code of the currency, like INR, USD, etc.',
  `symbol` varchar(10) NOT NULL COMMENT 'Symbol of the currency.',
  `conversion_rate` varchar(50) NOT NULL COMMENT 'Conversion rate for this currency.',
  `is_active` enum('0','1') NOT NULL COMMENT 'Whether this currency is active or not. If yes, then only it can be used in the application.',
  `display_on_product` enum('0','1') NOT NULL COMMENT 'This field determines whether this  Currency is to be displayed while  Showing the price for a product.',
  `sequence` int(10) NOT NULL COMMENT 'This field will determine the order in which the currency is to be displayed. Lower sequence numbered currency is displayed first.',
  `created_date` varchar(50) NOT NULL COMMENT 'Will store the created date of this currency.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Will store the last modified date of this currency.',
  PRIMARY KEY (`currency_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the currencies that are being used in the system.';

--
-- Dumping data for table `bstock_currency`
--


--
-- Table structure for table `bstock_customerbilling`
--

CREATE TABLE `bstock_customerbilling` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for the customers & is mapped to primary key of customers table.',
  `order_id` varchar(25) NOT NULL,
  `address1` varchar(250) NOT NULL COMMENT 'Address field of the billing address.',
  `address2` varchar(250) NOT NULL COMMENT 'Address field 2 of the billing address.',
  `city` varchar(250) NOT NULL COMMENT 'City field of billing address.',
  `state_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to the primary key of the states table.',
  `country_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to the primary key of the countries table.',
  `zip_code` varchar(20) NOT NULL COMMENT 'This will contain the zip code.',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  `billing_first_name` varchar(100) NOT NULL,
  `billing_last_name` varchar(100) NOT NULL,
  `bill_office_phone_number` varchar(15) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=168 DEFAULT CHARSET=latin1 COMMENT='Store the shipping address details of the customer.';

--
-- Dumping data for table `bstock_customerbilling`
--

INSERT INTO `bstock_customerbilling` VALUES (1,12,'','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','','','vishal 2 ','kothari2','2343243232 2'),(27,12,'4','3, pradeep niwas  ','','mumbai',0,356,'400093','1262157798','1262157798','Vishal','Kothari','28303621'),(26,12,'3','3, pradeep niwas  ','midc , cross road no. 23','mumbai',66,356,'400093','1262111641','1262111641','Vishal','Kothari','28303621'),(25,12,'2','3, pradeep niwas  ','','mumbai',0,840,'400093','1262110311','1262110311','Vishal','Kothari','28303621'),(24,12,'1','3, pradeep niwas ','','mumbai',0,840,'400093','1262110289','1262110289','Vishal','Kothari','28303621'),(28,14,'5',' ','','',0,0,'','1262179789','1262179789','Vishal','Kothari',''),(29,14,'6','10/A, Apsara Building, Road. No. 4','','Mumbai',0,356,'400066','1262180252','1262180252','Vishal','Kothari','9819322550'),(30,14,'7','10/A, Apsara Building, Road. No. 4 ','','Mumbai',0,356,'400066','1262264490','1262264490','Vishal','Kothari','9819322550'),(31,14,'8','10/A, Apsara Building, Road. No. 4  ','','Mumbai',0,840,'400066','1262264686','1262264686','Vishal','Kothari','9819322550'),(32,14,'9','10/A, Apsara Building, Road. No. 4   ','','Mumbai',0,356,'400066','1262265725','1262265725','Vishal','Kothari',''),(33,14,'10','10/A, Apsara Building, Road. No. 4    ','','Mumbai',0,0,'400066','1262265922','1262265922','Vishal','Kothari',''),(34,14,'11','10/A, Apsara Building, Road. No. 4     ','','Mumbai',0,0,'400066','1262266505','1262266505','','',''),(35,14,'12','10/A, Apsara Building, Road. No. 4      ','','Mumbai',0,0,'400066','1262266611','1262266611','','',''),(36,12,'13','3, pradeep niwas  ','','mumbai',5,840,'400093','1262343767','1262343767','Vishal','Kothari','435423543543'),(37,12,'14','3, pradeep niwas   ','','mumbai',12,840,'400093','1262343919','1262343919','Vishal','Kothari',''),(38,12,'15','3, pradeep niwas ','','mumbai',69,356,'400093','1262367422','1262367422','Vishal','Kothari','24323423232'),(39,12,'16','3, pradeep niwas ','','mumbai',69,356,'400093','1262367559','1262367559','Vishal','Kothari','54354354354'),(42,18,'19',' Back Street','','Mumbai',80,356,'400093','1262631878','1262631878','Swapna','Narvekar','25252525'),(43,18,'20',' ','','',0,0,'','1262632114','1262632114','Swapna','Narvekar','25252525'),(44,19,'21',' asdf','','asdf',83,356,'324','1262693035','1262693035','harshad','narvekar','8989898989'),(45,19,'22',' Back Street','','Mumbai',67,356,'342','1262693226','1262693226','harshad','narvekar','8989898989'),(59,12,'36','3, pradeep niwas ','','mumbai',0,840,'400093','1262719625','1262719625','Vishal','Kothari',''),(58,12,'35','3, pradeep niwas ','','mumbai',0,840,'400093','1262719518','1262719518','Vishal','Kothari',''),(57,12,'34','3, pradeep niwas ','','mumbai',67,356,'400093','1262717528','1262717528','Vishal','Kothari',''),(56,24,'33',' ','','',0,0,'','1262716822','1262716822','Swap','N','556666677777888'),(55,12,'32','3, pradeep niwas ','','mumbai',80,356,'400093','1262710721','1262710721','Vishal','Kothari','3333333'),(60,12,'37','3, pradeep niwas ','','mumbai',0,840,'400093','1262719701','1262719701','Vishal','Kothari',''),(61,12,'38','3, pradeep niwas ','','mumbai',0,840,'400093','1262719744','1262719744','Vishal','Kothari',''),(62,12,'39','3, pradeep niwas ','','mumbai',0,840,'400093','1262719836','1262719836','Vishal','Kothari',''),(63,12,'40','3, pradeep niwas ','','mumbai',81,356,'400093','1262757505','1262757505','Vishal','Kothari','989898989'),(64,12,'41','3, pradeep niwas ','','mumbai',0,840,'400093','1262799020','1262799020','Vishal','Kothari',''),(65,12,'42','3, pradeep niwas ','','mumbai',0,840,'400093','1262799087','1262799087','Vishal','Kothari',''),(66,12,'43','3, pradeep niwas ','','mumbai',0,840,'400093','1262799327','1262799327','Vishal','Kothari',''),(67,12,'44','3, pradeep niwas ','','mumbai',0,840,'400093','1262799450','1262799450','Vishal','Kothari',''),(68,12,'45','3, pradeep niwas ','','mumbai',0,840,'400093','1262799831','1262799831','Vishal','Kothari',''),(69,12,'46','3, pradeep niwas ','','mumbai',0,840,'400093','1262800122','1262800122','Vishal','Kothari',''),(70,12,'47','3, pradeep niwas ','','mumbai',0,840,'400093','1262800379','1262800379','Vishal','Kothari',''),(71,12,'48','3, pradeep niwas ','','mumbai',0,840,'400093','1262800497','1262800497','Vishal','Kothari','2342342323'),(72,12,'49','3, pradeep niwas ','','mumbai',0,840,'400093','1262800908','1262800908','Vishal','Kothari',''),(73,12,'50','3, pradeep niwas ','','mumbai',0,840,'400093','1262801270','1262801270','Vishal','Kothari',''),(74,12,'51','3, pradeep niwas ','','mumbai',0,840,'400093','1262801392','1262801392','Vishal','Kothari',''),(75,12,'52','3, pradeep niwas ','','mumbai',0,840,'400093','1262801452','1262801452','Vishal','Kothari',''),(76,12,'53','3, pradeep niwas ','','mumbai',0,840,'400093','1262801536','1262801536','Vishal','Kothari',''),(77,12,'54','3, pradeep niwas ','','mumbai',0,840,'400093','1262801643','1262801643','Vishal','Kothari',''),(78,12,'55','3, pradeep niwas ','','mumbai',0,840,'400093','1262801863','1262801863','Vishal','Kothari',''),(79,12,'56','3, pradeep niwas ','','mumbai',0,840,'400093','1262802073','1262802073','Vishal','Kothari',''),(80,12,'57','3, pradeep niwas ','','mumbai',0,840,'400093','1262802533','1262802533','Vishal','Kothari',''),(81,12,'58','3, pradeep niwas ','','mumbai',0,840,'400093','1262802776','1262802776','Vishal','Kothari',''),(82,12,'59','3, pradeep niwas ','','mumbai',0,840,'400093','1262803192','1262803192','Vishal','Kothari',''),(83,12,'60','3, pradeep niwas ','','mumbai',0,840,'400093','1262803561','1262803561','Vishal','Kothari',''),(84,12,'61','3, pradeep niwas ','','mumbai',0,840,'400093','1262803720','1262803720','Vishal','Kothari',''),(85,12,'62','3, pradeep niwas ','','mumbai',0,840,'400093','1262803801','1262803801','Vishal','Kothari',''),(86,12,'63','3, pradeep niwas ','','mumbai',0,840,'400093','1262803864','1262803864','Vishal','Kothari',''),(87,12,'64','3, pradeep niwas ','','mumbai',0,840,'400093','1263215539','1263215539','Vishal','Kothari',''),(88,12,'65','3, pradeep niwas ','','mumbai',0,840,'400093','1263216890','1263216890','Vishal','Kothari',''),(89,25,'66','Back street','','Mumbai',80,356,'400093','1263491902','1263491902','Swapna','Narvekar','288888888'),(91,12,'84','3, pradeep niwas','','mumbai',3,840,'400093','1263639823','1263639823','','',''),(92,12,'85','3, pradeep niwas','','mumbai',3,840,'400093','1263643677','1263643677','','',''),(93,12,'86','3, pradeep niwas','','mumbai',3,840,'400093','1263821521','1263821521','','',''),(94,12,'87','3, pradeep niwas ','','mumbai',0,840,'400093','1263904720','1263904720','Vishal','Kothari',''),(95,12,'88','3, pradeep niwas ','','mumbai',0,840,'400093','1263905305','1263905305','Vishal','Kothari',''),(96,12,'89','3, pradeep niwas 1 ','',' ',4,840,'400093 1            ','1264224678','1264224678','Vishal1','K1','2893383011'),(97,12,'90','3, pradeep niwas 1 ','',' ',7,840,'400093 1            ','1264234581','1264234581','Vishal1','K1','2893383011'),(98,12,'91','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264412854','1264412854','Vishal1','K1','2893383011'),(99,12,'92','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415024','1264415024','Vishal1','K1','2893383011'),(100,12,'93','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415258','1264415258','Vishal1','K1','2893383011'),(101,12,'94','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415374','1264415374','Vishal1','K1','2893383011'),(102,12,'95','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415586','1264415586','Vishal1','K1','2893383011'),(103,12,'96','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415715','1264415715','Vishal1','K1','2893383011'),(104,12,'97','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415820','1264415820','Vishal1','K1','2893383011'),(105,12,'98','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264415936','1264415936','Vishal1','K1','2893383011'),(106,12,'99','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416016','1264416016','Vishal1','K1','2893383011'),(107,12,'100','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416120','1264416120','Vishal1','K1','2893383011'),(108,12,'101','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416237','1264416237','Vishal1','K1','2893383011'),(109,12,'102','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416407','1264416407','Vishal1','K1','2893383011'),(110,12,'103','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416476','1264416476','Vishal1','K1','2893383011'),(111,12,'104','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416530','1264416530','Vishal1','K1','2893383011'),(112,12,'105','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1264416614','1264416614','Vishal1','K1','2893383011'),(113,25,'106',' sdfasdf ','','sdfa',83,356,'34312','1264675367','1264675367','Swapna','Narvekar','288888888'),(114,25,'107',' ','','',0,0,'','1264675417','1264675417','Swapna','Narvekar','288888888'),(115,25,'108',' ','','',0,0,'','1264675515','1264675515','Swapna','Narvekar','288888888'),(116,25,'109',' ','','',0,0,'','1264675570','1264675570','Swapna','Narvekar','288888888'),(117,25,'110',' ','','',0,0,'','1264675609','1264675609','Swapna','Narvekar','288888888'),(118,25,'111',' ','','',0,0,'','1264675663','1264675663','Swapna','Narvekar','288888888'),(119,12,'112','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1265031295','1265031295','Vishal1','K1','2893383011'),(120,12,'113','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1265031538','1265031538','Vishal1','K1','2893383011'),(121,12,'114','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1265031671','1265031671','Vishal1','K1','2893383011'),(122,25,'115',' ','','',0,0,'','1265107631','1265107631','Swapna','Narvekar','288888888'),(123,0,'','sdfa','asdf','sdfs',12,360,'4242323','','','asdf','asdf','32423423423'),(124,41,'','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265135128','1265135128','baba','narvekar','564564564564'),(125,25,'116','','','',0,0,'','1265295719','1265295719','','',''),(126,25,'117',' Back street','','Mumbai',0,840,'400093','1265298600','1265298600','Swapna','Narvekar','288888888'),(127,25,'118','MIDC Cross Road No. 23','','Mumbai',0,840,'400093','1265303985','1265303985','Swapna','Narvekar','288888888'),(128,41,'119','MIDC Cross Rd no 23 ','','mumbai',6,840,'400093','1265651857','1265651857','baba','narvekar','564564564564'),(129,41,'120','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265651981','1265651981','baba','narvekar','564564564564'),(130,41,'121','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265652252','1265652252','baba','narvekar','564564564564'),(131,41,'122','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265652542','1265652542','baba','narvekar','564564564564'),(132,41,'123','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265652613','1265652613','baba','narvekar','564564564564'),(133,87,'124','','','',0,0,'','1265652952','1265652952','','',''),(134,87,'125','','','',0,0,'','1265652954','1265652954','','',''),(135,41,'126','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265653003','1265653003','baba','narvekar','564564564564'),(136,25,'127','','','',0,0,'','1265653041','1265653041','','',''),(137,87,'128','','','',0,0,'','1265653232','1265653232','','',''),(138,12,'129','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1265712794','1265712794','Vishal1','K1','2893383011'),(139,25,'130','','','',0,0,'','1265787624','1265787624','','',''),(140,42,'','MIDC Cross Rd No 23','','Mumbai',80,356,'400093','1265798631','1265798631','Swap','N','288888888'),(141,43,'','Ram Mandir Rd','','Mumbai',17,840,'AX1234','1265798970','1265798970','Swaps','P','4400442233333'),(142,44,'','','','',80,356,'400001','1265799163','1265799163','Prikesh','Kothari','9987542459'),(143,45,'','','','',80,356,'400093','1265886480','1265886480','Vishal','Kothari','9819322550'),(144,12,'131','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1266476450','1266476450','Vishal','Kothari','28933830'),(145,12,'132','3, pradeep niwas 2 ','','Mumbai',84,356,'4000932 ','1266477098','1266477098','Vishal','Kothari','28933830'),(146,46,'','','','',80,356,'400004','1266485556','1266485556','jatin','shah','40018900'),(147,46,'133',' ','','',0,356,'400004','1266488192','1266488192','jatin','shah','40018900'),(148,46,'134','','','',80,356,'400004','1266495976','1266495976','jatin','shah','40018900'),(149,46,'135','','','',80,356,'400004','1266496008','1266496008','jatin','shah','40018900'),(150,46,'','andheri','','mumbai',80,356,'400093','1266586514','1266586514','baba','n',''),(151,46,'','andheri','','mumbai',80,356,'400093','1266586674','1266586674','baba','n',''),(152,46,'','andheri','','mumbai',80,356,'400093','1266586894','1266586894','baba','n',''),(153,47,'','andheri','','mumbai',80,356,'400093','1266587039','1266587039','baba','n',''),(154,25,'136','','','',0,0,'','1266593869','1266593869','','',''),(155,25,'137','','','',0,0,'','1266594074','1266594074','','',''),(156,25,'138','','','',0,0,'','1266594797','1266594797','','',''),(157,87,'139','','','',0,0,'','1266594911','1266594911','','',''),(158,87,'140','','','',0,0,'','1266594985','1266594985','','',''),(159,25,'141','','','',0,0,'','1266595012','1266595012','','',''),(160,12,'142','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1266648337','1266648337','Vishal','Kothari','28933830'),(161,48,'','andheri','','mumbai',80,356,'400093','1266668314','1266668314','baba','narvekar',''),(162,12,'143','3, pradeep niwas 2 ','','Mumbai',66,356,'4000932 ','1266668803','1266668803','Vishal','Kothari','28933830'),(163,49,'','borivali','','mumbai',80,356,'400056','1266668844','1266668844','vishal','kothari',''),(164,12,'144','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1266669304','1266669304','Vishal','Kothari','28933830'),(165,12,'145','3, pradeep niwas 2 ','',' ',0,356,'4000932 ','1266669471','1266669471','Vishal','Kothari','28933830'),(166,50,'','andheri','','mumbai',80,356,'400093','1267079041','1267079041','baba','narvekar',''),(167,51,'','Mahakali Road','','Mumbai',80,356,'400093','1267179014','1267179014','Swapna','Narvekar','');

--
-- Table structure for table `bstock_customerloginhistory`
--

CREATE TABLE `bstock_customerloginhistory` (
  `history_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for the customers & is mapped to primary key of customers table.',
  `customer_ip` varchar(50) NOT NULL COMMENT 'This will store the IP address from which the customer had logged in.',
  `login_time` varchar(50) NOT NULL COMMENT 'THis will store the timestamp when the customer logged in.',
  `logout_time` varchar(50) NOT NULL COMMENT 'This will store the timestamp when the customer logged out.',
  `login_status` enum('0','1') NOT NULL COMMENT 'This field will contain whether  The customer is signed in or signed off.',
  PRIMARY KEY (`history_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the login stats of customers.Entry is recorded everyti';

--
-- Dumping data for table `bstock_customerloginhistory`
--


--
-- Table structure for table `bstock_customershipping`
--

CREATE TABLE `bstock_customershipping` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for the customers & is mapped to primary key of customers table.',
  `order_id` varchar(25) NOT NULL,
  `address1` varchar(250) NOT NULL COMMENT 'Address field of the shipping address.',
  `address2` varchar(250) NOT NULL COMMENT 'Address field 2 of the shipping address.',
  `city` varchar(250) NOT NULL COMMENT 'City field of shipping address.',
  `state_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to the primary key of the states table.',
  `country_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to the primary key of the countries table.',
  `zip_code` varchar(20) NOT NULL COMMENT 'This will contain the zip code.',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  `shipping_first_name` varchar(100) NOT NULL,
  `shipping_last_name` varchar(100) NOT NULL,
  `ship_office_phone_number` varchar(15) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=168 DEFAULT CHARSET=latin1 COMMENT='Store the shipping address details of the customer.';

--
-- Dumping data for table `bstock_customershipping`
--

INSERT INTO `bstock_customershipping` VALUES (1,12,'','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','','','vishal1 ','kothari1','32423423231'),(25,12,'4','3, pradeep niwas (Shipping)  ','','mumbai',0,840,'400093','1262157798','1262157798','Vishal','Kothari','28303621'),(23,12,'2','3, pradeep niwas (Shipping)  ','','mumbai',0,356,'400093','1262110311','1262110311','Vishal','Kothari','28303621'),(24,12,'3','3, pradeep niwas (Shipping)  ','midc , cross road no. 23','mumbai',67,356,'400093','1262111641','1262111641','Vishal','Kothari','28303621'),(22,12,'1','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262110289','1262110289','Vishal','Kothari','28303621'),(26,14,'5',' ','','',0,0,'','1262179789','1262179789','Vishal','Kothari',''),(27,14,'6','10/A, Apsara Building, Road. No. 4','','Houston',0,840,'12345','1262180252','1262180252','Vishal','Kothari','Texas'),(28,14,'7','10/A, Apsara Building, Road. No. 4 ','','Houston',80,840,'12345','1262264490','1262264490','Vishal','Kothari','1234512345'),(29,14,'8','10/A, Apsara Building, Road. No. 4  ','','Houston',1,356,'12345','1262264686','1262264686','Vishal','Kothari','1234512345'),(30,14,'9','10/A, Apsara Building, Road. No. 4   ','','Houston',67,356,'12345','1262265725','1262265725','Vishal','Kothari',''),(31,14,'10','10/A, Apsara Building, Road. No. 4    ','','Houston',0,0,'12345','1262265922','1262265922','Vishal','Kothari',''),(32,14,'11','10/A, Apsara Building, Road. No. 4     ','','Houston',0,0,'12345','1262266505','1262266505','','',''),(33,14,'12','10/A, Apsara Building, Road. No. 4      ','','Houston',0,0,'12345','1262266611','1262266611','','',''),(34,12,'13','3, pradeep niwas (Shipping)  ','','mumbai',0,840,'400093','1262343767','1262343767','Vishal','Kothari','23423423'),(35,12,'14','3, pradeep niwas (Shipping)   ','','mumbai',0,356,'400093','1262343919','1262343919','Vishal','Kothari',''),(36,12,'15','3, pradeep niwas (Shipping) ','','mumbai',19,840,'400093','1262367422','1262367422','Vishal','Kothari','23423234234'),(37,12,'16','3, pradeep niwas (Shipping) ','','mumbai',8,840,'400093','1262367559','1262367559','Vishal','Kothari','435435354353'),(40,18,'19','  Back Street','','Mumbai',80,356,'400093','1262631878','1262631878','Swapna','Narvekar','25252525'),(59,12,'38','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262719744','1262719744','Vishal','Kothari',''),(58,12,'37','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262719701','1262719701','Vishal','Kothari',''),(57,12,'36','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262719625','1262719625','Vishal','Kothari',''),(56,12,'35','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262719518','1262719518','Vishal','Kothari',''),(55,12,'34','3, pradeep niwas (Shipping) ','','mumbai',4,840,'400093','1262717528','1262717528','Vishal','Kothari',''),(54,24,'33',' ','','',0,0,'','1262716822','1262716822','Swap','N','556666677777888'),(53,12,'32','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262710721','1262710721','Vishal','Kothari',''),(60,12,'39','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262719836','1262719836','Vishal','Kothari',''),(61,12,'40','3, pradeep niwas (Shipping) ','','mumbai',20,840,'400093','1262757505','1262757505','Vishal','Kothari','09998989898'),(62,12,'41','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262799020','1262799020','Vishal','Kothari',''),(63,12,'42','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262799087','1262799087','Vishal','Kothari',''),(64,12,'43','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262799327','1262799327','Vishal','Kothari',''),(65,12,'44','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262799450','1262799450','Vishal','Kothari',''),(66,12,'45','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262799831','1262799831','Vishal','Kothari',''),(67,12,'46','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262800122','1262800122','Vishal','Kothari',''),(68,12,'47','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262800379','1262800379','Vishal','Kothari',''),(69,12,'48','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262800497','1262800497','Vishal','Kothari','234234242323'),(70,12,'49','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262800908','1262800908','Vishal','Kothari',''),(71,12,'50','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262801270','1262801270','Vishal','Kothari',''),(72,12,'51','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262801392','1262801392','Vishal','Kothari',''),(73,12,'52','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262801452','1262801452','Vishal','Kothari',''),(74,12,'53','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262801536','1262801536','Vishal','Kothari',''),(75,12,'54','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262801643','1262801643','Vishal','Kothari',''),(76,12,'55','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262801863','1262801863','Vishal','Kothari',''),(77,12,'56','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262802073','1262802073','Vishal','Kothari',''),(78,12,'57','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262802533','1262802533','Vishal','Kothari',''),(79,12,'58','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262802776','1262802776','Vishal','Kothari',''),(80,12,'59','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262803192','1262803192','Vishal','Kothari',''),(81,12,'60','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262803561','1262803561','Vishal','Kothari',''),(82,12,'61','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262803720','1262803720','Vishal','Kothari',''),(83,12,'62','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262803801','1262803801','Vishal','Kothari',''),(84,12,'63','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1262803864','1262803864','Vishal','Kothari',''),(85,12,'64','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1263215539','1263215539','Vishal','Kothari',''),(86,12,'65','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1263216890','1263216890','Baba','Baba',''),(87,25,'66','Back street','','NY',12,840,'AHK402','1263491902','1263491902','Swapna','Narvekar','288888888'),(88,25,'67',' ','','',0,0,'','1263495012','1263495012','Swapna','Narvekar','288888888'),(89,12,'81','3, pradeep niwas (Shipping)','','mumbai',68,356,'400093','1263639344','1263639344','','',''),(90,12,'82','3, pradeep niwas (Shipping)','','mumbai',68,356,'400093','1263639524','1263639524','','',''),(91,12,'83','3, pradeep niwas (Shipping)','','mumbai',68,356,'400093','1263639564','1263639564','','',''),(92,12,'84','3, pradeep niwas (Shipping)','','mumbai',68,356,'400093','1263639823','1263639823','','',''),(93,12,'85','3, pradeep niwas (Shipping)','','mumbai',68,356,'400093','1263643677','1263643677','','',''),(94,12,'86','3, pradeep niwas (Shipping)','','mumbai',68,356,'400093','1263821521','1263821521','','',''),(95,12,'87','3, pradeep niwas (Shipping) ','','mumbai',0,840,'400093','1263904720','1263904720','Vishal','Kothari',''),(96,12,'88','3, pradeep niwas (Shipping) ','','mumbai',0,356,'400093','1263905305','1263905305','Vishal','Kothari',''),(97,12,'89','3, pradeep niwas (Shipping) ','','mumbai',71,356,'400093','1264224678','1264224678','Vishal1','K1','2893383011'),(98,12,'90','3, pradeep niwas (Shipping) ','','mumbai',68,356,'400093','1264234581','1264234581','Vishal1','K1','2893383011'),(99,12,'91','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264412854','1264412854','Vishal1','K1','2893383011'),(100,12,'92','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415024','1264415024','Vishal1','K1','2893383011'),(101,12,'93','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415258','1264415258','Vishal1','K1','2893383011'),(102,12,'94','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415374','1264415374','Vishal1','K1','2893383011'),(103,12,'95','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415586','1264415586','Vishal1','K1','2893383011'),(104,12,'96','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415715','1264415715','Vishal1','K1','2893383011'),(105,12,'97','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415820','1264415820','Vishal1','K1','2893383011'),(106,12,'98','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264415936','1264415936','Vishal1','K1','2893383011'),(107,12,'99','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416016','1264416016','Vishal1','K1','2893383011'),(108,12,'100','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416120','1264416120','Vishal1','K1','2893383011'),(109,12,'101','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416237','1264416237','Vishal1','K1','2893383011'),(110,12,'102','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416407','1264416407','Vishal1','K1','2893383011'),(111,12,'103','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416476','1264416476','Vishal1','K1','2893383011'),(112,12,'104','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416530','1264416530','Vishal1','K1','2893383011'),(113,12,'105','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1264416614','1264416614','Vishal1','K1','2893383011'),(114,25,'106',' asdfasd','','sdfasd',20,840,'3242','1264675367','1264675367','Swapna','Narvekar','288888888'),(115,25,'107',' ','','',0,0,'','1264675417','1264675417','Swapna','Narvekar','288888888'),(116,25,'108',' ','','',0,0,'','1264675515','1264675515','Swapna','Narvekar','288888888'),(117,25,'109',' ','','',0,0,'','1264675570','1264675570','Swapna','Narvekar','288888888'),(118,25,'110',' ','','',0,0,'','1264675609','1264675609','Swapna','Narvekar','288888888'),(119,25,'111',' ','','',0,0,'','1264675663','1264675663','Swapna','Narvekar','288888888'),(120,12,'112','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1265031295','1265031295','Vishal1','K1','2893383011'),(121,12,'113','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1265031538','1265031538','Vishal1','K1','2893383011'),(122,12,'114','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1265031671','1265031671','Vishal1','K1','2893383011'),(123,25,'115',' ','','',0,0,'','1265107631','1265107631','Swapna','Narvekar','288888888'),(124,41,'','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265135128','1265135128','baba','narvekar','564564564564'),(125,25,'116','','','',0,0,'','1265295719','1265295719','','',''),(126,25,'117',' ','','',0,0,'','1265298600','1265298600','Swapna','Narvekar','288888888'),(127,25,'118',' MIDC Cross Road No. 23','','Mumbai',0,356,'40093','1265303985','1265303985','Swapna','Narvekar','288888888'),(128,41,'119','MIDC Cross Rd no 23 ','','mumbai',0,840,'400093','1265651857','1265651857','baba','narvekar','564564564564'),(129,41,'120','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265651981','1265651981','','','564564564564'),(130,41,'121','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265652252','1265652252','','','564564564564'),(131,41,'122','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265652542','1265652542','','','564564564564'),(132,41,'123','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265652613','1265652613','','','564564564564'),(133,87,'124','','','',0,0,'','1265652952','1265652952','','',''),(134,87,'125','','','',0,0,'','1265652954','1265652954','','',''),(135,41,'126','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1265653003','1265653003','baba','narvekar','564564564564'),(136,25,'127','','','',0,0,'','1265653041','1265653041','','',''),(137,87,'128','','','',0,0,'','1265653232','1265653232','','',''),(138,12,'129','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1265712794','1265712794','Vishal1','K1','2893383011'),(139,25,'130','','','',0,0,'','1265787624','1265787624','','',''),(140,42,'','MIDC Cross Rd No 23','','Mumbai',80,356,'400093','1265798631','1265798631','Swap','N','288888888'),(141,43,'','Ram Mandir Rd','','Mumbai',17,840,'AX1234','1265798970','1265798970','Swaps','P','4400442233333'),(142,44,'','','','',80,356,'400001','1265799163','1265799163','Prikesh','Kothari','9987542459'),(143,45,'','','','',80,356,'400093','1265886480','1265886480','Vishal','Kothari','9819322550'),(144,12,'131','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1266476450','1266476450','Vishal','Kothari','28933830'),(145,12,'132','3, pradeep niwas (Shipping1)1 ','','Mumbai',0,356,'4000931 ','1266477098','1266477098','Vishal','Kothari','28933830'),(146,46,'','','','',80,356,'400004','1266485556','1266485556','jatin','shah','40018900'),(147,46,'133',' ','','',0,356,'400004','1266488192','1266488192','jatin','shah','40018900'),(148,46,'134','','','',80,356,'400004','1266495976','1266495976','','','40018900'),(149,46,'135','','','',80,356,'400004','1266496008','1266496008','','','40018900'),(150,46,'','andheri','','mumbai',80,356,'400093','1266586514','1266586514','baba','n',''),(151,46,'','andheri','','mumbai',80,356,'400093','1266586674','1266586674','baba','n',''),(152,46,'','andheri','','mumbai',80,356,'400093','1266586894','1266586894','baba','n',''),(153,47,'','andheri','','mumbai',80,356,'400093','1266587039','1266587039','baba','n',''),(154,25,'136','','','',0,0,'','1266593869','1266593869','','',''),(155,25,'137','','','',0,0,'','1266594074','1266594074','','',''),(156,25,'138','','','',0,0,'','1266594797','1266594797','','',''),(157,87,'139','','','',0,0,'','1266594911','1266594911','','',''),(158,87,'140','','','',0,0,'','1266594985','1266594985','','',''),(159,25,'141','','','',0,0,'','1266595012','1266595012','','',''),(160,12,'142','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1266648337','1266648337','Vishal','Kothari','28933830'),(161,48,'','andheri','','mumbai',80,356,'400093','1266668314','1266668314','baba','narvekar',''),(162,12,'143','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1266668803','1266668803','Vishal','Kothari','28933830'),(163,49,'','borivali','','mumbai',80,356,'400056','1266668844','1266668844','vishal','kothari',''),(164,12,'144','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1266669304','1266669304','Vishal','Kothari','28933830'),(165,12,'145','3, pradeep niwas (Shipping1)1 ','',' ',0,840,'4000931 ','1266669471','1266669471','Vishal','Kothari','28933830'),(166,50,'','andheri','','mumbai',80,356,'400093','1267079041','1267079041','baba','narvekar',''),(167,51,'','Mahakali Road','','Mumbai',80,356,'400093','1267179014','1267179014','Swapna','Narvekar','');

--
-- Table structure for table `bstock_customnumbers`
--

CREATE TABLE `bstock_customnumbers` (
  `custom_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `module_id` int(10) NOT NULL COMMENT 'This is the foreign key for the modules & is mapped to primary key of modules table.',
  `increment_number` int(10) NOT NULL COMMENT 'This will be the number from which to start the numbering for specific modules.',
  `prefix` varchar(10) NOT NULL COMMENT 'This will be the prefix that will be attached before the ''increment_number'' field.',
  `is_active` enum('0','1') NOT NULL COMMENT 'This will determine whether this record is to be used for custom numbering or not.',
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this record.',
  PRIMARY KEY (`custom_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='For Invoice & Order No. field if we want to set an auto-inc ';

--
-- Dumping data for table `bstock_customnumbers`
--


--
-- Table structure for table `bstock_exporters`
--

CREATE TABLE `bstock_exporters` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primary key.',
  `exporter_name` varchar(250) NOT NULL,
  `address` text NOT NULL,
  `phone1` varchar(50) NOT NULL,
  `phone2` varchar(50) NOT NULL,
  `fax` varchar(50) NOT NULL,
  `reference_no` varchar(50) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` varchar(50) NOT NULL COMMENT 'This is the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This is the modified date for this record.',
  `iec_no` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COMMENT='Stores exporter related information like Name, Address, etc.';

--
-- Dumping data for table `bstock_exporters`
--

INSERT INTO `bstock_exporters` VALUES (1,'Vishal & Co.','Seepz, Andheri.','1234567','9999999','1111111','2222222','on','','1263212323',''),(2,'Harshad & Co.','PRASAD CHAMBERS,\r\nOPERA HOUSE,MUMBAI 400 004','2224512','1253412','12355312','','on','','1212356342','0388256202'),(3,'Narvekars','Avenue\r\nNew Link Rd\r\nMalad East','77772222243','2222333344','989899999','Website','off','1265801481','1265801481','EIC234111');

--
-- Table structure for table `bstock_fields`
--

CREATE TABLE `bstock_fields` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(100) NOT NULL COMMENT 'This will be the label displayed while displaying the form.',
  `type` varchar(100) NOT NULL COMMENT 'This will be the type of the field, like text, select box, radio button, etc.',
  `column_name` varchar(50) NOT NULL COMMENT 'This will be the name of the field in the table where this field is being used.',
  `maxlength` int(50) NOT NULL COMMENT 'This will contain the number of characters that will be allowed in this field.',
  `name` varchar(50) NOT NULL COMMENT 'This will contain the name of field in the HTML form that is displayed, i.e. the value contained in the ''name'' attribute of the field''s tag.',
  `value` varchar(2000) NOT NULL,
  `sequence` int(5) NOT NULL COMMENT 'This will be the order of the fields for the module. Lower the sequence, that field will be displayed first.',
  `readonly` enum('on','off') NOT NULL COMMENT 'This will determine if this field is to be kept ''readonly''.',
  `presence` enum('on','off') NOT NULL COMMENT 'This means whether the field will  Be present by default on the form  Or not. This will be useful when we  Assign the rights to add / remove  Fields to a sub-admin.',
  `mandatory` enum('on','off') NOT NULL COMMENT 'Mandatory or not mandatory. This  Will be applicable only while  Adding / editing a field. It will only  Check for NOT NULL for that field.',
  `is_active` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'Active or Deactivated. If deactivated,  It won''t be displayed anywhere.',
  `table_name` varchar(100) NOT NULL COMMENT 'The table to which this field belongs.',
  `user_id` int(10) NOT NULL COMMENT 'The ID of the user who has added  this field.',
  `created_date` varchar(50) NOT NULL COMMENT 'Timestamp when this field was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Timestamp when this field was last modified.',
  `generatedtype` int(19) NOT NULL DEFAULT '0',
  `is_range` int(5) NOT NULL DEFAULT '0',
  `required_msg` varchar(300) NOT NULL,
  `test_field` enum('1','2') NOT NULL,
  `minlength` varchar(10) NOT NULL,
  `validation_type` enum('_AGE_','_NUMBER_','_ALPHA_','_ALPHANUM_','_AGE_','_NUMBER_','_CVVNUMBER_','_CREADITCARDNUMBER_','_USERNAME_','_NAME_','_FIRSTNAME_','_MIDDLENAME_','_LASTNAME_','_TITLE_','_POSITION_','_DESIGNATION_','_MOBILE_','_FAX_','_USPHONE_','_ZIP_','_USZIP_','_UKZIP_','_SSN_','_CURRENCY_','_EMAIL_','_URL_','_IP_','_REGION_','_PRODUCTTITLE_','_COMPANYNAME_','_CATEGORYNAME_','_BLOGTITLE_','_BLOGNAME_','_CITY_','_STATE_','_COUNTRY_','_DATE_') NOT NULL,
  `validation_error_msg` varchar(250) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=182 DEFAULT CHARSET=latin1 COMMENT='This table will store all the custom fields for the modules.';

--
-- Dumping data for table `bstock_fields`
--



--
-- Table structure for table `bstock_invoices`
--

CREATE TABLE `bstock_invoices` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `invoice_no` varchar(50) NOT NULL COMMENT 'Invoice number. This is generated from the ''customnumbers'' table.',
  `invoice_date` varchar(50) NOT NULL COMMENT 'This is the date that is selected on the form of invoice creation / editing.',
  `other_references` varchar(100) NOT NULL COMMENT 'This is used to store the other reference number found on Invoice.',
  `invoice_status_id` int(10) NOT NULL COMMENT 'This is the foreign key of the invoice status table & mapped to it''s primary key.',
  `exporter_id` int(10) NOT NULL COMMENT 'This is the exporter_id which is the foreign key here. It is the primary key of the bstock_exporters table.',
  `payment_terms_id` int(10) NOT NULL COMMENT 'This will be the foreign key in the payment_terms table, corresponding to the primary key of that table.',
  `banker_id` int(10) NOT NULL COMMENT 'This is the foreign key & it corresponds to the primary key of the bstock_bankers table.',
  `conversion_rate` decimal(10,3) NOT NULL COMMENT 'This field will store the current rate of USD vs INR',
  `created_date` varchar(50) NOT NULL COMMENT 'Date when this invoice was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Date when this invoice was last modified.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Stores the invoices for every order.';

--
-- Dumping data for table `bstock_invoices`
--


--
-- Table structure for table `bstock_invoicestatushistory`
--

CREATE TABLE `bstock_invoicestatushistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `invoice_id` int(10) NOT NULL COMMENT 'This will be the foreign key of the invoices table & mapped to it''s primary key.',
  `status_id` int(10) NOT NULL COMMENT 'This will be the foreign key of the invoices status table & mapped to it''s primary key. Here we will store the new status id which was there after being updated.',
  `comments` text NOT NULL COMMENT 'This will store the comments entered by the Admin.',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the timestamp of the date when the invoice status was changed.',
  `user_id` int(10) DEFAULT '0' COMMENT 'This is the foreign key of the user who changed the status & is mapped to it''s primary key.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=65 DEFAULT CHARSET=latin1 COMMENT='Here we record all the transactions when the invoices status';

--
-- Dumping data for table `bstock_invoicestatushistory`
--

INSERT INTO `bstock_invoicestatushistory` VALUES (1,7,1,'','1263440468','1263440468',0),(2,8,1,'','1263440541','1263440541',1),(3,9,1,'','1263443448','1263443448',1),(4,10,1,'','1263443740','1263443740',1),(5,11,1,'','1263445264','1263445264',1),(6,12,1,'','1263445367','1263445367',1),(7,13,1,'','1263445384','1263445384',1),(8,14,1,'','1263445426','1263445426',1),(9,15,1,'','1263445460','1263445460',1),(10,16,1,'','1263445608','1263445608',1),(11,17,1,'','1263445638','1263445638',1),(12,18,2,'Fully paid.','1263457744','1263457744',1),(13,19,2,'Fully paid.','1263457831','1263457831',1),(14,1,1,'Enter comments here.','1263496246','1263496246',1),(15,1,1,'Enter comments here.','1263496318','1263496318',1),(16,2,2,'This is paid fully.','1263502864','1263502864',1),(17,3,2,'Enter comments here.','1263505135','1263505135',1),(18,4,2,'Enter comments here.','1263537440','1263537440',1),(19,5,2,'Done. paid.','1263592477','1263592477',1),(20,6,2,'We have received the payment. Thank you.','1263961877','1263961877',1),(21,7,2,'We have received the payment. Thank you.','1263961966','1263961966',1),(22,8,2,'We have received the payment. Thank you.','1263962772','1263962772',1),(23,9,2,'We have received the payment. Thank you.','1263962929','1263962929',1),(24,10,2,'Thank you for the payment.','1263963365','1263963365',1),(25,11,2,'Thank you for the payment.','1263963657','1263963657',1),(26,12,2,'Paid now.','1263963827','1263963827',1),(27,13,2,'Paid now.','1263963939','1263963939',1),(28,14,2,'We received this payment. Thank you.','1263964517','1263964517',1),(29,15,2,'Payment is received. Thanks.','1263965600','1263965600',1),(30,16,1,'Enter comments here.','1263990258','1263990258',1),(31,17,1,'Enter comments here.','1263990766','1263990766',1),(32,18,1,'Enter comments here.','1263990806','1263990806',1),(33,19,1,'Enter comments here.','1263990837','1263990837',1),(34,20,2,'Fully Paid.','1263992419','1263992419',1),(35,21,2,'Thanks for the payment.','1264048879','1264048879',1),(36,22,2,'Recvd. payment. Thanks.','1264049581','1264049581',1),(37,23,1,'Enter comments here.','1264055292','1264055292',1),(38,24,1,'Enter comments here.','1264055837','1264055837',1),(39,25,1,'Enter comments here.','1264056272','1264056272',1),(40,26,1,'Enter comments here.','1264056770','1264056770',1),(41,27,1,'Enter comments here.','1264057208','1264057208',1),(42,28,1,'Enter comments here.','1264057776','1264057776',1),(43,29,1,'Enter comments here.','1264058113','1264058113',1),(44,30,1,'Enter comments here.','1264058730','1264058730',1),(45,31,2,'paid now.','1264058867','1264058867',1),(46,32,2,'paid now.','1264059139','1264059139',1),(47,33,2,'Paid.','1264060692','1264060692',1),(48,34,2,'Paid.','1264060767','1264060767',1),(49,35,2,'This one is paid.','1264421348','1264421348',1),(50,36,2,'100% paid. Thanks.','1264422051','1264422051',1),(51,37,2,'100% paid. Thank you.','1264423686','1264423686',1),(52,38,2,'Payment complete.','1264423991','1264423991',1),(53,39,2,'Payment is made','1265299106','1265299106',1),(54,40,1,'Payment to be recieved','1265304239','1265304239',1),(55,41,1,'This is the proforma invoice.','1265700565','1265700565',1),(56,42,1,'pending.','1265702463','1265702463',1),(57,43,1,'pending.','1265702577','1265702577',1),(58,44,1,'payment pending.','1265702761','1265702761',1),(59,45,1,'Sending the proforma invoice.','1265713901','1265713901',1),(60,46,2,'Fully paid.','1265714827','1265714827',1),(61,47,2,'Paid.','1265716823','1265716823',1),(62,48,1,'Enter comments here.','1265720700','1265720700',1),(63,49,1,'These are the details','1265788591','1265788591',1),(64,50,2,'this is paid.','1266491308','1266491308',1);

--
-- Table structure for table `bstock_invoicestatustypes`
--

CREATE TABLE `bstock_invoicestatustypes` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Name of the invoice status type.',
  `description` text NOT NULL COMMENT 'Description for the invoice status type.',
  `is_active` enum('0','1') NOT NULL COMMENT 'Whether this invoice type is active or not.',
  `created_date` varchar(50) NOT NULL COMMENT 'Date when this invoice status type was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Date when this invoice status type was last modified.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COMMENT='This table is used to store the different invoice status typ';

--
-- Dumping data for table `bstock_invoicestatustypes`
--

INSERT INTO `bstock_invoicestatustypes` VALUES (1,'Pending','','1','',''),(2,'Paid','','1','','');

--
-- Table structure for table `bstock_inwardproductdetails`
--

CREATE TABLE `bstock_inwardproductdetails` (
  `inward_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `product_id` int(10) NOT NULL COMMENT 'This is the foreign key for the products & is mapped to primary key of products table.',
  `quantity` int(10) NOT NULL COMMENT 'Quantity of products that were added to the stock.',
  `list_price` varchar(50) NOT NULL COMMENT 'Price at which the products were purchased.',
  `vendor_id` int(10) NOT NULL COMMENT 'This will be the vendor_id from whom the products were purchased.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this record.',
  PRIMARY KEY (`inward_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Record transactions when products are added in our inventory';

--
-- Dumping data for table `bstock_inwardproductdetails`
--


--
-- Table structure for table `bstock_lastviewedstats`
--

CREATE TABLE `bstock_lastviewedstats` (
  `stat_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `product_id` int(10) NOT NULL COMMENT 'This is the foreign key for the products & is mapped to primary key of products table.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for customers & is mapped to primary key of customers table.',
  `viewed_date` varchar(50) NOT NULL COMMENT 'This is the timestamp when the product was viewed by the customer.',
  `customer_ip` varchar(50) NOT NULL COMMENT 'This will be the IP Address of the customer.',
  PRIMARY KEY (`stat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table is used to store the stats of viewed products.';

--
-- Dumping data for table `bstock_lastviewedstats`
--


--
-- Table structure for table `bstock_moduleoperationtypes`
--

CREATE TABLE `bstock_moduleoperationtypes` (
  `operation_id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `name` varchar(100) NOT NULL COMMENT 'This will be the name of the operation i.e. Add / Modify, etc.',
  `description` text NOT NULL COMMENT 'This field will contain the description of the operation.',
  `is_active` enum('0','1') NOT NULL COMMENT 'This field will check whether this operation is currently active or not.',
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this record.',
  PRIMARY KEY (`operation_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COMMENT='Store the different type of operations that are possible in ';

--
-- Dumping data for table `bstock_moduleoperationtypes`
--

INSERT INTO `bstock_moduleoperationtypes` VALUES (1,'No rights','No rights of view, create/edit or delete\r\n\r\n(000)0','1','',''),(2,'Only view','Only viewing rights\r\n\r\n(001)1','1','',''),(3,'View/Create/Edit','Rights of view, create/edit\r\n(110) 6','','',''),(4,'View/Delete','Rights of viewing and deleting\r\n\r\n(011) 3','1','',''),(5,'View/Create/Edit/Delete','Full rights\r\n\r\n(111) 7','1','','');

--
-- Table structure for table `bstock_modules`
--

CREATE TABLE `bstock_modules` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `name` varchar(100) NOT NULL COMMENT 'This will be the name of the module.',
  `table_name` varchar(100) NOT NULL,
  `sequence` int(10) NOT NULL COMMENT 'This field will contain the order of the modules.',
  `presence` enum('0','1') NOT NULL COMMENT 'Whether this module is to be made visible to the customer or not.',
  `readonly` enum('0','1') NOT NULL COMMENT 'This will contain whether this module can be deleted / disabled.',
  `is_active` enum('on','off') NOT NULL DEFAULT 'on',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this module.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this module.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COMMENT='Store the modifiable as well as non-modifiable(prod) modules';

--
-- Dumping data for table `bstock_modules`
--

INSERT INTO `bstock_modules` VALUES (1,'Products','bstock_products',1,'1','1','on','',''),(2,'Customers','bstock_customers',0,'1','0','on','',''),(3,'Profiles','bstock_userprofiles',0,'1','0','on','',''),(4,'Orders','bstock_orders',1,'1','0','on','',''),(5,'Fields','bstock_fields',1,'1','0','on','',''),(6,'Plugins','bstock_plugins',1,'1','0','on','',''),(7,'Invoices','bstock_invoices',0,'1','','on','',''),(8,'Exporters','bstock_exporters',0,'1','0','on','',''),(9,'Bankers','bstock_bankers',0,'','','on','','');

--
-- Table structure for table `bstock_notifications`
--

CREATE TABLE `bstock_notifications` (
  `notification_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'This will be the name for the notification, like, ''Order Email'', ''Register Email'', etc.',
  `subject` text NOT NULL COMMENT 'This will contain the subject which is to be sent in the email notification.',
  `body` text NOT NULL COMMENT 'This will be the body of the email that will be sent out.',
  `status` enum('0','1') NOT NULL COMMENT 'This will contain the status for the notification.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this notification.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this notification.',
  PRIMARY KEY (`notification_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store notifications that are sent out from the system.';

--
-- Dumping data for table `bstock_notifications`
--


--
-- Table structure for table `bstock_options`
--

CREATE TABLE `bstock_options` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `blog_id` int(11) NOT NULL DEFAULT '0',
  `option_name` varchar(64) NOT NULL DEFAULT '',
  `option_value` longtext NOT NULL,
  `autoload` varchar(20) NOT NULL DEFAULT 'yes',
  PRIMARY KEY (`id`,`blog_id`,`option_name`),
  KEY `option_name` (`option_name`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_options`
--

INSERT INTO `bstock_options` VALUES (1,0,'stylesheet','mytheme','yes'),(2,0,'template','mytheme','yes'),(3,0,'home_title','This is my home page title','yes'),(4,0,'logo','logo.jpg','yes'),(5,0,'homepage','home.php','yes'),(6,0,'after_login','search.php','yes'),(7,0,'default_from','admin@biggventures.com','yes'),(8,0,'default_admin','admin@biggventures.com','yes'),(9,0,'after_signup','thank-you.php','yes'),(10,0,'company_name','MM- Computers','yes');

--
-- Table structure for table `bstock_orderbilling`
--

CREATE TABLE `bstock_orderbilling` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `billing_address_id` int(10) NOT NULL COMMENT 'This is the foriegn key of the billing address(customerbilling) & is mapped to it''s primary key.',
  `created_date` varchar(50) NOT NULL COMMENT 'This is the date when this record was created. Most of the times it will be same as date when order was placed.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This is the last modified date.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=165 DEFAULT CHARSET=latin1 COMMENT='Store the billing address of the customer for an order.';

--
-- Dumping data for table `bstock_orderbilling`
--

INSERT INTO `bstock_orderbilling` VALUES (1,0,1,'1262110181','1262110181'),(2,0,1,'1262110240','1262110240'),(3,1,24,'1262110289','1262110289'),(4,2,25,'1262110311','1262110311'),(5,3,26,'1262111641','1262111641'),(6,4,27,'1262157798','1262157798'),(7,5,28,'1262179789','1262179789'),(8,6,29,'1262180252','1262180252'),(9,7,30,'1262264490','1262264490'),(10,8,31,'1262264686','1262264686'),(11,9,32,'1262265725','1262265725'),(12,10,33,'1262265922','1262265922'),(13,11,34,'1262266505','1262266505'),(14,12,35,'1262266611','1262266611'),(15,0,35,'1262266659','1262266659'),(16,13,36,'1262343767','1262343767'),(17,14,37,'1262343919','1262343919'),(18,0,37,'1262343970','1262343970'),(19,0,37,'1262344009','1262344009'),(20,0,37,'1262344033','1262344033'),(21,0,37,'1262344068','1262344068'),(22,0,37,'1262344117','1262344117'),(23,0,37,'1262344164','1262344164'),(24,0,37,'1262344214','1262344214'),(25,0,37,'1262344271','1262344271'),(26,0,37,'1262344330','1262344330'),(27,0,37,'1262344389','1262344389'),(28,0,37,'1262344443','1262344443'),(29,0,37,'1262344508','1262344508'),(30,15,38,'1262367422','1262367422'),(31,16,39,'1262367559','1262367559'),(32,17,40,'1262629987','1262629987'),(33,18,41,'1262630113','1262630113'),(34,19,42,'1262631878','1262631878'),(35,20,43,'1262632114','1262632114'),(36,21,44,'1262693035','1262693035'),(37,22,45,'1262693226','1262693226'),(38,0,45,'1262693246','1262693246'),(39,23,46,'1262693351','1262693351'),(40,24,47,'1262693468','1262693468'),(41,25,48,'1262693539','1262693539'),(42,26,49,'1262693803','1262693803'),(43,27,50,'1262693872','1262693872'),(44,28,51,'1262694014','1262694014'),(45,29,52,'1262694087','1262694087'),(46,30,53,'1262694108','1262694108'),(47,31,54,'1262694472','1262694472'),(48,32,55,'1262710721','1262710721'),(49,33,56,'1262716822','1262716822'),(50,34,57,'1262717528','1262717528'),(51,35,58,'1262719518','1262719518'),(52,36,59,'1262719625','1262719625'),(53,37,60,'1262719701','1262719701'),(54,38,61,'1262719744','1262719744'),(55,39,62,'1262719836','1262719836'),(56,40,63,'1262757505','1262757505'),(57,41,64,'1262799020','1262799020'),(58,42,65,'1262799087','1262799087'),(59,43,66,'1262799327','1262799327'),(60,44,67,'1262799450','1262799450'),(61,45,68,'1262799831','1262799831'),(62,46,69,'1262800122','1262800122'),(63,47,70,'1262800379','1262800379'),(64,48,71,'1262800497','1262800497'),(65,49,72,'1262800908','1262800908'),(66,50,73,'1262801270','1262801270'),(67,51,74,'1262801392','1262801392'),(68,52,75,'1262801452','1262801452'),(69,53,76,'1262801536','1262801536'),(70,54,77,'1262801643','1262801643'),(71,55,78,'1262801863','1262801863'),(72,56,79,'1262802073','1262802073'),(73,57,80,'1262802533','1262802533'),(74,58,81,'1262802776','1262802776'),(75,59,82,'1262803192','1262803192'),(76,60,83,'1262803561','1262803561'),(77,61,84,'1262803720','1262803720'),(78,62,85,'1262803801','1262803801'),(79,63,86,'1262803864','1262803864'),(80,64,87,'1263215539','1263215539'),(81,65,88,'1263216890','1263216890'),(82,66,89,'1263491902','1263491902'),(83,67,90,'1263495012','1263495012'),(84,0,88,'1263637450','1263637450'),(85,0,88,'1263637482','1263637482'),(86,68,88,'1263637641','1263637641'),(87,69,88,'1263637671','1263637671'),(88,70,88,'1263637675','1263637675'),(89,71,88,'1263637721','1263637721'),(90,72,88,'1263637786','1263637786'),(91,73,88,'1263637795','1263637795'),(92,74,88,'1263637836','1263637836'),(93,75,88,'1263637873','1263637873'),(94,76,88,'1263638265','1263638265'),(95,77,88,'1263638342','1263638342'),(96,78,88,'1263638369','1263638369'),(97,79,88,'1263638484','1263638484'),(98,80,88,'1263638638','1263638638'),(99,81,88,'1263639344','1263639344'),(100,82,88,'1263639524','1263639524'),(101,83,88,'1263639564','1263639564'),(102,84,91,'1263639823','1263639823'),(103,85,92,'1263643677','1263643677'),(104,86,93,'1263821521','1263821521'),(105,87,94,'1263904720','1263904720'),(106,88,95,'1263905305','1263905305'),(107,89,96,'1264224678','1264224678'),(108,90,97,'1264234581','1264234581'),(109,91,98,'1264412854','1264412854'),(110,92,99,'1264415024','1264415024'),(111,93,100,'1264415258','1264415258'),(112,94,101,'1264415374','1264415374'),(113,95,102,'1264415586','1264415586'),(114,96,103,'1264415715','1264415715'),(115,97,104,'1264415820','1264415820'),(116,98,105,'1264415936','1264415936'),(117,99,106,'1264416016','1264416016'),(118,100,107,'1264416120','1264416120'),(119,101,108,'1264416237','1264416237'),(120,102,109,'1264416407','1264416407'),(121,103,110,'1264416476','1264416476'),(122,104,111,'1264416530','1264416530'),(123,105,112,'1264416614','1264416614'),(124,106,113,'1264675367','1264675367'),(125,107,114,'1264675417','1264675417'),(126,108,115,'1264675515','1264675515'),(127,109,116,'1264675570','1264675570'),(128,110,117,'1264675609','1264675609'),(129,111,118,'1264675663','1264675663'),(130,112,119,'1265031295','1265031295'),(131,113,120,'1265031538','1265031538'),(132,114,121,'1265031671','1265031671'),(133,115,122,'1265107631','1265107631'),(134,116,125,'1265295719','1265295719'),(135,117,126,'1265298600','1265298600'),(136,118,127,'1265303985','1265303985'),(137,119,128,'1265651857','1265651857'),(138,120,129,'1265651981','1265651981'),(139,121,130,'1265652252','1265652252'),(140,122,131,'1265652542','1265652542'),(141,123,132,'1265652613','1265652613'),(142,124,133,'1265652952','1265652952'),(143,125,134,'1265652954','1265652954'),(144,126,135,'1265653003','1265653003'),(145,127,136,'1265653041','1265653041'),(146,128,137,'1265653232','1265653232'),(147,129,138,'1265712794','1265712794'),(148,130,139,'1265787624','1265787624'),(149,131,144,'1266476450','1266476450'),(150,0,144,'1266476818','1266476818'),(151,132,145,'1266477098','1266477098'),(152,133,147,'1266488192','1266488192'),(153,134,148,'1266495976','1266495976'),(154,135,149,'1266496008','1266496008'),(155,136,154,'1266593869','1266593869'),(156,137,155,'1266594074','1266594074'),(157,138,156,'1266594797','1266594797'),(158,139,157,'1266594911','1266594911'),(159,140,158,'1266594985','1266594985'),(160,141,159,'1266595012','1266595012'),(161,142,160,'1266648337','1266648337'),(162,143,162,'1266668803','1266668803'),(163,144,164,'1266669304','1266669304'),(164,145,165,'1266669471','1266669471');

--
-- Table structure for table `bstock_orderitems`
--

CREATE TABLE `bstock_orderitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key for the order items.',
  `order_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of orders table.',
  `product_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of products table.',
  `quantity` int(10) NOT NULL COMMENT 'Quantity ordered for this particular item.',
  `price` varchar(20) NOT NULL COMMENT 'The price for this item after multiplying with quantity.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the date when this record was inserted i.e. when the order was placed.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `discount_percent` varchar(20) NOT NULL COMMENT 'Percentage of discount offered on this order item.',
  `discount_value` varchar(20) NOT NULL COMMENT 'Discount (in value) offered on this order item.',
  `quantity_shipped` int(10) NOT NULL COMMENT 'This will be the quantity of the item that has been shipped so far.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=181 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

--
-- Dumping data for table `bstock_orderitems`
--

INSERT INTO `bstock_orderitems` VALUES (2,1,53,1,'200','1262110289','1264420746','','',1),(3,2,33,1,'999.99','1262110311','1262110311','','',0),(4,3,51,3,'1500','1262111641','1264410964','','',1),(5,3,53,1,'200','1262111641','1264410964','','',1),(6,3,33,1,'999.99','1262111641','1264410964','','',0),(7,3,54,1,'500','1262111641','1264410964','','',0),(8,4,33,1,'999.99','1262157798','1262682821','','',1),(9,5,39,1,'0','1262179789','1262179789','','',0),(10,6,42,1,'334','1262180252','1263648808','','',1),(12,7,42,1,'334','1262264490','1262683442','','',3),(13,7,45,1,'250','1262264490','1262683442','','',4),(14,8,33,1,'999.99','1262264686','1262264686','','',0),(15,8,42,1,'334','1262264686','1262264686','','',0),(16,8,49,2,'750','1262264686','1262264686','','',0),(17,9,33,1,'999.99','1262265725','1262265725','','',0),(18,10,33,1,'999.99','1262265922','1262684688','','',3),(19,11,33,1,'999.99','1262266505','1262266505','','',0),(20,12,33,1,'999.99','1262266611','1262266611','','',0),(21,13,33,2,'999.99','1262343767','1262343767','','',0),(22,13,42,1,'334','1262343767','1262343767','','',0),(23,14,41,1,'0','1262343919','1262343919','','',0),(24,14,42,1,'334','1262343919','1262343919','','',0),(25,15,33,1,'999.99','1262367422','1262367422','','',0),(26,15,41,1,'0','1262367422','1262367422','','',0),(27,16,33,1,'999.99','1262367559','1262367559','','',0),(28,16,41,1,'0','1262367559','1262367559','','',0),(29,17,33,1,'999.99','1262629987','1262629987','','',0),(30,17,41,1,'0','1262629987','1262629987','','',0),(31,17,43,1,'0','1262629987','1262629987','','',0),(32,17,44,1,'0','1262629987','1262629987','','',0),(33,17,45,1,'250','1262629987','1262629987','','',0),(34,17,46,1,'0','1262629987','1262629987','','',0),(35,18,33,1,'999.99','1262630113','1262630113','','',0),(36,18,34,1,'0','1262630113','1262630113','','',0),(37,18,39,1,'0','1262630113','1262630113','','',0),(38,18,40,1,'0','1262630113','1262630113','','',0),(39,18,41,1,'0','1262630113','1262630113','','',0),(40,18,42,1,'334','1262630113','1262630113','','',0),(41,18,43,1,'0','1262630113','1262630113','','',0),(42,18,44,1,'0','1262630113','1262630113','','',0),(43,18,45,1,'250','1262630113','1262630113','','',0),(44,18,46,1,'0','1262630113','1262630113','','',0),(45,18,47,1,'0','1262630113','1262630113','','',0),(46,18,48,1,'0','1262630113','1262630113','','',0),(47,18,49,1,'750','1262630113','1262630113','','',0),(48,19,39,1,'0','1262631878','1262631878','','',0),(49,20,45,1,'250','1262632114','1262632114','','',0),(50,20,49,1,'750','1262632114','1262632114','','',0),(51,21,33,1,'999.99','1262693035','1262693035','','',0),(52,22,33,1,'999.99','1262693226','1262693226','','',0),(53,23,34,1,'0','1262693351','1262693351','','',0),(54,24,33,1,'999.99','1262693468','1262693468','','',0),(55,25,33,1,'999.99','1262693539','1262693539','','',0),(56,26,33,1,'999.99','1262693803','1262693803','','',0),(57,27,33,1,'999.99','1262693872','1262693872','','',0),(58,28,33,1,'999.99','1262694014','1262694014','','',0),(59,29,33,1,'999.99','1262694087','1262694087','','',0),(60,30,33,1,'999.99','1262694108','1262694108','','',0),(61,31,33,2,'999.99','1262694472','1262694472','','',0),(62,32,41,1,'888','1262710721','1262710721','','',0),(63,32,43,1,'555','1262710721','1262710721','','',0),(64,32,44,1,'666','1262710721','1262710721','','',0),(65,33,56,1,'800','1262716822','1263961481','','',1),(66,34,33,1,'999.99','1262717528','1262717528','','',0),(67,34,34,1,'696','1262717528','1262717528','','',0),(68,35,34,1,'696','1262719518','1262719518','','',0),(69,36,34,1,'696','1262719625','1263963772','','',1),(70,37,34,1,'696','1262719701','1263963916','','',1),(71,38,34,1,'696','1262719744','1263964484','','',1),(72,38,39,1,'855','1262719744','1263964484','','',0),(73,39,34,1,'696','1262719836','1263965573','','',1),(74,40,34,1,'696','1262757505','1264423931','','',1),(75,41,34,1,'696','1262799020','1262799020','','',0),(76,42,34,1,'696','1262799087','1262799087','','',0),(77,42,39,1,'855','1262799087','1262799087','','',0),(78,43,34,1,'696','1262799327','1262799327','','',0),(79,43,39,1,'855','1262799327','1262799327','','',0),(80,44,34,1,'696','1262799450','1263992280','','',1),(81,44,39,1,'855','1262799450','1263992280','','',1),(82,45,34,1,'696','1262799831','1262799831','','',0),(83,45,39,1,'855','1262799831','1262799831','','',0),(84,46,34,1,'696','1262800122','1262800122','','',0),(85,46,39,1,'855','1262800122','1262800122','','',0),(86,46,40,1,'893','1262800122','1262800122','','',0),(87,47,34,1,'696','1262800379','1262800379','','',0),(88,48,34,1,'696','1262800497','1262800497','','',0),(89,48,42,1,'334','1262800497','1262800497','','',0),(90,49,43,1,'555','1262800908','1262800908','','',0),(91,49,44,1,'666','1262800908','1262800908','','',0),(92,49,45,1,'250','1262800908','1262800908','','',0),(93,49,46,1,'333','1262800908','1262800908','','',0),(94,49,47,1,'896','1262800908','1262800908','','',0),(95,50,43,1,'555','1262801270','1264048814','','',1),(96,50,44,1,'666','1262801270','1264048814','','',1),(97,51,41,1,'888','1262801392','1264049535','','',1),(98,52,40,1,'893','1262801452','1262801452','','',0),(99,52,41,1,'888','1262801452','1262801452','','',0),(100,53,39,1,'855','1262801536','1262801536','','',0),(101,54,48,1,'777','1262801643','1262801643','','',0),(102,55,39,1,'855','1262801863','1262801863','','',0),(103,56,39,1,'855','1262802073','1262802073','','',0),(104,56,42,1,'334','1262802073','1262802073','','',0),(105,57,45,1,'250','1262802533','1262802533','','',0),(106,58,39,1,'855','1262802776','1262802776','','',0),(107,58,45,1,'250','1262802776','1262802776','','',0),(108,59,39,1,'855','1262803192','1262803192','','',0),(109,60,39,1,'855','1262803561','1262803561','','',0),(110,60,41,1,'888','1262803561','1262803561','','',0),(111,60,42,1,'334','1262803561','1262803561','','',0),(112,61,39,1,'855','1262803720','1262803720','','',0),(113,62,39,1,'855','1262803801','1262803801','','',0),(114,63,42,1,'334','1262803864','1262803864','','',0),(115,63,45,1,'250','1262803864','1262803864','','',0),(116,64,34,1,'696','1263215539','1263215539','','',0),(117,65,39,1,'855','1263216890','1264421969','','',1),(118,66,21,3,'555','1263491902','1264423617','','',3),(119,67,58,1,'9987','1263495012','1263495012','','',0),(120,67,19,1,'786','1263495012','1263495012','','',0),(121,87,41,1,'888','1263904720','1263904720','','',0),(122,88,42,1,'334','1263905305','1264060667','','',1),(123,89,34,1,'696','1264224678','1264224678','','',0),(124,89,41,1,'888','1264224678','1264224678','','',0),(125,90,40,1,'893','1264234581','1264234581','','',0),(126,91,42,1,'334','1264412854','1264412854','','',0),(127,92,45,1,'250','1264415024','1264415024','','',0),(128,93,46,1,'333','1264415258','1264415258','','',0),(129,94,45,1,'250','1264415374','1264415374','','',0),(130,95,43,1,'555','1264415586','1264415586','','',0),(131,96,44,1,'666','1264415715','1264415715','','',0),(132,97,45,1,'250','1264415820','1264415820','','',0),(133,98,42,1,'334','1264415936','1264415936','','',0),(134,98,45,1,'250','1264415936','1264415936','','',0),(135,99,41,1,'888','1264416016','1264416016','','',0),(136,100,42,1,'334','1264416120','1264416120','','',0),(137,101,39,1,'855','1264416237','1264416237','','',0),(138,102,40,1,'893','1264416407','1264416407','','',0),(139,103,46,1,'333','1264416476','1264416476','','',0),(140,104,39,1,'855','1264416530','1264416530','','',0),(141,104,40,1,'893','1264416530','1264416530','','',0),(142,104,41,1,'888','1264416530','1264416530','','',0),(143,105,42,1,'334','1264416614','1265702721','','',1),(144,105,43,1,'555','1264416614','1265702721','','',1),(145,106,45,1,'250','1264675367','1264675367','','',0),(146,107,45,1,'250','1264675417','1264675417','','',0),(147,108,48,1,'777','1264675515','1264675515','','',0),(148,109,47,1,'896','1264675570','1264675570','','',0),(149,110,45,1,'250','1264675609','1264675609','','',0),(150,111,60,1,'1','1264675663','1264675663','','',0),(151,112,29,1,'1000','1265031295','1265031295','','',0),(152,113,60,1,'1','1265031538','1265031538','','',0),(153,114,65,1,'0','1265031671','1265700409','','',1),(154,115,29,1,'1000','1265107631','1265107631','','',0),(155,117,111,1,'1848','1265298600','1265298600','','',0),(156,118,114,1,'1512','1265303985','1265305015','','',1),(157,119,28,1,'1365','1265651857','1265651857','','',0),(158,123,3,1,'1222','1265652613','1265652613','','',0),(159,124,12,1,'222','1265652952','1265652952','','',0),(160,125,12,1,'222','1265652954','1265652954','','',0),(161,126,636,1,'999','1265653003','1265653003','','',0),(162,127,3,1,'2000','1265653041','1265700095','','',1),(163,128,12,1,'222','1265653232','1265653232','','',0),(164,129,1,1,'3640','1265712794','1265713237','','',1),(165,129,2,1,'3366','1265712794','1265713237','','',1),(166,130,627,1,'1000','1265787624','1265789423','','',1),(167,131,2,1,'3029.4','1266476450','1266476450','','',0),(168,131,1,1,'3276','1266476450','1266476450','','',0),(169,132,3,2,'2494.7','1266477098','1266477098','','',0),(170,132,9,1,'4110.7','1266477098','1266477098','','',0),(171,133,1,1,'3276','1266488192','1266489901','','',0),(172,133,10,1,'2343.6','1266488192','1266489901','','',1),(173,142,1,1,'3276','1266648337','1266648337','','',0),(174,142,5,1,'677.16','1266648337','1266648337','','',0),(175,142,16,1,'1897.2','1266648337','1266648337','','',0),(176,143,11,1,'1190','1266668803','1266668803','','',0),(177,143,12,1,'0','1266668803','1266668803','','',0),(178,144,28,1,'764.4','1266669304','1266669304','','',0),(179,145,57,1,'3873.24','1266669471','1266671745','','',1),(180,145,60,1,'4690.62','1266669471','1266671745','','',1);

--
-- Table structure for table `bstock_ordernotificationhistory`
--

CREATE TABLE `bstock_ordernotificationhistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `email_address` varchar(250) NOT NULL COMMENT 'This is kept incase the user wants  to send the notification to another  email address specified by the  customer which is different then the  email address on account.',
  `comments` text NOT NULL COMMENT 'Comments entered by the user for this notification.',
  `sent_date` varchar(50) NOT NULL COMMENT 'This will store the date when the notification was sent.',
  `user_id` int(10) NOT NULL COMMENT 'This is the foreign key of the users table & is mapped to it''s primary key. User who sent the notification is stored.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=127 DEFAULT CHARSET=latin1 COMMENT='Record the notifications sent to each customer by the system';

--
-- Dumping data for table `bstock_ordernotificationhistory`
--

INSERT INTO `bstock_ordernotificationhistory` VALUES (1,8,'harshad.narvekar@gmail.com','I am partially shipping this...','1262351112',1),(2,8,'kothari.vishal@gmail.com','This is being cancelled...make your payment.','1262351255',1),(3,8,'kothari.vishal@gmail.com','This is being cancelled...make your payment immediately.','1262351323',1),(4,8,'kothari.vishal@gmail.com','This is being cancelled...make your payment immediately.','1262351370',1),(5,8,'kothari.vishal@gmail.com','I am cancelling this .','1262351391',1),(6,8,'kothari.vishal@gmail.com','I am cancelling this .','1262351440',1),(7,8,'kothari.vishal@gmail.com','I am cancelling this .','1262351503',1),(8,8,'kothari.vishal@gmail.com','Enter order comments here. adsf ','1262351520',1),(9,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351544',1),(10,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351577',1),(11,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351631',1),(12,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351658',1),(13,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351729',1),(14,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351788',1),(15,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351850',1),(16,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351892',1),(17,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351938',1),(18,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351995',1),(19,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262352018',1),(20,8,'','Enter order comments here. adsf asdf ','1262352436',1),(21,8,'','Enter order comments here. placed...','1262353477',1),(22,16,'kothari.vishal@gmail.com','partially shipped man.','1262429128',1),(23,16,'kothari.vishal@gmail.com','Enter order comments here.','1262429876',1),(24,16,'kothari.vishal@gmail.com','Enter order comments here.','1262430988',1),(25,16,'kothari.vishal@gmail.com','Enter order comments here.','1262432481',1),(26,16,'kothari.vishal@gmail.com','Enter order comments here.','1262433274',1),(27,0,'','','1262433764',1),(28,0,'','','1262433816',1),(29,0,'','','1262433924',1),(30,0,'','','1262433987',1),(31,0,'','','1262434039',1),(32,16,'kothari.vishal@gmail.com','Enter order comments here.asd ','1262434115',1),(33,16,'kothari.vishal@gmail.com','Completed...','1262436241',1),(34,1,'','let\'s test this man...','1262678961',1),(35,4,'','pending yaar...','1262681775',1),(36,1,'kothari.vishal@gmail.com','','1262682029',1),(37,3,'kothari.vishal@gmail.com','This is being shipped partially.','1262682243',1),(38,3,'kothari.vishal@gmail.com','M cancelling this now.','1262682496',1),(39,4,'kothari.vishal@gmail.com','asdfasdf \n]\n\nadfasdfadf \n\nasdfasdfdasf\n\nasdfadsf','1262682822',1),(40,6,'','This one is fully shipped...','1262682873',1),(41,6,'kothari.vishal@gmail.com','This is fully done now. Thanks for the payment.','1262683269',1),(42,7,'kothari.vishal@gmail.com','I am partially shipping this one. Please confirm by phone once you receive it. Thanks.','1262683442',1),(43,10,'kothari.vishal@gmail.com','Completing this. Thanks for payment.','1262683571',1),(44,10,'kothari.vishal@gmail.com','Finished now.','1262684688',1),(45,10,'kothari.vishal@gmail.com','Please cancel the previous shipment ','1262684836',1),(46,1,'kothari.vishal@gmail.com','Enter order comments here.','1262759323',1),(47,1,'kothari.vishal@gmail.com','I Oam only shipping frist 2 items.','1262760240',1),(48,6,'harshad@biggventures.com','asdfasdfasdf','1263648589',1),(49,6,'kothari.vishal@gmail.com','Great. Ship this one.','1263648808',1),(50,6,'kothari.vishal@gmail.com','Payment received boss.','1263649485',1),(51,3,'','This is shipped partially.','1263886059',1),(52,3,'','This is shipped partially.','1263886801',1),(53,3,'','This is shipped partially.','1263886859',1),(54,3,'','This is shipped partially.','1263887779',1),(55,3,'','This is shipped partially.','1263888094',1),(56,3,'','This is being shipped partially now.','1263888430',1),(57,3,'','This is being shipped partially now.','1263889072',1),(58,3,'','This is being shipped partially now.','1263889133',1),(59,3,'','Enter order comments here.','1263890053',1),(60,3,'','Enter order comments here.','1263890118',1),(61,3,'','Enter order comments here.','1263890186',1),(62,3,'','Enter order comments here.','1263891059',1),(63,3,'','Enter order comments here.','1263891215',1),(64,3,'','Enter order comments here.','1263891284',1),(65,3,'','Enter order comments here.','1263895661',1),(66,3,'','Enter order comments here.','1263896088',1),(67,3,'','Enter order comments here.','1263896170',1),(68,3,'','Enter order comments here.','1263896208',1),(69,3,'','Order is now completed...','1263897636',1),(70,6,'vishal@biggventures.com','This order is pending now...','1263900267',1),(71,6,'vishal@biggventures.com','partially shipped man.','1263901082',1),(72,6,'vishal@biggventures.com','Enter order comments here. adsfafsd ','1263902128',1),(73,6,'vishal@biggventures.com','Enter order comments here. adsf asdf','1263902291',1),(74,33,'','Please find the shipment ','1263961481',1),(75,36,'','Enter order comments here.','1263963773',1),(76,37,'','Enter order comments here.','1263963917',1),(77,38,'','Shipping this order partially right now.','1263964485',1),(78,39,'','This one is shipped. Please confirm once received.','1263965573',1),(79,44,'','Shipped yaar.','1263992280',1),(80,50,'','Shipped last time.','1264048815',1),(81,51,'','sHIPPED.','1264049535',1),(82,3,'vishal@biggventures.com','Pending.','1264059236',1),(83,3,'vishal@biggventures.com','Pending.','1264059300',1),(84,3,'vishal@biggventures.com','shipped now...','1264059363',1),(85,88,'','I have shipped this now.','1264060667',1),(86,3,'','Enter order comments here.','1264405023',1),(87,3,'','Enter order comments here.','1264405770',1),(88,3,'','Enter order comments here.','1264406352',1),(89,3,'','Enter order comments here.','1264406421',1),(90,3,'','Enter order comments here.','1264406537',1),(91,3,'','Enter order comments here.','1264406685',1),(92,3,'','Enter order comments here.','1264406926',1),(93,3,'','Enter order comments here.','1264407077',1),(94,3,'kothari.vishal@gmail.com','Enter order comments here.','1264408695',1),(95,3,'','Enter order comments here.','1264408862',1),(96,3,'','Enter order comments here. asdfasdfasdf','1264408968',1),(97,3,'','Enter order comments here. asdfasdfasdf','1264409127',1),(98,3,'','Enter order comments here. asdfasdfasdf','1264410762',1),(99,3,'','Enter order comments here. asdfasdfasdf','1264410965',1),(100,1,'kothari.vishal@gmail.com','This order is now complete. Please confirm receipt of all items.','1264411023',1),(101,1,'kothari.vishal@gmail.com','This order is now cancelled. Please confirm receipt of all items.','1264411099',1),(102,1,'','Enter order comments here. adsf ','1264420747',1),(103,65,'','I am shipping this one. Please confirm receipt.','1264421970',1),(104,66,'','This one is shipped.','1264423618',1),(105,40,'','Shipped.','1264423932',1),(106,117,'','Enter order comments here.','1265299140',1),(107,118,'swapnapatil2305@gmail.com','Your order is shipped on 4th Feb 2010.\n\nBelow are the shiiping details\nShip no. 123\nConsignment -- AB1234LP','1265304585',1),(108,118,'swapnapatil2305@gmail.com','Your order is shipped on 4th Feb 2010.\n\nBelow are the shiiping details\nShip no. 123\nConsignment -- AB1234LP','1265304593',1),(109,118,'swapnapatil2305@gmail.com','Your order is shipped on 4th Feb 2010.\n\nBelow are the shiiping details\nShip no. 123\nConsignment -- AB1234LP','1265304594',1),(110,118,'swapnapatil2305@gmail.com','Your corder is complete and will be soon shipped','1265304654',1),(111,118,'swapnapatil2305@gmail.com','Your corder is complete and will be soon shipped','1265304663',1),(112,118,'swapnapatil2305@gmail.com','We are very sorry to inform you that your order is cancelled','1265304727',1),(113,118,'swapnapatil2305@gmail.com','We are very sorry to inform you that your order is cancelled','1265304824',1),(114,118,'','Your order has been placed','1265305016',1),(115,127,'','This order is being shipped.','1265700096',1),(116,114,'','SHipping this one. Please check ','1265700409',1),(117,105,'','shipping.','1265702722',1),(118,129,'','This is shipped now...','1265713238',1),(119,129,'vishal@biggventures.com','Order has been shipped. please confirm once you receive shipment.','1265713351',1),(120,130,'swapnapatil2305@gmail.com','Your order is palced successfully','1265788650',1),(121,130,'swapnapatil2305@gmail.com','Your order is palced successfully','1265789238',1),(122,130,'','Enter order comments here.','1265789424',1),(123,133,'shahjatin77@gmail.com','\\this item is out of stock right now...','1266489181',1),(124,133,'','partially shipping as full order is not available.','1266489902',1),(125,145,'vishal@biggventures.com','Shipped dude.','1266671683',1),(126,145,'','SHIPPING IT FULLY.','1266671746',1);

--
-- Table structure for table `bstock_orderpayments`
--

CREATE TABLE `bstock_orderpayments` (
  `payment_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `shipping_amount` varchar(20) NOT NULL COMMENT 'Here we will have the total shipping amount for this order.',
  `discount_amount` varchar(20) NOT NULL COMMENT 'This will contain the total discount that has been offered on the order.',
  `discount_type` enum('individual','group') NOT NULL COMMENT 'Type of discount for this order, individual or group. Individual would mean on individual products.',
  `subtotal` varchar(20) NOT NULL COMMENT 'Subtotal i.e. total of the items purchased, excluding tax, shipping.',
  `grand_total` varchar(20) NOT NULL COMMENT 'Product Price plus shipping plus taxes.',
  `total_paid` varchar(20) NOT NULL COMMENT 'Amount paid so far. Useful incase user makes a part payment.',
  `total_refunded` varchar(20) NOT NULL COMMENT 'The amount of money refunded for this order. Used incase order needs to be cancelled or returned back.',
  `total_qty_ordered` int(10) NOT NULL COMMENT 'Total number of items ordered in the whole order.',
  `total_cancelled` int(10) NOT NULL COMMENT 'Total number of items cancelled from the order.',
  `total_invoiced` varchar(20) NOT NULL COMMENT 'Amount invoiced so far for the entire order.',
  `total_online_refunded` varchar(20) NOT NULL COMMENT 'Total money refunded online i.e. through online deposit, etc.',
  `total_offline_refunded` varchar(20) NOT NULL COMMENT 'Total money refunded through offline means i.e. cheque, wire transfer, etc.',
  `created_date` varchar(50) NOT NULL COMMENT 'Date when this record was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Date when this record was last modified.',
  `payment_type_id` int(10) NOT NULL COMMENT 'This will be the payment type from  the payment_types table.',
  `payment_transaction_id` int(10) NOT NULL COMMENT 'This will be the Primary Key of  the table of the corresponding  payment type i.e. PK of googlecheckout_api or  PK of paypal_api, etc.',
  PRIMARY KEY (`payment_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store all the payment related details for the order.';

--
-- Dumping data for table `bstock_orderpayments`
--


--
-- Table structure for table `bstock_orderpaymentstaxes`
--

CREATE TABLE `bstock_orderpaymentstaxes` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `tax_amount` varchar(20) NOT NULL COMMENT 'Tax amount.',
  `tax_id` int(10) NOT NULL COMMENT 'This is the foreign key of the tax table & mapped to it''s primary key.',
  `created_date` varchar(50) NOT NULL COMMENT 'Date when this record was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Date when this record was last modified.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=145 DEFAULT CHARSET=latin1 COMMENT='Store the tax related information for every order.';

--
-- Dumping data for table `bstock_orderpaymentstaxes`
--

INSERT INTO `bstock_orderpaymentstaxes` VALUES (14,3,'52',2,'1263592477','1263592477'),(13,3,'52',1,'1263592477','1263592477'),(4,1,'2',1,'1263502864','1263502864'),(5,1,'2',2,'1263502864','1263502864'),(6,1,'4',4,'1263502864','1263502864'),(7,7,'5.84',1,'1263505135','1263505135'),(8,7,'5.84',2,'1263505135','1263505135'),(9,7,'',4,'1263505135','1263505135'),(10,8,'3.34',1,'1263537440','1263537440'),(11,8,'3.34',2,'1263537440','1263537440'),(12,8,'40',4,'1263537440','1263537440'),(15,3,'4',4,'1263592477','1263592477'),(16,33,'8',1,'1263961877','1263961877'),(17,33,'8',2,'1263961877','1263961877'),(18,33,'-16',4,'1263961877','1263961877'),(19,33,'8',1,'1263961966','1263961966'),(20,33,'8',2,'1263961966','1263961966'),(21,33,'-16',4,'1263961966','1263961966'),(22,33,'8',1,'1263962772','1263962772'),(23,33,'8',2,'1263962772','1263962772'),(24,33,'-16',4,'1263962772','1263962772'),(25,33,'8',1,'1263962929','1263962929'),(26,33,'8',2,'1263962929','1263962929'),(27,33,'-16',4,'1263962929','1263962929'),(28,35,'6.96',1,'1263963365','1263963365'),(29,35,'6.96',2,'1263963365','1263963365'),(30,35,'0',4,'1263963365','1263963365'),(31,35,'6.96',1,'1263963657','1263963657'),(32,35,'6.96',2,'1263963657','1263963657'),(33,35,'0',4,'1263963657','1263963657'),(34,36,'6.96',1,'1263963827','1263963827'),(35,36,'6.96',2,'1263963827','1263963827'),(36,36,'0',4,'1263963827','1263963827'),(37,37,'6.96',1,'1263963939','1263963939'),(38,37,'6.96',2,'1263963939','1263963939'),(39,37,'0',4,'1263963939','1263963939'),(40,38,'15.51',1,'1263964517','1263964517'),(41,38,'15.51',2,'1263964517','1263964517'),(42,38,'0',4,'1263964517','1263964517'),(43,39,'6.96',1,'1263965600','1263965600'),(44,39,'6.96',2,'1263965600','1263965600'),(45,39,'0',4,'1263965600','1263965600'),(46,42,'15.51',1,'1263990258','1263990258'),(47,42,'15.51',2,'1263990258','1263990258'),(48,42,'0',4,'1263990258','1263990258'),(49,43,'15.51',1,'1263990837','1263990837'),(50,43,'15.51',2,'1263990837','1263990837'),(51,43,'2.02',4,'1263990837','1263990837'),(52,44,'31.02',1,'1263992419','1263992419'),(53,44,'31.02',2,'1263992419','1263992419'),(54,44,'13',4,'1263992419','1263992419'),(55,50,'12.21',1,'1264048879','1264048879'),(56,50,'12.21',2,'1264048879','1264048879'),(57,50,'20',4,'1264048879','1264048879'),(58,51,'17.76',1,'1264049581','1264049581'),(59,51,'17.76',2,'1264049581','1264049581'),(60,51,'-13',4,'1264049581','1264049581'),(61,45,'15.51',1,'1264055292','1264055292'),(62,45,'15.51',2,'1264055292','1264055292'),(63,45,'1',4,'1264055292','1264055292'),(64,45,'15.51',1,'1264055837','1264055837'),(65,45,'15.51',2,'1264055837','1264055837'),(66,45,'1',4,'1264055837','1264055837'),(67,45,'15.51',1,'1264056272','1264056272'),(68,45,'15.51',2,'1264056272','1264056272'),(69,45,'1',4,'1264056272','1264056272'),(70,45,'15.51',1,'1264056770','1264056770'),(71,45,'15.51',2,'1264056770','1264056770'),(72,45,'1',4,'1264056770','1264056770'),(73,45,'15.51',1,'1264057208','1264057208'),(74,45,'15.51',2,'1264057208','1264057208'),(75,45,'1',4,'1264057208','1264057208'),(76,45,'15.51',1,'1264057776','1264057776'),(77,45,'15.51',2,'1264057776','1264057776'),(78,45,'1',4,'1264057776','1264057776'),(79,45,'15.51',1,'1264058113','1264058113'),(80,45,'15.51',2,'1264058113','1264058113'),(81,45,'1',4,'1264058113','1264058113'),(82,45,'15.51',1,'1264058730','1264058730'),(83,45,'15.51',2,'1264058730','1264058730'),(84,45,'1',4,'1264058730','1264058730'),(85,45,'31.02',1,'1264058867','1264058867'),(86,45,'31.02',2,'1264058867','1264058867'),(87,45,'10',4,'1264058867','1264058867'),(88,45,'31.02',1,'1264059139','1264059139'),(89,45,'31.02',2,'1264059139','1264059139'),(90,45,'10',4,'1264059139','1264059139'),(91,88,'3.34',1,'1264060692','1264060692'),(92,88,'6.68',2,'1264060692','1264060692'),(93,88,'5',4,'1264060692','1264060692'),(94,88,'3.34',1,'1264060767','1264060767'),(95,88,'6.68',2,'1264060767','1264060767'),(96,88,'5',4,'1264060767','1264060767'),(97,41,'6.96',1,'1264421348','1264421348'),(98,41,'6.96',2,'1264421348','1264421348'),(99,41,'1.92',4,'1264421348','1264421348'),(100,65,'-8.55',1,'1264422051','1264422051'),(101,65,'0',2,'1264422051','1264422051'),(102,65,'0',4,'1264422051','1264422051'),(103,66,'0',1,'1264423686','1264423686'),(104,66,'',2,'1264423686','1264423686'),(105,66,'5',4,'1264423686','1264423686'),(106,40,'0',1,'1264423991','1264423991'),(107,40,'0',2,'1264423991','1264423991'),(108,40,'6',4,'1264423991','1264423991'),(109,117,'0',1,'1265299106','1265299106'),(110,117,'-9.24',2,'1265299106','1265299106'),(111,117,'-3',4,'1265299106','1265299106'),(112,118,'15.12',1,'1265304239','1265304239'),(113,118,'15.12',2,'1265304239','1265304239'),(114,118,'1',4,'1265304239','1265304239'),(115,114,'16.43',1,'1265700565','1265700565'),(116,114,'16.43',2,'1265700565','1265700565'),(117,114,'0',4,'1265700565','1265700565'),(118,114,'16.43',1,'1265702463','1265702463'),(119,114,'16.43',2,'1265702463','1265702463'),(120,114,'10',4,'1265702463','1265702463'),(121,114,'16.43',1,'1265702577','1265702577'),(122,114,'16.43',2,'1265702577','1265702577'),(123,114,'10',4,'1265702577','1265702577'),(124,105,'30.24',1,'1265702761','1265702761'),(125,105,'30.24',2,'1265702761','1265702761'),(126,105,'20',4,'1265702761','1265702761'),(127,129,'0',1,'1265713901','1265713901'),(128,129,'',2,'1265713901','1265713901'),(129,129,'6',4,'1265713901','1265713901'),(130,129,'70.06',1,'1265714827','1265714827'),(131,129,'70.06',2,'1265714827','1265714827'),(132,129,'6',4,'1265714827','1265714827'),(133,129,'140.12',1,'1265716823','1265716823'),(134,129,'140.12',2,'1265716823','1265716823'),(135,129,'6.21',4,'1265716823','1265716823'),(136,129,'',1,'1265720700','1265720700'),(137,129,'',2,'1265720700','1265720700'),(138,129,'',4,'1265720700','1265720700'),(139,130,'-19.249999999999996',1,'1265788591','1265788591'),(140,130,'0',2,'1265788591','1265788591'),(141,130,'1',4,'1265788591','1265788591'),(142,133,'62.44',1,'1266491308','1266491308'),(143,133,'62.44',2,'1266491308','1266491308'),(144,133,'10',4,'1266491308','1266491308');

--
-- Table structure for table `bstock_orders`
--

CREATE TABLE `bstock_orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `customer_first_name` varchar(100) NOT NULL COMMENT 'This will contain the first name of the customer who placed this order.',
  `customer_last_name` varchar(100) NOT NULL COMMENT 'This will contain the last name of the customer who placed this order.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for the customers & is mapped to primary key of customers table.',
  `total_amount` varchar(10) NOT NULL COMMENT 'Total amount of the order.',
  `status_id` int(10) NOT NULL COMMENT 'This field will be the foreign key from the order status table & mapped to it''s primary key.',
  `extra_comments` text,
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the created date for this order.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `affiliate_id` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store order related information. Order items are stored in s';

--
-- Dumping data for table `bstock_orders`
--


--
-- Table structure for table `bstock_orderscf`
--

CREATE TABLE `bstock_orderscf` (
  `order_id` int(10) NOT NULL COMMENT 'This field will be the foreign key of the orders table & mapped to it''s primary key.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will store the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will store the last modified date for this record.'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Custom fields of orders will be inserted in this table.';

--
-- Dumping data for table `bstock_orderscf`
--


--
-- Table structure for table `bstock_ordershipping`
--

CREATE TABLE `bstock_ordershipping` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `shipping_address_id` int(10) NOT NULL COMMENT 'This is the foriegn key of the shipping address(customershipping) & is mapped to it''s primary key.',
  `created_date` varchar(50) NOT NULL COMMENT 'This is the date when this record was created. Most of the times it will be same as date when order was placed.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This is the last modified date.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the shipping address of the customer for an order.';

--
-- Dumping data for table `bstock_ordershipping`
--


--
-- Table structure for table `bstock_ordershippinginfo`
--

CREATE TABLE `bstock_ordershippinginfo` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key, it''s the Primary key of orders table & will contain the order id.',
  `tracking_number` varchar(50) NOT NULL COMMENT 'This will be the tracking number of the shipment.',
  `sent_date` varchar(50) NOT NULL COMMENT 'This will be the timestamp. It will contain the date when the shipment has been delivered.',
  `carrier_id` enum('DHL','Fedex','UPS','USPS','Malca-Amit','Brinks','Lemiur') NOT NULL,
  `flight_no` varchar(50) NOT NULL,
  `port_of_discharge` enum('NA','India','Belgium','Hong Kong') NOT NULL,
  `place_of_receipt` enum('NA','Mumbai','Antwerp') NOT NULL,
  `port_of_loading` enum('NA','Mumbai','Antwerp') NOT NULL,
  `city_of_destination` enum('Mumbai','Antwerp','New York','Hong Kong') NOT NULL,
  `user_id` int(10) NOT NULL COMMENT 'This will be the foreign key. It corresponds to Primary key of users table. It will store the id of the user who created this shipment record.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the timestamp. It will contain the date when this entry is created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the timestamp. It will contain the date when this entry is modified.',
  `country_of_origin` enum('NA','India','Belgium') NOT NULL,
  `country_of_destination` enum('NA','India','Belgium') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table is used to store the shipping details of every or';

--
-- Dumping data for table `bstock_ordershippinginfo`
--


--
-- Table structure for table `bstock_orderstatushistory`
--

CREATE TABLE `bstock_orderstatushistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This will be the foreign key of the orders table & mapped to it''s primary key.',
  `status_id` int(10) NOT NULL COMMENT 'This will be the foreign key of the order status table & mapped to it''s primary key. Here we will store the new status id which was there after being updated.',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the timestamp of the date when the order status was changed.',
  `user_id` int(10) DEFAULT '0' COMMENT 'This is the foreign key of the user who changed the status & is mapped to it''s primary key.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=288 DEFAULT CHARSET=latin1 COMMENT='Here we record all the transactions when the order status is';

--
-- Dumping data for table `bstock_orderstatushistory`
--

INSERT INTO `bstock_orderstatushistory` VALUES (1,1,0,'1262110289','1262110289',0),(2,2,0,'1262110311','1262110311',0),(3,3,0,'1262111641','1262111641',0),(4,4,0,'1262157798','1262157798',0),(5,5,0,'1262179789','1262179789',0),(6,6,0,'1262180252','1262180252',0),(7,7,0,'1262264490','1262264490',0),(8,8,0,'1262264686','1262264686',0),(9,9,0,'1262265725','1262265725',0),(10,10,0,'1262265922','1262265922',0),(11,11,0,'1262266505','1262266505',0),(12,12,0,'1262266611','1262266611',0),(28,12,8,'1262346037','1262346037',0),(29,12,4,'1262346065','1262346065',0),(30,12,5,'1262346266','1262346266',0),(31,13,4,'1262346487','1262346487',0),(32,13,4,'1262346633','1262346633',0),(33,13,4,'1262346733','1262346733',0),(34,13,4,'1262346755','1262346755',0),(35,13,4,'1262346775','1262346775',0),(36,13,4,'1262346820','1262346820',0),(37,13,5,'1262346861','1262346861',0),(38,8,6,'1262347163','1262347163',0),(39,8,6,'1262347248','1262347248',1),(42,8,4,'1262350942','1262350942',1),(43,8,6,'1262351017','1262351017',1),(44,8,8,'1262351112','1262351112',1),(45,8,6,'1262351255','1262351255',1),(46,8,6,'1262351323','1262351323',1),(47,8,6,'1262351370','1262351370',1),(48,8,6,'1262351391','1262351391',1),(49,8,6,'1262351440','1262351440',1),(50,8,6,'1262351503','1262351503',1),(51,8,6,'1262351520','1262351520',1),(52,8,6,'1262351544','1262351544',1),(53,8,6,'1262351577','1262351577',1),(54,8,6,'1262351631','1262351631',1),(55,8,6,'1262351658','1262351658',1),(56,8,6,'1262351729','1262351729',1),(57,8,6,'1262351788','1262351788',1),(58,8,6,'1262351850','1262351850',1),(59,8,6,'1262351892','1262351892',1),(60,8,6,'1262351938','1262351938',1),(61,8,6,'1262351995','1262351995',1),(62,8,6,'1262352018','1262352018',1),(63,8,5,'1262352436','1262352436',1),(64,8,2,'1262353477','1262353477',1),(65,16,8,'1262429128','1262429128',1),(66,16,7,'1262429876','1262429876',1),(67,16,6,'1262430988','1262430988',1),(68,16,5,'1262432481','1262432481',1),(69,16,2,'1262433274','1262433274',1),(70,0,0,'1262433764','1262433764',1),(71,0,0,'1262433816','1262433816',1),(72,0,0,'1262433924','1262433924',1),(73,0,0,'1262433987','1262433987',1),(74,0,0,'1262434039','1262434039',1),(75,16,4,'1262434115','1262434115',1),(76,16,5,'1262436241','1262436241',1),(77,17,1,'1262629987','1262629987',0),(78,18,1,'1262630113','1262630113',0),(79,19,1,'1262631878','1262631878',0),(80,20,1,'1262632114','1262632114',0),(81,1,8,'1262678961','1262678961',1),(82,4,7,'1262681775','1262681775',1),(83,1,0,'1262682029','1262682029',1),(84,3,8,'1262682243','1262682243',1),(85,3,6,'1262682496','1262682496',1),(86,4,8,'1262682821','1262682821',1),(87,6,4,'1262682873','1262682873',1),(88,6,5,'1262683269','1262683269',1),(89,7,8,'1262683442','1262683442',1),(90,10,5,'1262683571','1262683571',1),(91,10,5,'1262684688','1262684688',1),(92,10,6,'1262684836','1262684836',1),(93,21,1,'1262693035','1262693035',0),(94,22,1,'1262693226','1262693226',0),(95,23,1,'1262693351','1262693351',0),(96,24,1,'1262693469','1262693469',0),(97,25,1,'1262693539','1262693539',0),(98,26,1,'1262693803','1262693803',0),(99,27,1,'1262693872','1262693872',0),(100,28,1,'1262694014','1262694014',0),(101,29,1,'1262694087','1262694087',0),(102,30,1,'1262694109','1262694109',0),(103,31,1,'1262694472','1262694472',0),(104,32,1,'1262710721','1262710721',0),(105,33,1,'1262716822','1262716822',0),(106,34,1,'1262717528','1262717528',0),(107,35,1,'1262719518','1262719518',0),(108,36,1,'1262719625','1262719625',0),(109,37,1,'1262719701','1262719701',0),(110,38,1,'1262719744','1262719744',0),(111,39,1,'1262719836','1262719836',0),(112,40,1,'1262757505','1262757505',0),(113,1,5,'1262759323','1262759323',1),(114,1,8,'1262760240','1262760240',1),(115,41,1,'1262799020','1262799020',0),(116,42,1,'1262799087','1262799087',0),(117,43,1,'1262799327','1262799327',0),(118,44,1,'1262799450','1262799450',0),(119,45,1,'1262799831','1262799831',0),(120,46,1,'1262800122','1262800122',0),(121,47,1,'1262800379','1262800379',0),(122,48,1,'1262800497','1262800497',0),(123,49,1,'1262800908','1262800908',0),(124,50,1,'1262801270','1262801270',0),(125,51,1,'1262801392','1262801392',0),(126,52,1,'1262801452','1262801452',0),(127,53,1,'1262801536','1262801536',0),(128,54,1,'1262801643','1262801643',0),(129,55,1,'1262801863','1262801863',0),(130,56,1,'1262802073','1262802073',0),(131,57,1,'1262802533','1262802533',0),(132,58,1,'1262802776','1262802776',0),(133,59,1,'1262803192','1262803192',0),(134,60,1,'1262803561','1262803561',0),(135,61,1,'1262803720','1262803720',0),(136,62,1,'1262803801','1262803801',0),(137,63,1,'1262803864','1262803864',0),(138,64,1,'1263215541','1263215541',0),(139,65,1,'1263216890','1263216890',0),(140,66,1,'1263491903','1263491903',0),(141,67,1,'1263495012','1263495012',0),(142,79,1,'1263638484','1263638484',0),(143,80,1,'1263638638','1263638638',0),(144,81,1,'1263639344','1263639344',0),(145,82,1,'1263639524','1263639524',0),(146,83,1,'1263639564','1263639564',0),(147,84,1,'1263639823','1263639823',0),(148,85,1,'1263643677','1263643677',0),(149,6,4,'1263648589','1263648589',1),(150,6,4,'1263648808','1263648808',1),(151,6,5,'1263649485','1263649485',1),(152,86,1,'1263821521','1263821521',0),(153,3,8,'1263886059','1263886059',1),(154,3,8,'1263886801','1263886801',1),(155,3,8,'1263886859','1263886859',1),(156,3,8,'1263887779','1263887779',1),(157,3,8,'1263888094','1263888094',1),(158,3,8,'1263888430','1263888430',1),(159,3,8,'1263889071','1263889071',1),(160,3,8,'1263889133','1263889133',1),(161,3,8,'1263890053','1263890053',1),(162,3,8,'1263890118','1263890118',1),(163,3,8,'1263890186','1263890186',1),(164,3,8,'1263891059','1263891059',1),(165,3,8,'1263891215','1263891215',1),(166,3,8,'1263891284','1263891284',1),(167,3,8,'1263895660','1263895660',1),(168,3,8,'1263896088','1263896088',1),(169,3,8,'1263896170','1263896170',1),(170,3,8,'1263896208','1263896208',1),(171,3,5,'1263897636','1263897636',1),(172,6,7,'1263900267','1263900267',1),(173,6,8,'1263901082','1263901082',1),(174,6,5,'1263902128','1263902128',1),(175,6,7,'1263902291','1263902291',1),(176,87,1,'1263904720','1263904720',0),(177,88,1,'1263905305','1263905305',0),(178,33,4,'1263961481','1263961481',1),(179,36,4,'1263963773','1263963773',1),(180,37,4,'1263963917','1263963917',1),(181,38,8,'1263964485','1263964485',1),(182,39,4,'1263965573','1263965573',1),(183,44,4,'1263992280','1263992280',1),(184,50,4,'1264048815','1264048815',1),(185,51,4,'1264049535','1264049535',1),(186,3,7,'1264059235','1264059235',1),(187,3,7,'1264059300','1264059300',1),(188,3,4,'1264059363','1264059363',1),(189,88,4,'1264060667','1264060667',1),(190,89,1,'1264224679','1264224679',0),(191,90,1,'1264234581','1264234581',0),(192,3,4,'1264405023','1264405023',1),(193,3,4,'1264405770','1264405770',1),(194,3,4,'1264406352','1264406352',1),(195,3,4,'1264406421','1264406421',1),(196,3,8,'1264406537','1264406537',1),(197,3,8,'1264406685','1264406685',1),(198,3,8,'1264406926','1264406926',1),(199,3,8,'1264407077','1264407077',1),(200,3,8,'1264408695','1264408695',1),(201,3,8,'1264408861','1264408861',1),(202,3,8,'1264408968','1264408968',1),(203,3,8,'1264409127','1264409127',1),(204,3,8,'1264410762','1264410762',1),(205,3,8,'1264410965','1264410965',1),(206,1,5,'1264411023','1264411023',1),(207,1,6,'1264411099','1264411099',1),(208,91,1,'1264412854','1264412854',0),(209,92,1,'1264415024','1264415024',0),(210,93,1,'1264415258','1264415258',0),(211,94,1,'1264415374','1264415374',0),(212,95,1,'1264415586','1264415586',0),(213,96,1,'1264415715','1264415715',0),(214,97,1,'1264415820','1264415820',0),(215,98,1,'1264415936','1264415936',0),(216,99,1,'1264416016','1264416016',0),(217,100,1,'1264416120','1264416120',0),(218,101,1,'1264416237','1264416237',0),(219,102,1,'1264416407','1264416407',0),(220,103,1,'1264416476','1264416476',0),(221,104,1,'1264416530','1264416530',0),(222,105,1,'1264416614','1264416614',0),(223,1,8,'1264420747','1264420747',1),(224,65,4,'1264421970','1264421970',1),(225,66,4,'1264423618','1264423618',1),(226,40,4,'1264423932','1264423932',1),(227,106,1,'1264675367','1264675367',0),(228,107,1,'1264675417','1264675417',0),(229,108,1,'1264675515','1264675515',0),(230,109,1,'1264675570','1264675570',0),(231,110,1,'1264675609','1264675609',0),(232,111,1,'1264675663','1264675663',0),(233,112,1,'1265031295','1265031295',0),(234,113,1,'1265031538','1265031538',0),(235,114,1,'1265031671','1265031671',0),(236,115,1,'1265107632','1265107632',0),(237,116,1,'1265295719','1265295719',0),(238,117,1,'1265298600','1265298600',0),(239,117,1,'1265299140','1265299140',1),(240,118,1,'1265303985','1265303985',0),(241,118,4,'1265304585','1265304585',1),(242,118,4,'1265304593','1265304593',1),(243,118,4,'1265304594','1265304594',1),(244,118,5,'1265304654','1265304654',1),(245,118,5,'1265304663','1265304663',1),(246,118,6,'1265304727','1265304727',1),(247,118,8,'1265304824','1265304824',1),(248,118,1,'1265305016','1265305016',1),(249,119,1,'1265651857','1265651857',0),(250,120,1,'1265651981','1265651981',0),(251,121,1,'1265652252','1265652252',0),(252,122,1,'1265652542','1265652542',0),(253,123,1,'1265652614','1265652614',0),(254,124,1,'1265652952','1265652952',0),(255,125,1,'1265652954','1265652954',0),(256,126,1,'1265653003','1265653003',0),(257,127,1,'1265653041','1265653041',0),(258,128,1,'1265653232','1265653232',0),(259,127,4,'1265700096','1265700096',1),(260,114,4,'1265700409','1265700409',1),(261,105,4,'1265702722','1265702722',1),(262,129,1,'1265712795','1265712795',0),(263,129,4,'1265713238','1265713238',1),(264,129,8,'1265713351','1265713351',1),(265,130,1,'1265787624','1265787624',0),(266,130,1,'1265788650','1265788650',1),(267,130,8,'1265789238','1265789238',1),(268,130,8,'1265789424','1265789424',1),(269,131,1,'1266476450','1266476450',0),(270,132,1,'1266477098','1266477098',0),(271,133,1,'1266488195','1266488195',0),(272,133,7,'1266489181','1266489181',1),(273,133,8,'1266489902','1266489902',1),(274,134,1,'1266495976','1266495976',0),(275,135,1,'1266496008','1266496008',0),(276,136,1,'1266593869','1266593869',0),(277,137,1,'1266594074','1266594074',0),(278,138,1,'1266594798','1266594798',0),(279,139,1,'1266594911','1266594911',0),(280,140,1,'1266594985','1266594985',0),(281,141,1,'1266595012','1266595012',0),(282,142,1,'1266648337','1266648337',0),(283,143,1,'1266668803','1266668803',0),(284,144,1,'1266669304','1266669304',0),(285,145,1,'1266669471','1266669471',0),(286,145,4,'1266671683','1266671683',1),(287,145,4,'1266671746','1266671746',1);

--
-- Table structure for table `bstock_orderstatustypes`
--

CREATE TABLE `bstock_orderstatustypes` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Name of the order status type.',
  `description` text NOT NULL COMMENT 'Description for the order status type.',
  `is_active` enum('0','1') NOT NULL COMMENT 'Whether this order type is active or not.',
  `created_date` varchar(50) NOT NULL COMMENT 'Date when this order status type was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Date when this order status type was last modified.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 COMMENT='This table is used to store the different order status types';

--
-- Dumping data for table `bstock_orderstatustypes`
--

INSERT INTO `bstock_orderstatustypes` VALUES (1,'Order Placed','Order Placed','1','',''),(2,'Order Placed','Order Placed','1','',''),(3,'Order Under Process','Order Under Process','','',''),(4,'Order shipped','Order shipped','1','',''),(5,'Order Completed','Order Completed','1','',''),(6,'Order Cancelled','Order Cancelled','1','',''),(7,'Order Pending','Order Pending','1','',''),(8,'Partially Shipped','Partially Shipped','1','','');

--
-- Table structure for table `bstock_paymenttypes`
--

CREATE TABLE `bstock_paymenttypes` (
  `payment_type_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Name of the payment type.',
  `description` text NOT NULL COMMENT 'Description about the payment type.',
  `is_active` enum('0','1') NOT NULL COMMENT 'If the payment type is active, then it will be available for use.',
  `has_api` enum('0','1') NOT NULL COMMENT 'Indicates whether this payment gateway has an API or not.',
  `api_key` varchar(250) NOT NULL COMMENT 'API Key for the payment gateway.',
  `created_date` varchar(50) NOT NULL COMMENT 'Date when this particular payment type was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Date when this payment type was last modified.',
  PRIMARY KEY (`payment_type_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Stores the different payment types.';

--
-- Dumping data for table `bstock_paymenttypes`
--


--
-- Table structure for table `bstock_pl_categories`
--

CREATE TABLE `bstock_pl_categories` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primiary key',
  `parent_category_id` int(10) NOT NULL COMMENT 'this is will store the parent id of the category. if zero then that is the parent category',
  `name` varchar(255) NOT NULL COMMENT 'this will store the name of the category',
  `desc` varchar(255) NOT NULL COMMENT 'this will store the desc of the category',
  `created_by_id` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_categories`
--

INSERT INTO `bstock_pl_categories` VALUES (1,0,'Parent','Parent category',87,'on','1268524800','1268524800'),(2,1,'wedding','wedding jewelry ',87,'on','1269525470','1269525470'),(3,2,'wedding rings','wedding jewelry ',87,'on','1269525478','1269525913'),(4,1,'new parent category','new parent category ',87,'on','1269857585','1269857585'),(5,1,'Earings','Earings ',87,'on','1269860566','1269865188'),(6,5,'Wedding Earings','Wedding Earings ',87,'on','1269860579','1269865188'),(7,5,'Wedding Earings2','Wedding Earings2 ',87,'on','1269864325','1269865188');

--
-- Table structure for table `bstock_pl_demands`
--

CREATE TABLE `bstock_pl_demands` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `customer_id` int(50) NOT NULL,
  `demand_date_to` varchar(50) NOT NULL,
  `demand_date_from` varchar(50) NOT NULL,
  `status` enum('Active','Temporary deactive','Permanently Deactive') NOT NULL,
  `shape` varchar(50) NOT NULL,
  `size_to` varchar(25) NOT NULL,
  `size_from` varchar(25) NOT NULL,
  `color_to` enum('D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R') NOT NULL,
  `color_from` enum('D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R') NOT NULL,
  `clarity_to` enum('IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3') NOT NULL,
  `clarity_from` enum('IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3') NOT NULL,
  `cut_to` enum('EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `cut_from` enum('EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish_to` enum('EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish_from` enum('EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `symm_to` enum('EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `symm_from` enum('EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `flour_to` enum('NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL,
  `flour_from` enum('NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL,
  `lab` varchar(25) NOT NULL,
  `location` varchar(25) NOT NULL,
  `price_to` int(50) NOT NULL,
  `price_from` int(50) NOT NULL,
  `discount_from` varchar(50) NOT NULL,
  `discount_to` varchar(50) NOT NULL,
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(59) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_demands`
--

INSERT INTO `bstock_pl_demands` VALUES (1,41,'1269667570','1267683970','Active','\'ROUND\'','','','D','D','IF','IF','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','NONE','NONE','All Labs','All',0,0,'','','1269667570','1269667570'),(2,41,'1269667671','1267684071','Active','\'ROUND\'','','','D','D','IF','IF','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','NONE','NONE','All Labs','All',0,0,'','','1269667671','1269667671'),(3,87,'1275118740','1275377940','Active','\'ROUND\',\'PRINCES\'','3','0','D','D','IF','IF','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','NONE','FAINT','GIA','All',0,0,'5','10','1274859540','1274859540'),(4,87,'1275550866','1275118866','Active','\'ROUND\'','2','0','K','E','IF','IF','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','NONE','NONE','All Labs','All',0,0,'5','10','1274859666','1274859666'),(5,87,'','','Active','','','','D','D','IF','IF','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','EXCELLENT','NONE','NONE','All Labs','All',0,0,'','','1274859673','1274859673');

--
-- Table structure for table `bstock_pl_demands_comments`
--

CREATE TABLE `bstock_pl_demands_comments` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `demand_id` int(10) NOT NULL,
  `commentor_id` int(25) NOT NULL,
  `comments` varchar(1000) NOT NULL,
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_demands_comments`
--


--
-- Table structure for table `bstock_pl_login_stat`
--

CREATE TABLE `bstock_pl_login_stat` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `customer_id` int(10) NOT NULL COMMENT 'This is the customer id.',
  `ip_address` varchar(50) NOT NULL COMMENT 'IP Address from where the user logs in.',
  `login_time` varchar(50) NOT NULL COMMENT 'This field will contain the timestamp.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=369 DEFAULT CHARSET=latin1 COMMENT='This table is used to store the login stats of customers.';

--
-- Dumping data for table `bstock_pl_login_stat`
--

INSERT INTO `bstock_pl_login_stat` VALUES (1,12,'59.182.165.220','1264180391'),(2,12,'59.182.165.220','1264181123'),(3,12,'59.182.165.220','1264181565'),(4,12,'59.182.165.220','1264182021'),(5,12,'59.182.50.67','1264183135'),(6,12,'59.182.50.67','1264183879'),(7,12,'59.182.165.220','1264184527'),(8,12,'59.182.165.220','1264184824'),(9,12,'59.182.165.220','1264184859'),(10,12,'59.182.50.67','1264185214'),(11,12,'59.182.165.220','1264186355'),(12,12,'59.182.156.167','1264234317'),(13,9,'59.182.62.195','1264250376'),(14,9,'59.182.62.195','1264251953'),(15,12,'59.182.188.185','1264403920'),(16,25,'59.182.188.185','1264403933'),(17,25,'59.182.188.185','1264404810'),(18,25,'59.182.150.57','1264411374'),(19,12,'59.182.150.57','1264411382'),(20,12,'59.182.150.57','1264418194'),(21,12,'59.182.150.57','1264418229'),(22,25,'59.182.153.50','1264418898'),(23,12,'59.182.30.129','1264567611'),(24,12,'59.182.117.205','1264601302'),(25,25,'59.182.172.247','1264668016'),(26,25,'59.182.172.247','1264668752'),(27,25,'59.182.172.247','1264668788'),(28,25,'59.182.172.247','1264668897'),(29,25,'59.182.172.247','1264669251'),(30,12,'59.182.172.247','1264669313'),(31,12,'59.182.172.247','1264674005'),(32,25,'59.182.172.247','1264674755'),(33,25,'59.182.175.38','1264681507'),(34,12,'59.182.175.38','1264682206'),(35,12,'59.182.175.38','1264685314'),(36,25,'59.182.69.176','1264697290'),(37,25,'59.182.131.144','1264701331'),(38,38,'59.182.69.176','1264701413'),(39,38,'69.208.108.29','1264703836'),(40,38,'69.208.108.27','1264712460'),(41,12,'59.182.154.235','1264753135'),(42,38,'59.181.109.226','1264762980'),(43,38,'59.181.109.226','1264763070'),(44,38,'59.182.144.7','1264793135'),(45,25,'59.182.147.34','1264837210'),(46,39,'59.182.183.93','1264848238'),(47,39,'59.182.183.93','1264848309'),(48,39,'59.182.183.93','1264848331'),(49,39,'59.182.183.93','1264848357'),(50,39,'59.182.183.93','1264848989'),(51,39,'59.182.183.93','1264849388'),(52,39,'59.182.183.93','1264850737'),(53,25,'59.182.160.218','1265028795'),(54,12,'59.182.160.218','1265030654'),(55,25,'59.182.160.218','1265031157'),(56,12,'59.182.160.218','1265031203'),(57,12,'59.182.160.218','1265031250'),(58,12,'59.182.160.218','1265031483'),(59,25,'59.182.160.218','1265031550'),(60,12,'59.182.160.218','1265031644'),(61,12,'59.182.165.205','1265089159'),(62,25,'59.182.165.205','1265089181'),(63,12,'59.182.136.175','1265104675'),(64,12,'59.182.136.175','1265105938'),(65,25,'59.182.136.175','1265105969'),(66,12,'59.182.136.175','1265106033'),(67,12,'59.182.136.175','1265106184'),(68,12,'59.182.136.175','1265106236'),(69,12,'59.182.136.175','1265107142'),(70,12,'59.182.136.175','1265107256'),(71,12,'59.182.136.175','1265107591'),(72,12,'59.182.136.175','1265107872'),(73,12,'59.182.136.175','1265107906'),(74,12,'59.182.136.175','1265108377'),(75,12,'59.182.136.175','1265108427'),(76,12,'59.182.136.175','1265108690'),(77,12,'59.182.136.175','1265108871'),(78,12,'59.182.187.89','1265109090'),(79,12,'59.182.187.89','1265109647'),(80,12,'59.182.187.89','1265110051'),(81,12,'59.182.187.89','1265110145'),(82,12,'59.182.187.89','1265111131'),(83,12,'59.182.187.89','1265111988'),(84,12,'59.182.187.89','1265112101'),(85,12,'59.182.187.89','1265112284'),(86,12,'59.182.183.124','1265115233'),(87,25,'59.182.183.124','1265115322'),(88,41,'59.182.190.95','1265135204'),(89,12,'59.182.107.244','1265176249'),(90,12,'59.182.107.244','1265179768'),(91,12,'59.182.107.244','1265179784'),(92,12,'59.182.107.244','1265179805'),(93,12,'59.182.107.244','1265182511'),(94,12,'59.182.107.244','1265183963'),(95,12,'59.182.51.236','1265192086'),(96,12,'59.182.51.236','1265198771'),(97,12,'59.182.51.236','1265198866'),(98,25,'59.182.179.196','1265294378'),(99,25,'59.182.179.196','1265294511'),(100,25,'59.182.179.196','1265294606'),(101,25,'59.182.179.196','1265294627'),(102,25,'59.182.179.196','1265294635'),(103,25,'59.182.179.196','1265294655'),(104,25,'59.182.179.196','1265294699'),(105,25,'59.182.179.196','1265296247'),(106,25,'59.182.179.196','1265296945'),(107,25,'59.182.179.196','1265297975'),(108,25,'59.182.186.132','1265306637'),(109,25,'59.182.186.132','1265309544'),(110,12,'59.182.186.132','1265309681'),(111,25,'59.182.186.132','1265309756'),(112,12,'59.182.186.132','1265309819'),(113,25,'59.182.139.71','1265350413'),(114,12,'59.182.139.71','1265351420'),(115,12,'59.182.139.71','1265351443'),(116,12,'59.182.139.71','1265351743'),(117,12,'59.182.139.71','1265352431'),(118,12,'59.182.139.71','1265352445'),(119,12,'59.182.139.71','1265353964'),(120,12,'59.182.139.71','1265356959'),(121,12,'59.182.187.53','1265358845'),(122,12,'59.182.187.53','1265359887'),(123,12,'59.182.134.80','1265362744'),(124,12,'59.182.134.80','1265367687'),(125,25,'59.182.134.80','1265368109'),(126,12,'59.182.134.80','1265370090'),(127,12,'59.182.134.80','1265371912'),(128,12,'59.182.134.80','1265372103'),(129,12,'122.170.43.221','1265372282'),(130,12,'59.182.134.80','1265372752'),(131,12,'59.182.134.80','1265374890'),(132,25,'59.182.168.213','1265435169'),(133,25,'59.182.168.213','1265435542'),(134,12,'59.182.168.213','1265441005'),(135,12,'59.182.168.213','1265441325'),(136,12,'59.182.163.121','1265455419'),(137,12,'59.182.163.121','1265455496'),(138,12,'59.182.163.121','1265456725'),(139,25,'59.182.130.57','1265465118'),(140,25,'59.182.130.57','1265465176'),(141,40,'59.182.130.57','1265467642'),(142,25,'59.182.130.57','1265467840'),(143,25,'59.182.130.57','1265468954'),(144,41,'115.240.81.155','1265527940'),(145,41,'59.182.168.35','1265607173'),(146,41,'59.182.168.35','1265608222'),(147,41,'59.182.158.249','1265649855'),(148,41,'59.182.158.249','1265650966'),(149,41,'59.182.158.249','1265651012'),(150,41,'59.182.158.249','1265651061'),(151,41,'59.182.158.249','1265651132'),(152,41,'59.182.158.249','1265651297'),(153,41,'59.182.158.249','1265651582'),(154,41,'59.182.158.249','1265651801'),(155,41,'59.182.188.32','1265694209'),(156,41,'59.182.178.80','1265695125'),(157,41,'59.182.188.72','1265698578'),(158,41,'59.182.188.72','1265698644'),(159,41,'59.182.188.72','1265698973'),(160,41,'59.182.188.72','1265699030'),(161,41,'59.182.188.72','1265699037'),(162,41,'59.182.188.72','1265699057'),(163,12,'59.182.182.41','1265712127'),(164,41,'59.182.182.41','1265712145'),(165,41,'59.182.182.41','1265712211'),(166,41,'59.182.182.41','1265712228'),(167,41,'59.182.182.41','1265712285'),(168,25,'59.182.178.43','1265783572'),(169,25,'59.182.178.43','1265784780'),(170,25,'59.182.178.43','1265785162'),(171,25,'59.182.178.43','1265785293'),(172,25,'59.182.152.187','1265785965'),(173,25,'59.182.174.27','1265787280'),(174,25,'59.182.174.27','1265788321'),(175,25,'59.182.185.88','1265790268'),(176,12,'59.182.147.76','1265791890'),(177,12,'59.182.147.76','1265797168'),(178,41,'59.182.147.76','1265798286'),(179,12,'59.182.147.76','1265798555'),(180,12,'59.182.147.76','1265799226'),(181,44,'59.182.147.76','1265799233'),(182,44,'59.182.147.76','1265799859'),(183,43,'59.182.147.76','1265800041'),(184,41,'59.182.147.76','1265800229'),(185,25,'59.182.147.76','1265800351'),(186,44,'59.182.147.76','1265800381'),(187,44,'122.169.15.45','1265801683'),(188,44,'122.169.15.45','1265801755'),(189,12,'59.182.147.76','1265801768'),(190,44,'122.169.15.45','1265801778'),(191,44,'122.169.15.45','1265801794'),(192,44,'122.169.15.45','1265801822'),(193,44,'122.169.15.45','1265801847'),(194,44,'59.182.172.183','1265802263'),(195,44,'122.169.15.45','1265802292'),(196,12,'59.182.172.183','1265803238'),(197,12,'59.182.148.191','1265805223'),(198,12,'59.182.186.30','1265805694'),(199,12,'59.182.186.30','1265806732'),(200,12,'59.182.186.30','1265806763'),(201,12,'59.182.186.30','1265809055'),(202,12,'59.182.147.27','1265869801'),(203,12,'59.182.147.27','1265869902'),(204,41,'59.182.147.27','1265875240'),(205,12,'59.182.147.27','1265878202'),(206,12,'59.182.152.158','1265887089'),(207,41,'59.182.153.191','1265891122'),(208,41,'59.182.153.191','1265891128'),(209,12,'59.182.153.191','1265891208'),(210,12,'59.182.153.191','1265892689'),(211,12,'59.182.138.95','1265958387'),(212,44,'122.169.47.126','1265977646'),(213,12,'59.182.177.226','1265977774'),(214,44,'122.169.54.234','1266062964'),(215,12,'59.182.23.45','1266154667'),(216,12,'59.182.23.45','1266154853'),(217,12,'59.182.157.175','1266393158'),(218,12,'59.182.154.158','1266404173'),(219,12,'59.182.154.158','1266406042'),(220,12,'59.182.154.158','1266406202'),(221,12,'59.182.154.158','1266413970'),(222,12,'59.182.158.236','1266414185'),(223,12,'59.182.158.236','1266414189'),(224,12,'59.182.106.1','1266434437'),(225,12,'59.182.188.17','1266473666'),(226,41,'122.169.21.229','1266485266'),(227,46,'122.169.21.229','1266486194'),(228,46,'122.169.21.229','1266495672'),(229,46,'122.169.21.229','1266495866'),(230,46,'122.169.21.229','1266496102'),(231,41,'59.182.128.96','1266558478'),(232,12,'59.182.89.116','1266584764'),(233,12,'59.182.89.116','1266585688'),(234,47,'59.182.188.52','1266587416'),(235,12,'59.182.60.69','1266594096'),(236,12,'59.182.60.69','1266597216'),(237,12,'59.182.78.165','1266640281'),(238,12,'59.182.78.165','1266642034'),(239,41,'59.182.158.50','1266642695'),(240,47,'59.182.158.50','1266642725'),(241,41,'59.182.158.50','1266643723'),(242,12,'59.182.78.165','1266645359'),(243,41,'59.182.158.50','1266645764'),(244,12,'59.182.116.3','1266663468'),(245,41,'59.182.162.1','1266665003'),(246,41,'59.182.152.4','1266670639'),(247,12,'59.182.170.105','1266989509'),(248,12,'59.182.176.38','1266993696'),(249,12,'122.169.0.9','1267004646'),(250,12,'122.169.0.9','1267005095'),(251,41,'59.182.177.211','1267091188'),(252,12,'59.182.165.207','1267099557'),(253,12,'59.182.108.88','1267118200'),(254,12,'59.182.142.238','1267168355'),(255,12,'59.182.142.238','1267168616'),(256,12,'59.182.142.238','1267168736'),(257,41,'59.182.142.238','1267168791'),(258,12,'59.182.142.238','1267171868'),(259,41,'59.182.142.238','1267171909'),(260,12,'59.182.142.238','1267172022'),(261,12,'59.182.142.238','1267172630'),(262,12,'59.182.142.238','1267172893'),(263,41,'59.182.137.216','1267176309'),(264,12,'59.182.137.216','1267177012'),(265,25,'59.182.137.216','1267178720'),(266,25,'59.182.137.216','1267178756'),(267,51,'59.182.137.216','1267180051'),(268,51,'59.182.137.216','1267180975'),(269,51,'59.182.137.216','1267181057'),(270,12,'59.182.137.216','1267185432'),(271,12,'59.182.90.10','1267249972'),(272,12,'59.182.90.10','1267258241'),(273,12,'59.182.55.135','1267276293'),(274,12,'220.246.25.158','1267420769'),(275,12,'59.182.159.53','1267426436'),(276,12,'59.182.79.145','1267526214'),(277,47,'59.182.144.32','1267535981'),(278,47,'59.182.144.32','1267536078'),(279,47,'59.182.144.32','1267536085'),(280,47,'59.182.144.32','1267536147'),(281,47,'59.182.144.32','1267536916'),(282,12,'59.182.100.115','1267637226'),(283,12,'59.182.100.115','1267639081'),(284,12,'59.182.100.115','1267646499'),(285,12,'59.182.191.233','1267694588'),(286,12,'59.182.172.47','1267700607'),(287,12,'59.182.15.187','1267715513'),(288,12,'122.169.61.239','1268025829'),(289,12,'59.182.177.189','1268115986'),(290,12,'59.182.177.189','1268118287'),(291,41,'59.182.144.118','1268134476'),(292,41,'59.182.144.118','1268134500'),(293,41,'59.182.144.118','1268134656'),(294,41,'59.182.144.118','1268136617'),(295,41,'59.182.144.118','1268140653'),(296,41,'59.182.144.118','1268141745'),(297,41,'59.182.144.118','1268142069'),(298,41,'59.182.144.118','1268142103'),(299,41,'59.182.144.118','1268142133'),(300,12,'59.182.4.11','1268246160'),(301,12,'59.182.137.5','1268285728'),(302,12,'59.182.185.92','1268287402'),(303,12,'59.182.185.92','1268287550'),(304,12,'59.182.185.92','1268287659'),(305,12,'59.182.141.147','1268290481'),(306,12,'59.182.141.147','1268299494'),(307,41,'59.182.141.147','1268307305'),(308,41,'59.182.141.147','1268307331'),(309,12,'59.182.156.123','1268312210'),(310,12,'59.182.156.123','1268312297'),(311,41,'59.182.43.89','1268748549'),(312,12,'59.182.43.120','1268900593'),(313,41,'59.182.11.84','1269091353'),(314,47,'59.183.62.79','1269414602'),(315,12,'59.182.76.99','1269580437'),(316,41,'59.182.181.29','1269600124'),(317,12,'59.182.41.21','1269600199'),(318,12,'59.182.27.147','1269626109'),(319,12,'59.182.27.147','1269626231'),(320,12,'59.182.27.147','1269627433'),(321,12,'59.182.27.147','1269627552'),(322,12,'59.182.27.147','1269627612'),(323,12,'59.182.27.147','1269627697'),(324,12,'59.182.27.147','1269627711'),(325,12,'59.182.27.147','1269628043'),(326,41,'59.182.187.3','1269665453'),(327,41,'59.182.187.3','1269665527'),(328,12,'59.182.187.3','1269667547'),(329,12,'59.182.179.26','1269867508'),(330,47,'59.182.186.129','1270579413'),(331,12,'59.182.3.82','1270642391'),(332,12,'59.182.3.82','1270642435'),(333,12,'122.182.11.226','1270642492'),(334,12,'59.182.3.82','1270642500'),(335,12,'122.182.11.226','1270642907'),(336,12,'59.182.187.151','1271400207'),(337,12,'59.182.169.63','1271941376'),(338,12,'59.182.169.63','1271941446'),(339,12,'59.182.185.8','1272545163'),(340,12,'59.182.144.140','1272618936'),(341,12,'59.182.144.140','1272621058'),(342,12,'59.182.144.140','1272621688'),(343,12,'122.169.59.33','1272865925'),(344,12,'122.169.59.33','1272866045'),(345,12,'122.169.59.33','1272866070'),(346,12,'59.183.177.193','1272873987'),(347,12,'115.96.67.24','1273035130'),(348,12,'115.96.67.24','1273037334'),(349,12,'59.182.16.127','1273414976'),(350,12,'59.182.35.95','1273513232'),(351,12,'59.182.35.95','1273513287'),(352,12,'59.182.35.95','1273513304'),(353,12,'59.182.35.95','1273513572'),(354,12,'59.182.35.95','1273513583'),(355,12,'59.182.35.95','1273513653'),(356,12,'59.182.0.239','1274606044'),(357,12,'59.182.0.239','1274606628'),(358,12,'59.182.157.99','1274794661'),(359,12,'59.182.138.120','1274857242'),(360,12,'59.182.116.140','1274896532'),(361,12,'59.182.143.203','1274941765'),(362,12,'59.182.19.122','1274963421'),(363,12,'59.182.110.254','1275064196'),(364,12,'59.182.110.254','1275069585'),(365,12,'59.182.109.75','1275123268'),(366,12,'59.182.114.201','1283583454'),(367,12,'59.182.170.104','1287554244'),(368,12,'59.182.170.104','1287559732');

--
-- Table structure for table `bstock_pl_multipleimagesupload`
--

CREATE TABLE `bstock_pl_multipleimagesupload` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This field will be the auto increment field and the primary field.',
  `product_id` int(25) NOT NULL COMMENT 'This will store the product id to which the photo is related. field name is: parent_id',
  `module_id` int(5) NOT NULL COMMENT 'This will have the moduel id to which the photo belongs to . field name is photo_parent_id',
  `title` varchar(255) NOT NULL,
  `file_name` varchar(255) NOT NULL,
  `is_default` enum('1','0') NOT NULL,
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_multipleimagesupload`
--

INSERT INTO `bstock_pl_multipleimagesupload` VALUES (2,647,1,'test2','1_647_2_31032010125108.jpg','0','1261227023','1261227023'),(3,0,1,'asdfasdf','1__0_04042010231601.jpg','0','',''),(4,647,1,'test555555','1_647_4_05042010002642.jpg','0','',''),(5,647,1,'test3','1_647_5_05042010002549.jpg','0','',''),(6,647,1,'test6','1_647_0_05042010003031.jpg','0','',''),(7,647,1,'test78','1_647_0_05042010021739.jpg','1','',''),(8,0,1,'sfwr234234','1__15_05042010034300.jpg','0','',''),(9,2,1,'test553','1_2_15_05042010034343.jpg','1','','');

--
-- Table structure for table `bstock_pl_offers`
--

CREATE TABLE `bstock_pl_offers` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `product_id` int(25) NOT NULL,
  `customer_id` int(25) NOT NULL,
  `price` int(50) NOT NULL,
  `percentage_back` varchar(50) NOT NULL DEFAULT '0',
  `comments` varchar(255) NOT NULL,
  `status` enum('pending','rejected','accepted') NOT NULL DEFAULT 'pending',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_offers`
--

INSERT INTO `bstock_pl_offers` VALUES (1,16,41,11,'','test','pending','1269667910','1269667910'),(2,4,12,500,'','Your Comments here','pending','1273514991','1273514991'),(3,12,87,56,'','Your Comments here','pending','1274858430','1274858430'),(4,2,87,45,'','Your Comments here','pending','1274858749','1274858749'),(5,4,87,56,'','Your Comments here','pending','1274858749','1274858749'),(6,5,87,44,'','Your Comments here','pending','1274858749','1274858749');

--
-- Table structure for table `bstock_pl_productview_stat`
--

CREATE TABLE `bstock_pl_productview_stat` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `customer_id` int(10) NOT NULL COMMENT 'This is the customer id.',
  `product_id` int(10) NOT NULL COMMENT 'This is the product id viewed by the customer.',
  `ip_address` varchar(50) NOT NULL COMMENT 'This is the IP Address of the customer.',
  `viewed_time` varchar(50) NOT NULL COMMENT 'This will contain the timestamp when the product was viewed.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=165 DEFAULT CHARSET=latin1 COMMENT='This table is used to store the product view stats of the cu';

--
-- Dumping data for table `bstock_pl_productview_stat`
--

INSERT INTO `bstock_pl_productview_stat` VALUES (1,12,39,'59.182.50.67','1264184537'),(2,12,43,'59.182.50.67','1264184571'),(3,9,41,'59.182.62.195','1264251968'),(4,9,43,'59.182.62.195','1264251977'),(5,38,46,'69.208.108.27','1264712470'),(6,38,48,'69.208.108.27','1264712479'),(7,25,60,'59.182.147.34','1264837250'),(8,25,29,'59.182.147.34','1264837276'),(9,25,51,'59.182.147.34','1264837279'),(10,25,51,'59.182.147.34','1264837408'),(11,25,52,'59.182.147.34','1264837415'),(12,25,53,'59.182.147.34','1264837418'),(13,25,52,'59.182.147.34','1264837430'),(14,25,55,'59.182.147.34','1264837448'),(15,25,30,'59.182.147.34','1264837460'),(16,25,45,'59.182.147.34','1264837464'),(17,25,21,'59.182.147.34','1264837477'),(18,25,35,'59.182.147.34','1264837480'),(19,25,41,'59.182.147.34','1264837483'),(20,25,35,'59.182.147.34','1264837486'),(21,25,36,'59.182.147.34','1264837497'),(22,25,36,'59.182.147.34','1264837500'),(23,25,34,'59.182.147.34','1264837510'),(24,25,43,'59.182.147.34','1264837514'),(25,25,19,'59.182.147.34','1264837517'),(26,25,38,'59.182.147.34','1264837527'),(27,25,48,'59.182.147.34','1264837530'),(28,25,58,'59.182.147.34','1264837542'),(29,25,58,'59.182.147.34','1264837548'),(30,25,39,'59.182.147.34','1264837680'),(31,25,56,'59.182.147.34','1264837685'),(32,25,56,'59.182.147.34','1264837689'),(33,25,39,'59.182.147.34','1264837693'),(34,25,29,'59.182.147.34','1264837793'),(35,25,60,'59.182.147.34','1264838486'),(36,25,60,'59.182.147.34','1264838520'),(37,25,57,'59.182.147.34','1264838922'),(38,25,29,'59.182.160.218','1265031002'),(39,12,45,'59.182.107.244','1265180032'),(40,12,12,'59.182.51.236','1265198839'),(41,12,28,'59.182.51.236','1265198866'),(42,12,12,'59.182.51.236','1265198901'),(43,12,6,'59.182.51.236','1265198913'),(44,12,12,'59.182.51.236','1265199014'),(45,12,28,'59.182.51.236','1265199028'),(46,12,16,'59.182.51.236','1265199097'),(47,12,5,'59.182.51.236','1265199135'),(48,12,7,'59.182.51.236','1265199140'),(49,12,34,'59.182.51.236','1265199146'),(50,12,20,'59.182.51.236','1265199235'),(51,12,12,'59.182.51.236','1265199245'),(52,12,31,'59.182.51.236','1265199255'),(53,12,28,'59.182.51.236','1265199276'),(54,12,12,'59.182.51.236','1265199281'),(55,12,7,'59.182.51.236','1265199545'),(56,12,20,'59.182.51.236','1265199553'),(57,12,28,'59.182.51.236','1265199591'),(58,12,33,'59.182.51.236','1265199631'),(59,12,31,'59.182.51.236','1265199637'),(60,12,20,'59.182.51.236','1265199804'),(61,12,25,'59.182.51.236','1265199851'),(62,12,31,'59.182.51.236','1265199891'),(63,12,16,'59.182.51.236','1265200078'),(64,12,34,'59.182.51.236','1265200093'),(65,12,33,'59.182.51.236','1265200098'),(66,12,12,'59.182.51.236','1265200353'),(67,25,628,'59.182.179.196','1265295558'),(68,25,641,'59.182.185.88','1265790288'),(69,25,641,'59.182.185.88','1265790317'),(70,12,114,'59.182.147.76','1265791949'),(71,44,10,'122.169.15.45','1265801975'),(72,44,5,'122.169.15.45','1265801984'),(73,44,8,'122.169.15.45','1265802024'),(74,12,4,'59.182.172.183','1265802033'),(75,12,1,'59.182.153.191','1265890397'),(76,12,2,'59.182.153.191','1265890444'),(77,12,4,'59.182.153.191','1265890482'),(78,12,5,'59.182.153.191','1265890592'),(79,12,5,'59.182.153.191','1265890611'),(80,12,16,'59.182.153.191','1265890615'),(81,12,1,'59.182.153.191','1265892900'),(82,12,16,'59.182.153.191','1265893339'),(83,12,12,'59.182.153.191','1265893900'),(84,12,11,'59.182.153.191','1265894114'),(85,12,16,'59.182.153.191','1265894326'),(86,12,2,'59.182.153.191','1265894330'),(87,12,23,'59.182.153.191','1265894335'),(88,12,35,'59.182.153.191','1265894341'),(89,12,42,'59.182.153.191','1265894352'),(90,12,634,'59.182.153.191','1265894557'),(91,12,633,'59.182.153.191','1265895026'),(92,12,619,'59.182.153.191','1265895130'),(93,12,620,'59.182.153.191','1265895148'),(94,12,621,'59.182.153.191','1265895158'),(95,12,599,'59.182.153.191','1265895427'),(96,12,1,'59.182.177.226','1265977808'),(97,44,1,'122.169.47.126','1265977812'),(98,44,10,'122.169.47.126','1265977846'),(99,12,1,'59.182.23.45','1266154815'),(100,12,1,'59.182.23.45','1266154996'),(101,46,64,'122.169.21.229','1266486391'),(102,46,64,'122.169.21.229','1266487621'),(103,41,637,'59.182.128.96','1266558498'),(104,12,1,'59.182.89.116','1266585336'),(105,12,2,'59.182.89.116','1266585372'),(106,12,4,'59.182.89.116','1266585379'),(107,12,5,'59.182.89.116','1266585589'),(108,12,7,'59.182.89.116','1266585668'),(109,12,1,'59.182.89.116','1266585704'),(110,12,16,'59.182.89.116','1266586016'),(111,12,12,'59.182.89.116','1266586024'),(112,12,16,'59.182.89.116','1266586168'),(113,12,1,'59.182.89.116','1266586175'),(114,12,21,'59.182.89.116','1266586319'),(115,12,20,'59.182.89.116','1266587021'),(116,12,33,'59.182.89.116','1266587056'),(117,12,29,'59.182.89.116','1266587079'),(118,12,31,'59.182.89.116','1266587127'),(119,12,34,'59.182.89.116','1266587134'),(120,12,40,'59.182.89.116','1266587155'),(121,12,42,'59.182.89.116','1266587169'),(122,12,37,'59.182.89.116','1266587174'),(123,12,38,'59.182.89.116','1266587278'),(124,12,39,'59.182.89.116','1266587293'),(125,12,38,'59.182.89.116','1266587295'),(126,12,48,'59.182.89.116','1266587313'),(127,12,57,'59.182.89.116','1266587336'),(128,12,66,'59.182.89.116','1266587342'),(129,12,59,'59.182.89.116','1266587342'),(130,12,634,'59.182.89.116','1266587349'),(131,12,10,'59.182.89.116','1266587366'),(132,12,8,'59.182.89.116','1266587366'),(133,12,11,'59.182.89.116','1266587458'),(134,12,43,'59.182.89.116','1266587505'),(135,12,11,'59.182.89.116','1266587626'),(136,12,29,'59.182.89.116','1266587683'),(137,12,41,'59.182.89.116','1266587719'),(138,12,46,'59.182.89.116','1266587745'),(139,12,37,'59.182.89.116','1266587855'),(140,12,2,'59.182.89.116','1266587869'),(141,12,43,'59.182.89.116','1266587892'),(142,12,20,'59.182.89.116','1266588120'),(143,12,17,'59.182.89.116','1266588127'),(144,12,18,'59.182.89.116','1266588238'),(145,12,19,'59.182.89.116','1266588243'),(146,12,21,'59.182.89.116','1266588275'),(147,12,43,'59.182.89.116','1266588299'),(148,41,12,'59.182.162.1','1266665014'),(149,12,642,'122.169.0.9','1267005745'),(150,12,2,'59.182.108.88','1267118367'),(151,12,7,'59.182.108.88','1267118375'),(152,12,3,'59.182.142.238','1267168627'),(153,12,4,'220.246.25.158','1267420806'),(154,12,7,'220.246.25.158','1267420831'),(155,12,2,'59.182.100.115','1267638297'),(156,12,2,'122.169.61.239','1268025948'),(157,12,2,'59.182.3.82','1270642684'),(158,12,2,'122.182.11.226','1270642687'),(159,12,2,'59.182.169.63','1271941663'),(160,12,2,'59.182.114.201','1283583461'),(161,12,4,'59.182.114.201','1283583466'),(162,12,11,'59.182.114.201','1283583472'),(163,12,11,'59.182.170.104','1287554252'),(164,12,10,'59.182.170.104','1287554255');

--
-- Table structure for table `bstock_pl_save_searches`
--

CREATE TABLE `bstock_pl_save_searches` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `search_name` varchar(50) NOT NULL COMMENT 'This is the search name entered by the user.',
  `shape` varchar(250) NOT NULL COMMENT 'Shape of the diamond.',
  `size_from` decimal(10,2) NOT NULL COMMENT 'Size of the diamond.',
  `size_to` decimal(10,2) NOT NULL,
  `color_from` varchar(10) NOT NULL COMMENT 'Color of the diamond.',
  `color_to` varchar(10) NOT NULL,
  `clarity_from` varchar(10) NOT NULL COMMENT 'Clarity of the diamond.',
  `clarity_to` varchar(10) NOT NULL,
  `cut_from` varchar(50) NOT NULL COMMENT 'Cut of the diamond.',
  `cut_to` varchar(50) NOT NULL,
  `polish_from` varchar(50) NOT NULL COMMENT 'Polish of the diamond.',
  `polish_to` varchar(50) NOT NULL,
  `symmetry_from` varchar(50) NOT NULL COMMENT 'Symmetry of the diamond.',
  `symmetry_to` varchar(50) NOT NULL,
  `lab` varchar(20) NOT NULL COMMENT 'Certified by which lab i.e. GIA, IGI, etc.',
  `flourescence_from` varchar(50) NOT NULL COMMENT 'Flourescence of the diamond.',
  `flourescence_to` varchar(50) NOT NULL,
  `location` varchar(50) NOT NULL COMMENT 'Location of the diamond.',
  `stone_id` varchar(50) NOT NULL COMMENT 'Stone id / lot number of the diamond.',
  `customer_id` int(10) NOT NULL COMMENT 'Customer id which is primary key of bstock_customers table.',
  `ip_address` varchar(50) NOT NULL COMMENT 'IP Address from where the customer is logged in.',
  `created_date` varchar(50) NOT NULL COMMENT 'Timestamp when the search record was created.',
  `modified_date` varchar(50) NOT NULL COMMENT 'Timestamp when the search record was modified.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=latin1 COMMENT='Stores all the saved searches.';

--
-- Dumping data for table `bstock_pl_save_searches`
--

INSERT INTO `bstock_pl_save_searches` VALUES (3,'marqpearprin','\'ROUND\',\'PRINCESS\'',0.50,0.60,'D','F','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All Labs','',12,'59.182.141.147','1268290608','1268290608'),(5,'nice2','\'ROUND\'',0.30,1.37,'D','G','IF','VS2','EXCELLENT','FAIR','EXCELLENT','FAIR','EXCELLENT','FAIR','GIA','NONE','VERY STRONG','Mumbai','',12,'59.182.141.147','1268290696','1268290696'),(21,'sadfa','\'ROUND\',\'PRINCESS\'',0.00,0.00,'ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All','',41,'59.182.141.147','1268307409','1268307409'),(14,'roundpripear788','\'ROUND\',\'PRINCESS\',\'PEAR\'',0.00,0.00,'ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All','',12,'59.182.141.147','1268295648','1268295648'),(13,'roundpripear0size','\'ROUND\',\'PRINCESS\',\'PEAR\'',0.00,0.00,'ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All','',12,'59.182.141.147','1268295589','1268295589'),(12,'roundpri2','\'ROUND\', \'Princess\', \'Pear\', \'Marquise\', \'Emerald\', \'Heart\', \'Oval\', \'Cushion\', \'Triangle\'',0.00,0.00,'','','','','','','','','','','','','','','',12,'59.182.141.147','1268294704','1268294704'),(15,'nice3','\'ROUND\'',0.30,0.90,'D','G','IF','VS2','EXCELLENT','FAIR','EXCELLENT','FAIR','EXCELLENT','FAIR','GIA','NONE','VERY STRONG','Mumbai','',12,'59.182.141.147','1268305033','1268305033'),(16,'nice4','\'ROUND\',\'PRINCESS\',\'PEAR\',\'MARQUISE\',\'EMERALD\'',0.30,0.90,'D','G','IF','VS2','EXCELLENT','FAIR','EXCELLENT','FAIR','EXCELLENT','FAIR','GIA','NONE','VERY STRONG','Mumbai','',12,'59.182.141.147','1268305310','1268305310'),(27,'new','\'ROUND\',\'PRINCESS\'',0.30,1.90,'D','G','IF','VS2','EXCELLENT','FAIR','EXCELLENT','FAIR','EXCELLENT','FAIR','GIA','NONE','VERY STRONG','Mumbai','',12,'59.182.141.147','1268310087','1268310087'),(20,'sadfa','\'ROUND\'',0.00,0.00,'ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All','',41,'59.182.141.147','1268307336','1268307336'),(22,'baba33','\'ROUND\',\'PRINCESS\'',0.00,0.00,'ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All','',41,'59.182.141.147','1268307517','1268307517'),(23,'sadfaprices','',0.00,0.00,'','','','','','','','','','','','','','','',41,'59.182.141.147','1268307583','1268307583'),(26,'allshapes1','\'ROUND\',\'PRINCESS\',\'PEAR\',\'MARQUISE\',\'EMERALD\',\'HEART\',\'OVAL\',\'CUSHION\',\'TRIANGLE\',\'ASCHER\',\'RADIANT\'',0.00,0.00,'ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','ANY','All Labs','ANY','ANY','All','',12,'59.182.141.147','1268309041','1268309041');

--
-- Table structure for table `bstock_pl_seeit`
--

CREATE TABLE `bstock_pl_seeit` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `product_id` int(50) NOT NULL,
  `customer_id` int(50) NOT NULL,
  `is_seeit` enum('0','1') NOT NULL DEFAULT '0' COMMENT 'This field shall be used to check if the diamond is under current see it or not.',
  `is_more_seeit` enum('0','1') NOT NULL DEFAULT '0' COMMENT 'This shall determine if some onelse has seen a see it.',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_seeit`
--

INSERT INTO `bstock_pl_seeit` VALUES (1,2,12,'1','0','1268290894','1268290894'),(2,4,12,'1','0','1268290894','1268290894'),(3,5,12,'1','0','1268290894','1268290894'),(4,7,12,'1','0','1268290894','1268290894'),(5,8,12,'1','0','1268290894','1268290894'),(6,10,12,'1','0','1268290894','1268290894'),(7,11,12,'1','0','1268290894','1268290894'),(8,12,41,'1','0','1269667889','1269667889'),(9,19,87,'1','0','1274858363','1274858363'),(10,46,87,'1','0','1274858372','1274858372'),(11,2,87,'1','1','1274858560','1274858560'),(12,4,87,'1','1','1274858560','1274858560'),(13,5,87,'1','1','1274858560','1274858560'),(14,7,87,'1','1','1274858668','1274858668'),(15,651,87,'1','0','1274858899','1274858899');

--
-- Table structure for table `bstock_pl_test`
--

CREATE TABLE `bstock_pl_test` (
  `id` int(10) NOT NULL COMMENT 'primary for the table',
  `field1` varchar(100) NOT NULL,
  `field2` varchar(100) NOT NULL,
  `field3` varchar(100) NOT NULL,
  `field4` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='this created for Test plugin';

--
-- Dumping data for table `bstock_pl_test`
--


--
-- Table structure for table `bstock_pl_wishlist`
--

CREATE TABLE `bstock_pl_wishlist` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL,
  `customer_id` int(10) NOT NULL,
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_wishlist`
--

INSERT INTO `bstock_pl_wishlist` VALUES (1,2,41,'1268135476','1268135476'),(2,2,12,'1268287531','1268287531'),(3,4,12,'1268287531','1268287531'),(4,12,41,'1269667879','1269667879'),(5,5,12,'1272621657','1272621657'),(6,7,12,'1272621657','1272621657'),(7,8,12,'1272621657','1272621657'),(8,10,12,'1272621657','1272621657'),(9,11,12,'1272621657','1272621657'),(10,12,12,'1272621657','1272621657'),(11,16,12,'1272621657','1272621657'),(12,17,12,'1272621657','1272621657'),(13,19,87,'1274858347','1274858347'),(14,46,87,'1274858347','1274858347'),(15,47,87,'1274858347','1274858347'),(16,651,87,'1274858932','1274858932');

--
-- Table structure for table `bstock_plugins`
--

CREATE TABLE `bstock_plugins` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `plugin_label` varchar(25) NOT NULL,
  `plugin_desc` varchar(500) NOT NULL,
  `folder_name` varchar(25) NOT NULL COMMENT 'This will store the folder name of that plugin',
  `class_file_name` varchar(25) NOT NULL COMMENT 'This will store the main/class file name',
  `is_active` enum('on','off') NOT NULL,
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_plugins`
--

INSERT INTO `bstock_plugins` VALUES (1,'Wishlist','Adding to wishlist','Wishlist','Wishlist','on','','1265469043'),(2,'Demand','This will store all the demands','Demands','Demands','on','',''),(3,'AddToCart','AddToCart','AddToCart','AddToCart','on','','1263192828'),(4,'SeeIt','SeeIt','SeeIt','SeeIt','on','','1263192837'),(5,'ExportToExcel','ExportToExcel','ExportToExcel','ExportToExcel','off','1263281971','1263281971'),(6,'PrintIt','PrintIt','PrintIt','PrintIt','on','1263298312','1263298312'),(7,'Offers','Offers','Offers','Offers','on','1263302375','1263302375'),(9,'Statistics','This will record the stats.','Statistics','Statistics','on','1264168261','1264168261'),(10,'Upload Products','Uploading products to db using csv','ProductUpload','ProductUpload','on','',''),(12,'SaveSearches','SaveSearches - this will save the searches made by client from the search result page - baba','SaveSearches','SaveSearches','on','',''),(13,'ExportToExcelWithPercent','Export to Excel allowing the customer/broker to add a % to the price field.','ExportToExcelWithPercent','ExportToExcelWithPercent','on','',''),(14,'Categories','Categories','Categories','Categories','off','',''),(15,'Multiple Images Upload','Multiple Images Upload','MultipleImagesUpload','MultipleImagesUpload','off','1268524800','1268524800'),(16,'Test','this is just for testing & understanding purpose','Test','Test','on','','');

--
-- Table structure for table `bstock_products`
--

CREATE TABLE `bstock_products` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `store_id` int(10) NOT NULL DEFAULT '1' COMMENT 'Can be used in future if multiple  stores are added.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `stoneid` varchar(50) NOT NULL,
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT','RD','EM','PR','RAD','MQ','HRT') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `location` enum('All','Antwerp','Hong Kong','Mumbai','New York') NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL DEFAULT 'NONE',
  `lab` enum('All Labs','GIA','IGI','HRD','AGS','EGL','IGC') NOT NULL,
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V') NOT NULL,
  `certificate` varchar(255) NOT NULL,
  `weight` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL DEFAULT '0',
  `certificate_id` varchar(50) NOT NULL,
  `rap_price` varchar(50) NOT NULL,
  `rap_total` varchar(50) NOT NULL,
  `discount` varchar(50) NOT NULL,
  `piece_price` varchar(50) NOT NULL,
  `carat_price` varchar(50) NOT NULL,
  `length` varchar(50) NOT NULL,
  `width` varchar(50) NOT NULL,
  `height` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `girdle` varchar(250) NOT NULL,
  `country` enum('India','Hong Kong','USA','Belgium') NOT NULL,
  `qty` varchar(10) NOT NULL DEFAULT '1',
  `product_category` varchar(100) NOT NULL,
  `serial_no` int(12) NOT NULL COMMENT 'This field is just to store the serial number coming from csv upload file. Else this is of no use',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1662 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

--
-- Dumping data for table `bstock_products`
--

INSERT INTO `bstock_products` VALUES (2,1,'1267005563','1267005563','90.60/9','ROUND',0.90,'Mumbai','on','FAINT','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI1','G','','','3366','1109747116','5100','4590','-0.34','5082.66','','6.04','6.06','','64','59','MED-THICK','India','1','1',0),(3,1,'1267005563','1267005563','90.60/10A','PRINCESS',1.01,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','','VS2','J','','','2470','2106747260','3800','3838','-0.35','3786.7','','5.34','5.3','','75.8','79','MED-VERY THICK','India','1','1',0),(4,1,'1267005563','1267005563','90.60/11','ROUND',0.81,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','SI1','D','','','3266','5106747123','4600','3726','-0.29','4586.66','','5.88','5.91','','63.6','57','SLIGHTLY-THICK','India','1','1',0),(5,1,'1267005563','1267005563','90.60/12A','ROUND',0.57,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','L','','','1188','2106747124','1800','1026','-0.34','1793.88','','5.4','5.41','','59.9','60','THIN-MED','India','1','1',0),(6,1,'1267005563','1267005563','90.60/14','EMERALD',1.51,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','2420','S2E77301','4400','6644','-0.45','4380.2','','7.27','5.31','','70.8','70.5','MED','India','1','1',0),(7,1,'1267005563','1267005563','90.60/22A','ROUND',0.52,'Mumbai','on','STRONG','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS2','E','','','2109','5106747122','3700','1924','-0.43','3684.09','','5.16','5.19','','61.8','58','MED-SLIGHTLY THICK','India','1','1',0),(8,1,'1267005563','1267005563','90.60/25','ROUND',0.76,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VS2','K','','','1440','2106747127','2400','1824','-0.4','2390.4','','5.77','5.79','','63.3','57','MED-SLIGHTLY THICK','India','1','1',0),(9,1,'1267005563','1267005563','90.60/32A','PRINCESS',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4070','S2E77300','7400','7474','-0.45','7366.7','','5.47','5.37','','73.2','79','MED','India','1','1',0),(10,1,'1267005563','1267005563','90.60/34','ROUND',0.90,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','I','','','2604','5106747117','4200','3780','-0.38','4184.04','','6.13','6.15','','62.5','57','THIN-SLIGHTLY THICK','India','1','1',0),(11,1,'1267005563','1267005563','90.60/38','ROUND',0.85,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','L','','','1400','2106747128','2000','1700','-0.3','1994','','6.02','6.04','','62.9','57','MED-SLIGHTLY THICK','India','1','1',0),(12,1,'1267005563','1267005563','90.60/8','ROUND',1.14,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','IF','N','','','0','S2E77303','','0','-0.4','0','','6.62','6.63','','63.2','55','MED','India','1','1',0),(13,1,'1267005563','1267005563','90.60/24','EMERALD',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','GOOD','','VVS2','I','','','2750','S2E77302','5000','5050','-0.45','4977.5','','6.37','4.66','','72.5','68.5','SLIGHTLY THICK','India','1','1',0),(14,1,'1267005563','1267005563','90.60/30','EMERALD',1.09,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','I','','','2860','S2E79388','5200','5668','-0.45','5176.6','','6.77','4.97','','67','66.5','MED','India','1','1',0),(15,1,'1267005563','1267005563','90.60/37','EMERALD',0.92,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','H','','','2530','S2E79387','4600','4232','-0.45','4579.3','','6.29','4.67','','66.4','64','MED','India','1','1',0),(16,1,'1267005563','1267005563','90.60/35','ROUND',0.90,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','L','','','2108','S2E82366','3100','2790','-0.32','3090.08','','6.05','6.1','','63.4','57','MED-SLIGHTLY THICK','India','1','1',0),(17,1,'1267005563','1267005563','90.60/40','ROUND',1.07,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','I','','','4620','S2E82365','6600','7062','-0.3','6580.2','','6.46','6.5','','63.5','56.5','MED-SLIGHTLY THICK','India','1','1',0),(18,1,'1267005563','1267005563','90.60/2','ROUND',1.13,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','K','','','3150','S2E84690','5000','5650','-0.37','4981.5','','6.6','6.62','','63.1','56','MED','India','1','1',0),(19,1,'1267005563','1267005563','90.60/28','ROUND',1.00,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','K','','','3000','S2E84691','5000','5000','-0.4','4980','','6.28','6.3','','63.8','55','MED-THICK','India','1','1',0),(20,1,'1267005563','1267005563','90.60/4A','ROUND',0.54,'Mumbai','on','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','L','','','1300','2106790233','2000','1080','-0.35','1993','','5.22','5.23','','62.2','57','MED','India','1','1',0),(21,1,'1267005563','1267005563','90.60/20','ROUND',0.76,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','H','','','3015','2106790229','4500','3420','-0.33','4485.15','','5.81','5.82','','62.3','59','MED-SLIGHTLY THICK','India','1','1',0),(22,1,'1267005563','1267005563','90.60/26','ROUND',0.91,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','F','','','5226','2106790231','7800','7098','-0.33','7774.26','','6.18','6.2','','61.6','59','MED-SLIGHTLY THICK','India','1','1',0),(23,1,'1267005563','1267005563','90.60/36','ROUND',0.82,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS2','J','','','2044','5106790226','2800','2296','-0.27','2792.44','','5.97','5.98','','61.9','59','MED-SLIGHTLY THICK','India','1','1',0),(24,1,'1267005563','1267005563','90.60/41','ROUND',0.81,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','G','','','3774','5106790227','5100','4131','-0.26','5086.74','','5.92','5.94','','63.2','58','MED-SLIGHTLY THICK','India','1','1',0),(25,1,'1267005563','1267005563','90.60/1','ROUND',1.23,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','3600','1109789950','4800','5904','-0.25','4788','','6.81','6.84','','62.3','57','THIN-SLIGHTLY THICK','India','1','1',0),(26,1,'1267005563','1267005563','90.60/42','ROUND',0.70,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VVS1','G','','','3575','5106790225','5500','3850','-0.35','5480.75','','5.63','5.64','','63.2','56','SLIGHTLY THICK','India','1','1',0),(27,1,'1267005563','1267005563','90.60/16B','ROUND',0.60,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','G','','','2664','2106790232','3700','2220','-0.28','3689.64','','5.33','5.37','','62.6','59','SLIGHTLY-THICK TO THICK','India','1','1',0),(28,1,'1267005563','1267005563','90.60/12B','ROUND',0.56,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','L','','','1365','2106790230','2100','1176','-0.35','2092.65','','5.3','5.31','','61.3','61','MED','India','1','1',0),(29,1,'1267005563','1267005563','90.60/17','ROUND',1.09,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS1','G','','','7275','2106789951','9700','10573','-0.25','9675.75','','6.53','6.55','','62.8','58','MED-SLIGHTLY THICK','India','1','1',0),(30,1,'1267005563','1267005563','90.60/5','ROUND',0.70,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','E','','','3696','5106784511','5600','3920','-0.34','5580.96','','5.64','5.66','','62.8','58','MED','India','1','1',0),(31,1,'1267005563','1267005563','90.60/21','ROUND',0.51,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','E','','','2479','5106784507','3700','1887','-0.33','3687.79','','5.16','5.17','','60.8','59','MED','India','1','1',0),(32,1,'1267005563','1267005563','90.60/21B','ROUND',0.52,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','E','','','3111','5106781899','5100','2652','-0.39','5080.11','','5.28','5.29','','59.6','60','VTN-THN','India','1','1',0),(33,1,'1267005563','1267005563','90.60/27','ROUND',0.80,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS1','H','','','4000','5106784001','5000','4000','-0.2','4990','','5.88','5.9','','63.5','57','MED-SLIGHTLY THICK','India','1','1',0),(34,1,'1267005563','1267005563','90.60/15','ROUND',1.08,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','K','','','3150','S2E87266','5000','5400','-0.37','4981.5','','6.55','6.56','','62.1','59','MED','India','1','1',0),(35,1,'1267005563','1267005563','90.60/33','ROUND',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','I','','','3850','S2E87265','5500','5555','-0.3','5483.5','','6.3','6.33','','63.3','57.5','THIN-SLIGHTLY THICK','India','1','1',0),(36,1,'1267005563','1267005563','1','ROUND',0.32,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','D','','','1280','','2000','640','-0.36','1992.8','','4.44','4.47','','60.2','57','','India','1','1',0),(37,1,'1267005563','1267005563','2','ROUND',0.30,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS1','E','','','2142','','3400','1020','-0.37','3387.42','','4.21','4.23','','64.7','55','','India','1','1',0),(38,1,'1267005564','1267005564','3','ROUND',0.73,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','SI1','H','','','1972','','3400','2482','-0.42','3385.72','','5.88','5.9','','58.9','59','','India','1','1',0),(39,1,'1267005563','1267005563','4','ROUND',0.31,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VS1','E','','','1716','','2600','806','-0.34','2591.16','','4.33','4.37','','61.6','57','','India','1','1',0),(40,1,'1267005564','1267005564','100','ROUND',5.01,'Mumbai','on','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','12600','','21000','105210','-0.4','20916','','10.89','10.92','','62.8','53.5','','India','1','1',0),(41,1,'1267005563','1267005563','5','ROUND',0.36,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS1','E','','','1716','','2600','936','-0.34','2591.16','','4.66','4.69','','58.8','62','','India','1','1',0),(42,1,'1267005563','1267005563','6','ROUND',0.31,'Mumbai','on','NONE','GIA','EXCELLENT','GOOD','VERY GOOD','VS2','E','','','1512','','2400','744','-0.37','2391.12','','4.41','4.43','','60.4','59','','India','1','1',0),(43,1,'1267005564','1267005564','7','ROUND',0.80,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','J','','','1512','','2700','2160','-0.44','2688.12','','5.94','5.97','','61.5','59','','India','1','1',0),(44,1,'1267005563','1267005563','8','ROUND',0.36,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','F','','','1608','','2400','864','-0.33','2392.08','','4.57','4.6','','61.5','57','','India','1','1',0),(45,1,'1267005563','1267005563','9','ROUND',0.32,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS2','F','','','1452','','2200','704','-0.34','2192.52','','4.41','4.42','','61.2','58','','India','1','1',0),(46,1,'1267005564','1267005564','10','ROUND',1.00,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','IF','F','','','8294','','14300','14300','-0.42','14239.94','','6.37','6.41','','60.6','61','','India','1','1',0),(47,1,'1267005564','1267005564','11','ROUND',1.00,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','F','','','3900','','6500','6500','-0.4','6474','','6.36','6.4','','61.9','55.5','','India','1','1',0),(48,1,'1267005564','1267005564','12','ROUND',1.00,'Mumbai','on','','IGI','GOOD','VERY GOOD','VERY GOOD','VS1','G','','','4698','','8100','8100','-0.42','8065.98','','6.53','6.55','','59.2','60.5','','India','1','1',0),(49,1,'1267005564','1267005564','13','ROUND',0.37,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS2','G','','','1292','','1900','703','-0.32','1893.92','','4.71','4.73','','59.5','58','','India','1','1',0),(50,1,'1267005564','1267005564','14','ROUND',0.52,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','D','','','3575','','5500','2860','-0.35','5480.75','','5.12','5.14','','62.8','59','','India','1','1',0),(51,1,'1267005564','1267005564','15','ROUND',0.51,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','E','','','3468','','5100','2601','-0.32','5083.68','','5.16','5.18','','60.5','59','','India','1','1',0),(52,1,'1267005564','1267005564','16','ROUND',0.51,'Mumbai','on','NONE','GIA','VERY GOOD','GOOD','VERY GOOD','VVS2','E','','','3213','','5100','2601','-0.37','5081.13','','5.29','5.31','','57.9','62','','India','1','1',0),(53,1,'1267005564','1267005564','17','ROUND',0.55,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','E','','','3417','','5100','2805','-0.33','5083.17','','5.34','5.38','','59.3','61','','India','1','1',0),(54,1,'1267005564','1267005564','19','ROUND',0.51,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','GOOD','VS2','E','','','2183','','3700','1887','-0.41','3684.83','','5.11','5.14','','62','59','','India','1','1',0),(55,1,'1267005564','1267005564','21','ROUND',1.16,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','H','','','4030','','6200','7192','-0.35','6178.3','','6.72','6.74','','61.8','56.5','','India','1','1',0),(56,1,'1267005564','1267005564','89','ROUND',0.55,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS1','F','','','2560','','4000','2200','-0.36','3985.6','','5.3','5.32','','60.5','61','','India','1','1',0),(57,1,'1267005564','1267005564','22','ROUND',1.06,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','H','','','3654','','5800','6148','-0.37','5778.54','','6.47','6.5','','62.5','59.5','','India','1','1',0),(58,1,'1267005564','1267005564','23','ROUND',0.50,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VS2','F','','','2240','','3500','1750','-0.36','3487.4','','5.21','5.23','','59','62','','India','1','1',0),(59,1,'1267005564','1267005564','90','ROUND',0.52,'Mumbai','on','MEDIUM','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','G','','','2257','','3700','1924','-0.39','3685.57','','5.11','5.16','','62.1','58','','India','1','1',0),(60,1,'1267005564','1267005564','25','ROUND',1.03,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','I','','','4554','','6600','6798','-0.31','6579.54','','6.41','6.46','','62.8','58','','India','1','1',0),(61,1,'1267005564','1267005564','27','ROUND',1.02,'Mumbai','on','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS1','I','','','3245','','5900','6018','-0.45','5873.45','','6.44','6.47','','61.2','61','','India','1','1',0),(62,1,'1267005564','1267005564','28','ROUND',0.71,'Mumbai','on','NONE','GIA','GOOD','EXCELLENT','VERY GOOD','VS2','E','','','3050','','5000','3550','-0.39','4980.5','','5.8','5.84','','58.9','61','','India','1','1',0),(63,1,'1267005564','1267005564','30','ROUND',1.15,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','J','','','3696','','5600','6440','-0.34','5580.96','','6.66','6.68','','62.8','57','','India','1','1',0),(64,1,'1267005564','1267005564','117','ROUND',2.04,'Mumbai','on','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS1','I','','','6510','','10500','21420','-0.38','10460.1','','8.05','8.07','','63','57','','India','1','1',0),(65,1,'1267005564','1267005564','34','ROUND',0.70,'Mumbai','on','MEDIUM','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI2','H','','','1643','','3100','2170','-0.47','3085.43','','5.66','5.69','','63.3','57','','India','1','1',0),(66,1,'1267005564','1267005564','35','ROUND',0.81,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','3212','','4400','3564','-0.27','4388.12','','5.89','5.91','','64.1','55','','India','1','1',0),(67,1,'1267005564','1267005564','36','ROUND',0.80,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS1','F','','','5332','','6200','4960','-0.14','6191.32','','5.94','5.97','','61.1','57','','India','1','1',0),(68,1,'1267005564','1267005564','102','PRINCESS',1.07,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4292','','7400','7918','-0.42','7368.92','','5.81','5.73','','70.3','80','','India','1','1',0),(69,1,'1267005564','1267005564','103','ROUND',0.91,'Mumbai','on','MEDIUM','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS1','E','','','4624','','6800','6188','-0.32','6778.24','','6.2','6.22','','61.5','58','','India','1','1',0),(70,1,'1267005564','1267005564','118','ROUND',0.90,'Mumbai','on','FAINT','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','F','','','3575','','5500','4950','-0.35','5480.75','','6.1','6.13','','62.6','59','','India','1','1',0),(71,1,'1267005564','1267005564','104','ROUND',0.93,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI1','G','','','3213','','5100','4743','-0.37','5081.13','','6.17','6.22','','63.1','57','','India','1','1',0),(72,1,'1267005564','1267005564','39','ROUND',1.11,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','E','','','8946','','12600','13986','-0.29','12563.46','','6.61','6.71','','61.7','57','','India','1','1',0),(73,1,'1267005564','1267005564','41','ROUND',1.01,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','4760','','6800','6868','-0.3','6779.6','','6.39','6.43','','61.3','60','','India','1','1',0),(74,1,'1267005564','1267005564','91','ROUND',1.04,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','4760','','6800','7072','-0.3','6779.6','','6.41','6.42','','63.3','57','','India','1','1',0),(75,1,'1267005564','1267005564','92','ROUND',1.05,'Mumbai','on','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','F','','','7820','','11500','12075','-0.32','11463.2','','6.55','6.59','','60.7','60','','India','1','1',0),(76,1,'1267005564','1267005564','111','PRINCESS',0.90,'Mumbai','on','NONE','IGI','VERY GOOD','GOOD','','VS1','L','','','1219','','2300','2070','-0.47','2289.19','','5.55','5.15','','75.7','79.7','','India','1','1',0),(77,1,'1267005564','1267005564','42','ROUND',1.07,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS2','G','','','5112','','7200','7704','-0.29','7179.12','','6.66','6.67','','59.6','59','','India','1','1',0),(78,1,'1267005564','1267005564','112','ROUND',1.05,'Mumbai','on','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','G','','','3843','','6100','6405','-0.37','6077.43','','6.47','6.52','','62.7','57','','India','1','1',0),(79,1,'1267005564','1267005564','113','ROUND',1.00,'Mumbai','on','MEDIUM','GIA','EXCELLENT','EXCELLENT','GOOD','SI2','G','','','3180','','5300','5300','-0.4','5278.8','','6.31','6.35','','63.3','60','','India','1','1',0),(80,1,'1267005564','1267005564','95','ROUND',1.14,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI2','H','','','3417','','5100','5814','-0.33','5083.17','','6.62','6.65','','63.5','56','','India','1','1',0),(81,1,'1267005564','1267005564','43','ROUND',1.21,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','IF','I','','','4896','','7200','8712','-0.32','7176.96','','6.75','6.77','','63.2','57.5','','India','1','1',0),(82,1,'1267005564','1267005564','96','ROUND',1.33,'Mumbai','on','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','F','','','7360','','9200','12236','-0.2','9181.6','','7.03','7.05','','61.6','57','','India','1','1',0),(83,1,'1267005564','1267005564','45','ROUND',1.23,'Mumbai','on','MEDIUM','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','H','','','5904','','8200','10086','-0.28','8177.04','','6.84','6.93','','61.1','61','','India','1','1',0),(84,1,'1267005564','1267005564','47','ROUND',1.50,'Mumbai','on','NONE','GIA','GOOD','EXCELLENT','VERY GOOD','VVS2','E','','','11900','','17000','25500','-0.3','16949','','7.4','7.43','','60','60','','India','1','1',0),(85,1,'1267005564','1267005564','48','ROUND',1.51,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','G','','','9576','','12600','19026','-0.24','12569.76','','7.31','7.38','','62.9','55','','India','1','1',0),(86,1,'1267005564','1267005564','119','ROUND',1.50,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','G','','','7056','','9800','14700','-0.28','9772.56','','7.3','7.33','','62.2','58','','India','1','1',0),(87,1,'1267005564','1267005564','114','ROUND',1.56,'Mumbai','on','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','H','','','7280','','10400','16224','-0.3','10368.8','','7.41','7.45','','61.9','57','','India','1','1',0),(88,1,'1267005564','1267005564','120','ROUND',1.55,'Mumbai','on','FAINT','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS1','H','','','7575','','10100','15655','-0.25','10074.75','','7.33','7.36','','62.9','58','','India','1','1',0),(89,1,'1267005564','1267005564','54','ROUND',1.24,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','J','','','3808','','5600','6944','-0.32','5582.08','','6.82','6.86','','62.9','58','','India','1','1',0),(90,1,'1267005564','1267005564','55','ROUND',1.24,'Mumbai','on','SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','K','','','3276','','5200','6448','-0.37','5180.76','','6.83','6.85','','62.5','58','','India','1','1',0),(91,1,'1267005564','1267005564','56','ROUND',1.26,'Mumbai','on','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','K','','','3000','','5000','6300','-0.4','4980','','6.93','6.96','','61.2','60','','India','1','1',0),(92,1,'1267005564','1267005564','105','PRINCESS',1.02,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS2','K','','','1908','','3600','3672','-0.47','3583.08','','5.4','5.32','','73.9','73.5','','India','1','1',0),(93,1,'1267005564','1267005564','106','EMERALD',1.11,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','1776','','3700','4107','-0.52','3680.76','','6.99','4.85','','67.4','63.5','','India','1','1',0),(94,1,'1267005564','1267005564','58','EMERALD',0.50,'Mumbai','on','NONE','GIA','GOOD','EXCELLENT','','VS1','G','','','1260','','2800','1400','-0.55','2784.6','','5.61','4.03','','60','78','','India','1','1',0),(95,1,'1267005564','1267005564','59','ROUND',1.20,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','K','','','2440','','4000','4800','-0.39','3984.4','','6.78','6.81','','62.3','57','','India','1','1',0),(96,1,'1267005564','1267005564','60','EMERALD',0.76,'Mumbai','on','NONE','GIA','GOOD','VERY GOOD','','VVS2','G','','','2070','','4600','3496','-0.55','4574.7','','6.23','4.45','','66.3','75','','India','1','1',0),(97,1,'1267005564','1267005564','61','EMERALD',0.91,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','','VS1','F','','','2800','','5600','5096','-0.5','5572','','6.22','4.87','','66.5','74','','India','1','1',0),(98,1,'1267005564','1267005564','62','ROUND',1.51,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VS1','H','','','5874','','8900','13439','-0.34','8869.74','','7.23','7.27','','64','55.5','','India','1','1',0),(99,1,'1267005564','1267005564','63','ROUND',1.56,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','H','','','5893','','8300','12948','-0.29','8275.93','','7.48','7.51','','60.7','56.5','','India','1','1',0),(100,1,'1267005564','1267005564','64','ROUND',1.50,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VS2','H','','','5312','','8300','12450','-0.36','8270.12','','7.17','7.21','','64','55.5','','India','1','1',0),(643,1,'1269860100','1269860100','','ROUND',1.00,'All','on','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','1','1',0),(644,1,'1269861880','1269861880','','ROUND',0.00,'All','off','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','','2',0),(645,1,'1269862337','1269862337','','ROUND',1.00,'All','on','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','1','2',0),(646,1,'1269862440','1269862440','555','ROUND',2.00,'All','on','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','2','5',0),(647,1,'1269862446','1269862446','','ROUND',2.00,'All','on','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','3','6',0),(648,1,'1269862541','1269862541','33333','ROUND',3.00,'All','on','','All Labs','','','','','','','','22,22','443','22,22','22','2','222','222','','22','22','2','2','2','India','4','5',0),(649,1,'1269862707','1269862707','','ROUND',0.00,'All','off','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','','1',0),(650,1,'1269863042','1269863042','','ROUND',0.00,'All','on','','All Labs','','','','','','','',',','',',','','','','','','','','','','','India','33','1',0),(651,1,'1272545119','1272545119','2590000','RD',0.51,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','SI2','H','','','1102','','1900','969','-0.42','562.02','','5.2','5.24','','58.6','58.5','','India','1','',0),(652,1,'1272545638','1272545638','2590000','RD',0.51,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','SI2','H','','','1102','','1900','969','-0.42','562.02','','5.2','5.24','','58.6','58.5','','India','1','',0),(1661,1,'1272564928','1272564928','PRK 15','PEAR',2.02,'Mumbai','on','NONE','IGI','','','','SI2','H','','','3564','','6600','13332','-0.46','7199.28','','10.91','6.82','','67.4','48','','India','1','',144),(1660,1,'1272564928','1272564928','PRK 14','PRINCESS',0.90,'Mumbai','on','NONE','IGI','VERY GOOD','','','IF','I','','','2448','','4800','4320','-0.49','2203.2','','5.45','5.35','','72','73.5','','India','1','',143),(1659,1,'1272564928','1272564928','PRK 13','PRINCESS',0.71,'Mumbai','on','NONE','IGI','VERY GOOD','','','IF','G','','','2496','','5200','3692','-0.52','1772.16','','4.92','4.85','','72.4','68.5','','India','1','',142),(1658,1,'1272564928','1272564928','PRK 12','OVAL',3.04,'Mumbai','on','SLIGHT','IGI','VERY GOOD','VERY GOOD','','SI1','J','','','3780','','7000','21280','-0.46','11491.2','','11.78','7.6','','67.6','54','','India','1','',141),(1657,1,'1272564928','1272564928','PRK 11','OVAL',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS2','H','','','2592','','4800','4848','-0.46','2617.92','','7.7','6.08','','55.9','63','','India','1','',140),(1656,1,'1272564928','1272564928','PRK 10','MARQUISE',1.25,'Mumbai','on','NONE','IGI','','','','VVS1','H','','','3186','','5900','7375','-0.46','3982.5','','10.16','5.48','','65.3','49','','India','1','',139),(1655,1,'1272564928','1272564928','PRK 9','MARQUISE',1.03,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS2','H','','','3024','','5600','5768','-0.46','3114.72','','9.42','5.21','','67.2','54.5','','India','1','',138),(1654,1,'1272564928','1272564928','PRK 8','HEART',2.24,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','','','VVS2','D','','','9352','','16700','37408','-0.44','20948.48','','9.62','9.29','','46.9','69','','India','1','',137),(1653,1,'1272564928','1272564928','PRK 7','PEAR',2.01,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','','','VVS1','K','','','2958','','5800','11658','-0.49','5945.58','','10.1','6.8','','70','54.5','','India','1','',136),(1652,1,'1272564928','1272564928','PRK 6','PEAR',1.20,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','J','','','2280','','4000','4800','-0.43','2736','','8.48','6.1','','63.9','56.5','','India','1','',135),(1651,1,'1272564928','1272564928','PRK 5','PEAR',1.30,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS2','J','','','2394','','4200','5460','-0.43','3112.2','','9.14','5.96','','65.3','60','','India','1','',134),(1650,1,'1272564928','1272564928','PRK 4','ROUND',1.50,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','','VVS1','J','','','5700','','7500','11250','-0.24','8550','','7.3','7.34','','62.3','59','','India','1','',133),(1649,1,'1272564928','1272564928','PRK 3','ROUND',2.16,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','EXCELLENT','VS1','H','','','8763','','12700','27432','-0.31','18928.08','','8.36','8.4','','59.8','61','','India','1','',132),(1648,1,'1272564928','1272564928','PRK 2','ROUND',1.51,'Mumbai','on','NONE','IGI','','VERY GOOD','VERY GOOD','VVS2','H','','','6800','','10000','15100','-0.32','10268','','7.24','7.29','','62.2','59','','India','1','',131),(1647,1,'1272564928','1272564928','PRK 1','ROUND',5.07,'Mumbai','on','NONE','IGI','','VERY GOOD','VERY GOOD','VVS1','I','','','22977','','33300','168831','-0.31','116493.39','','10.9','11','','62.1','58','','India','1','',130),(1646,1,'1272564928','1272564928','90.60=32A','PRINCESS',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4144','','7400','7474','-0.44','4185.44','','5.47','5.37','','73.2','79','','India','1','',129),(1645,1,'1272564928','1272564928','90.60=14','EMERALD',1.51,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','2464','','4400','6644','-0.44','3720.64','','7.27','5.31','','70.8','70.5','','India','1','',128),(1644,1,'1272564928','1272564928','90.60=30','EMERALD',1.09,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','I','','','2912','','5200','5668','-0.44','3174.08','','6.77','4.97','','67','66.5','','India','1','',127),(1643,1,'1272564928','1272564928','90.60=24','EMERALD',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','','','VVS2','I','','','2800','','5000','5050','-0.44','2828','','6.37','4.66','','72.5','68.5','','India','1','',126),(1642,1,'1272564928','1272564928','90.60=37','EMERALD',0.92,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','H','','','2576','','4600','4232','-0.44','2369.92','','6.29','4.67','','66.4','64','','India','1','',125),(1640,1,'1272564928','1272564928','90.60=2','ROUND',1.13,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','K','','','3150','','5000','5650','-0.37','3559.5','','6.6','6.62','','63.1','56','','India','1','',123),(1641,1,'1272564928','1272564928','90.60=8','ROUND',1.14,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','IF','N','','','-  ','','','0','-0.39','-  ','','6.62','6.63','','63.2','55','','India','1','',124),(1639,1,'1272564928','1272564928','90.60=15','ROUND',1.08,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','K','','','3150','','5000','5400','-0.37','3402','','6.55','6.56','','62.1','59','','India','1','',122),(1636,1,'1272564928','1272564928','78','RADIANT',1.36,'Mumbai','on','','GIA','','VERY GOOD','','SI1','','','','-  ','','','0','3500','-  ','','6.29','5.37','','88.6','66','','India','1','',119),(1638,1,'1272564928','1272564928','90.60=33','ROUND',1.01,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','I','','','3850','','5500','5555','-0.3','3888.5','','6.3','6.33','','63.3','57.5','','India','1','',121),(1637,1,'1272564928','1272564928','90.60=28','ROUND',1.00,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','K','','','3050','','5000','5000','-0.39','3050','','6.28','6.3','','63.8','55','','India','1','',120),(1635,1,'1272564928','1272564928','115','ROUND',1.20,'Mumbai','on','FAINT','GIA','EXCELLENT','EXCELLENT','','VS2','','','','-  ','','','0','5300','-  ','','6.75','6.76','','63.5','56','','India','1','',118),(1634,1,'1272564928','1272564928','178','OVAL',0.74,'Mumbai','on','FAINT','GIA','VERY GOOD','VERY GOOD','','SI1','I','','','1450','','2500','1850','-0.42','1073','','6.94','4.99','','66.1','56','','India','1','',117),(1633,1,'1272564928','1272564928','65','PRINCESS',1.08,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','','VVS1','F','','','4256','','7600','8208','-0.44','4596.48','','5.65','5.6','','73.2','69','','India','1','',116),(1632,1,'1272564928','1272564928','171','PRINCESS',0.70,'Mumbai','on','FAINT','GIA','VERY GOOD','EXCELLENT','','SI2','G','','','1537','','2900','2030','-0.47','1075.9','','4.75','4.71','','76.9','72','','India','1','',115),(1631,1,'1272564928','1272564928','61','EMERALD',0.91,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','','VS1','F','','','2688','','5600','5096','-0.52','2446.08','','6.22','4.87','','66.5','74','','India','1','',114),(1630,1,'1272564928','1272564928','170','EMERALD',0.50,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','','SI1','J','','','816','','1700','850','-0.52','408','','5.28','4.15','','63.1','69','','India','1','',113),(1629,1,'1272564928','1272564928','152','ROUND',5.09,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','I','','','14985','','18500','94165','-0.19','76273.65','','11.19','11.23','','59.3','60','','India','1','',112),(1628,1,'1272564928','1272564928','169','ROUND',4.01,'Mumbai','on','FAINT','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS2','I','','','13797','','18900','75789','-0.27','55325.97','','10.22','10.25','','61.5','58','','India','1','',111),(1627,1,'1272564928','1272564928','151','ROUND',2.02,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','SI1','F','','','9150','','12200','24644','-0.25','18483','','8.12','8.14','','61.3','58','','India','1','',110),(1626,1,'1272564928','1272564928','150','ROUND',2.02,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','E','','','13612','','16600','33532','-0.18','27496.24','','8.04','8.06','','62.5','56','','India','1','',109),(1625,1,'1272564928','1272564928','149','ROUND',2.05,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','E','','','17466','','21300','43665','-0.18','35805.3','','8.16','8.19','','61.4','58','','India','1','',108),(1624,1,'1272564928','1272564928','114','ROUND',1.56,'Mumbai','on','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','H','','','7020','','10800','16848','-0.35','10951.2','','7.41','7.45','','61.9','57','','India','1','',107),(1623,1,'1272564928','1272564928','47','ROUND',1.50,'Mumbai','on','NONE','GIA','','EXCELLENT','VERY GOOD','VVS2','E','','','11900','','17500','26250','-0.32','17850','','7.4','7.43','','60','60','','India','1','',106),(1622,1,'1272564928','1272564928','43','ROUND',1.01,'Mumbai','on','','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','K','','','2900','','5000','5050','-0.42','2929','','6.34','6.37','','63.1','59','','India','1','',105),(1621,1,'1272564928','1272564928','146','ROUND',1.16,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS1','H','','','6308','','8300','9628','-0.24','7317.28','','6.78','6.8','','60.4','57','','India','1','',104),(1620,1,'1272564928','1272564928','113','ROUND',1.00,'Mumbai','on','','GIA','EXCELLENT','EXCELLENT','','SI2','G','','','3021','','5300','5300','-0.43','3021','','6.31','6.35','','63.3','60','','India','1','',103),(1619,1,'1272564928','1272564928','168','ROUND',1.01,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','F','','','4225','','6500','6565','-0.35','4267.25','','6.25','6.3','','64.7','57','','India','1','',102),(1618,1,'1272564928','1272564928','92','ROUND',1.05,'Mumbai','on','','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','F','','','7540','','11600','12180','-0.35','7917','','6.55','6.59','','60.7','60','','India','1','',101),(1617,1,'1272564928','1272564928','133','ROUND',1.00,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','D','','','10877','','14900','14900','-0.27','10877','','6.38','6.42','','60.6','56','','India','1','',100),(1616,1,'1272564928','1272564928','166','ROUND',0.90,'Mumbai','on','','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','H','','','3102','','4700','4230','-0.34','2791.8','','6.21','6.23','','61.3','57','','India','1','',99),(1615,1,'1272564928','1272564928','190','ROUND',0.95,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','SI1','G','','','3417','','5100','4845','-0.33','3246.15','','6.32','6.35','','61.4','55','','India','1','',98),(1614,1,'1272564928','1272564928','177','ROUND',0.92,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','SI1','G','','','3366','','5100','4692','-0.34','3096.72','','6.13','6.2','','63.6','55','','India','1','',97),(1613,1,'1272564928','1272564928','144','ROUND',0.90,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS1','E','','','5168','','6800','6120','-0.24','4651.2','','6.18','6.27','','62.3','55','','India','1','',96),(1612,1,'1272564928','1272564928','176','ROUND',0.84,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','SI1','G','','','2886','','3700','3108','-0.22','2424.24','','6.03','6.05','','62.6','55','','India','1','',95),(1611,1,'1272564928','1272564928','175','ROUND',0.80,'Mumbai','on','','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VS1','G','','','3588','','4600','3680','-0.22','2870.4','','5.87','5.89','','63.3','57','','India','1','',94),(1610,1,'1272564928','1272564928','165','ROUND',0.80,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI2','F','','','2448','','3600','2880','-0.32','1958.4','','5.83','5.85','','64','58','','India','1','',93),(1609,1,'1272564928','1272564928','189','ROUND',0.80,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','F','','','3280','','4100','3280','-0.2','2624','','5.89','5.94','','62.9','56','','India','1','',92),(1608,1,'1272564928','1272564928','188','ROUND',0.81,'Mumbai','on','','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','F','','','3116','','4100','3321','-0.24','2523.96','','5.85','5.86','','64','56','','India','1','',91),(1607,1,'1272564928','1272564928','143','ROUND',0.80,'Mumbai','on','STRONG','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VS1','D','','','3717','','5900','4720','-0.37','2973.6','','5.83','5.88','','63.5','56','','India','1','',90),(1606,1,'1272564928','1272564928','163','ROUND',0.73,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS2','K','','','1608','','2400','1752','-0.33','1173.84','','5.76','5.83','','60.7','60','','India','1','',89),(1605,1,'1272564928','1272564928','187','ROUND',0.72,'Mumbai','on','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','1764','','2800','2016','-0.37','1270.08','','5.78','5.79','','61.4','58','','India','1','',88),(1604,1,'1272564928','1272564928','186','ROUND',0.70,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','SI1','I','','','2077','','3100','2170','-0.33','1453.9','','5.64','5.67','','63','56','','India','1','',87),(1603,1,'1272564928','1272564928','162','ROUND',0.70,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','I','','','2553','','3700','2590','-0.31','1787.1','','5.66','5.7','','62','59','','India','1','',86),(1602,1,'1272564928','1272564928','185','ROUND',0.71,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','I','','','3024','','4200','2982','-0.28','2147.04','','5.73','5.75','','62.2','55','','India','1','',85),(1601,1,'1272564928','1272564928','184','ROUND',0.76,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS2','H','','','2698','','3800','2888','-0.29','2050.48','','5.86','5.89','','61.4','58','','India','1','',84),(1600,1,'1272564928','1272564928','142','ROUND',0.71,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VVS2','H','','','3195','','4500','3195','-0.29','2268.45','','5.83','5.85','','59.8','58','','India','1','',83),(1599,1,'1272564928','1272564928','183','ROUND',0.71,'Mumbai','on','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','G','','','3024','','4200','2982','-0.28','2147.04','','5.71','5.74','','62.5','56','','India','1','',82),(1598,1,'1272564928','1272564928','140','ROUND',0.70,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','G','','','3312','','4600','3220','-0.28','2318.4','','5.69','5.71','','62.1','58','','India','1','',81),(1597,1,'1272564928','1272564928','161','ROUND',0.70,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS2','F','','','3149','','4700','3290','-0.33','2204.3','','5.76','5.79','','59.9','61','','India','1','',80),(1596,1,'1272564928','1272564928','182','ROUND',0.70,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','F','','','3640','','5200','3640','-0.3','2548','','5.66','5.7','','62.3','57','','India','1','',79),(1595,1,'1272564928','1272564928','160','ROUND',0.70,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','I1','E','','','1596','','2800','1960','-0.43','1117.2','','5.74','5.76','','60','59','','India','1','',78),(1594,1,'1272564928','1272564928','159','ROUND',0.61,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','SI1','G','','','1800','','2500','1525','-0.28','1098','','5.47','5.49','','60.8','60','','India','1','',77),(1593,1,'1272564928','1272564928','157','ROUND',0.50,'Mumbai','on','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VS1','K','','','1292','','1900','950','-0.32','646','','5.03','5.05','','62.9','60','','India','1','',76),(1592,1,'1272564928','1272564928','173','ROUND',0.51,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI2','G','','','1360','','2000','1020','-0.32','693.6','','5.2','5.22','','59.7','59','','India','1','',75),(1591,1,'1272564928','1272564928','156','ROUND',0.50,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','G','','','2664','','3700','1850','-0.28','1332','','5.06','5.1','','61.6','59','','India','1','',74),(1590,1,'1272564928','1272564928','155','ROUND',0.50,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','F','','','2520','','3500','1750','-0.28','1260','','5.08','5.09','','61.4','60','','India','1','',73),(1589,1,'1272564928','1272564928','131','ROUND',0.41,'Mumbai','on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','SI1','F','','','1320','','2000','820','-0.34','541.2','','4.79','4.83','','60.9','61','','India','1','',72),(1588,1,'1272564928','1272564928','130','ROUND',0.40,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS1','D','','','2210','','3400','1360','-0.35','884','','4.74','4.79','','61.5','59','','India','1','',71),(1587,1,'1272564928','1272564928','129','ROUND',0.37,'Mumbai','on','FAINT','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','G','','','1600','','2500','925','-0.36','592','','4.73','4.77','','58.3','59','','India','1','',70),(1586,1,'1272564928','1272564928','217','OVAL',1.23,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','J','','','2320','','4000','4920','-0.42','2853.6','','8.47','5.93','','63.7','57.5','','India','1','',69),(1585,1,'1272564928','1272564928','232','OVAL',1.02,'Mumbai','on','SLIGHT','IGI','VERY GOOD','VERY GOOD','','SI1','K','','','1736','','3100','3162','-0.44','1770.72','','8.25','5.67','','62.1','59.5','','India','1','',68),(1584,1,'1272564928','1272564928','231','OVAL',1.02,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','I','','','2784','','4800','4896','-0.42','2839.68','','8.35','5.5','','63.8','57.5','','India','1','',67),(1583,1,'1272564928','1272564928','258','OVAL',0.91,'Mumbai','on','SLIGHT','IGI','VERY GOOD','','','VS2','K','','','1650','','3000','2730','-0.45','1501.5','','7.41','5.24','','67.2','53.5','','India','1','',66),(1582,1,'1272564928','1272564928','106','EMERALD',1.11,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','1702','','3700','4107','-0.54','1889.22','','6.99','4.85','','67.4','63.5','','India','1','',65),(1581,1,'1272564928','1272564928','277','EMERALD',1.04,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','J','','','2320','','4000','4160','-0.42','2412.8','','6.55','4.96','','69.8','65.5','','India','1','',64),(1580,1,'1272564928','1272564928','265','EMERALD',0.97,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','VERY GOOD','','VS1','J','','','2257','','3700','3589','-0.39','2189.29','','5.97','4.81','','74','61','','India','1','',63),(1579,1,'1272564928','1272564928','276','EMERALD',0.91,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS2','H','','','4300','','4300','3913','','3913','','6.05','4.8','','72.5','62','','India','1','',62),(1578,1,'1272564928','1272564928','101','EMERALD',0.73,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','H','','','2236','','4300','3139','-0.48','1632.28','','6.1','4.57','','62.6','70.5','','India','1','',61),(1577,1,'1272564928','1272564928','105','PRINCESS',1.02,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS2','K','','','1908','','3600','3672','-0.47','1946.16','','5.4','5.32','','73.9','73.5','','India','1','',60),(1576,1,'1272564928','1272564928','102','PRINCESS',1.07,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4218','','7400','7918','-0.43','4513.26','','5.81','5.73','','70.3','80','','India','1','',59),(1575,1,'1272564928','1272564928','111','PRINCESS',0.90,'Mumbai','on','NONE','IGI','VERY GOOD','','','VS1','L','','','1012','','2300','2070','-0.56','910.8','','5.55','5.15','','75.7','79.7','','India','1','',58),(1572,1,'1272564928','1272564928','264','PEAR',0.61,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS2','I','','','1281','','2100','1281','-0.39','781.41','','7.55','4.89','','58.5','55.5','','India','1','',55),(1573,1,'1272564928','1272564928','230','PEAR',1.04,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','VERY GOOD','','VVS2','J','','','2436','','4200','4368','-0.42','2533.44','','8.03','5.6','','67.1','56','','India','1','',56),(1574,1,'1272564928','1272564928','152','PEAR',2.01,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','','VS2','G','','','6893','','11300','22713','-0.39','13854.93','','10.58','6.89','','66.8','53.5','','India','1','',57),(1571,1,'1272564928','1272564928','274','ROUND',5.15,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','','','','-  ','','','0','-0.37','-  ','','10.95','10.98','','63.4','57','','India','1','',54),(1570,1,'1272564928','1272564928','272','ROUND',5.71,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','N','','','-  ','','','0','-0.34','-  ','','11.4','11.44','','61.8','58.5','','India','1','',53),(1569,1,'1272564928','1272564928','271','ROUND',5.00,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','','VS1','L','','','7540','','13000','65000','-0.42','37700','','10.68','10.72','','64.4','53','','India','1','',52),(1568,1,'1272564928','1272564928','270','ROUND',5.01,'Mumbai','on','VERY SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','L','','','10512','','14600','73146','-0.28','52665.12','','10.94','10.98','','61.8','57','','India','1','',51),(1567,1,'1272564928','1272564928','100','ROUND',5.01,'Mumbai','on','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','12600','','21000','105210','-0.4','63126','','10.89','10.92','','62.8','53.5','','India','1','',50),(1566,1,'1272564928','1272564928','183','ROUND',5.45,'Mumbai','on','VERY SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS1','J','','','14960','','22000','119900','-0.32','81532','','11.28','11.31','','61.8','56.5','','India','1','',49),(1565,1,'1272564928','1272564928','182','ROUND',5.50,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','H','','','32193','','44100','242550','-0.27','177061.5','','11.3','11.31','','62.1','55.5','','India','1','',48),(1564,1,'1272564928','1272564928','173','ROUND',4.05,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS1','J','','','11616','','17600','71280','-0.34','47044.8','','10.16','10.2','','62.5','56','','India','1','',47),(1563,1,'1272564928','1272564928','94','ROUND',4.00,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','','VVS1','J','','','10908','','20200','80800','-0.46','43632','','9.97','10','','64.1','53','','India','1','',46),(1562,1,'1272564928','1272564928','245','ROUND',4.01,'Mumbai','on','VERY SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','I','','','12663','','18900','75789','-0.33','50778.63','','10.13','10.17','','62.2','56.5','','India','1','',45),(1561,1,'1272564928','1272564928','269','ROUND',2.01,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','5680','','8000','16080','-0.29','11416.8','','8.18','8.2','','60.1','59.5','','India','1','',44),(1560,1,'1272564928','1272564928','216','ROUND',2.01,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','EXCELLENT','VS1','H','','','9017','','12700','25527','-0.29','18124.17','','8.06','8.08','','62.2','58','','India','1','',43),(1559,1,'1272564928','1272564928','254','ROUND',1.50,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','K','','','3780','','6000','9000','-0.37','5670','','7.25','7.27','','63.5','58','','India','1','',42),(1558,1,'1272564928','1272564928','68','ROUND',1.50,'Mumbai','on','SLIGHT','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VVS2','I','','','5456','','8800','13200','-0.38','8184','','7.18','7.21','','65','54','','India','1','',41),(1556,1,'1272564928','1272564928','62','ROUND',1.51,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VS1','H','','','5733','','9100','13741','-0.37','8656.83','','7.23','7.27','','64','55.5','','India','1','',39),(1557,1,'1272564928','1272564928','66','ROUND',1.51,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','VERY GOOD','VS2','H','','','5525','','8500','12835','-0.35','8342.75','','7.19','7.24','','64','56','','India','1','',40),(1555,1,'1272564928','1272564928','59','ROUND',1.20,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','K','','','2360','','4000','4800','-0.41','2832','','6.78','6.81','','62.3','57','','India','1','',38),(1554,1,'1272564928','1272564928','192','ROUND',1.29,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','K','','','3150','','5000','6450','-0.37','4063.5','','6.98','7','','61','58','','India','1','',37),(1553,1,'1272564928','1272564928','56','ROUND',1.26,'Mumbai','on','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','K','','','2900','','5000','6300','-0.42','3654','','6.93','6.96','','61.2','60','','India','1','',36),(1552,1,'1272564928','1272564928','251','ROUND',1.09,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','N','','','-  ','','','0','-0.43','-  ','','6.66','6.67','','60.3','61','','India','1','',35),(1551,1,'1272564928','1272564928','253','ROUND',1.01,'Mumbai','on','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','L','','','2438','','4600','4646','-0.47','2462.38','','6.29','6.35','','63.5','56','','India','1','',34),(1550,1,'1272564928','1272564928','212','ROUND',1.11,'Mumbai','on','VERY SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI2','K','','','2052','','3600','3996','-0.43','2277.72','','6.62','6.65','','61.5','59','','India','1','',33),(1549,1,'1272564928','1272564928','243','ROUND',1.00,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','','VS2','K','','','2296','','4100','4100','-0.44','2296','','6.22','6.25','','64.2','60.5','','India','1','',32),(1548,1,'1272564928','1272564928','156','ROUND',1.00,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS1','K','','','2880','','4800','4800','-0.4','2880','','6.33','6.36','','62.7','56','','India','1','',31),(1547,1,'1272564928','1272564928','263','ROUND',1.05,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','IF','K','','','3402','','5400','5670','-0.37','3572.1','','6.61','6.63','','59.6','60','','India','1','',30),(1546,1,'1272564928','1272564928','211','ROUND',1.07,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','J','','','2576','','4600','4922','-0.44','2756.32','','6.48','6.5','','62.9','56.5','','India','1','',29),(1545,1,'1272564928','1272564928','176','ROUND',1.01,'Mumbai','on','VERY SLIGHT','IGI','EXCELLENT','VERY GOOD','EXCELLENT','SI1','J','','','2622','','4600','4646','-0.43','2648.22','','6.37','6.4','','63.3','55','','India','1','',28),(1544,1,'1272564928','1272564928','210','ROUND',1.02,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','J','','','2714','','4600','4692','-0.41','2768.28','','6.37','6.39','','63.3','56.5','','India','1','',27),(1542,1,'1272564928','1272564928','132','ROUND',1.04,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','I','','','3172','','5200','5408','-0.39','3298.88','','6.48','6.5','','61.4','56.5','','India','1','',25),(1543,1,'1272564928','1272564928','209','ROUND',1.02,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','J','','','2976','','4800','4896','-0.38','3035.52','','6.57','6.58','','59.2','58.5','','India','1','',26),(1541,1,'1272564928','1272564928','207','ROUND',1.00,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','H','','','4158','','6300','6300','-0.34','4158','','6.31','6.36','','63','55.5','','India','1','',24),(1540,1,'1272564928','1272564928','242','ROUND',1.00,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VS2','G','','','4964','','7300','7300','-0.32','4964','','6.26','6.29','','64.2','54.5','','India','1','',23),(1539,1,'1272564928','1272564928','169','ROUND',1.13,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','F','','','7888','','11600','13108','-0.32','8913.44','','6.71','6.72','','61.1','60','','India','1','',22),(1538,1,'1272564928','1272564928','262','ROUND',0.90,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VS2','','','','-  ','','','0','-0.44','-  ','','5.98','6.04','','64.7','58','','India','1','',21),(1537,1,'1272564928','1272564928','250','ROUND',0.91,'Mumbai','on','STRONG','IGI','VERY GOOD','VERY GOOD','EXCELLENT','VS2','N','','','-  ','','','0','-0.45','-  ','','6.13','6.16','','62.8','56','','India','1','',20),(1536,1,'1272564928','1272564928','268','ROUND',0.90,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI2','J','','','1972','','3400','3060','-0.42','1774.8','','6.22','6.26','','60.9','56.5','','India','1','',19),(1535,1,'1272564928','1272564928','225','ROUND',0.90,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','SI2','J','','','1938','','3400','3060','-0.43','1744.2','','6','6.03','','64.7','56.5','','India','1','',18),(1534,1,'1272564928','1272564928','249','ROUND',0.90,'Mumbai','on','STRONG','IGI','VERY GOOD','EXCELLENT','VERY GOOD','SI1','J','','','2035','','3700','3330','-0.45','1831.5','','6.04','6.09','','63.5','57','','India','1','',17),(1533,1,'1272564928','1272564928','224','ROUND',0.90,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','I','','','2562','','4200','3780','-0.39','2305.8','','6.06','6.09','','63.5','56','','India','1','',16),(1532,1,'1272564928','1272564928','248','ROUND',0.81,'Mumbai','on','SLIGHT','IGI','VERY GOOD','VERY GOOD','EXCELLENT','VS2','L','','','1239','','2100','1701','-0.41','1003.59','','5.93','5.96','','62.6','55.5','','India','1','',15),(1531,1,'1272564928','1272564928','7','ROUND',0.80,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','J','','','1539','','2700','2160','-0.43','1231.2','','5.94','5.97','','61.5','59','','India','1','',14),(1530,1,'1272564928','1272564928','220','ROUND',0.80,'Mumbai','on','SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','I','','','1984','','3100','2480','-0.36','1587.2','','5.86','5.9','','63.5','55.5','','India','1','',13),(1529,1,'1272564928','1272564928','247','ROUND',0.80,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','I','','','2414','','3400','2720','-0.29','1931.2','','5.91','5.96','','62.2','55.5','','India','1','',12),(1528,1,'1272564928','1272564928','252','ROUND',0.71,'Mumbai','on','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','L','','','1140','','2000','1420','-0.43','809.4','','5.7','5.74','','62.1','55','','India','1','',11),(1527,1,'1272564928','1272564928','237','ROUND',0.71,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','SI1','L','','','1140','','2000','1420','-0.43','809.4','','5.6','5.64','','63.2','59','','India','1','',10),(1526,1,'1272564928','1272564928','261','ROUND',0.72,'Mumbai','on','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','L','','','1218','','2100','1512','-0.42','876.96','','5.82','5.84','','60.3','58','','India','1','',9),(1525,1,'1272564928','1272564928','267','ROUND',0.71,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','J','','','2112','','3200','2272','-0.34','1499.52','','5.7','5.73','','62.1','55','','India','1','',8),(1524,1,'1272564928','1272564928','196','ROUND',0.70,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','EXCELLENT','SI2','I','','','1566','','2700','1890','-0.42','1096.2','','5.58','5.62','','63.4','56','','India','1','',7),(1523,1,'1272564928','1272564928','3','ROUND',0.73,'Mumbai','on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','SI1','H','','','1972','','3400','2482','-0.42','1439.56','','5.88','5.9','','58.9','59','','India','1','',6),(1522,1,'1272564928','1272564928','260','ROUND',0.71,'Mumbai','on','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','H','','','1972','','3400','2414','-0.42','1400.12','','5.62','5.64','','63.4','55.5','','India','1','',5),(1521,1,'1272564928','1272564928','140','ROUND',0.71,'Mumbai','on','STRONG','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','H','','','1836','','3400','2414','-0.46','1303.56','','5.82','5.83','','59.4','57.5','','India','1','',4),(1520,1,'1272564928','1272564928','235','ROUND',0.70,'Mumbai','on','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','H','','','3500','','5000','3500','-0.3','2450','','5.68','5.7','','61.7','57','','India','1','',3),(1519,1,'1272564928','1272564928','266','ROUND',0.60,'Mumbai','on','STRONG','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','I','','','1984','','3100','1860','-0.36','1190.4','','5.48','5.52','','58.7','62.5','','India','1','',2),(1518,1,'1272564928','1272564928','259','ROUND',0.51,'Mumbai','on','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','SI2','H','','','1102','','1900','969','-0.42','562.02','','5.2','5.24','','58.6','58.5','','India','1','',1);

--
-- Table structure for table `bstock_productscf`
--

CREATE TABLE `bstock_productscf` (
  `product_id` int(10) NOT NULL COMMENT 'This is the foreign key. It corresponds to the Primary Key of the products table.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will store the created date when this record is entered in this table.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will store the last modified date when this record is modified.',
  `cf_1` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store custom fields added to products module.';

--
-- Dumping data for table `bstock_productscf`
--


--
-- Table structure for table `bstock_profilefieldprivileges`
--

CREATE TABLE `bstock_profilefieldprivileges` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `module_id` int(10) NOT NULL COMMENT 'This is the foreign key for the modules & is mapped to primary key of modules table.',
  `field_id` int(10) NOT NULL COMMENT 'This is the foreign key of the fields table & is mapped to the primary key of the fields table.',
  `profile_id` int(10) NOT NULL COMMENT 'This is the foreign key of the profiles table & is mapped to primary key of profiles table.',
  `is_enabled` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'This field will contain 0 or 1. 0  Would mean this field is disabled  For the corresponding profile_id &  module_id.  1 would mean the field is  accessible to profile_id & module_id.',
  `is_visible_on_search` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'This field determine whether the fields is visible on search form or not.',
  `is_visible_on_search_result` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'This field determine whether the fields is visible on search result form or not.',
  `type` enum('user','customer') NOT NULL,
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the created date for this particular record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this particular record.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=436 DEFAULT CHARSET=latin1 COMMENT='Store the privileges for specific fields in every profile';

--
-- Dumping data for table `bstock_profilefieldprivileges`
--

INSERT INTO `bstock_profilefieldprivileges` VALUES (161,1,112,87,'on','on','on','user','','1287554314'),(159,1,110,87,'on','on','on','user','','1287554314'),(160,1,111,87,'on','on','on','user','','1287554314'),(152,3,103,87,'on','on','on','user','','1287554314'),(8,3,8,87,'on','on','on','user','','1287554314'),(9,3,9,87,'on','on','on','user','','1287554314'),(150,2,101,87,'on','on','on','user','','1287554314'),(11,2,11,87,'on','on','on','user','','1287554314'),(12,2,12,87,'on','on','on','user','','1287554314'),(13,2,13,87,'on','on','on','user','','1287554314'),(14,2,14,87,'on','on','on','user','','1287554314'),(15,2,15,87,'on','on','on','user','','1287554314'),(16,2,16,87,'on','on','on','user','','1287554314'),(17,2,17,87,'on','on','on','user','','1287554314'),(18,2,18,87,'on','on','on','user','','1287554314'),(19,2,19,87,'on','on','on','user','','1287554314'),(20,2,20,87,'on','on','on','user','','1287554314'),(151,3,102,87,'on','on','on','user','','1287554314'),(96,5,42,87,'on','on','on','user','','1287554314'),(81,4,35,87,'on','on','on','user','','1287554314'),(82,5,21,87,'on','on','on','user','','1287554314'),(83,5,22,87,'on','on','on','user','','1287554314'),(84,5,23,87,'on','on','on','user','','1287554314'),(85,5,24,87,'on','on','on','user','','1287554314'),(86,5,25,87,'on','on','on','user','','1287554314'),(87,5,26,87,'on','on','on','user','','1287554314'),(88,5,27,87,'on','on','on','user','','1287554314'),(89,5,28,87,'on','on','on','user','','1287554314'),(90,5,29,87,'on','on','on','user','','1287554314'),(91,5,30,87,'on','on','on','user','','1287554314'),(92,5,31,87,'on','on','on','user','','1287554314'),(93,5,32,87,'on','on','on','user','','1287554314'),(94,5,33,87,'on','on','on','user','','1287554314'),(95,5,34,87,'on','on','on','user','','1287554314'),(167,1,118,87,'on','on','on','user','','1287554314'),(138,5,89,87,'on','on','on','user','','1287554314'),(166,1,117,87,'on','on','on','user','','1287554314'),(165,1,116,87,'on','on','on','user','','1287554314'),(164,1,115,87,'on','on','on','user','','1287554314'),(163,1,114,87,'on','on','on','user','','1287554314'),(162,1,113,87,'on','on','on','user','','1287554314'),(140,5,91,87,'on','on','on','user','','1287554314'),(142,5,93,87,'off','on','on','user','',''),(158,1,109,87,'on','on','on','user','','1287554314'),(157,1,108,87,'on','on','on','user','','1287554314'),(156,1,107,87,'on','on','on','user','','1287554314'),(168,1,111,91,'on','on','','user','1261381762','1261381762'),(169,1,110,91,'on','on','','user','1261381762','1261381762'),(170,1,118,91,'on','on','','user','1261381762','1261381762'),(171,1,117,91,'on','on','','user','1261381762','1261381762'),(172,1,116,91,'on','on','','user','1261381762','1261381762'),(173,1,115,91,'on','on','','user','1261381762','1261381762'),(174,1,114,91,'on','on','','user','1261381762','1261381762'),(175,1,113,91,'on','on','','user','1261381762','1261381762'),(176,1,112,91,'on','on','','user','1261381762','1261381762'),(177,1,109,91,'on','on','','user','1261381762','1261381762'),(178,1,108,91,'on','on','','user','1261381762','1261381762'),(179,1,107,91,'on','on','','user','1261381762','1261381762'),(180,2,11,91,'off','on','','user','1261381762','1261381762'),(181,2,12,91,'off','on','','user','1261381762','1261381762'),(182,2,13,91,'off','on','','user','1261381762','1261381762'),(183,2,14,91,'off','on','','user','1261381762','1261381762'),(184,2,15,91,'off','on','','user','1261381762','1261381762'),(185,2,16,91,'off','on','','user','1261381762','1261381762'),(186,2,17,91,'off','on','','user','1261381762','1261381762'),(187,2,18,91,'off','on','','user','1261381762','1261381762'),(188,2,19,91,'off','on','','user','1261381762','1261381762'),(189,2,20,91,'off','on','','user','1261381762','1261381762'),(190,2,101,91,'off','on','','user','1261381762','1261381762'),(191,3,8,91,'off','on','','user','1261381762','1261381762'),(192,3,9,91,'off','on','','user','1261381762','1261381762'),(193,3,102,91,'off','on','','user','1261381762','1261381762'),(194,3,103,91,'off','on','','user','1261381762','1261381762'),(195,4,35,91,'off','on','','user','1261381762','1261381762'),(196,5,21,91,'off','on','','user','1261381762','1261381762'),(197,5,22,91,'off','on','','user','1261381762','1261381762'),(198,5,23,91,'off','on','','user','1261381762','1261381762'),(199,5,24,91,'off','on','','user','1261381762','1261381762'),(200,5,25,91,'off','on','','user','1261381762','1261381762'),(201,5,26,91,'off','on','','user','1261381762','1261381762'),(202,5,27,91,'off','on','','user','1261381762','1261381762'),(203,5,28,91,'off','on','','user','1261381762','1261381762'),(204,5,29,91,'off','on','','user','1261381762','1261381762'),(205,5,30,91,'off','on','','user','1261381762','1261381762'),(206,5,31,91,'off','on','','user','1261381762','1261381762'),(207,5,32,91,'off','on','','user','1261381762','1261381762'),(208,5,33,91,'off','on','','user','1261381762','1261381762'),(209,5,34,91,'off','on','','user','1261381762','1261381762'),(210,5,42,91,'off','on','','user','1261381762','1261381762'),(211,5,89,91,'off','on','','user','1261381762','1261381762'),(212,5,91,91,'off','on','','user','1261381762','1261381762'),(213,1,119,87,'on','on','off','user','','1287554314'),(214,1,120,87,'on','on','off','user','','1287554314'),(215,1,121,87,'on','on','on','user','','1287554314'),(217,4,123,87,'on','on','on','user','','1287554314'),(218,4,124,87,'on','on','on','user','','1287554314'),(219,4,126,87,'on','on','on','user','','1287554314'),(220,4,127,87,'on','on','on','user','','1287554314'),(221,4,128,87,'on','on','on','user','','1287554314'),(222,4,129,87,'on','on','on','user','','1287554314'),(223,4,130,87,'off','on','off','user','','1287554314'),(224,4,125,87,'off','on','off','user','','1287554314'),(225,2,136,87,'on','on','on','user','','1287554314'),(226,6,137,87,'on','on','on','user','','1287554314'),(227,6,138,87,'on','on','on','user','','1287554314'),(228,6,140,87,'on','on','on','user','','1287554314'),(229,6,141,87,'on','on','on','user','','1287554314'),(230,6,142,87,'on','on','on','user','','1287554314'),(231,8,153,87,'on','on','on','user','','1287554314'),(232,8,154,87,'on','on','on','user','','1287554314'),(233,8,155,87,'on','on','on','user','','1287554314'),(234,8,156,87,'on','on','on','user','','1287554314'),(235,8,157,87,'on','on','on','user','','1287554314'),(236,8,158,87,'on','on','on','user','','1287554314'),(237,8,159,87,'on','on','on','user','','1287554314'),(238,8,160,87,'on','on','on','user','','1287554314'),(239,7,163,87,'off','on','off','user','','1287554314'),(240,9,164,87,'on','on','on','user','','1287554314'),(241,9,165,87,'on','on','on','user','','1287554314'),(242,9,166,87,'on','on','on','user','','1287554314'),(243,1,167,87,'on','on','on','user','','1287554314'),(244,1,168,87,'on','on','on','user','','1287554314'),(245,1,169,87,'on','on','on','user','','1287554314'),(246,1,170,87,'on','on','on','user','','1287554314'),(247,1,171,87,'on','on','on','user','','1287554314'),(248,1,172,87,'on','on','on','user','','1287554314'),(249,1,173,87,'on','on','off','user','','1287554314'),(250,1,174,87,'on','on','on','user','','1287554314'),(251,1,175,87,'on','on','on','user','','1287554314'),(252,1,176,87,'on','on','on','user','','1287554314'),(253,1,177,87,'on','on','on','user','','1287554314'),(254,1,178,87,'on','on','on','user','','1287554314'),(255,1,179,87,'on','on','on','user','','1287554314'),(256,1,180,87,'on','on','on','user','','1287554314'),(257,1,111,1,'off','on','','user','','1287554264'),(258,1,110,1,'off','on','','user','','1287554264'),(259,1,118,1,'off','on','','user','','1287554264'),(260,1,117,1,'off','on','','user','','1287554264'),(261,1,116,1,'off','on','','user','','1287554264'),(262,1,115,1,'off','on','','user','','1287554264'),(263,1,114,1,'off','on','','user','','1287554264'),(264,1,113,1,'off','on','','user','','1287554264'),(265,1,112,1,'off','on','','user','','1287554264'),(266,1,109,1,'off','on','','user','','1287554264'),(267,1,108,1,'off','on','','user','','1287554264'),(268,1,107,1,'off','on','','user','','1287554264'),(269,1,119,1,'off','on','','user','','1287554264'),(270,1,120,1,'off','on','','user','','1287554264'),(271,1,121,1,'off','on','','user','','1287554264'),(272,1,167,1,'off','on','','user','','1287554264'),(273,1,168,1,'off','on','','user','','1287554264'),(274,1,169,1,'off','on','','user','','1287554264'),(275,1,170,1,'off','on','','user','','1287554264'),(276,1,171,1,'off','on','','user','','1287554264'),(277,1,172,1,'off','on','','user','','1287554264'),(278,1,173,1,'off','on','','user','','1287554264'),(279,1,174,1,'off','on','','user','','1287554264'),(280,1,175,1,'off','on','','user','','1287554264'),(281,1,176,1,'off','on','','user','','1287554264'),(282,1,177,1,'off','on','','user','','1287554264'),(283,1,178,1,'off','on','','user','','1287554264'),(284,1,179,1,'off','on','','user','','1287554264'),(285,1,180,1,'off','on','','user','','1287554264'),(286,1,181,1,'off','on','','user','','1287554264'),(287,2,11,1,'off','on','','user','','1287554264'),(288,2,12,1,'off','on','','user','','1287554264'),(289,2,13,1,'off','on','','user','','1287554264'),(290,2,14,1,'off','on','','user','','1287554264'),(291,2,15,1,'off','on','','user','','1287554264'),(292,2,16,1,'off','on','','user','','1287554264'),(293,2,17,1,'off','on','','user','','1287554264'),(294,2,18,1,'off','on','','user','','1287554264'),(295,2,19,1,'off','on','','user','','1287554264'),(296,2,20,1,'off','on','','user','','1287554264'),(297,2,101,1,'off','on','','user','','1287554264'),(298,2,136,1,'off','on','','user','','1287554264'),(299,3,8,1,'off','on','','user','','1287554264'),(300,3,9,1,'off','on','','user','','1287554264'),(301,3,102,1,'off','on','','user','','1287554264'),(302,3,103,1,'off','on','','user','','1287554264'),(303,4,35,1,'off','on','','user','','1287554264'),(304,4,123,1,'off','on','','user','','1287554264'),(305,4,124,1,'off','on','','user','','1287554264'),(306,4,126,1,'off','on','','user','','1287554264'),(307,4,127,1,'off','on','','user','','1287554264'),(308,4,128,1,'off','on','','user','','1287554264'),(309,4,129,1,'off','on','','user','','1287554264'),(310,4,130,1,'off','on','','user','','1287554264'),(311,4,125,1,'off','on','','user','','1287554264'),(312,5,21,1,'off','on','','user','','1287554264'),(313,5,22,1,'off','on','','user','','1287554264'),(314,5,23,1,'off','on','','user','','1287554264'),(315,5,24,1,'off','on','','user','','1287554264'),(316,5,25,1,'off','on','','user','','1287554264'),(317,5,26,1,'off','on','','user','','1287554264'),(318,5,27,1,'off','on','','user','','1287554264'),(319,5,28,1,'off','on','','user','','1287554264'),(320,5,29,1,'off','on','','user','','1287554264'),(321,5,30,1,'off','on','','user','','1287554264'),(322,5,31,1,'off','on','','user','','1287554264'),(323,5,32,1,'off','on','','user','','1287554264'),(324,5,33,1,'off','on','','user','','1287554264'),(325,5,34,1,'off','on','','user','','1287554264'),(326,5,42,1,'off','on','','user','','1287554264'),(327,5,89,1,'off','on','','user','','1287554264'),(328,5,91,1,'off','on','','user','','1287554264'),(329,6,137,1,'off','on','','user','','1287554264'),(330,6,138,1,'off','on','','user','','1287554264'),(331,6,140,1,'off','on','','user','','1287554264'),(332,6,141,1,'off','on','','user','','1287554264'),(333,6,142,1,'off','on','','user','','1287554264'),(334,7,163,1,'off','on','','user','','1287554264'),(335,8,153,1,'off','on','','user','','1287554264'),(336,8,154,1,'off','on','','user','','1287554264'),(337,8,155,1,'off','on','','user','','1287554264'),(338,8,156,1,'off','on','','user','','1287554264'),(339,8,157,1,'off','on','','user','','1287554264'),(340,8,158,1,'off','on','','user','','1287554264'),(341,8,159,1,'off','on','','user','','1287554264'),(342,8,160,1,'off','on','','user','','1287554264'),(343,9,164,1,'off','on','','user','','1287554264'),(344,9,165,1,'off','on','','user','','1287554264'),(345,9,166,1,'off','on','','user','','1287554264'),(346,1,111,1,'off','on','','user','','1287554286'),(347,1,110,1,'off','on','','user','','1287554286'),(348,1,118,1,'off','on','','user','','1287554286'),(349,1,117,1,'off','on','','user','','1287554286'),(350,1,116,1,'off','on','','user','','1287554286'),(351,1,115,1,'off','on','','user','','1287554286'),(352,1,114,1,'off','on','','user','','1287554286'),(353,1,113,1,'off','on','','user','','1287554286'),(354,1,112,1,'off','on','','user','','1287554286'),(355,1,109,1,'off','on','','user','','1287554286'),(356,1,108,1,'off','on','','user','','1287554286'),(357,1,107,1,'off','on','','user','','1287554286'),(358,1,119,1,'off','on','','user','','1287554286'),(359,1,120,1,'off','on','','user','','1287554286'),(360,1,121,1,'off','on','','user','','1287554286'),(361,1,167,1,'off','on','','user','','1287554286'),(362,1,168,1,'off','on','','user','','1287554286'),(363,1,169,1,'off','on','','user','','1287554286'),(364,1,170,1,'off','on','','user','','1287554286'),(365,1,171,1,'off','on','','user','','1287554286'),(366,1,172,1,'off','on','','user','','1287554286'),(367,1,173,1,'off','on','','user','','1287554286'),(368,1,174,1,'off','on','','user','','1287554286'),(369,1,175,1,'off','on','','user','','1287554286'),(370,1,176,1,'off','on','','user','','1287554286'),(371,1,177,1,'off','on','','user','','1287554286'),(372,1,178,1,'off','on','','user','','1287554286'),(373,1,179,1,'off','on','','user','','1287554286'),(374,1,180,1,'off','on','','user','','1287554286'),(375,1,181,1,'off','on','','user','','1287554286'),(376,2,11,1,'off','on','','user','','1287554286'),(377,2,12,1,'off','on','','user','','1287554286'),(378,2,13,1,'off','on','','user','','1287554286'),(379,2,14,1,'off','on','','user','','1287554286'),(380,2,15,1,'off','on','','user','','1287554286'),(381,2,16,1,'off','on','','user','','1287554286'),(382,2,17,1,'off','on','','user','','1287554286'),(383,2,18,1,'off','on','','user','','1287554286'),(384,2,19,1,'off','on','','user','','1287554286'),(385,2,20,1,'off','on','','user','','1287554286'),(386,2,101,1,'off','on','','user','','1287554286'),(387,2,136,1,'off','on','','user','','1287554286'),(388,3,8,1,'off','on','','user','','1287554286'),(389,3,9,1,'off','on','','user','','1287554286'),(390,3,102,1,'off','on','','user','','1287554286'),(391,3,103,1,'off','on','','user','','1287554286'),(392,4,35,1,'off','on','','user','','1287554286'),(393,4,123,1,'off','on','','user','','1287554286'),(394,4,124,1,'off','on','','user','','1287554286'),(395,4,126,1,'off','on','','user','','1287554286'),(396,4,127,1,'off','on','','user','','1287554286'),(397,4,128,1,'off','on','','user','','1287554286'),(398,4,129,1,'off','on','','user','','1287554286'),(399,4,130,1,'off','on','','user','','1287554286'),(400,4,125,1,'off','on','','user','','1287554286'),(401,5,21,1,'off','on','','user','','1287554286'),(402,5,22,1,'off','on','','user','','1287554286'),(403,5,23,1,'off','on','','user','','1287554286'),(404,5,24,1,'off','on','','user','','1287554286'),(405,5,25,1,'off','on','','user','','1287554286'),(406,5,26,1,'off','on','','user','','1287554286'),(407,5,27,1,'off','on','','user','','1287554286'),(408,5,28,1,'off','on','','user','','1287554286'),(409,5,29,1,'off','on','','user','','1287554286'),(410,5,30,1,'off','on','','user','','1287554286'),(411,5,31,1,'off','on','','user','','1287554286'),(412,5,32,1,'off','on','','user','','1287554286'),(413,5,33,1,'off','on','','user','','1287554286'),(414,5,34,1,'off','on','','user','','1287554286'),(415,5,42,1,'off','on','','user','','1287554286'),(416,5,89,1,'off','on','','user','','1287554286'),(417,5,91,1,'off','on','','user','','1287554286'),(418,6,137,1,'off','on','','user','','1287554286'),(419,6,138,1,'off','on','','user','','1287554286'),(420,6,140,1,'off','on','','user','','1287554286'),(421,6,141,1,'off','on','','user','','1287554286'),(422,6,142,1,'off','on','','user','','1287554286'),(423,7,163,1,'off','on','','user','','1287554286'),(424,8,153,1,'off','on','','user','','1287554286'),(425,8,154,1,'off','on','','user','','1287554286'),(426,8,155,1,'off','on','','user','','1287554286'),(427,8,156,1,'off','on','','user','','1287554286'),(428,8,157,1,'off','on','','user','','1287554286'),(429,8,158,1,'off','on','','user','','1287554286'),(430,8,159,1,'off','on','','user','','1287554286'),(431,8,160,1,'off','on','','user','','1287554286'),(432,9,164,1,'off','on','','user','','1287554286'),(433,9,165,1,'off','on','','user','','1287554286'),(434,9,166,1,'off','on','','user','','1287554286'),(435,1,181,87,'off','on','','user','','1287554314');

--
-- Table structure for table `bstock_profilemoduleoperationprivileges`
--

CREATE TABLE `bstock_profilemoduleoperationprivileges` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `module_id` int(10) NOT NULL COMMENT 'This is the foreign key for the modules & is mapped to primary key of modules table.',
  `profile_id` int(10) NOT NULL COMMENT 'This is the foreign key for profiles & is mapped to primary key of profiles table.',
  `operation_id` int(10) NOT NULL COMMENT 'This field will contain 0,1,2,3.  0 – Create, 1 – Edit, 2 – Delete, 3 – View',
  `is_enabled` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'This field will contain 0 or 1. 0  Would mean this operation is disabled  For the corresponding profile_id &  module_id.  1 would mean the operation is  accessible to profile_id & module_id.',
  `type` enum('user','customer') NOT NULL COMMENT 'This field will contain whether this is profile of user or customer.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this record.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=53 DEFAULT CHARSET=latin1 COMMENT='Store what operations are allowed on modules to different pr';

--
-- Dumping data for table `bstock_profilemoduleoperationprivileges`
--

INSERT INTO `bstock_profilemoduleoperationprivileges` VALUES (2,2,3,1,'on','customer','',''),(14,4,91,1,'on','user','','1261392304'),(15,5,91,5,'on','user','','1261392304'),(13,3,91,5,'on','user','','1261392304'),(12,2,91,5,'on','user','','1261392304'),(11,1,91,5,'on','user','','1261392304'),(16,1,89,2,'on','user','','1261381121'),(17,2,89,1,'on','user','','1261381121'),(18,3,89,1,'on','user','','1261381121'),(19,4,89,1,'on','user','','1261381121'),(20,5,89,1,'on','user','','1261381121'),(21,1,91,2,'on','user','1261381762','1261381762'),(22,2,91,1,'on','user','1261381762','1261381762'),(23,3,91,1,'on','user','1261381762','1261381762'),(24,4,91,1,'on','user','1261381762','1261381762'),(25,5,91,1,'on','user','1261381762','1261381762'),(26,3,87,5,'on','user','','1287554314'),(27,1,87,5,'on','user','','1287554314'),(28,2,87,5,'on','user','','1287554314'),(29,5,87,5,'on','user','','1287554314'),(30,4,87,5,'on','user','','1287554314'),(31,6,87,5,'on','user','','1287554314'),(32,7,87,5,'on','user','','1287554314'),(33,8,87,5,'on','user','','1287554314'),(34,9,87,5,'on','user','','1287554314'),(35,1,1,5,'on','user','','1287554264'),(36,2,1,5,'on','user','','1287554264'),(37,3,1,1,'on','user','','1287554264'),(38,4,1,5,'on','user','','1287554264'),(39,5,1,1,'on','user','','1287554264'),(40,6,1,1,'on','user','','1287554264'),(41,7,1,5,'on','user','','1287554264'),(42,8,1,5,'on','user','','1287554264'),(43,9,1,5,'on','user','','1287554264'),(44,1,1,5,'on','user','','1287554286'),(45,2,1,5,'on','user','','1287554286'),(46,3,1,1,'on','user','','1287554286'),(47,4,1,5,'on','user','','1287554286'),(48,5,1,1,'on','user','','1287554286'),(49,6,1,1,'on','user','','1287554286'),(50,7,1,5,'on','user','','1287554286'),(51,8,1,5,'on','user','','1287554286'),(52,9,1,5,'on','user','','1287554286');

--
-- Table structure for table `bstock_profilemoduleprivileges`
--

CREATE TABLE `bstock_profilemoduleprivileges` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `module_id` int(10) NOT NULL COMMENT 'This is the foreign key for the modules & is mapped to primary key of modules table.',
  `profile_id` int(10) NOT NULL COMMENT 'This is the foreign key for profiles & is mapped to primary key of profiles table.',
  `is_enabled` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'This field will contain 0 or 1. 0  Would mean this module is disabled  For the corresponding profile_id.  1 would mean the module is  Accessible to profile_id.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the date when this record was created / inserted.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this record..',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=53 DEFAULT CHARSET=latin1 COMMENT='Store what modules are allowed to be accessed by profiles.';

--
-- Dumping data for table `bstock_profilemoduleprivileges`
--

INSERT INTO `bstock_profilemoduleprivileges` VALUES (1,1,91,'on','','1261392304'),(2,2,91,'on','','1261392304'),(3,3,91,'on','','1261392304'),(5,1,85,'on','','1259609910'),(6,2,85,'off','','1259609910'),(7,3,85,'off','','1259609910'),(8,1,86,'on','','1259650566'),(9,2,86,'on','','1259650566'),(10,3,86,'off','','1259650566'),(14,4,91,'on','','1261392304'),(15,5,91,'on','','1261392304'),(16,1,89,'on','','1261381121'),(17,2,89,'off','','1261381121'),(18,3,89,'off','','1261381121'),(19,4,89,'off','','1261381121'),(20,5,89,'off','','1261381121'),(21,1,91,'on','1261381762','1261381762'),(22,2,91,'off','1261381762','1261381762'),(23,3,91,'off','1261381762','1261381762'),(24,4,91,'off','1261381762','1261381762'),(25,5,91,'off','1261381762','1261381762'),(26,3,87,'on','','1287554314'),(27,1,87,'on','','1287554314'),(28,2,87,'on','','1287554314'),(29,5,87,'on','','1287554314'),(30,4,87,'on','','1287554314'),(31,6,87,'off','','1287554314'),(32,7,87,'on','','1287554314'),(33,8,87,'on','','1287554314'),(34,9,87,'on','','1287554314'),(35,1,1,'on','','1287554264'),(36,2,1,'on','','1287554264'),(37,3,1,'off','','1287554264'),(38,4,1,'on','','1287554264'),(39,5,1,'off','','1287554264'),(40,6,1,'off','','1287554264'),(41,7,1,'on','','1287554264'),(42,8,1,'on','','1287554264'),(43,9,1,'on','','1287554264'),(44,1,1,'on','','1287554286'),(45,2,1,'on','','1287554286'),(46,3,1,'off','','1287554286'),(47,4,1,'on','','1287554286'),(48,5,1,'off','','1287554286'),(49,6,1,'off','','1287554286'),(50,7,1,'on','','1287554286'),(51,8,1,'on','','1287554286'),(52,9,1,'on','','1287554286');

--
-- Table structure for table `bstock_reports`
--

CREATE TABLE `bstock_reports` (
  `report_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `folder_id` int(10) NOT NULL COMMENT 'This is the folder in which the reports are stored.',
  `name` varchar(250) NOT NULL COMMENT 'This is the name of the report by which it will be identified.',
  `description` text NOT NULL COMMENT 'Description for the report shall be stored here.',
  `report_type_id` int(10) NOT NULL COMMENT 'This will contain the ID of the different types of reports.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this report.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this report.',
  PRIMARY KEY (`report_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store reports that are created dynamically by admin.';

--
-- Dumping data for table `bstock_reports`
--


--
-- Table structure for table `bstock_savedsearches`
--

CREATE TABLE `bstock_savedsearches` (
  `saved_search_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for the customers & is mapped to primary key of customers table.',
  `name` varchar(50) NOT NULL COMMENT 'This will be the name of the saved search entered by the customer.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this saved search.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this saved search.',
  PRIMARY KEY (`saved_search_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the searches that are saved by the customer.';

--
-- Dumping data for table `bstock_savedsearches`
--


--
-- Table structure for table `bstock_settings`
--

CREATE TABLE `bstock_settings` (
  `config_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` text NOT NULL COMMENT 'Name of the configuration parameter.',
  `value` text NOT NULL COMMENT 'Value of the configuration parameter.',
  PRIMARY KEY (`config_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store configuration parameters of the system.';

--
-- Dumping data for table `bstock_settings`
--


--
-- Table structure for table `bstock_shippingtax`
--

CREATE TABLE `bstock_shippingtax` (
  `shipping_tax_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `type` varchar(250) NOT NULL COMMENT 'Name of the shipping tax type.',
  `percent` varchar(50) NOT NULL COMMENT 'Percentage amount for this shipping tax type.',
  `is_active` enum('0','1') NOT NULL COMMENT 'If active, then only this shipping tax will be displayed while creating invoices / placing orders.',
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this shipping tax type.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this shipping tax type.',
  PRIMARY KEY (`shipping_tax_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the different shipping tax types that are being used i';

--
-- Dumping data for table `bstock_shippingtax`
--


--
-- Table structure for table `bstock_states`
--

CREATE TABLE `bstock_states` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `country_id` int(100) NOT NULL,
  `state_code` varchar(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=99 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_states`
--

INSERT INTO `bstock_states` VALUES (1,840,'AL','Alabama'),(2,840,'AK','Alaska'),(3,840,'ms','missing state'),(4,840,'AZ','Arizona'),(5,840,'AR','Arkansas'),(6,840,'AF','Armed Forces Africa'),(7,840,'AA','Armed Forces Americas'),(8,840,'AC','Armed Forces Canada'),(9,840,'AE','Armed Forces Europe'),(10,840,'AM','Armed Forces Middle East'),(11,840,'AP','Armed Forces Pacific'),(12,840,'CA','California'),(13,840,'CO','Colorado'),(14,840,'CT','Connecticut'),(15,840,'DE','Delaware'),(16,840,'DC','District of Columbia'),(17,840,'FM','Federated States Of Micronesia'),(18,840,'FL','Florida'),(19,840,'GA','Georgia'),(20,840,'GU','Guam'),(21,840,'HI','Hawaii'),(22,840,'ID','Idaho'),(23,840,'IL','Illinois'),(24,840,'IN','Indiana'),(25,840,'IA','Iowa'),(26,840,'KS','Kansas'),(27,840,'KY','Kentucky'),(28,840,'LA','Louisiana'),(29,840,'ME','Maine'),(30,840,'MH','Marshall Islands'),(31,840,'MD','Maryland'),(32,840,'MA','Massachusetts'),(33,840,'MI','Michigan'),(34,840,'MN','Minnesota'),(35,840,'MS','Mississippi'),(36,840,'MO','Missouri'),(37,840,'MT','Montana'),(38,840,'NE','Nebraska'),(39,840,'NV','Nevada'),(40,840,'NH','New Hampshire'),(41,840,'NJ','New Jersey'),(42,840,'NM','New Mexico'),(43,840,'NY','New York'),(44,840,'NC','North Carolina'),(45,840,'ND','North Dakota'),(46,840,'MP','Northern Mariana Islands'),(47,840,'OH','Ohio'),(48,840,'OK','Oklahoma'),(49,840,'OR','Oregon'),(50,840,'PW','Palau'),(51,840,'PA','Pennsylvania'),(52,840,'PR','Puerto Rico'),(53,840,'RI','Rhode Island'),(54,840,'SC','South Carolina'),(55,840,'SD','South Dakota'),(56,840,'TN','Tennessee'),(57,840,'TX','Texas'),(58,840,'UT','Utah'),(59,840,'VT','Vermont'),(60,840,'VI','Virgin Islands'),(61,840,'VA','Virginia'),(62,840,'WA','Washington'),(63,840,'WV','West Virginia'),(64,840,'WI','Wisconsin'),(65,840,'WY','Wyoming'),(66,356,'AP','Andhra Pradesh'),(67,356,'AR','Arunachal Pradesh'),(68,356,'AS','Assam'),(69,356,'BR','Bihar'),(70,356,'CG','Chattisgarh'),(71,356,'GA','Goa'),(72,356,'GJ','Gujarat'),(73,356,'HR','Haryana'),(74,356,'HP','Himachal Pradesh'),(75,356,'JK','Jammu & Kashmir'),(76,356,'JH','Jharkhand'),(77,356,'KA','Karnataka'),(78,356,'KL','Kerala'),(79,356,'MP','Madhya Pradesh'),(80,356,'MH','Maharashtra'),(81,356,'MN','Manipur'),(82,356,'ML','Meghalaya'),(83,356,'MZ','Mizoram'),(84,356,'NL','Nagaland'),(85,356,'OR','Orissa'),(86,356,'PB','Punjab'),(87,356,'RJ','Rajasthan'),(88,356,'SK','Sikkim'),(89,356,'TN','Tamil Nadu'),(90,356,'TR','Tripura'),(91,356,'UA','Uttarakhand'),(92,356,'UP','Uttar Pradesh'),(93,356,'WB','West Bengal'),(94,356,'AN','Andaman & Nicobar'),(95,356,'CH','Chandigarh'),(96,356,'DN','Dadra and Nagar Haveli'),(97,356,'DD','Daman & Diu'),(98,356,'DL','Delhi');

--
