--
-- Host: localhost    Database: reenakak_accpro
-- ------------------------------------------------------


--
-- Current Database: `reenakak_accpro`
--

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

USE `reenakak_accpro`;

--
-- 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_brokers`
--

CREATE TABLE `bstock_brokers` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `broker_name` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `address` varchar(500) NOT NULL,
  `phone1` int(10) NOT NULL,
  `phone2` int(10) NOT NULL,
  `fax` int(10) NOT NULL,
  `reference_no` int(10) NOT NULL,
  `is_active` enum('1','0') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_brokers`
--

INSERT INTO `bstock_brokers` VALUES (1,'Shailesh Shah','Shailesh','Shah','PRASAD CHAMBERS, OPERA HOUSE,MUMBAI 400 004',2147483647,222222222,555555555,666666666,'1',1272312433,1272312433),(2,'Jankibhai','Jankibhai','Shah','Avenue New Link Rd Malad East',2147483647,2147483647,222222222,777777777,'1',1272312433,1272312433),(4,'Kothari','Ramniklal','Kothari','Opera House',989898,234567,123456,0,'1',1272312433,1272312433);

--
-- 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=842 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'),(841,'Israel','ISR','IS','1');

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

CREATE TABLE `bstock_currency` (
  `id` int(10) NOT NULL AUTO_INCREMENT 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 (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Store the currencies that are being used in the system.';

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

INSERT INTO `bstock_currency` VALUES (1,'Dollar','1','$','45','1','1',1,'1267005563','1267005563');

--
-- 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=232 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,840,'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,841,'400093','1262110311','1262110311','Vishal','Kothari','28303621'),(24,0,'1','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1262110289','1262110289','vishal 2 ','kothari2','2343243232 2'),(178,12,'8','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276258756','1276258756','vishal 2 ','2343243232 2','2343243232 2'),(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'),(32,14,'9','10/A, Apsara Building, Road. No. 4   ','','Mumbai',0,356,'400066','1262265725','1262265725','Vishal','Kothari',''),(33,12,'10','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1262265922','1262265922','vishal 2 ','kothari2','2343243232 2'),(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'),(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'),(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,0,'37','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1262719701','1262719701','baba','narvekar','564564564564'),(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',''),(169,12,'2','3, pradeep niwas 2','',' ',70,356,'4000932 ','1274699151','1274699151','vishal 2 ','kothari2','2343243232 2'),(170,12,'2','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276253913','1276253913','vishal 2 ','2343243232 2','2343243232 2'),(171,12,'2','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276255046','1276255046','vishal 2 ','2343243232 2','2343243232 2'),(172,12,'4','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276256010','1276256010','vishal 2 ','2343243232 2','2343243232 2'),(177,12,'7','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276258670','1276258670','vishal 2 ','2343243232 2','2343243232 2'),(176,12,'6','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276258442','1276258442','vishal 2 ','2343243232 2','2343243232 2'),(175,12,'5','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276256925','1276256925','vishal 2 ','kothari2','2343243232 2'),(179,0,'9','','','',0,0,'','1276259658','1276259658','','',''),(180,12,'10','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276259840','1276259840','vishal 2 ','kothari2','2343243232 2'),(181,12,'11','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276260101','1276260101','vishal 2 ','2343243232 2','2343243232 2'),(182,12,'12','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276264733','1276264733','vishal 2 ','2343243232 2','2343243232 2'),(183,12,'13','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276268556','1276268556','vishal 2 ','2343243232 2','2343243232 2'),(184,0,'14','','','',0,0,'','1276268765','1276268765','','',''),(185,0,'15','','','',0,0,'','1276268868','1276268868','','',''),(186,12,'16','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276269119','1276269119','vishal 2 ','2343243232 2','2343243232 2'),(187,0,'17','','','',0,0,'','1276269851','1276269851','','',''),(188,0,'18','','','',0,0,'','1276269994','1276269994','','',''),(189,0,'19','','','',0,0,'','1276270055','1276270055','','',''),(190,0,'20','','','',0,0,'','1276270147','1276270147','','',''),(191,0,'21','','','',0,0,'','1276270381','1276270381','','',''),(192,0,'22','','','',0,0,'','1276270726','1276270726','','',''),(193,0,'23','','','',0,0,'','1276270811','1276270811','','',''),(194,0,'24','','','',0,0,'','1276271009','1276271009','','',''),(195,0,'25','','','',0,0,'','1276271039','1276271039','','',''),(196,41,'26','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276522281','1276522281','vishal 2 ','kothari2','2343243232 2'),(197,0,'27','','','',0,0,'','1276522985','1276522985','','',''),(198,0,'28','','','',0,0,'','1276523038','1276523038','','',''),(199,0,'29','','','',0,0,'','1276523268','1276523268','','',''),(200,0,'30','','','',0,0,'','1276523353','1276523353','','',''),(201,0,'31','','','',0,0,'','1276523825','1276523825','','',''),(202,0,'32','','','',0,0,'','1276523978','1276523978','','',''),(203,0,'33','','','',0,0,'','1276524038','1276524038','','',''),(204,0,'34','','','',0,0,'','1276524132','1276524132','','',''),(205,0,'35','','','',0,0,'','1276524168','1276524168','','',''),(206,0,'36','','','',0,0,'','1276524306','1276524306','','',''),(207,0,'37','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1276524420','1276524420','baba','narvekar','564564564564'),(208,12,'38','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276582157','1276582157','vishal 2 ','2343243232 2','2343243232 2'),(209,12,'39','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1276586151','1276586151','vishal 2 ','2343243232 2','2343243232 2'),(210,0,'40','','','',0,0,'','1276876364','1276876364','','',''),(211,0,'41','','','',0,0,'','1276876467','1276876467','','',''),(212,0,'42','','','',0,0,'','1276876900','1276876900','','',''),(213,0,'43','','','',0,0,'','1276955065','1276955065','','',''),(214,12,'44','3, pradeep niwas 2','midc , cross road no. 232',' ',70,356,'4000932 ','1277233812','1277233812','vishal 2 ','2343243232 2','2343243232 2'),(215,0,'45','','','',0,0,'','1277976950','1277976950','','',''),(216,0,'46','','','',0,0,'','1277982372','1277982372','','',''),(217,12,'47','3, pradeep niwas 2','midc , cross road no. 232',' ',70,840,'4000932 ','1277986266','1277986266','vishal 2 ','2343243232 2','2343243232 2'),(218,0,'48','','','',0,0,'','1277986481','1277986481','','',''),(219,12,'49','3, pradeep niwas 2','midc , cross road no. 232',' ',70,840,'4000932 ','1277986542','1277986542','vishal 2 ','2343243232 2','2343243232 2'),(220,12,'50','3, pradeep niwas 2','midc , cross road no. 232',' ',70,840,'4000932 ','1280226928','1280226928','vishal 2 ','2343243232 2','2343243232 2'),(221,0,'51','','','',0,0,'','1281939381','1281939381','','',''),(222,0,'52','','','',0,0,'','1281939451','1281939451','','',''),(223,0,'53','','','',0,0,'','1281939677','1281939677','','',''),(224,0,'54','','','',0,0,'','1281939753','1281939753','','',''),(225,0,'55','','','',0,0,'','1281940807','1281940807','','',''),(226,0,'56','','','',0,0,'','1281942053','1281942053','','',''),(227,0,'57','','','',0,0,'','1281942136','1281942136','','',''),(228,0,'58','','','',0,0,'','1281942995','1281942995','','',''),(229,0,'59','','','',0,0,'','1281943132','1281943132','','',''),(230,0,'60','','','',0,0,'','1281943587','1281943587','','',''),(231,0,'61','','','',0,0,'','1281944077','1281944077','','','');

--
-- 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=234 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,0,'1','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1262110289','1262110289','vishal1 ','kothari1','32423423231'),(181,0,'9','','','',0,0,'','1276259658','1276259658','','',''),(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'),(30,14,'9','10/A, Apsara Building, Road. No. 4   ','','Houston',67,356,'12345','1262265725','1262265725','Vishal','Kothari',''),(31,12,'10','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1262265922','1262265922','vishal1 ','kothari1','32423423231'),(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'),(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,0,'37','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1262719701','1262719701','baba','narvekar','564564564564'),(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',''),(169,12,'2','3, pradeep niwas (Shipping1)1','',' ',3,840,'4000931 ','1274699151','1274699151','','','32423423231'),(170,1,'1','3, pradeep niwas (Shipping1)','midc cross road,','mumbai',2,340,'400094','1267005563','1267005563','Vishal1','K1','2830362'),(171,12,'2','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276253913','1276253913','vishal1 ','32423423231','32423423231'),(172,12,'2','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276255046','1276255046','vishal1 ','32423423231','32423423231'),(173,12,'4','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276256010','1276256010','vishal1 ','32423423231','32423423231'),(180,12,'8','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276258756','1276258756','vishal1 ','32423423231','32423423231'),(179,12,'7','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276258670','1276258670','vishal1 ','32423423231','32423423231'),(178,12,'6','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276258442','1276258442','vishal1 ','32423423231','32423423231'),(177,12,'5','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276256925','1276256925','vishal1 ','kothari1','32423423231'),(182,12,'10','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276259840','1276259840','vishal1 ','kothari1','32423423231'),(183,12,'11','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276260101','1276260101','vishal1 ','32423423231','32423423231'),(184,12,'12','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276264733','1276264733','vishal1 ','32423423231','32423423231'),(185,12,'13','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276268556','1276268556','vishal1 ','32423423231','32423423231'),(186,0,'14','','','',0,0,'','1276268765','1276268765','','',''),(187,0,'15','','','',0,0,'','1276268868','1276268868','','',''),(188,12,'16','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276269119','1276269119','vishal1 ','32423423231','32423423231'),(189,0,'17','','','',0,0,'','1276269851','1276269851','','',''),(190,0,'18','','','',0,0,'','1276269994','1276269994','','',''),(191,0,'19','','','',0,0,'','1276270055','1276270055','','',''),(192,0,'20','','','',0,0,'','1276270147','1276270147','','',''),(193,0,'21','','','',0,0,'','1276270381','1276270381','','',''),(194,0,'22','','','',0,0,'','1276270726','1276270726','','',''),(195,0,'23','','','',0,0,'','1276270811','1276270811','','',''),(196,0,'24','','','',0,0,'','1276271009','1276271009','','',''),(197,0,'25','','','',0,0,'','1276271039','1276271039','','',''),(198,41,'26','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276522281','1276522281','vishal1 ','kothari1','32423423231'),(199,0,'27','','','',0,0,'','1276522985','1276522985','','',''),(200,0,'28','','','',0,0,'','1276523038','1276523038','','',''),(201,0,'29','','','',0,0,'','1276523268','1276523268','','',''),(202,0,'30','','','',0,0,'','1276523353','1276523353','','',''),(203,0,'31','','','',0,0,'','1276523825','1276523825','','',''),(204,0,'32','','','',0,0,'','1276523978','1276523978','','',''),(205,0,'33','','','',0,0,'','1276524038','1276524038','','',''),(206,0,'34','','','',0,0,'','1276524132','1276524132','','',''),(207,0,'35','','','',0,0,'','1276524168','1276524168','','',''),(208,0,'36','','','',0,0,'','1276524306','1276524306','','',''),(209,0,'37','MIDC Cross Rd no 23','','mumbai',80,356,'400093','1276524420','1276524420','baba','narvekar','564564564564'),(210,12,'38','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276582157','1276582157','vishal1 ','32423423231','32423423231'),(211,12,'39','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1276586151','1276586151','vishal1 ','32423423231','32423423231'),(212,0,'40','','','',0,0,'','1276876364','1276876364','','',''),(213,0,'41','','','',0,0,'','1276876467','1276876467','','',''),(214,0,'42','','','',0,0,'','1276876900','1276876900','','',''),(215,0,'43','','','',0,0,'','1276955065','1276955065','','',''),(216,12,'44','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1277233812','1277233812','vishal1 ','32423423231','32423423231'),(217,0,'45','','','',0,0,'','1277976950','1277976950','','',''),(218,0,'46','','','',0,0,'','1277982372','1277982372','','',''),(219,12,'47','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1277986266','1277986266','vishal1 ','32423423231','32423423231'),(220,0,'48','','','',0,0,'','1277986481','1277986481','','',''),(221,12,'49','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1277986542','1277986542','vishal1 ','32423423231','32423423231'),(222,12,'50','3, pradeep niwas (Shipping1)1','midc , cross road no. 231',' ',3,840,'4000931 ','1280226928','1280226928','vishal1 ','32423423231','32423423231'),(223,0,'51','','','',0,0,'','1281939381','1281939381','','',''),(224,0,'52','','','',0,0,'','1281939451','1281939451','','',''),(225,0,'53','','','',0,0,'','1281939677','1281939677','','',''),(226,0,'54','','','',0,0,'','1281939753','1281939753','','',''),(227,0,'55','','','',0,0,'','1281940807','1281940807','','',''),(228,0,'56','','','',0,0,'','1281942053','1281942053','','',''),(229,0,'57','','','',0,0,'','1281942136','1281942136','','',''),(230,0,'58','','','',0,0,'','1281942995','1281942995','','',''),(231,0,'59','','','',0,0,'','1281943132','1281943132','','',''),(232,0,'60','','','',0,0,'','1281943587','1281943587','','',''),(233,0,'61','','','',0,0,'','1281944077','1281944077','','','');

--
-- 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=6 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=196 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 AUTO_INCREMENT=2 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=66 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),(65,1,1,'Enter comments here.','1271964825','1271964825',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_jwl_dia_info`
--

CREATE TABLE `bstock_jwl_dia_info` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `polish_diamond_id` int(10) NOT NULL,
  `product_jwl_id` int(10) NOT NULL,
  `number_of_pieces` int(10) NOT NULL,
  `location` varchar(255) NOT NULL,
  `price` varchar(10) NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_dia_info`
--

INSERT INTO `bstock_jwl_dia_info` VALUES (1,673,1,1,'Center','100','',''),(2,674,2,5,'Side','200','',''),(3,675,2,2,'Center','300','',''),(4,673,3,4,'Side','400','',''),(5,674,3,3,'Center','500','',''),(6,675,6,5,'Side','600','',''),(7,673,6,1,'Center','100','',''),(8,673,7,2,'Center','200','',''),(9,673,8,3,'Center','300','',''),(10,673,9,4,'Center','400','',''),(11,673,10,5,'Center','500','',''),(12,673,11,6,'Center','600','',''),(13,673,12,7,'Center','700','',''),(14,673,13,8,'Center','800','',''),(15,673,14,9,'Center','900','',''),(16,673,15,10,'Center','1000','','');

--
-- Table structure for table `bstock_jwl_metal_info`
--

CREATE TABLE `bstock_jwl_metal_info` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `product_jwl_id` int(10) NOT NULL,
  `metal_id` int(10) NOT NULL,
  `metal_weight` varchar(10) NOT NULL,
  `metal_karat` varchar(10) NOT NULL,
  `color` varchar(255) NOT NULL,
  `price` varchar(10) NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_metal_info`
--

INSERT INTO `bstock_jwl_metal_info` VALUES (1,1,1,'10','24','White Gold','10','',''),(2,2,2,'20','12','Yellow Gold','20','',''),(3,3,3,'30','18','White Gold','30','',''),(4,3,4,'40','20','Silver','40','',''),(5,5,5,'50','22','Platinum','50','',''),(6,6,6,'60','16','Silver','60','',''),(7,6,1,'.1','.1','White Gold','100','',''),(8,7,1,'.2','.2','Yellow Gold','200','',''),(9,8,2,'.3','.3','Platinum','300','',''),(10,9,2,'.4','.4','Platinum','400','',''),(11,10,3,'.5','.5','Silver','500','',''),(12,11,3,'.6','.6','Silver','600','',''),(13,12,4,'.7','.7','Silver','700','',''),(14,13,4,'.8','.8','Silver','800','',''),(15,14,5,'.9','.9','Yellow gold','900','',''),(16,15,5,'1.0','1.0','Yellow gold','1000','','');

--
-- Table structure for table `bstock_karigar`
--

CREATE TABLE `bstock_karigar` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primary key.',
  `karigar_name` varchar(250) NOT NULL,
  `address` text NOT NULL,
  `phone1` varchar(50) NOT NULL,
  `phone2` varchar(50) NOT NULL,
  `fax` 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.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COMMENT='Stores exporter related information like Name, Address, etc.';

--
-- Dumping data for table `bstock_karigar`
--

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

--
-- 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_manuprocess_labour`
--

CREATE TABLE `bstock_manuprocess_labour` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `process_id` int(10) NOT NULL,
  `labour` varchar(50) NOT NULL,
  `hours` varchar(50) NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_manuprocess_labour`
--


--
-- Table structure for table `bstock_manuprocesses_jewel`
--

CREATE TABLE `bstock_manuprocesses_jewel` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `process_name` varchar(255) NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_manuprocesses_jewel`
--


--
-- Table structure for table `bstock_metal_carat_multiplier`
--

CREATE TABLE `bstock_metal_carat_multiplier` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `karat` varchar(10) NOT NULL,
  `24_karat_value` varchar(50) NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_metal_carat_multiplier`
--


--
-- 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=11 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,'Companies','bstock_exporters',0,'1','0','on','',''),(9,'Bankers','bstock_bankers',0,'','','on','',''),(10,'Vendors','bstock_vendors',0,'1','','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=12 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_options` VALUES (1,0,'stylesheet','MM','yes'),(2,0,'template','MM','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','Bigg Stock','yes'),(11,0,'company_address','201, Prasad Chambers, Opera House, Mumbai - 400004.\r\nTel: +91 22 -4001 8900 Fax : +91 - 22- 2363 3048 ','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=167 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'),(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'),(165,1,168,'1269635676','1269635676'),(166,2,169,'1274699151','1274699151');

--
-- 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` decimal(10,2) NOT NULL COMMENT 'The price for this item after multiplying with quantity.',
  `vendor_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `broker_id_1` int(10) NOT NULL,
  `brokerage_1` decimal(10,2) NOT NULL,
  `broker_id_2` int(10) NOT NULL,
  `brokerage_2` decimal(10,2) NOT NULL,
  `profit_amount` decimal(10,4) NOT NULL,
  `profit_percent` decimal(10,4) NOT NULL,
  `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.',
  `exporter_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=81 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

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

INSERT INTO `bstock_orderitems` VALUES (5,20,2,1,3366.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270147','1276270147','','',0,1),(6,21,3,1,2470.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270381','1276270381','','',0,1),(7,22,7,1,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270732','1276270732','','',0,1),(8,23,7,1,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270812','1276270812','','',0,1),(9,24,7,1,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276271031','1276271031','','',0,1),(10,25,7,2,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276271039','1276271039','','',0,1),(11,25,7,2,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1267005563','1267005563','','',0,1),(12,26,77,1,5112.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276522281','1276522281','','',0,1),(15,26,0,0,0.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1267005563','1267005563','','',0,1),(16,29,13,1,2750.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276523268','1276523268','','',0,1),(18,31,0,0,0.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276523825','1276523825','','',0,1),(19,33,0,0,0.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276524038','1276524038','','',0,1),(20,34,3,1,2470.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276524132','1276524132','','',0,1),(21,35,4,1,3266.00,2,12,0,0.00,0,0.00,11000.0000,5.0000,'1276524168','1276524168','','',0,1),(22,35,0,0,0.00,3,12,0,0.00,0,0.00,5678.0000,1.0200,'1276524168','1276524168','','',0,1),(23,36,5,1,1188.00,2,12,0,0.00,0,0.00,11000.0000,5.0000,'1276524306','1276524306','','',0,1),(52,44,3,1,2470.00,2,12,1,2.00,2,3.00,-890.0000,-8.9000,'1277233812','1277233812','','',0,1),(51,37,2,4,3366.00,1,41,1,2.00,2,2.00,-50.0000,-0.5000,'1277230461','1277230461','','',0,1),(28,38,9,1,4070.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276582157','1276582157','','',0,1),(43,38,4,2,4444.00,1,12,0,0.00,0,0.00,-2238.0000,-22.3800,'1276952739','1276952739','','',0,1),(47,43,2,1,5555.00,1,0,0,0.00,0,0.00,-30193.0000,-301.9300,'1276955065','1276955065','','',0,1),(45,42,2,4,3366.00,1,0,0,0.00,0,0.00,-42480.0000,-424.8000,'1276953033','1276953033','','',0,1),(46,41,4,2,4444.00,1,0,0,0.00,0,0.00,-2238.0000,-22.3800,'1276953062','1276953062','','',0,1),(38,1,2,5,5555.00,2,12,0,0.00,0,0.00,2189.0000,21.8900,'1276949635','1276949635','','',0,1),(39,1,6,1,4444.00,2,12,0,0.00,0,0.00,2024.0000,20.2400,'1276951188','1276951188','','',0,1),(40,38,3,0,2470.00,1,12,1,2.00,2,1.00,0.0000,0.0000,'1276951261','1276951261','','',0,1),(41,38,3,1,2470.00,1,12,1,1.00,4,2.00,500.0000,2.3000,'1276951512','1276951512','','',0,1),(49,39,5,1,3333.00,1,12,4,1.00,0,0.00,1395.0000,13.9500,'1277202736','1277202736','','',0,1),(53,37,3,3,2.47,1,41,1,2.00,2,2.00,-4987.5300,-49.8753,'1277972821','1277972821','','',0,1),(54,37,3,4,2.47,1,41,1,2.00,2,2.00,-4987.5300,-49.8753,'1277972835','1277972835','','',0,1),(55,46,6,2,5.56,1,0,0,0.00,0,0.00,-4834.4445,-48.3444,'1277982373','1277982373','','',0,1),(56,46,15,2,2.53,1,0,0,0.00,0,0.00,-2527.4700,-25.2747,'1277982373','1277982373','','',0,1),(57,47,8,2,1.44,1,12,2,2.00,2,3.00,-2878.5600,-28.7856,'1277986272','1277986272','','',0,1),(58,48,14,1,2.86,1,0,1,2.00,0,0.00,-2857.1400,-28.5714,'1277986481','1277986481','','',0,1),(59,49,14,1,2.86,2,12,0,0.00,0,0.00,-2857.1400,-28.5714,'1277986542','1277986542','','',0,1),(60,37,15,3,2530.00,1,41,1,2.00,2,2.00,-5110.0000,-51.1000,'1277986781','1277986781','','',0,1),(61,49,15,1,4444.00,2,12,0,0.00,0,0.00,1914.0000,19.1400,'1277986828','1277986828','','',0,1),(62,50,14,1,2860.00,1,12,1,0.00,0,0.00,0.0000,0.0000,'1280226928','1280226928','','',0,0),(63,50,10,1,2604.00,1,12,1,0.00,0,0.00,0.0000,0.0000,'1280226928','1280226928','','',0,0),(64,1,17,1,4620.00,0,12,0,0.00,0,0.00,0.0000,0.0000,'1280410056','1280410056','','',0,0),(65,51,6,2,2420.00,1,0,0,0.00,0,0.00,-2420.0000,-24.2000,'1281939381','1281939381','','',0,0),(66,52,1580,1,4000.00,1,0,0,0.00,0,0.00,1580.0000,15.8000,'1281939451','1281939451','','',0,0),(67,52,1300,1,2600.00,1,0,0,0.00,0,0.00,1300.0000,13.0000,'1281939451','1281939451','','',0,0),(68,53,670,1,4444.00,1,0,0,0.00,0,0.00,670.0000,6.7000,'1281939677','1281939677','','',0,0),(69,54,670,1,4444.00,1,0,0,0.00,0,0.00,670.0000,6.7000,'1281939753','1281939753','','',0,0),(70,55,6,2,2420.00,1,0,0,0.00,0,0.00,-2420.0000,-24.2000,'1281940807','1281940807','','',0,0),(71,56,4048,2,4444.00,1,0,0,0.00,0,0.00,-396.0000,-3.9600,'1281942053','1281942053','','',0,0),(72,57,4048,2,4444.00,1,0,0,0.00,0,0.00,-396.0000,-3.9600,'1281942136','1281942136','','',0,0),(73,57,1294,1,4444.00,1,0,0,0.00,0,0.00,1294.0000,12.9400,'1281942136','1281942136','','',0,0),(74,58,4048,2,4444.00,1,0,0,0.00,0,0.00,-396.0000,-3.9600,'1281942995','1281942995','','',0,0),(75,59,4048,2,4444.00,1,0,0,0.00,0,0.00,-396.0000,-3.9600,'1281943132','1281943132','','',0,0),(76,60,19,1,5000.00,1,0,0,0.00,0,0.00,2000.0000,20.0000,'1281943587','1281943587','','',0,0),(77,60,15,1,4444.00,1,0,0,0.00,0,0.00,1914.0000,19.1400,'1281943587','1281943587','','',0,0),(78,60,24,1,5555.00,1,0,0,0.00,0,0.00,1781.0000,17.8100,'1281943656','1281943656','','',0,0),(79,61,8,1,4444.00,1,0,0,0.00,0,0.00,3004.0000,30.0400,'1281944077','1281944077','','',0,0),(80,61,19,1,4444.00,1,0,0,0.00,0,0.00,1444.0000,14.4400,'1281944077','1281944077','','',0,0);

--
-- 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=457 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),(127,1,'vishal@biggventures.com','Enter order comments here.','1269637506',1),(128,1,'','Enter order comments here.','1274260062',1),(129,1,'','Enter order comments here.','1274260063',1),(130,1,'','Enter order comments here.a','1274260064',1),(131,1,'','Enter order comments here.a','1274260065',1),(132,1,'','Enter order comments here.a','1274260066',1),(133,1,'','Enter order comments here.a','1274260067',1),(134,1,'','Enter order comments here.a','1274260085',1),(135,1,'','Enter order comments here.a','1274260086',1),(136,1,'','Enter order comments here.a','1274260086',1),(137,1,'','Enter order comments here.a','1274260087',1),(138,1,'','Enter order comments here.a','1274260088',1),(139,1,'','Enter order comments here.a','1274260089',1),(140,1,'','Enter order comments here.a','1274260090',1),(141,1,'','Enter order comments here.a','1274260091',1),(142,1,'','Enter order comments here.a','1274260093',1),(143,1,'','Enter order comments here.a','1274260094',1),(144,1,'','Enter order comments here.a','1274260095',1),(145,1,'','Enter order comments here.a','1274260097',1),(146,1,'','Enter order comments here.a','1274260098',1),(147,1,'','Enter order comments here.a','1274260101',1),(148,1,'','Enter order comments here.a','1274260105',1),(149,1,'','Enter order comments here.a','1274260108',1),(150,1,'','Enter order comments here.a','1274260109',1),(151,1,'','Enter order comments here.a','1274260111',1),(152,1,'','Enter order comments here.a','1274260111',1),(153,1,'','Enter order comments here.a','1274260112',1),(154,1,'','Enter order comments here.a','1274260113',1),(155,1,'','Enter order comments here.a','1274260114',1),(156,1,'','Enter order comments here.a','1274260115',1),(157,1,'','Enter order comments here.a dfsdfasd ','1274260116',1),(158,1,'','Enter order comments here.a dfsdfasd ','1274260119',1),(159,1,'','Enter order comments here.a','1274260120',1),(160,1,'','Enter order comments here.a dfsdfasd ','1274260121',1),(161,1,'','Enter order comments here.a','1274260123',1),(162,1,'','Enter order comments here.a','1274260124',1),(163,1,'','Enter order comments here.a','1274260125',1),(164,1,'','Enter order comments here.','1274260150',1),(165,1,'','Enter order comments here.','1274260151',1),(166,1,'','Enter order comments here.','1274260152',1),(167,1,'','','1276065647',1),(168,1,'','','1276080480',1),(169,1,'','','1276080758',1),(170,1,'','','1276080906',1),(171,1,'','','1276080946',1),(172,1,'','','1276081008',1),(173,1,'','','1276089195',1),(174,1,'','','1276094343',1),(175,1,'','test','1276094394',1),(176,1,'','','1276094427',1),(177,1,'','','1276094468',1),(178,1,'','','1276094491',1),(179,1,'','','1276094521',1),(180,1,'','test','1276095136',1),(181,1,'','','1276095251',1),(182,1,'','','1276095739',1),(183,1,'','','1276095860',1),(184,1,'','','1276095916',1),(185,1,'','','1276097145',1),(186,1,'','','1276097259',1),(187,1,'','','1276097519',1),(188,1,'','','1276098126',1),(189,1,'','','1276098531',1),(190,1,'','','1276098578',1),(191,1,'','','1276098596',1),(192,1,'','','1276099472',1),(193,1,'','','1276099491',1),(194,1,'','','1276099522',1),(195,1,'','','1276099562',1),(196,1,'','','1276099632',1),(197,1,'','','1276099681',1),(198,1,'','','1276099759',1),(199,1,'','','1276099941',1),(200,1,'','','1276099975',1),(201,1,'','','1276099979',1),(202,1,'','','1276100036',1),(203,1,'','','1276100053',1),(204,1,'','','1276100058',1),(205,1,'','','1276100090',1),(206,1,'','','1276100111',1),(207,1,'','','1276242977',1),(208,1,'','','1276246325',1),(209,1,'','','1276246473',1),(210,1,'','','1276247512',1),(211,1,'','','1276247576',1),(212,1,'','','1276248169',1),(213,2,'','testte et s','1276252253',1),(214,2,'harshad.narvekar@gmail.com','comments','1276253915',1),(215,2,'harshad.narvekar@gmail.com','comments','1276255049',1),(216,4,'','','1276256010',1),(217,4,'','','1276256071',1),(218,5,'harshad.narvekar@gmail.com','test','1276256113',1),(219,5,'','','1276256452',1),(220,5,'','','1276256925',1),(221,5,'','','1276257435',1),(222,6,'harshad.narvekar@gmail.com','tet','1276258446',1),(223,7,'','','1276258670',1),(224,8,'harshad.narvekar@gmail.com','tes','1276258756',1),(225,9,'','','1276259664',1),(226,10,'','','1276259840',1),(227,11,'harshad.narvekar@gmail.com','test','1276260104',1),(228,10,'','','1276260170',1),(229,10,'','','1276260341',1),(230,10,'','','1276260526',1),(231,10,'','','1276260568',1),(232,12,'','','1276264737',1),(233,1,'','','1276265544',1),(234,1,'','','1276265573',1),(235,1,'','','1276265609',1),(236,1,'','','1276265714',1),(237,1,'','','1276266133',1),(238,9,'','','1276267795',1),(239,1,'','','1276267823',1),(240,1,'','','1276268399',1),(241,13,'harshad.narvekar@gmail.com','','1276268556',1),(242,14,'','','1276268765',1),(243,15,'','','1276268868',1),(244,16,'','','1276269119',1),(245,17,'','','1276269852',1),(246,18,'','','1276269994',1),(247,19,'','','1276270055',1),(248,20,'','','1276270147',1),(249,21,'','','1276270383',1),(250,22,'','','1276270733',1),(251,23,'','','1276270812',1),(252,24,'','','1276271037',1),(253,25,'','','1276271039',1),(254,25,'','','1276271149',1),(255,25,'','','1276274715',1),(256,26,'','','1276522282',1),(257,26,'','','1276522502',1),(258,26,'','','1276522685',1),(259,26,'','','1276522707',1),(260,26,'','','1276522884',1),(261,26,'','','1276522906',1),(262,26,'','','1276522915',1),(263,27,'','','1276522985',1),(264,28,'','','1276523038',1),(265,29,'','','1276523268',1),(266,30,'','','1276523353',1),(267,31,'','','1276523825',1),(268,32,'','','1276523978',1),(269,33,'','','1276524040',1),(270,34,'','','1276524132',1),(271,35,'','','1276524168',1),(272,36,'','','1276524306',1),(273,37,'','','1276524420',1),(274,37,'','','1276524438',1),(275,37,'','','1276524559',1),(276,38,'','','1276582157',1),(277,38,'','','1276582173',1),(278,38,'','','1276582223',1),(279,38,'','','1276582233',1),(280,39,'','','1276586154',1),(281,39,'','','1276586171',1),(282,39,'','','1276586193',1),(283,1,'','','1276592324',1),(284,40,'','','1276876364',1),(285,41,'','','1276876467',1),(286,42,'','','1276876900',1),(287,42,'','','1276882672',1),(288,42,'','','1276883172',1),(289,42,'','','1276883253',1),(290,42,'','','1276883345',1),(291,42,'','','1276883473',1),(292,42,'','','1276884595',1),(293,42,'','','1276884810',1),(294,42,'','','1276884926',1),(295,42,'','','1276884991',1),(296,42,'','','1276948836',1),(297,42,'','','1276948907',1),(298,42,'','','1276949354',1),(299,42,'','','1276949419',1),(300,42,'','','1276949450',1),(301,42,'','','1276949523',1),(302,1,'','','1276949635',1),(303,1,'','','1276949733',1),(304,1,'','','1276949860',1),(305,1,'','','1276949890',1),(306,1,'','','1276949918',1),(307,1,'','','1276950162',1),(308,1,'','','1276950232',1),(309,1,'','','1276951188',1),(310,38,'','','1276951261',1),(311,38,'','','1276951512',1),(312,42,'','','1276951552',1),(313,42,'','','1276952327',1),(314,42,'','','1276952371',1),(315,42,'','','1276952460',1),(316,42,'','','1276952499',1),(317,42,'','','1276952536',1),(318,42,'','','1276952642',1),(319,42,'','','1276952661',1),(320,42,'','','1276952696',1),(321,38,'','','1276952724',1),(322,38,'','','1276952739',1),(323,42,'','','1276952941',1),(324,42,'','','1276953033',1),(325,41,'','','1276953062',1),(326,41,'','','1276953090',1),(327,43,'','','1276955065',1),(328,43,'','','1276955096',1),(329,39,'','','1277202657',1),(330,39,'','','1277202700',1),(331,39,'','','1277202736',1),(332,37,'','','1277230246',1),(333,37,'','','1277230268',1),(334,37,'','','1277230434',1),(335,37,'','','1277230461',1),(336,44,'','','1277233812',1),(337,37,'','','1277971372',2),(338,37,'','','1277971551',2),(339,37,'','','1277972822',2),(340,37,'','','1277972835',2),(341,45,'','','1277976955',2),(342,46,'','','1277982374',2),(343,37,'','','1277982948',2),(344,46,'','','1277982993',2),(345,46,'','','1277983169',2),(346,47,'','','1277986274',2),(347,48,'','','1277986481',2),(348,49,'','','1277986542',2),(349,37,'','','1277986781',1),(350,49,'','','1277986828',1),(351,50,'','Test','1280226928',1),(352,1,'','','1280409064',1),(353,1,'','','1280409313',1),(354,1,'','','1280409341',1),(355,1,'','','1280409391',1),(356,1,'','','1280409421',1),(357,1,'','','1280409444',1),(358,1,'','','1280409660',1),(359,1,'','','1280409674',1),(360,1,'','','1280409791',1),(361,1,'','','1280409979',1),(362,1,'','','1280410056',1),(363,1,'','','1280431685',1),(364,1,'','','1280431777',1),(365,1,'','','1280432055',1),(366,1,'','','1280432132',1),(367,1,'','','1280432230',1),(368,1,'','','1280432275',1),(369,1,'','','1280432281',1),(370,1,'','','1280432319',1),(371,1,'','','1280432387',1),(372,1,'','','1280432443',1),(373,1,'','','1280432547',1),(374,1,'','','1280432617',1),(375,1,'','','1280432786',1),(376,1,'','','1280432843',1),(377,1,'','','1280432933',1),(378,1,'','','1280433019',1),(379,1,'','','1280433337',1),(380,1,'','','1280433876',1),(381,1,'','','1280433928',1),(382,1,'','','1280434031',1),(383,1,'','','1280434188',1),(384,1,'','','1280434404',1),(385,1,'','','1280434440',1),(386,1,'','','1280434526',1),(387,1,'','','1280434663',1),(388,1,'','','1280434750',1),(389,1,'','','1280435147',1),(390,1,'','','1280435185',1),(391,1,'','','1280435328',1),(392,1,'','','1280435417',1),(393,1,'','','1280435428',1),(394,1,'','','1280435541',1),(395,1,'','','1280435570',1),(396,1,'','','1280474268',1),(397,1,'','','1280475486',1),(398,1,'','','1280476028',1),(399,1,'','','1280476224',1),(400,1,'','','1280476297',1),(401,1,'','','1280476354',1),(402,1,'','','1280476504',1),(403,1,'','','1280476561',1),(404,1,'','','1280478804',1),(405,1,'','','1280480525',1),(406,1,'','','1280480564',1),(407,1,'','','1280480564',1),(408,1,'','','1280480605',1),(409,1,'','','1280480680',1),(410,1,'','','1280480709',1),(411,1,'','','1280480745',1),(412,1,'','','1280480774',1),(413,1,'','','1280480870',1),(414,1,'','','1280481107',1),(415,1,'','','1280481126',1),(416,1,'','','1280481182',1),(417,1,'','','1280481317',1),(418,1,'','','1280481364',1),(419,1,'','','1280481450',1),(420,1,'','','1280481510',1),(421,1,'','','1280481547',1),(422,1,'','','1280481567',1),(423,1,'','','1280481622',1),(424,1,'','','1280481646',1),(425,1,'','','1280481663',1),(426,1,'','','1280481750',1),(427,1,'','','1280481770',1),(428,1,'','','1280481856',1),(429,1,'','','1280481872',1),(430,1,'','','1280481886',1),(431,1,'','','1280481909',1),(432,1,'','','1280491061',1),(433,1,'','','1280491113',1),(434,1,'','','1280491130',1),(435,1,'','','1280491457',1),(436,1,'','','1280491588',1),(437,1,'','','1280491610',1),(438,20,'','','1280492565',1),(439,20,'','','1280493309',1),(440,20,'','','1280493447',1),(441,50,'','','1280733184',1),(442,50,'','','1280733255',1),(443,50,'','','1280736699',1),(444,6,'','','1280736866',1),(445,51,'','','1281939381',1),(446,52,'','','1281939451',1),(447,53,'','','1281939677',1),(448,54,'','','1281939753',1),(449,55,'','','1281940807',1),(450,56,'','','1281942053',1),(451,57,'','','1281942136',1),(452,58,'','','1281942995',1),(453,59,'','','1281943132',1),(454,60,'','','1281943587',1),(455,60,'','','1281943656',1),(456,61,'','','1281944077',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=265 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,'',1,'1263502864','1263502864'),(5,1,'',2,'1263502864','1263502864'),(6,1,'',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,'1533.76',1,'1263963939','1263963939'),(38,37,'1993.89',2,'1263963939','1263963939'),(39,37,'1256.15',4,'1263963939','1263963939'),(40,38,'617.12',1,'1263964517','1263964517'),(41,38,'802.26',2,'1263964517','1263964517'),(42,38,'505.42',4,'1263964517','1263964517'),(43,39,'133.32',1,'1263965600','1263965600'),(44,39,'173.32',2,'1263965600','1263965600'),(45,39,'109.19',4,'1263965600','1263965600'),(46,42,'538.56',1,'1263990258','1263990258'),(47,42,'700.13',2,'1263990258','1263990258'),(48,42,'441.08',4,'1263990258','1263990258'),(49,43,'222.2',1,'1263990837','1263990837'),(50,43,'288.86',2,'1263990837','1263990837'),(51,43,'181.98',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,'355.52',1,'1264421348','1264421348'),(98,41,'462.18',2,'1264421348','1264421348'),(99,41,'291.17',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'),(151,24,'84.36',1,'1276271025','1276271025'),(152,24,'109.67',2,'1276271027','1276271027'),(153,24,'69.09',4,'1276271031','1276271031'),(154,25,'337.44',1,'1276271039','1276271039'),(155,25,'438.67',2,'1276271039','1276271039'),(156,25,'276.36',4,'1276271039','1276271039'),(157,26,'204.48',1,'1276522281','1276522281'),(158,26,'265.82',2,'1276522281','1276522281'),(159,26,'167.47',4,'1276522281','1276522281'),(160,27,'673.2',1,'1276522985','1276522985'),(161,27,'875.16',2,'1276522985','1276522985'),(162,27,'551.35',4,'1276522985','1276522985'),(163,28,'673.2',1,'1276523038','1276523038'),(164,28,'875.16',2,'1276523038','1276523038'),(165,28,'551.35',4,'1276523038','1276523038'),(166,29,'110',1,'1276523268','1276523268'),(167,29,'143',2,'1276523268','1276523268'),(168,29,'90.09',4,'1276523268','1276523268'),(169,30,'114.4',1,'1276523353','1276523353'),(170,30,'148.72',2,'1276523353','1276523353'),(171,30,'93.69',4,'1276523353','1276523353'),(172,31,'162.8',1,'1276523825','1276523825'),(173,31,'211.64',2,'1276523825','1276523825'),(174,31,'133.33',4,'1276523825','1276523825'),(175,32,'98.8',1,'1276523978','1276523978'),(176,32,'128.44',2,'1276523978','1276523978'),(177,32,'80.92',4,'1276523978','1276523978'),(178,33,'98.8',1,'1276524038','1276524038'),(179,33,'128.44',2,'1276524038','1276524038'),(180,33,'80.92',4,'1276524038','1276524038'),(181,34,'98.8',1,'1276524132','1276524132'),(182,34,'128.44',2,'1276524132','1276524132'),(183,34,'80.92',4,'1276524132','1276524132'),(184,35,'130.64',1,'1276524168','1276524168'),(185,35,'169.83',2,'1276524168','1276524168'),(186,35,'106.99',4,'1276524168','1276524168'),(187,36,'47.52',1,'1276524306','1276524306'),(188,36,'61.78',2,'1276524306','1276524306'),(189,36,'38.92',4,'1276524306','1276524306'),(190,37,'1533.76',1,'1276524420','1276524420'),(191,37,'1993.89',2,'1276524420','1276524420'),(192,37,'1256.15',4,'1276524420','1276524420'),(193,38,'617.12',1,'1276582157','1276582157'),(194,38,'802.26',2,'1276582157','1276582157'),(195,38,'505.42',4,'1276582157','1276582157'),(196,39,'133.32',1,'1276586153','1276586153'),(197,39,'173.32',2,'1276586153','1276586153'),(198,39,'109.19',4,'1276586153','1276586153'),(199,40,'120',1,'1276876364','1276876364'),(200,40,'156',2,'1276876364','1276876364'),(201,40,'98.28',4,'1276876364','1276876364'),(202,41,'355.52',1,'1276876467','1276876467'),(203,41,'462.18',2,'1276876467','1276876467'),(204,41,'291.17',4,'1276876467','1276876467'),(205,42,'538.56',1,'1276876900','1276876900'),(206,42,'700.13',2,'1276876900','1276876900'),(207,42,'441.08',4,'1276876900','1276876900'),(208,43,'222.2',1,'1276955065','1276955065'),(209,43,'288.86',2,'1276955065','1276955065'),(210,43,'181.98',4,'1276955065','1276955065'),(211,44,'98.8',1,'1277233812','1277233812'),(212,44,'128.44',2,'1277233812','1277233812'),(213,44,'80.92',4,'1277233812','1277233812'),(215,45,'',2,'1277976955','1277976955'),(214,45,'',1,'1277976955','1277976955'),(216,45,'',4,'1277976955','1277976955'),(217,46,'396',1,'1277982372','1277982372'),(218,46,'514.8',2,'1277982372','1277982372'),(219,46,'324.32',4,'1277982373','1277982373'),(220,47,'NaN',1,'1277986270','1277986270'),(221,47,'NaN',2,'1277986271','1277986271'),(222,47,'NaN',4,'1277986272','1277986272'),(223,48,'80',1,'1277986481','1277986481'),(224,48,'104',2,'1277986481','1277986481'),(225,48,'65.52',4,'1277986481','1277986481'),(226,49,'292.16',1,'1277986542','1277986542'),(227,49,'379.81',2,'1277986542','1277986542'),(228,49,'239.28',4,'1277986542','1277986542'),(229,50,'218.56',1,'1280226928','1280226928'),(230,50,'284.13',2,'1280226928','1280226928'),(231,50,'179',4,'1280226928','1280226928'),(232,51,'193.6',1,'1281939381','1281939381'),(233,51,'251.68',2,'1281939381','1281939381'),(234,51,'158.56',4,'1281939381','1281939381'),(235,52,'NaN',1,'1281939451','1281939451'),(236,52,'NaN',2,'1281939451','1281939451'),(237,52,'NaN',4,'1281939451','1281939451'),(238,53,'NaN',1,'1281939677','1281939677'),(239,53,'NaN',2,'1281939677','1281939677'),(240,53,'NaN',4,'1281939677','1281939677'),(241,54,'NaN',1,'1281939753','1281939753'),(242,54,'NaN',2,'1281939753','1281939753'),(243,54,'NaN',4,'1281939753','1281939753'),(244,55,'193.6',1,'1281940807','1281940807'),(245,55,'251.68',2,'1281940807','1281940807'),(246,55,'158.56',4,'1281940807','1281940807'),(247,56,'NaN',1,'1281942053','1281942053'),(248,56,'NaN',2,'1281942053','1281942053'),(249,56,'NaN',4,'1281942053','1281942053'),(250,57,'NaN',1,'1281942136','1281942136'),(251,57,'NaN',2,'1281942136','1281942136'),(252,57,'NaN',4,'1281942136','1281942136'),(253,58,'355.52',1,'1281942995','1281942995'),(254,58,'462.18',2,'1281942995','1281942995'),(255,58,'291.17',4,'1281942995','1281942995'),(256,59,'355.52',1,'1281943132','1281943132'),(257,59,'462.18',2,'1281943132','1281943132'),(258,59,'291.17',4,'1281943132','1281943132'),(259,60,'443.4',1,'1281943587','1281943587'),(260,60,'576.42',2,'1281943587','1281943587'),(261,60,'363.14',4,'1281943587','1281943587'),(262,61,'355.52',1,'1281944077','1281944077'),(263,61,'462.18',2,'1281944077','1281944077'),(264,61,'291.17',4,'1281944077','1281944077');

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

CREATE TABLE `bstock_orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `so_number` varchar(255) NOT NULL,
  `contact_person` varchar(500) NOT NULL,
  `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.',
  `carrier_id` int(10) NOT NULL,
  `assigned_to_id` int(10) NOT NULL,
  `vendor_id` int(10) NOT NULL,
  `broker_id` int(10) NOT NULL,
  `tracking_no` int(10) NOT NULL,
  `payment_terms_id` int(10) NOT NULL,
  `type_of_tax` enum('individual','group') NOT NULL,
  `brokerage` decimal(10,2) NOT NULL,
  `packaging` decimal(10,0) NOT NULL,
  `octroi` decimal(10,0) NOT NULL,
  `exciseduty` decimal(10,0) NOT NULL,
  `subtotal` varchar(10) NOT NULL COMMENT 'Total amount of the order.',
  `net_total` decimal(10,2) NOT NULL,
  `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.',
  `dollar_rate` decimal(10,2) NOT NULL,
  `so_comments` text,
  `transaction_type_id` int(10) NOT NULL DEFAULT '1',
  `terms_condition` varchar(1000) NOT NULL,
  `due_date` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `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,
  `type` enum('so') NOT NULL,
  `exporter_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=62 DEFAULT CHARSET=latin1 COMMENT='Store order related information. Order items are stored in s';

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

INSERT INTO `bstock_orders` VALUES (1,'JHG001','','','',12,0,12,0,0,0,0,'individual',0.00,0,0,0,' ',0.00,0,0.00,'',1,'test test ',0,'off','1269635676','1280410056',0,'so',1),(2,'so34222','','Vishal',' Kothari',12,1,1,1,1,342423,3,'individual',1.50,0,0,0,'3000',4000.00,1,46.60,'Your offer is accepted and order is placed',1,'',0,'off','1274699151','1274699151',1,'so',1),(3,'so23423433','','vishal 2 ','kothari2',12,2,12,3,1,3423423,4,'individual',1.25,0,0,0,'2628',2955.87,2,45.00,'comments',1,'terms and conditions comments',1275909446,'off','1276255046','1276255046',0,'so',1),(4,'so4','','','',12,2,12,2,2,3423423,3,'individual',1.25,0,0,0,'2628 ',2955.87,1,45.00,'',1,'test test ',0,'off','1276256010','1276256071',0,'so',1),(5,'so5','','vishal 2 ','kothari2',12,1,12,3,1,3423423,2,'individual',1.25,0,0,0,'1188  ',1336.21,1,45.00,'',1,'test test ',0,'off','1276256113','1276257433',0,'so',1),(6,'so7','baba n','vishal 2 ','kothari2',12,1,12,2,2,3423423,3,'individual',1.25,0,0,0,'6490',7299.69,2,45.00,'tet',1,'terms and conditions comments',1281442442,'off','1276258442','1276258442',0,'so',1),(7,'so8','baba n','vishal 2 ','kothari2',12,2,12,1,1,0,1,'individual',1.25,0,0,0,'',0.00,1,45.00,'',1,'terms and conditions comments',0,'off','1276258670','1276258670',0,'so',1),(8,'SO9','baba n','vishal 2 ','kothari2',12,1,12,1,1,3423423,3,'individual',1.20,0,0,0,'2588',2910.88,7,45.00,'tes',1,'terms and conditions comments',1281442756,'off','1276258756','1276258756',0,'so',1),(10,'so12','','vishal 2 ','kothari2',12,1,12,1,1,0,3,'individual',0.00,0,0,0,'5736    ',6451.62,1,45.00,'',1,'test test ',0,'off','1276259840','1276260568',0,'so',1),(11,'s012','baba n','vishal 2 ','kothari2',12,1,12,1,1,3423423,2,'individual',1.25,0,0,0,'5736',6451.62,2,45.00,'test',1,'terms and conditions comments',1278852101,'off','1276260101','1276260101',0,'so',1),(12,'s013','baba n','vishal 2 ','kothari2',12,1,12,2,1,0,2,'individual',1.40,0,0,0,'2470',2778.16,2,45.00,'',1,'terms and conditions comments',1278856733,'off','1276264733','1276264733',0,'so',1),(13,'so13','baba n','vishal 2 ','kothari2',12,1,12,2,2,0,2,'individual',1.25,0,0,0,'3366',3785.94,2,45.00,'',1,'terms and conditions comments',1278860556,'off','1276268556','1276268556',0,'so',1),(14,'so14','','','',0,1,11,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,2,45.00,'',1,'terms and conditions comments',1278860765,'off','1276268765','1276268765',0,'so',1),(15,'so15','','','',0,1,11,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,2,45.00,'',1,'terms and conditions comments',1278860868,'off','1276268868','1276268868',0,'so',1),(16,'so1','baba n','vishal 2 ','kothari2',12,1,12,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,7,45.00,'',1,'terms and conditions comments',1278861119,'off','1276269119','1276269119',0,'so',1),(17,'so23423433','babaa n','','',12,1,11,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,7,45.00,'',1,'terms and conditions comments',1278861851,'off','1276269851','1276269851',0,'so',1),(18,'so23423433','babaa n','','',16,1,11,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,7,45.00,'',1,'terms and conditions comments',1278861994,'off','1276269994','1276269994',0,'so',1),(19,'so23423433','babaa n','','',0,1,11,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,2,45.00,'',1,'terms and conditions comments',1278862055,'off','1276270055','1276270055',0,'so',1),(20,'so23423433','babaa n','','',0,1,11,1,1,0,2,'individual',0.00,0,0,0,'3366',3785.94,2,45.00,'',1,'terms and conditions comments',1278862147,'off','1276270147','1276270147',0,'so',1),(21,'so18','','','',0,1,11,1,1,0,2,'individual',0.00,0,0,0,'2470',2778.16,2,45.00,'',1,'terms and conditions comments',1278862381,'off','1276270381','1276270381',0,'so',1),(22,'s029','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2109',2372.12,1,45.00,'',1,'terms and conditions comments',0,'off','1276270726','1276270726',0,'so',1),(23,'s029','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2109',2372.12,1,45.00,'',1,'terms and conditions comments',0,'off','1276270811','1276270811',0,'so',1),(24,'s029','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2109',2372.12,1,45.00,'',1,'terms and conditions comments',0,'off','1276271009','1276271009',0,'so',1),(25,'s029','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'8436 ',9488.48,2,45.00,'',1,'test test ',1276274715,'off','1276271039','1276274715',0,'so',1),(26,'8888','Sw N','','',12,1,12,1,1,12345,3,'individual',2.50,0,0,0,'5112 ',5749.77,1,50.00,'',1,'test test ',0,'off','1276522281','1276522915',0,'so',1),(27,'','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'16830',18929.71,1,45.00,'',1,'terms and conditions comments',0,'off','1276522985','1276522985',0,'so',1),(28,'','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'16830',18929.71,1,45.00,'',1,'terms and conditions comments',0,'off','1276523038','1276523038',0,'so',1),(29,'','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2750',3093.09,1,45.00,'',1,'terms and conditions comments',0,'off','1276523268','1276523268',0,'so',1),(30,'','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2860',3216.81,1,45.00,'',1,'terms and conditions comments',0,'off','1276523353','1276523353',0,'so',1),(31,'','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'4070',4577.77,1,45.00,'',1,'terms and conditions comments',0,'off','1276523825','1276523825',0,'so',1),(32,'8888','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2470',2778.16,1,45.00,'',1,'terms and conditions comments',0,'off','1276523978','1276523978',0,'so',1),(33,'8888','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2470',2778.16,1,45.00,'',1,'terms and conditions comments',0,'off','1276524038','1276524038',0,'so',1),(34,'8888','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'2470',2778.16,1,45.00,'',1,'terms and conditions comments',0,'off','1276524132','1276524132',0,'so',1),(35,'','','','',0,1,11,1,1,0,1,'individual',0.00,0,0,0,'3266',3673.47,1,45.00,'',1,'terms and conditions comments',0,'off','1276524168','1276524168',0,'so',1),(36,'','','','',12,1,11,1,1,0,1,'individual',0.00,0,0,0,'1188',1336.21,1,45.00,'',1,'terms and conditions comments',0,'off','1276524306','1276524306',0,'so',1),(37,'8888','Adi N','','',41,5,41,1,1,765,2,'individual',2.00,0,0,0,'38344 ',43127.80,1,50.00,'',1,'test test ',0,'on','1276524420','1277986781',0,'so',1),(38,'so434','baba ba','','',12,1,12,1,0,2342423,2,'individual',0.00,0,0,0,'15428 ',17352.80,1,45.00,'',1,'test test ',0,'on','1276582157','1276952739',0,'so',1),(39,'so4323423','baba n','','',12,1,12,1,0,2147483647,1,'individual',0.00,0,0,0,'3333 ',3748.83,1,50.00,'',1,'test test ',0,'on','1276586151','1277202736',0,'so',1),(40,'so3030','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'3000',3374.28,1,45.00,'',1,'terms and conditions comments',0,'on','1276876364','1276876364',0,'so',1),(41,'so3031','','','',0,1,11,1,0,0,2,'individual',0.00,0,0,0,'8888  ',9996.87,2,45.00,'',1,'test test ',1279545090,'on','1276876467','1276953090',0,'so',1),(42,'spsp34','','','',0,1,11,1,0,45534543,3,'individual',0.00,0,0,0,'13464 ',15143.77,2,45.00,'',1,'test test ',1282137033,'on','1276876900','1276953033',0,'so',1),(43,'','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'5555 ',6248.04,2,45.00,'',1,'test test ',1276955096,'on','1276955065','1276955096',0,'so',1),(44,'so42342','adi n','vishal 2 ','kothari2',12,1,12,2,1,34423423,2,'individual',2.00,0,0,0,'2470',2778.16,1,45.00,'',1,'terms and conditions comments',0,'on','1277233812','1277233812',0,'so',1),(45,'','','','',0,0,11,0,0,0,1,'individual',0.00,0,0,0,'',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1277976950','1277976950',0,'so',1),(46,'','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'9900  ',11140.00,1,45.00,'',1,'test test ',0,'on','1277982372','1277983168',0,'so',1),(47,'po585858585','baba n','vishal 2 ','kothari2',12,1,12,1,2,34243,3,'individual',2.00,0,0,0,'NaN',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1277986266','1277986266',0,'so',1),(48,'po454545','baba n','','',0,1,11,1,1,32423,2,'individual',2.00,0,0,0,'2000',2250.00,1,45.00,'',1,'terms and conditions comments',0,'on','1277986481','1277986481',0,'so',1),(49,'po32323232','baba n','','',12,1,12,2,0,23424,3,'individual',0.00,0,0,0,'7304 ',8215.25,1,45.00,'',1,'test test ',0,'on','1277986542','1277986828',0,'so',1),(50,'768954','Saumil K','vishal 2 ','kothari2',12,1,12,1,1,111,2,'individual',0.00,0,0,0,'5464',6145.69,2,45.00,'Test',1,'terms and conditions comments',1282818928,'on','1280226928','1280226928',0,'so',0),(51,'1234567','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'4840',5443.84,1,45.00,'',1,'terms and conditions comments',0,'on','1281939381','1281939381',0,'so',0),(52,'88888','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'NaN',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1281939451','1281939451',0,'so',0),(53,'99999','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'NaN',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1281939677','1281939677',0,'so',0),(54,'99999','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'NaN',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1281939753','1281939753',0,'so',0),(55,'','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'4840',5443.84,1,45.00,'',1,'terms and conditions comments',0,'on','1281940807','1281940807',0,'so',0),(56,'2222','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'8888',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1281942053','1281942053',0,'so',0),(57,'3333','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'13332',0.00,1,45.00,'',1,'terms and conditions comments',0,'on','1281942136','1281942136',0,'so',0),(58,'44444','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'8888',9996.87,1,45.00,'',1,'terms and conditions comments',0,'on','1281942995','1281942995',0,'so',0),(59,'','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'8888',9996.87,1,45.00,'',1,'terms and conditions comments',0,'on','1281943132','1281943132',0,'so',0),(60,'66666','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'11085 ',12467.96,1,45.00,'',1,'test test ',0,'on','1281943587','1281943656',0,'so',0),(61,'777','','','',0,1,11,1,0,0,1,'individual',0.00,0,0,0,'8888',9996.87,1,45.00,'',1,'terms and conditions comments',0,'on','1281944077','1281944077',0,'so',0);

--
-- 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 AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COMMENT='Store the shipping address of the customer for an order.';

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

INSERT INTO `bstock_ordershipping` VALUES (1,1,168,'1269635676','1269635676'),(2,2,169,'1274699151','1274699151'),(3,8,169,'','');

--
-- 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 AUTO_INCREMENT=40 DEFAULT CHARSET=latin1 COMMENT='This table is used to store the shipping details of every or';

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

INSERT INTO `bstock_ordershippinginfo` VALUES (1,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260059','1274260059','NA','NA'),(2,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260063','1274260063','NA','NA'),(3,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260063','1274260063','NA','NA'),(4,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260064','1274260064','NA','NA'),(5,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260065','1274260065','NA','NA'),(6,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260066','1274260066','NA','NA'),(7,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260083','1274260083','NA','NA'),(8,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260085','1274260085','NA','NA'),(9,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260086','1274260086','NA','NA'),(10,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260087','1274260087','NA','NA'),(11,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260087','1274260087','NA','NA'),(12,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260088','1274260088','NA','NA'),(13,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260089','1274260089','NA','NA'),(14,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260090','1274260090','NA','NA'),(15,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260091','1274260091','NA','NA'),(16,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260093','1274260093','NA','NA'),(17,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260094','1274260094','NA','NA'),(18,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260095','1274260095','NA','NA'),(19,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260097','1274260097','NA','NA'),(20,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260098','1274260098','NA','NA'),(21,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260101','1274260101','NA','NA'),(22,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260106','1274260106','NA','NA'),(23,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260108','1274260108','NA','NA'),(24,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260109','1274260109','NA','NA'),(25,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260111','1274260111','NA','NA'),(26,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260111','1274260111','NA','NA'),(27,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260112','1274260112','NA','NA'),(28,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260113','1274260113','NA','NA'),(29,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260114','1274260114','NA','NA'),(30,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260115','1274260115','NA','NA'),(31,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260117','1274260117','NA','NA'),(32,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260119','1274260119','NA','NA'),(33,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260120','1274260120','NA','NA'),(34,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260122','1274260122','NA','NA'),(35,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260123','1274260123','NA','NA'),(36,1,'','','DHL','','NA','NA','NA','Mumbai',1,'1274260124','1274260124','NA','NA'),(37,1,'42343','1272445749','DHL','','NA','NA','NA','Mumbai',1,'1274260149','1274260149','NA','NA'),(38,1,'42343','1272445750','DHL','','NA','NA','NA','Mumbai',1,'1274260150','1274260150','NA','NA'),(39,1,'42343','1272445751','DHL','','NA','NA','NA','Mumbai',1,'1274260151','1274260151','NA','NA');

--
-- 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=620 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),(288,1,1,'1269635677','1269635677',0),(289,1,1,'1269637506','1269637506',1),(290,1,1,'1274260061','1274260061',1),(291,1,1,'1274260063','1274260063',1),(292,1,1,'1274260064','1274260064',1),(293,1,1,'1274260065','1274260065',1),(294,1,1,'1274260066','1274260066',1),(295,1,1,'1274260067','1274260067',1),(296,1,1,'1274260085','1274260085',1),(297,1,1,'1274260086','1274260086',1),(298,1,1,'1274260086','1274260086',1),(299,1,1,'1274260087','1274260087',1),(300,1,1,'1274260088','1274260088',1),(301,1,1,'1274260088','1274260088',1),(302,1,1,'1274260090','1274260090',1),(303,1,1,'1274260091','1274260091',1),(304,1,1,'1274260093','1274260093',1),(305,1,1,'1274260094','1274260094',1),(306,1,1,'1274260095','1274260095',1),(307,1,1,'1274260097','1274260097',1),(308,1,1,'1274260098','1274260098',1),(309,1,1,'1274260100','1274260100',1),(310,1,1,'1274260104','1274260104',1),(311,1,1,'1274260108','1274260108',1),(312,1,1,'1274260109','1274260109',1),(313,1,1,'1274260111','1274260111',1),(314,1,1,'1274260111','1274260111',1),(315,1,1,'1274260112','1274260112',1),(316,1,1,'1274260113','1274260113',1),(317,1,1,'1274260114','1274260114',1),(318,1,1,'1274260115','1274260115',1),(319,1,1,'1274260116','1274260116',1),(320,1,1,'1274260119','1274260119',1),(321,1,1,'1274260120','1274260120',1),(322,1,1,'1274260121','1274260121',1),(323,1,1,'1274260123','1274260123',1),(324,1,1,'1274260123','1274260123',1),(325,1,1,'1274260125','1274260125',1),(326,1,1,'1274260150','1274260150',1),(327,1,1,'1274260151','1274260151',1),(328,1,1,'1274260152','1274260152',1),(329,2,1,'1274699152','1274699152',0),(330,1,1,'1276065647','1276065647',1),(331,1,1,'1276080479','1276080479',1),(332,1,1,'1276080758','1276080758',1),(333,1,1,'1276080906','1276080906',1),(334,1,1,'1276080946','1276080946',1),(335,1,1,'1276081008','1276081008',1),(336,1,1,'1276089193','1276089193',1),(337,1,1,'1276094343','1276094343',1),(338,1,1,'1276094394','1276094394',1),(339,1,1,'1276094427','1276094427',1),(340,1,1,'1276094468','1276094468',1),(341,1,4,'1276094491','1276094491',1),(342,1,2,'1276094521','1276094521',1),(343,1,1,'1276095136','1276095136',1),(344,1,1,'1276095251','1276095251',1),(345,1,1,'1276095739','1276095739',1),(346,1,1,'1276095860','1276095860',1),(347,1,1,'1276095916','1276095916',1),(348,1,1,'1276097145','1276097145',1),(349,1,1,'1276097258','1276097258',1),(350,1,1,'1276097519','1276097519',1),(351,1,1,'1276098126','1276098126',1),(352,1,1,'1276098530','1276098530',1),(353,1,1,'1276098578','1276098578',1),(354,1,1,'1276098596','1276098596',1),(355,1,1,'1276099472','1276099472',1),(356,1,1,'1276099491','1276099491',1),(357,1,1,'1276099522','1276099522',1),(358,1,1,'1276099562','1276099562',1),(359,1,1,'1276099632','1276099632',1),(360,1,1,'1276099681','1276099681',1),(361,1,1,'1276099759','1276099759',1),(362,1,1,'1276099940','1276099940',1),(363,1,1,'1276099975','1276099975',1),(364,1,1,'1276099979','1276099979',1),(365,1,1,'1276100036','1276100036',1),(366,1,1,'1276100053','1276100053',1),(367,1,1,'1276100058','1276100058',1),(368,1,1,'1276100090','1276100090',1),(369,1,1,'1276100111','1276100111',1),(370,1,1,'1276242975','1276242975',1),(371,1,1,'1276246325','1276246325',1),(372,1,1,'1276246473','1276246473',1),(373,1,1,'1276247512','1276247512',1),(374,1,1,'1276247576','1276247576',1),(375,1,1,'1276248169','1276248169',1),(376,2,2,'1276252252','1276252252',1),(377,2,2,'1276253914','1276253914',1),(378,2,2,'1276255049','1276255049',1),(379,4,1,'1276256010','1276256010',1),(380,4,1,'1276256071','1276256071',1),(381,5,2,'1276256113','1276256113',1),(382,5,2,'1276256451','1276256451',1),(383,5,2,'1276256925','1276256925',1),(384,5,1,'1276257435','1276257435',1),(385,6,2,'1276258446','1276258446',1),(386,7,1,'1276258670','1276258670',1),(387,8,2,'1276258756','1276258756',1),(388,9,1,'1276259664','1276259664',1),(389,10,1,'1276259840','1276259840',1),(390,11,2,'1276260104','1276260104',1),(391,10,2,'1276260170','1276260170',1),(392,10,2,'1276260341','1276260341',1),(393,10,2,'1276260526','1276260526',1),(394,10,1,'1276260568','1276260568',1),(395,12,2,'1276264736','1276264736',1),(396,1,2,'1276265544','1276265544',1),(397,1,2,'1276265573','1276265573',1),(398,1,2,'1276265609','1276265609',1),(399,1,2,'1276265714','1276265714',1),(400,1,2,'1276266133','1276266133',1),(401,9,1,'1276267794','1276267794',1),(402,1,2,'1276267823','1276267823',1),(403,1,2,'1276268399','1276268399',1),(404,13,2,'1276268556','1276268556',1),(405,14,2,'1276268765','1276268765',1),(406,15,2,'1276268868','1276268868',1),(407,16,2,'1276269119','1276269119',1),(408,17,2,'1276269852','1276269852',1),(409,18,2,'1276269994','1276269994',1),(410,19,2,'1276270055','1276270055',1),(411,20,2,'1276270147','1276270147',1),(412,21,2,'1276270383','1276270383',1),(413,22,1,'1276270733','1276270733',1),(414,23,1,'1276270812','1276270812',1),(415,24,1,'1276271036','1276271036',1),(416,25,1,'1276271039','1276271039',1),(417,25,1,'1276271149','1276271149',1),(418,25,2,'1276274715','1276274715',1),(419,26,1,'1276522282','1276522282',1),(420,26,2,'1276522502','1276522502',1),(421,26,1,'1276522685','1276522685',1),(422,26,2,'1276522707','1276522707',1),(423,26,1,'1276522884','1276522884',1),(424,26,1,'1276522906','1276522906',1),(425,26,1,'1276522915','1276522915',1),(426,27,1,'1276522985','1276522985',1),(427,28,1,'1276523038','1276523038',1),(428,29,1,'1276523268','1276523268',1),(429,30,1,'1276523353','1276523353',1),(430,31,1,'1276523825','1276523825',1),(431,32,1,'1276523978','1276523978',1),(432,33,1,'1276524040','1276524040',1),(433,34,1,'1276524132','1276524132',1),(434,35,1,'1276524168','1276524168',1),(435,36,1,'1276524306','1276524306',1),(436,37,1,'1276524420','1276524420',1),(437,37,1,'1276524438','1276524438',1),(438,37,1,'1276524559','1276524559',1),(439,38,2,'1276582157','1276582157',1),(440,38,1,'1276582173','1276582173',1),(441,38,1,'1276582223','1276582223',1),(442,38,1,'1276582233','1276582233',1),(443,39,1,'1276586154','1276586154',1),(444,39,1,'1276586171','1276586171',1),(445,39,1,'1276586193','1276586193',1),(446,1,6,'1276592324','1276592324',1),(447,40,1,'1276876364','1276876364',1),(448,41,4,'1276876467','1276876467',1),(449,42,1,'1276876900','1276876900',1),(450,42,1,'1276882672','1276882672',1),(451,42,1,'1276883172','1276883172',1),(452,42,1,'1276883253','1276883253',1),(453,42,1,'1276883345','1276883345',1),(454,42,1,'1276883473','1276883473',1),(455,42,1,'1276884595','1276884595',1),(456,42,5,'1276884810','1276884810',1),(457,42,5,'1276884926','1276884926',1),(458,42,5,'1276884991','1276884991',1),(459,42,5,'1276948836','1276948836',1),(460,42,5,'1276948907','1276948907',1),(461,42,5,'1276949354','1276949354',1),(462,42,5,'1276949419','1276949419',1),(463,42,5,'1276949450','1276949450',1),(464,42,5,'1276949523','1276949523',1),(465,1,6,'1276949635','1276949635',1),(466,1,6,'1276949733','1276949733',1),(467,1,6,'1276949860','1276949860',1),(468,1,6,'1276949890','1276949890',1),(469,1,6,'1276949918','1276949918',1),(470,1,6,'1276950162','1276950162',1),(471,1,6,'1276950232','1276950232',1),(472,1,6,'1276951188','1276951188',1),(473,38,1,'1276951261','1276951261',1),(474,38,1,'1276951512','1276951512',1),(475,42,5,'1276951552','1276951552',1),(476,42,5,'1276952327','1276952327',1),(477,42,5,'1276952371','1276952371',1),(478,42,5,'1276952460','1276952460',1),(479,42,5,'1276952499','1276952499',1),(480,42,5,'1276952536','1276952536',1),(481,42,5,'1276952642','1276952642',1),(482,42,5,'1276952661','1276952661',1),(483,42,5,'1276952696','1276952696',1),(484,38,1,'1276952724','1276952724',1),(485,38,1,'1276952739','1276952739',1),(486,42,2,'1276952941','1276952941',1),(487,42,2,'1276953033','1276953033',1),(488,41,4,'1276953062','1276953062',1),(489,41,2,'1276953090','1276953090',1),(490,43,1,'1276955065','1276955065',1),(491,43,2,'1276955096','1276955096',1),(492,39,1,'1277202657','1277202657',1),(493,39,1,'1277202700','1277202700',1),(494,39,1,'1277202736','1277202736',1),(495,37,1,'1277230246','1277230246',1),(496,37,1,'1277230268','1277230268',1),(497,37,1,'1277230434','1277230434',1),(498,37,1,'1277230461','1277230461',1),(499,44,1,'1277233812','1277233812',1),(500,37,1,'1277971371','1277971371',2),(501,37,1,'1277971551','1277971551',2),(502,37,1,'1277972821','1277972821',2),(503,37,1,'1277972835','1277972835',2),(504,45,1,'1277976955','1277976955',2),(505,46,1,'1277982374','1277982374',2),(506,37,1,'1277982948','1277982948',2),(507,46,1,'1277982993','1277982993',2),(508,46,1,'1277983169','1277983169',2),(509,47,1,'1277986273','1277986273',2),(510,48,1,'1277986481','1277986481',2),(511,49,1,'1277986542','1277986542',2),(512,37,1,'1277986781','1277986781',1),(513,49,1,'1277986828','1277986828',1),(514,50,2,'1280226928','1280226928',1),(515,1,0,'1280409064','1280409064',1),(516,1,0,'1280409313','1280409313',1),(517,1,0,'1280409341','1280409341',1),(518,1,0,'1280409391','1280409391',1),(519,1,0,'1280409421','1280409421',1),(520,1,0,'1280409444','1280409444',1),(521,1,0,'1280409660','1280409660',1),(522,1,0,'1280409674','1280409674',1),(523,1,0,'1280409791','1280409791',1),(524,1,0,'1280409979','1280409979',1),(525,1,0,'1280410056','1280410056',1),(526,1,1,'1280431685','1280431685',1),(527,1,3,'1280431777','1280431777',1),(528,1,1,'1280432055','1280432055',1),(529,1,2,'1280432132','1280432132',1),(530,1,3,'1280432230','1280432230',1),(531,1,3,'1280432275','1280432275',1),(532,1,3,'1280432281','1280432281',1),(533,1,2,'1280432319','1280432319',1),(534,1,2,'1280432387','1280432387',1),(535,1,2,'1280432443','1280432443',1),(536,1,2,'1280432547','1280432547',1),(537,1,1,'1280432617','1280432617',1),(538,1,1,'1280432786','1280432786',1),(539,1,1,'1280432843','1280432843',1),(540,1,1,'1280432933','1280432933',1),(541,1,1,'1280433019','1280433019',1),(542,1,1,'1280433337','1280433337',1),(543,1,1,'1280433876','1280433876',1),(544,1,1,'1280433928','1280433928',1),(545,1,1,'1280434031','1280434031',1),(546,1,1,'1280434188','1280434188',1),(547,1,1,'1280434404','1280434404',1),(548,1,1,'1280434440','1280434440',1),(549,1,1,'1280434526','1280434526',1),(550,1,1,'1280434663','1280434663',1),(551,1,1,'1280434750','1280434750',1),(552,1,1,'1280435147','1280435147',1),(553,1,1,'1280435185','1280435185',1),(554,1,1,'1280435328','1280435328',1),(555,1,1,'1280435417','1280435417',1),(556,1,1,'1280435428','1280435428',1),(557,1,1,'1280435541','1280435541',1),(558,1,1,'1280435570','1280435570',1),(559,1,1,'1280474268','1280474268',1),(560,1,1,'1280475486','1280475486',1),(561,1,1,'1280476028','1280476028',1),(562,1,1,'1280476224','1280476224',1),(563,1,1,'1280476297','1280476297',1),(564,1,1,'1280476354','1280476354',1),(565,1,1,'1280476504','1280476504',1),(566,1,1,'1280476561','1280476561',1),(567,1,1,'1280478804','1280478804',1),(568,1,1,'1280480525','1280480525',1),(569,1,1,'1280480563','1280480563',1),(570,1,1,'1280480564','1280480564',1),(571,1,1,'1280480605','1280480605',1),(572,1,1,'1280480680','1280480680',1),(573,1,1,'1280480709','1280480709',1),(574,1,1,'1280480745','1280480745',1),(575,1,1,'1280480774','1280480774',1),(576,1,1,'1280480870','1280480870',1),(577,1,1,'1280481107','1280481107',1),(578,1,1,'1280481126','1280481126',1),(579,1,1,'1280481182','1280481182',1),(580,1,1,'1280481317','1280481317',1),(581,1,1,'1280481364','1280481364',1),(582,1,1,'1280481450','1280481450',1),(583,1,1,'1280481510','1280481510',1),(584,1,1,'1280481547','1280481547',1),(585,1,1,'1280481567','1280481567',1),(586,1,1,'1280481622','1280481622',1),(587,1,1,'1280481646','1280481646',1),(588,1,1,'1280481663','1280481663',1),(589,1,1,'1280481750','1280481750',1),(590,1,1,'1280481770','1280481770',1),(591,1,1,'1280481856','1280481856',1),(592,1,1,'1280481872','1280481872',1),(593,1,1,'1280481886','1280481886',1),(594,1,1,'1280481909','1280481909',1),(595,1,1,'1280491060','1280491060',1),(596,1,1,'1280491113','1280491113',1),(597,1,2,'1280491130','1280491130',1),(598,1,3,'1280491457','1280491457',1),(599,1,2,'1280491588','1280491588',1),(600,1,2,'1280491610','1280491610',1),(601,20,2,'1280492565','1280492565',1),(602,20,1,'1280493309','1280493309',1),(603,20,1,'1280493447','1280493447',1),(604,50,2,'1280733184','1280733184',1),(605,50,2,'1280733255','1280733255',1),(606,50,2,'1280736699','1280736699',1),(607,6,2,'1280736866','1280736866',1),(608,51,1,'1281939381','1281939381',1),(609,52,1,'1281939451','1281939451',1),(610,53,1,'1281939677','1281939677',1),(611,54,1,'1281939753','1281939753',1),(612,55,1,'1281940807','1281940807',1),(613,56,1,'1281942053','1281942053',1),(614,57,1,'1281942136','1281942136',1),(615,58,1,'1281942995','1281942995',1),(616,59,1,'1281943132','1281943132',1),(617,60,1,'1281943587','1281943587',1),(618,60,1,'1281943656','1281943656',1),(619,61,1,'1281944077','1281944077',1);

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

CREATE TABLE `bstock_orderstatustypes` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `status` 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,
  `is_featured` enum('off','on') NOT NULL COMMENT 'This will be field to mark if this is a feature category or not',
  `image_filename` varchar(50) NOT NULL COMMENT 'this field will save the image path',
  `filename_cover_image` varchar(50) NOT NULL,
  `is_default` enum('0','1') NOT NULL COMMENT 'this is created to get the default categorty when product is not selected',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=88 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_pl_categories` VALUES (1,11,'Engagement & Wedding','Engagement & Wedding ',87,'on','off','','Engagement & Wedding.jpeg','1','1274611761','1274611761'),(2,1,'Engagement','Engagement ',87,'on','off','','Enagement.jpeg','1','1274611842','1274611842'),(3,2,'Pave','Pave ',87,'on','off','','Pave.jpg','1','1274611888','1274611888'),(4,2,'Solitaire','Solitaire ',87,'on','off','','solitaire.jpg','0','1274611918','1274611918'),(5,2,'Sidestone','Sidestone ',87,'on','off','','sidestone.jpg','0','1274611945','1274611945'),(6,1,'Weddings','Weddings ',87,'on','off','','Weddings.png','0','1274611989','1275127369'),(7,6,'Men\'s Wedding Rings','Men\'s Wedding Rings ',87,'on','off','','Men\'s Wedding Rings.jpeg','0','1274612021','1274612021'),(8,6,'Plain Bands','Plain Bands ',87,'on','off','','Plain Bands.jpeg','1','1274612166','1274612166'),(9,6,'Diamond Wedding Rings','Diamond Wedding Rings ',87,'on','off','','Diamond Wedding Rings.jpeg','0','1274612319','1274612319'),(10,6,'Wedding Ring Sets','Wedding Ring Sets ',87,'on','off','','Wedding Ring Sets.jpeg','0','1274612485','1274612485'),(11,0,'parent','parent',87,'on','off','','','0','',''),(12,11,'Fine Jewelry','Fine Jewelry ',87,'on','off','','Fine Jewelry.jpeg','0','1274613691','1274613691'),(13,12,'Diamond Jewelry','Diamond Jewelry ',87,'on','off','','Diamond Jewelry.jpeg','1','1274613817','1274613817'),(14,13,'Studs','Studs ',87,'on','off','','diamond jewelry Studs.jpeg','0','1274613899','1274613899'),(15,13,'Rings','Rings ',87,'on','off','','diamond jewelary Rings.jpeg','1','1274613978','1274613978'),(16,12,'Gold Jewelry','Gold Jewelry ',87,'on','off','','Gold Jewelry.jpeg','0','1274614094','1274614094'),(17,16,'Studs','Studs ',87,'on','off','','gold jewelry Studs.jpeg','1','1274614164','1274614164'),(18,16,'Rings','Rings ',87,'on','off','','gold jewelry rings.jpeg','0','1274614251','1274614251'),(19,11,'Loose Diamonds','Loose Diamonds ',87,'on','off','','Loose Diamonds.jpeg','0','1274614844','1274614844'),(20,19,'Rough','Rough ',87,'on','off','','loose diamonds Rough.jpeg','0','1274614967','1274614967'),(21,19,'Polish','Polish ',87,'on','off','','loose diamonds Polish.jpeg','1','1274615114','1274615114'),(22,13,'Bracelets','Bracelets ',87,'on','off','','diamond jewelry Bracelets.jpg','1','1274953401','1274953401'),(23,13,'Pendants','Pendants ',87,'on','off','','diamond jewelry Pendants.jpg','0','1274953708','1274953708'),(24,13,'Necklace','Necklace ',87,'on','off','','diamond jewelry Necklace.jpg','0','1274953850','1274953850'),(25,13,'Earings','Earings ',87,'on','off','','diamond jewelry Earings.jpg','0','1274954035','1274954035'),(26,16,'Bracelets','Bracelets ',87,'on','off','','gold jewelry Bracelets.jpg','0','1274954405','1274954405'),(27,16,'Pendants','Pendants ',87,'on','off','','gold jewelry Pendants.jpg','1','1274954521','1274954521'),(28,16,'Necklace','Necklace ',87,'on','off','','gemstone jewelry Necklace.jpg','0','1274954573','1279346956'),(29,16,'Earings','Earings ',87,'on','off','','gold jewelry Earings.jpg','0','1274954891','1274954891'),(30,12,'Gemstone Jewelry','Gemstone Jewelry ',87,'on','off','','gemstone jewelry.jpg','0','1274955193','1274955193'),(31,30,'Studs','Studs ',87,'on','off','','gemstone jewelry Studs.jpg','0','1274955420','1274955420'),(32,30,'Rings','Rings ',87,'on','off','','gemstone jewelry Rings.jpg','0','1274955477','1274955477'),(33,30,'Bracelets','Bracelets ',87,'on','off','','gemstone jewelry Bracelets.jpg','0','1274955801','1274955801'),(34,30,'Pendants','Pendants ',87,'on','off','','gemstone jewelry Pendants.jpg','0','1274956019','1274956019'),(35,30,'Necklace','Necklace ',87,'on','off','','gemstone jewelry Necklace.jpg','1','1274956294','1274956294'),(36,30,'Earings','Earings ',87,'on','off','','gemstone jewelry Rings.jpg','0','1274956480','1274956480'),(37,12,'Pearl Jewelry','Pearl Jewelry ',87,'on','off','','Pearl Jewelry.jpg','0','1274956772','1274956772'),(38,37,'Studs','Studs ',87,'on','off','','Pearl Jewelry studs.jpg','0','1274957670','1274957670'),(39,37,'Rings','Rings ',87,'on','off','','Pearl Jewelry Rings.jpg','0','1274957837','1274957837'),(40,37,'Bracelets','Bracelets ',87,'on','off','','Pearl Jewelry Bracelate.jpg','0','1274957859','1274957859'),(41,37,'Pendants','Pendants ',87,'on','off','','Pearl Jewelry Pendants.jpg','0','1274957995','1274957995'),(42,37,'Necklace','Necklace ',87,'on','off','','Pearl Jewelry Necklace.jpg','0','1274958053','1274958053'),(43,37,'Earings','Earings ',87,'on','off','','Pearl Jewelry Earing.jpg','1','1274958073','1274958073'),(44,12,'Silver Jewelry','Silver Jewelry ',87,'on','off','','Silver Jewelry.jpg','0','1274958675','1274958675'),(45,44,'Studs','Studs ',87,'on','off','','Silver Jewelry Studs.jpeg','1','1274959121','1274959121'),(46,44,'Rings','Rings ',87,'on','off','','Silver Jewelry Rings.jpg','0','1274959207','1274959207'),(47,44,'Bracelets','Bracelets ',87,'on','off','','Silver Jewelry bracelet.jpg','0','1274959308','1274959308'),(48,44,'Pendants','Pendants ',87,'on','off','','Silver Jewelry Pendants.jpg','0','1274959887','1274959887'),(49,44,'Necklace','Necklace ',87,'on','off','','Silver Jewelry Necklace.jpg','0','1274959996','1274959996'),(50,44,'Earings','Earings ',87,'on','off','','Silver Jewelry Earings.jpg','0','1274960170','1274960170'),(51,12,'Designer Jewelry','Designer Jewelry ',87,'on','off','','designer-jewelry.png','0','1274960511','1275127654'),(52,51,'Studs','Studs ',87,'on','off','','Designer Jewelry Studs.jpeg','0','1274960588','1274960588'),(53,51,'Rings','Rings ',87,'on','off','','Designer Jewelry Rings.jpeg','1','1274960708','1274960708'),(54,51,'Bracelets','Bracelets ',87,'on','off','','Designer Jewelry Bracelets.jpeg','0','1274960838','1274960838'),(55,51,'Pendants','Pendants ',87,'on','off','','Designer Jewelry Pendants.jpeg','0','1274960939','1274960939'),(56,51,'Necklace','Necklace ',87,'on','off','','Designer Jewelry Necklace.jpeg','0','1274960981','1274960981'),(57,51,'Earings','Earings ',87,'on','off','','Designer Jewelry Earings.jpeg','0','1274961081','1274961081'),(58,12,'Gift Ideas','Gift Ideas ',87,'on','off','','gift-idea.png','0','1274961234','1274961234'),(59,58,'Studs','Studs ',87,'on','off','','gift idea Studs.jpeg','0','1274961482','1274961482'),(60,58,'Rings','Rings ',87,'on','off','','gift idea Rings.jpeg','0','1274961517','1274961517'),(61,58,'Bracelets','Bracelets ',87,'on','off','','gift idea Bracelets.jpeg','0','1274961568','1274961568'),(62,58,'Pendants','Pendants ',87,'on','off','','gift idea Pendants.jpeg','1','1274961618','1274961618'),(63,58,'Necklace','Necklace ',87,'on','off','','gift idea Necklace.jpeg','0','1274961668','1274961668'),(64,58,'Earings','Earings ',87,'on','off','','gift idea Earings.jpeg','0','1274961734','1274961734'),(87,2,'Mone','Mone ',87,'on','off','','diamond jewelry Bracelets.jpg','0','1279346253','1279346253'),(79,2,'Tension','Tension ',87,'on','off','','designer-jewelry.png','0','1279304378','1279346526'),(70,6,'Eternity Rings','Eternity Rings ',87,'on','off','','diamond jewelary Rings.jpeg','0','1279299992','1279346744'),(72,6,'Three-Stone Diamond Rings','Three-Stone Diamond Rings ',87,'on','off','','gift idea Rings.jpeg','0','1279300607','1279300607'),(86,2,'Gemstone','Gemstone ',87,'on','off','','Diamond Wedding Rings.jpeg','0','1279346207','1279346207');

--
-- 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=2 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_pl_demands` VALUES (1,12,'1270013022','1269667422','Permanently Deactive','\'ROUND\'','2','1','F','D','VVS2','IF','FAIR','EXCELLENT','FAIR','EXCELLENT','FAIR','EXCELLENT','STRONG','NONE','GIA','All',0,0,'40','45','1269667422','1269667422');

--
-- 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 AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_pl_demands_comments` VALUES (1,1,87,'will contact you later.','1274700903','1274700903');

--
-- Table structure for table `bstock_pl_dm_expense`
--

CREATE TABLE `bstock_pl_dm_expense` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `surrogate_id` int(10) NOT NULL,
  `parcel_id` int(10) NOT NULL,
  `lot_no` int(10) NOT NULL,
  `stage_id` int(10) NOT NULL,
  `karigar_id` int(10) NOT NULL,
  `rate` decimal(10,3) NOT NULL,
  `size` decimal(10,5) NOT NULL,
  `loss` decimal(10,2) NOT NULL,
  `due_date` int(10) NOT NULL,
  `dollar_rate` decimal(10,2) NOT NULL,
  `remarks` varchar(500) NOT NULL,
  `stage_status_id` int(11) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `surrogate_id` (`surrogate_id`)
) ENGINE=MyISAM AUTO_INCREMENT=40 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_dm_expense`
--

INSERT INTO `bstock_pl_dm_expense` VALUES (1,41,91,4,1,1,70.000,1.00000,0.00,0,45.00,'this is first entry',1,'on',1263281971,1263281971),(2,42,91,4,2,2,500.000,1.00000,0.40,1263281971,45.00,'2nd entry',2,'on',1263281971,1263281971),(4,900011,2000,90001,1,1,440.000,0.00000,0.00,0,0.00,'0',0,'on',1282679071,1282679071),(5,900012,2000,90001,2,1,500.000,1.00000,0.40,1263281971,45.00,'2nd entry',1,'on',1263281971,1263281971),(30,1,0,0,1,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(31,2,0,0,2,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(32,3,0,0,3,1,0.000,2.00000,0.00,0,42.00,'',0,'on',1294660546,1294660546),(33,4,0,0,4,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(34,5,0,0,5,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(35,6,0,0,6,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(36,7,0,0,7,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(37,8,0,0,8,1,0.000,0.00000,0.00,0,0.00,'',0,'on',1294660546,1294660546),(38,5355311,19,550001,1,1,0.000,1.00000,0.00,0,1.01,'',2,'on',0,0),(39,2147483647,16,1424650796,1,1,8984.000,1.50000,0.00,0,1.01,'test',2,'on',0,0);

--
-- Table structure for table `bstock_pl_dm_productdetails`
--

CREATE TABLE `bstock_pl_dm_productdetails` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `surrogate_id` int(10) NOT NULL COMMENT 'This field is combination of lot_no and stage_id. This is to use Replace query in php code',
  `stage_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.',
  `parcel_id` int(10) NOT NULL,
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `lot_no` int(10) 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,
  `pavilion` decimal(10,3) NOT NULL,
  `crown` decimal(10,3) NOT NULL DEFAULT '0.000',
  `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,
  `vendorname` enum('None','Bigg Stock','Vendor 1','Vendor 2') NOT NULL,
  `comments` varchar(500) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=744 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

--
-- Dumping data for table `bstock_pl_dm_productdetails`
--

INSERT INTO `bstock_pl_dm_productdetails` VALUES (33,41,1,'1267005563','1267005563',91,'ROUND',0.80,4,'on','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS1','H','',0.000,4000.000,'5106784001','5000','4000','-0.2','4990','','5.88','5.9','','63.5','57','MED-SLIGHTLY THICK','None',''),(34,42,2,'1267005563','1267005563',91,'ROUND',1.08,4,'on','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','K','',0.000,3150.000,'S2E87266','5000','5400','-0.37','4981.5','','6.55','6.56','','62.1','59','MED','None',''),(738,43,3,'1263281971','1263281971',91,'ROUND',1.50,4,'on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D','3242',43.000,36.000,'','','','','','','','','','','33','45','',''),(740,900011,1,'1282679071','1282679071',2000,'ROUND',0.00,90001,'on','NONE','All Labs','EXCELLENT','ANY','ANY','ANY','ANY','3242',0.000,0.000,'','','','','','','','','','','','','',''),(741,900012,2,'1263281971','1263281971',2000,'ROUND',3.00,90001,'on','FAINT','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','IF','D','3242',40.000,33.000,'324','333','350','1','','','3','3','3','2','22','22','Bigg Stock',''),(742,900012,2,'1263281971','1263281971',2000,'ROUND',3.00,90001,'on','FAINT','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','IF','D','3242',40.000,33.000,'324','333','350','1','','','3','3','3','2','22','22','Bigg Stock',''),(743,900012,2,'1263281971','1263281971',2000,'PRINCESS',1.00,90001,'on','MEDIUM','GIA','EXCELLENT','EXCELLENT','ANY','ANY','ANY','',40.000,33.000,'3242','5555','5555','','','','','','','','','','','');

--
-- Table structure for table `bstock_pl_dm_stage`
--

CREATE TABLE `bstock_pl_dm_stage` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `htmlname` varchar(500) NOT NULL,
  `desc` varchar(500) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_dm_stage`
--

INSERT INTO `bstock_pl_dm_stage` VALUES (1,'Planner','Planner','planner machine expenses','on',1267005563,1267005563),(2,'Laser','Laser','Laser cutting expenses','on',1267005563,1267005563),(3,'Kachu Kapwanu','Kachu_Kapwanu','Kachhu Kapwanu expenses','on',1267005563,1267005563),(4,'Bruting','Bruting','bruting expense','on',1267005563,1267005563),(5,'Table Polishing','Table_Polishing','table polishing expenses','on',1267005563,1267005563),(6,'Pavilion Polishing','Pavilion_Polishing','pavilion polishing','on',1267005563,1267005563),(7,'Crown Polishing','Crown_Polishing','Crown polishing expenses','on',1267005563,1267005563),(8,'Girdle Polishing','Girdle_Polishing','girdle polising expenses','on',1267005563,1267005563);

--
-- Table structure for table `bstock_pl_dm_stagestatus`
--

CREATE TABLE `bstock_pl_dm_stagestatus` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `status` varchar(255) NOT NULL,
  `desc` varchar(255) NOT NULL,
  `is_active` enum('1','0') NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_dm_stagestatus`
--

INSERT INTO `bstock_pl_dm_stagestatus` VALUES (1,'Select Status','','1',0,0),(2,'Given','','1',0,0),(3,'Returned','Paid','1',1267005563,1267005563);

--
-- Table structure for table `bstock_pl_jhangad`
--

CREATE TABLE `bstock_pl_jhangad` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `jhangad_number` varchar(255) NOT NULL,
  `broker_id` int(10) NOT NULL,
  `customer_id` int(10) NOT NULL,
  `giver_id` int(11) NOT NULL,
  `reference_person_id` int(11) NOT NULL,
  `status_id` int(11) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_jhangad`
--

INSERT INTO `bstock_pl_jhangad` VALUES (1,'JHG001',4,12,1,12,2,'on',1272312433,1280491610),(2,'JHG002',2,16,2,25,1,'on',1272312433,1272312433),(3,'JHG0011',2,8,2,7,1,'off',1272312433,1272312433),(4,'JHG0012',0,6,2,7,2,'off',1272312433,1272312433),(5,'JHG0031',0,12,2,12,2,'on',1280733255,1280733255),(6,'JHG0033',1,12,1,12,2,'on',1280736866,1280736866);

--
-- Table structure for table `bstock_pl_jhgitems`
--

CREATE TABLE `bstock_pl_jhgitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key for the order items.',
  `jhangad_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.',
  `rate` decimal(10,2) 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.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=84 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

--
-- Dumping data for table `bstock_pl_jhgitems`
--

INSERT INTO `bstock_pl_jhgitems` VALUES (1,1,2,1,8.00,'1276269119','1276269119','',''),(38,2,2,5,5555.00,'1276949635','1276949635','',''),(39,2,6,1,4444.00,'1276951188','1276951188','',''),(76,20,16,1,0.00,'1280492565','1280492565','',''),(74,1,21,1,3015.00,'1280481909','1280481909','',''),(75,1,22,1,5226.00,'1280491059','1280491059','',''),(73,1,23,1,100.00,'1280475483','1280475483','',''),(77,20,31,1,0.00,'1280492565','1280492565','',''),(78,20,20,1,0.00,'1280493309','1280493309','',''),(79,20,20,1,1300.00,'1280493447','1280493447','',''),(80,50,16,1,2108.00,'1280736699','1280736699','',''),(81,50,25,1,3600.00,'1280736699','1280736699','',''),(83,6,25,1,3600.00,'1280736866','1280736866','','');

--
-- Table structure for table `bstock_pl_jhgstatustypes`
--

CREATE TABLE `bstock_pl_jhgstatustypes` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `status` varchar(255) NOT NULL,
  `desc` varchar(255) NOT NULL,
  `is_active` enum('1','0') NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_jhgstatustypes`
--

INSERT INTO `bstock_pl_jhgstatustypes` VALUES (1,'Select Status','','1',0,0),(2,'Given','','1',0,0),(3,'Returned','Paid','1',1267005563,1267005563);

--
-- 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=339 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,'127.0.0.1','1269607298'),(319,12,'127.0.0.1','1269623817'),(320,12,'127.0.0.1','1269632359'),(321,12,'127.0.0.1','1269632371'),(322,12,'127.0.0.1','1269632433'),(323,12,'127.0.0.1','1269632438'),(324,12,'127.0.0.1','1269632442'),(325,12,'127.0.0.1','1269632458'),(326,12,'127.0.0.1','1269665187'),(327,12,'127.0.0.1','1269665441'),(328,12,'127.0.0.1','1269665586'),(329,12,'127.0.0.1','1269666072'),(330,12,'127.0.0.1','1269666107'),(331,12,'127.0.0.1','1271843524'),(332,12,'127.0.0.1','1272008939'),(333,12,'127.0.0.1','1272009763'),(334,12,'127.0.0.1','1272032437'),(335,12,'127.0.0.1','1272665184'),(336,12,'59.182.171.52','1275473462'),(337,12,'59.182.173.202','1287079241'),(338,12,'59.182.173.202','1287079263');

--
-- 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 which is infact product_jwl_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 DEFAULT '1',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=99 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_pl_multipleimagesupload` VALUES (3,3,1,'Pave 1','Pave1.png','1','',''),(15,4,1,'Pave 2','bridal_jewelry_2.png','1','',''),(13,5,1,'Pave 3','jewelry_add_screen.png','1','',''),(14,656,1,'E145-0014-Main-Jh','1_656_15_08042010025620.jpg','1','',''),(7,647,1,'test78','1_647_7_08042010025349.jpg','1','',''),(8,0,1,'sfwr234234','1__15_05042010034300.jpg','0','',''),(9,2,1,'test553','1_2_15_05042010034343.jpg','1','',''),(10,653,1,'Samsung HDD - 500 GB','1_653_15_08042010013444.jpg','1','',''),(11,651,1,'Samsung HDD - 2000 GB','1_651_15_08042010020042.jpg','1','',''),(12,648,1,'Samsung HDD - 2terabyte GB','1_648_15_08042010020930.jpg','1','',''),(16,658,1,'T555-5004-main','1_658_15_08042010025929.jpg','1','',''),(17,659,1,'T555-5004-main','1_659_15_08042010025959.jpg','1','',''),(18,660,1,'T555-5004-main','1_660_15_08042010030019.jpg','1','',''),(19,661,1,'Samsung Laser Printer','1_661_19_13042010004033.jpg','1','2022220202','2020202020'),(20,662,1,'lcd 25 \\\\\\&quot;','1_662_20_01052010011145.jpg','1','',''),(21,663,1,'lcd 42','1_663_21_01052010014205.jpg','1','',''),(22,664,1,'desktop','1_664_22_01052010014128.jpg','1','',''),(23,665,1,'laptop','1_665_23_01052010013815.jpg','1','',''),(24,666,1,'processor','1_666_15_01052010011915.jpg','1','',''),(25,667,1,'Flash Drive','1_667_25_01052010033600.jpg','1','',''),(26,668,1,'AOC 2330V 23\\\\\\&quot; Widescreen LCD Monitor','1_668_15_19052010132141.jpg','1','',''),(27,669,1,'hard disk','1_669_15_20052010072637.jpg','1','',''),(28,648,1,'Samsung','1_648_15_21052010030447.jpeg','0','',''),(29,648,1,'video uploaded for testing purpose','1_648_16_17062010114340.flv','0','',''),(30,648,1,'video uploaded for testing purpose','1_648_16_17062010114911.flv','0','',''),(31,648,1,'video uploaded for testing purpose','1_648_16_17062010115255.flv','0','',''),(32,648,1,'video uploaded for testing purpose','1_648_16_17062010120049.flv','0','',''),(33,648,1,'video uploaded for testing purpose','1_648_16_17062010120453.flv','0','',''),(34,648,1,'testing images','1_648_16_17062010120739.jpg','0','',''),(35,648,1,'testing images','1_648_16_17062010120751.jpg','0','',''),(36,648,1,'testing images','1_648_16_17062010120944.jpg','0','',''),(37,648,1,'testing images','1_648_16_17062010120957.jpg','0','',''),(38,648,1,'testing images','1_648_16_17062010121356.jpg','0','',''),(39,648,1,'testing images','1_648_16_17062010121427.jpg','0','',''),(40,648,1,'testing for video but adding image','1_648_16_18062010103937.png','0','',''),(41,648,1,'testing for video but adding image','1_648_16_18062010104634.png','0','',''),(42,648,1,'testing image','1_648_16_18062010105445.jpg','0','',''),(43,648,1,'testing images','1_648_16_18062010112701.JPG','0','',''),(44,5,1,'Pave1','Pave1.png','0','',''),(45,5,1,'Pave2','Pave2.png','0','',''),(47,2,1,'Pave2','large_65721_Y.png','1','',''),(48,6,1,'Pave6','large_662859_Y.png','1','',''),(49,7,1,'Pave7','yellow-gold-ring.png','1','',''),(50,8,1,'Pave8','bridal_jewelry_2.png','1','',''),(51,9,1,'Pave9','jewelry_add_screen.png','1','',''),(52,10,1,'Pave10','large_65721_Y.png','1','',''),(53,11,1,'Pave11','bridal_jewelry_2.png','1','',''),(54,12,1,'Pave12','large_662859_Y.png','1','',''),(55,13,1,'Pave13','yellow-gold-ring.png','1','',''),(56,14,1,'Pave14','bridal_jewelry_2.png','1','',''),(58,16,1,'Solitaire6','large_662859_Y.png','1','',''),(59,17,1,'Solitaire7','yellow-gold-ring.png','1','',''),(60,18,1,'Solitaire8','bridal_jewelry_2.png','1','',''),(61,19,1,'Solitaire9','jewelry_add_screen.png','1','',''),(62,20,1,'Solitaire10','large_65721_Y.png','1','',''),(63,21,1,'Solitaire11','large_662859_Y.png','1','',''),(64,22,1,'Solitaire12','yellow-gold-ring.png','1','',''),(65,23,1,'Solitaire13','bridal_jewelry_2.png','1','',''),(66,24,1,'Solitaire14','jewelry_add_screen.png','1','',''),(67,25,1,'Sidestone6','large_662859_Y.png','1','',''),(68,26,1,'Sidestone7','yellow-gold-ring.png','1','',''),(69,27,1,'Sidestone8','bridal_jewelry_2.png','1','',''),(70,28,1,'Sidestone9','jewelry_add_screen.png','1','',''),(71,29,1,'Sidestone10','large_65721_Y.png','1','',''),(72,30,1,'Sidestone11','large_662859_Y.png','1','',''),(73,31,1,'Sidestone12','yellow-gold-ring.png','1','',''),(74,32,1,'Sidestone13','bridal_jewelry_2.png','1','',''),(75,33,1,'Sidestone14','jewelry_add_screen.png','1','',''),(76,34,1,'Mone6','large_662859_Y.png','1','',''),(77,35,1,'Mone7','yellow-gold-ring.png','1','',''),(78,36,1,'Mone8','bridal_jewelry_2.png','1','',''),(79,37,1,'Mone9','jewelry_add_screen.png','1','',''),(80,38,1,'Mone10','large_65721_Y.png','1','',''),(81,39,1,'Mone11','large_662859_Y.png','1','',''),(82,40,1,'Mone12','yellow-gold-ring.png','1','',''),(83,41,1,'Mone13','bridal_jewelry_2.png','1','',''),(84,42,1,'Mone14','jewelry_add_screen.png','1','',''),(85,43,1,'Tension6','large_662859_Y.png','1','',''),(86,44,1,'Tension7','yellow-gold-ring.png','1','',''),(87,45,1,'Tension8','bridal_jewelry_2.png','1','',''),(88,46,1,'Tension9','jewelry_add_screen.png','1','',''),(89,47,1,'Tension10','large_65721_Y.png','1','',''),(90,48,1,'Tension11','large_662859_Y.png','1','',''),(91,49,1,'Tension12','yellow-gold-ring.png','1','',''),(92,50,1,'Tension13','bridal_jewelry_2.png','1','',''),(93,51,1,'Tension14','jewelry_add_screen.png','1','',''),(94,1,1,'testing','1_1_21_08082010103939.jpg','0','',''),(97,15,1,'touch of platinum ring','1_15_97_26082010112047.png','1','',''),(98,15,1,'second image for platinum','1_15_98_26082010105413.png','1','','');

--
-- Table structure for table `bstock_pl_multiplevideoupload`
--

CREATE TABLE `bstock_pl_multiplevideoupload` (
  `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,
  `file_type` varchar(50) NOT NULL COMMENT 'this is created to hacdle file type as it is needed while displaying',
  `is_default` enum('1','0') NOT NULL DEFAULT '1',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=57 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_multiplevideoupload`
--

INSERT INTO `bstock_pl_multiplevideoupload` VALUES (47,3,1,'Wedding','Ring_1_1_F6_2Mb_002_2_Pass VBR.flv','video/x-flv','1','',''),(55,4,1,'Engagement Rings','1_4_22_28082010081130.flv','application/octet-stream','1','',''),(56,6,1,'Gemstone Ring','1_6_22_28082010084308.flv','application/octet-stream','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=4 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_pl_offers` VALUES (1,4,12,3000,'','Offer accepted.','accepted','1269634301','1274699151'),(2,36,12,1000,'','sorry, rejecting this one.','rejected','1269634301','1274699320'),(3,50,12,3999,'','Your Comments here','pending','1269634301','1269634301');

--
-- Table structure for table `bstock_pl_poadjustment`
--

CREATE TABLE `bstock_pl_poadjustment` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(10) NOT NULL,
  `name` varchar(200) NOT NULL,
  `desc` varchar(255) NOT NULL,
  `percentage` int(5) NOT NULL,
  `amount` int(11) NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_poadjustment`
--


--
-- Table structure for table `bstock_pl_pobilladd`
--

CREATE TABLE `bstock_pl_pobilladd` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(11) NOT NULL,
  `po_bill_firstname` varchar(255) NOT NULL,
  `po_bill_lastname` varchar(255) NOT NULL,
  `po_bill_city` varchar(255) NOT NULL,
  `po_bill_state` int(4) NOT NULL,
  `po_bill_contry` int(4) NOT NULL,
  `po_bill_address` varchar(255) NOT NULL,
  `po_bill_postcode` int(10) NOT NULL,
  `phone_number` varchar(255) NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_pobilladd`
--

INSERT INTO `bstock_pl_pobilladd` VALUES (1,2,'baba','n','mumbai',3,840,'3, pradeep niwas (Billing)',400093,'8989898989',1263286811,1263286811);

--
-- Table structure for table `bstock_pl_pocommission`
--

CREATE TABLE `bstock_pl_pocommission` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(5) NOT NULL,
  `broker_id` int(5) NOT NULL,
  `vendor_id` int(5) NOT NULL,
  `desc` varchar(255) NOT NULL,
  `percentage` decimal(10,2) NOT NULL,
  `amount` date NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_pocommission`
--


--
-- Table structure for table `bstock_pl_podiscount`
--

CREATE TABLE `bstock_pl_podiscount` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `desc` varchar(255) NOT NULL,
  `percentage` int(11) NOT NULL,
  `amount` int(11) NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_podiscount`
--


--
-- Table structure for table `bstock_pl_poitems`
--

CREATE TABLE `bstock_pl_poitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(10) NOT NULL,
  `product_id` int(5) NOT NULL COMMENT 'This will be the foriegn key. and will store the product id of the product ',
  `vendor_id` int(11) NOT NULL,
  `broker_id_1` int(10) NOT NULL,
  `brokerage_1` decimal(10,2) NOT NULL,
  `broker_id_2` int(10) NOT NULL,
  `brokerage_2` decimal(10,2) NOT NULL,
  `qty` int(10) NOT NULL,
  `listprice` int(11) NOT NULL,
  `discount_percent` float(10,2) NOT NULL,
  `discount_amount` float(10,2) NOT NULL,
  `comment` varchar(255) NOT NULL,
  `tax1` int(11) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  `exporter_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=134 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_poitems`
--

INSERT INTO `bstock_pl_poitems` VALUES (68,2,671,0,0,0.00,0,0.00,3,786,65.00,65.00,'comments',1,'on',1267005563,1267005563,1),(42,2,5,0,0,0.00,0,0.00,1,200,1.00,2.00,'comment comment and comment',1,'on',1267005563,1267005563,1),(43,2,4,0,1,0.70,4,0.30,1,200,1.00,2.00,'comment comment and comment',1,'on',1267005563,1267005563,1),(114,30,724,0,1,2.00,4,3.40,3,333,0.00,0.00,'comments',1,'on',1277903901,1277903901,1),(75,3,678,1,4,1.00,2,0.50,2,2342,2.00,2.00,'comments',1,'on',1267005563,1267005563,1),(61,4,3,2,4,1.00,2,0.50,0,100,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(64,3,667,1,0,0.00,0,0.00,3,4444,25.00,25.00,'comments',1,'on',1267005563,1267005563,1),(106,29,716,0,0,0.00,0,0.00,2,2322,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(70,3,673,1,0,0.00,0,0.00,34,222,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(72,3,675,1,0,0.00,0,0.00,2,333,12.00,12.00,'comments',1,'on',1267005563,1267005563,1),(77,16,680,0,0,0.00,0,0.00,22,2233,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(78,9,681,3,0,0.00,0,0.00,3,322,1.00,1.00,'comments',1,'on',1267005563,1267005563,1),(79,9,682,3,0,0.00,0,0.00,3,322,1.00,1.00,'comments',1,'on',1267005563,1267005563,1),(80,9,683,3,0,0.00,0,0.00,3,322,1.00,1.00,'comments',1,'on',1267005563,1267005563,1),(81,10,684,0,0,0.00,0,0.00,2,33333,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(82,10,685,0,0,0.00,0,0.00,2,33333,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(83,10,686,0,0,0.00,0,0.00,2,33333,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(84,11,687,0,0,0.00,0,0.00,1,2342,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(85,12,688,0,0,0.00,0,0.00,3,333,0.00,0.00,'comments',1,'off',1267005563,1267005563,1),(86,13,689,0,0,0.00,0,0.00,2,333,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(87,16,690,0,0,0.00,0,0.00,2,2342,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(88,17,691,0,0,0.00,0,0.00,2,2342,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(89,20,692,0,0,0.00,0,0.00,1,322,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(100,26,707,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(93,22,700,0,0,0.00,0,0.00,5,200,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(99,25,706,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(98,24,705,0,0,0.00,0,0.00,2,2342,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(101,27,708,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(102,28,709,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(103,30,713,0,1,2.00,4,3.40,3,2343,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(104,31,714,0,1,2.00,4,3.00,23,3453,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(105,32,715,0,1,2.00,4,3.00,23,3453,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(107,33,717,0,1,2.00,2,3.00,2,2422,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(108,34,718,0,1,2.00,2,3.00,2,3322,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(109,35,719,0,0,0.00,0,0.00,3,2322,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(110,36,720,0,0,0.00,0,0.00,33,2322,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(113,30,723,0,1,2.00,4,3.40,6,3343,0.00,0.00,'comments',1,'on',1277903024,1277903024,1),(115,30,725,0,1,2.00,4,3.40,2,2222,0.00,0.00,'comments',1,'on',1277904553,1277904553,1),(116,2,726,0,1,2.00,0,0.00,3,4000,0.00,0.00,'comments',1,'on',1277904809,1277904809,1),(117,2,727,0,0,0.00,0,0.00,2,3423,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(118,37,728,0,0,0.00,0,0.00,3,3,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(119,38,729,0,0,0.00,0,0.00,3,2222,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(120,39,730,0,0,0.00,0,0.00,3,2,0.00,0.00,'comments',1,'on',1267005563,1267005563,1),(121,40,731,0,0,0.00,0,0.00,100,300,12.00,12.00,'comments',1,'on',1267005563,1267005563,1),(122,41,732,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(123,41,733,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(124,42,734,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(125,42,735,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(126,43,736,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(127,43,737,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(128,44,737,0,0,0.00,0,0.00,0,0,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(129,45,738,0,0,0.00,0,0.00,1,1200,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(130,45,739,0,0,0.00,0,0.00,1,1500,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(131,46,740,0,0,0.00,0,0.00,1,900,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(132,46,741,0,0,0.00,0,0.00,2,1000,0.00,0.00,'comments',1,'on',1267005563,1267005563,0),(133,46,742,0,0,0.00,0,0.00,1,100,0.00,0.00,'comments',1,'on',1267005563,1267005563,0);

--
-- Table structure for table `bstock_pl_ponotificationhistory`
--

CREATE TABLE `bstock_pl_ponotificationhistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `po_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=365 DEFAULT CHARSET=latin1 COMMENT='Record the notifications sent to each customer by the system';

--
-- Dumping data for table `bstock_pl_ponotificationhistory`
--

INSERT INTO `bstock_pl_ponotificationhistory` 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),(127,1,'vishal@biggventures.com','Enter order comments here.','1269637506',1),(128,1,'','Enter order comments here.','1274260062',1),(129,1,'','Enter order comments here.','1274260063',1),(130,1,'','Enter order comments here.a','1274260064',1),(131,1,'','Enter order comments here.a','1274260065',1),(132,1,'','Enter order comments here.a','1274260066',1),(133,1,'','Enter order comments here.a','1274260067',1),(134,1,'','Enter order comments here.a','1274260085',1),(135,1,'','Enter order comments here.a','1274260086',1),(136,1,'','Enter order comments here.a','1274260086',1),(137,1,'','Enter order comments here.a','1274260087',1),(138,1,'','Enter order comments here.a','1274260088',1),(139,1,'','Enter order comments here.a','1274260089',1),(140,1,'','Enter order comments here.a','1274260090',1),(141,1,'','Enter order comments here.a','1274260091',1),(142,1,'','Enter order comments here.a','1274260093',1),(143,1,'','Enter order comments here.a','1274260094',1),(144,1,'','Enter order comments here.a','1274260095',1),(145,1,'','Enter order comments here.a','1274260097',1),(146,1,'','Enter order comments here.a','1274260098',1),(147,1,'','Enter order comments here.a','1274260101',1),(148,1,'','Enter order comments here.a','1274260105',1),(149,1,'','Enter order comments here.a','1274260108',1),(150,1,'','Enter order comments here.a','1274260109',1),(151,1,'','Enter order comments here.a','1274260111',1),(152,1,'','Enter order comments here.a','1274260111',1),(153,1,'','Enter order comments here.a','1274260112',1),(154,1,'','Enter order comments here.a','1274260113',1),(155,1,'','Enter order comments here.a','1274260114',1),(156,1,'','Enter order comments here.a','1274260115',1),(157,1,'','Enter order comments here.a dfsdfasd ','1274260116',1),(158,1,'','Enter order comments here.a dfsdfasd ','1274260119',1),(159,1,'','Enter order comments here.a','1274260120',1),(160,1,'','Enter order comments here.a dfsdfasd ','1274260121',1),(161,1,'','Enter order comments here.a','1274260123',1),(162,1,'','Enter order comments here.a','1274260124',1),(163,1,'','Enter order comments here.a','1274260125',1),(164,1,'','Enter order comments here.','1274260150',1),(165,1,'','Enter order comments here.','1274260151',1),(166,1,'','Enter order comments here.','1274260152',1),(167,3,'harshad.narvekar@gmail.com','Enter comments here.','1275402755',1),(168,3,'harshad.narvekar@gmail.com','Enter comments here.','1275403297',1),(169,3,'harshad.narvekar@gmail.com','Enter comments here.','1275403329',1),(170,3,'','Enter comments here.','1275449590',1),(171,3,'','Enter comments here.','1275449611',1),(172,3,'','Enter comments here.','1275449628',1),(173,3,'','Enter comments here. test test','1275449659',1),(174,3,'','Enter comments here.','1275450175',1),(175,3,'','Enter comments here.','1275450186',1),(176,3,'','Enter comments here.','1275450466',1),(177,3,'','Enter comments here.','1275451027',1),(178,3,'','Enter comments here.','1275451140',1),(179,3,'','Enter comments here.','1275451187',1),(180,3,'','Enter comments here.','1275451246',1),(181,3,'','Enter comments here.','1275451299',1),(182,3,'','Enter comments here.','1275451336',1),(183,3,'','Enter comments here.','1275451344',1),(184,3,'','Enter comments here.','1275451588',1),(185,3,'','Enter comments here.','1275451895',1),(186,3,'','Enter comments here.','1275451914',1),(187,3,'','Enter comments here.','1275456678',1),(188,3,'','Enter comments here.','1275457015',1),(189,3,'','Enter comments here.','1275457166',1),(190,3,'','Enter comments here.','1275457493',1),(191,3,'','Enter comments here.','1275457633',1),(192,3,'','Enter comments here.','1275457890',1),(193,3,'','Enter comments here.','1275457925',1),(194,3,'','Enter comments here.','1275458671',1),(195,3,'','Enter comments here.','1275459190',1),(196,3,'','Enter comments here.','1275459223',1),(197,3,'','Enter comments here.','1275459358',1),(198,3,'','Enter comments here.','1275459402',1),(199,3,'','Enter comments here.','1275459432',1),(200,3,'','Enter comments here.','1275459499',1),(201,3,'','Enter comments here.','1275459549',1),(202,3,'','Enter comments here.','1275459583',1),(203,3,'','Enter comments here.','1275459619',1),(204,3,'','Enter comments here.','1275459630',1),(205,3,'','Enter comments here.','1275459695',1),(206,3,'','Enter comments here.','1275459725',1),(207,3,'','Enter comments here.','1275459848',1),(208,3,'','Enter comments here.','1275459958',1),(209,3,'','Enter comments here.','1275460080',1),(210,3,'','Enter comments here.','1275460182',1),(211,3,'','Enter comments here.','1275461136',1),(212,3,'','Enter comments here.','1275461287',1),(213,3,'harshad.narvekar@gmail.com','Enter comments here.','1275473774',1),(214,2,'','Enter comments here.','1275473891',1),(215,3,'','Enter comments here.','1275477746',1),(216,3,'','Enter comments here.','1275477829',1),(217,3,'','Enter comments here.','1275479184',1),(218,3,'','Enter comments here.','1275479220',1),(219,3,'','Enter comments here.','1275479236',1),(220,3,'','Enter comments here.','1275479296',1),(221,3,'','Enter comments here.','1275479680',1),(222,3,'','Enter comments here.','1275479852',1),(223,3,'','Enter comments here.','1275480106',1),(224,3,'','Array[comments_po]','1275482943',1),(225,3,'','test','1275483538',1),(226,3,'','Array[comments_po]','1275483761',1),(227,3,'','testt test stsetetrsete ','1275483775',1),(228,3,'','testt test stsetetrsete ','1275485691',1),(229,3,'','testt test stsetetrsete ','1275485721',1),(230,16,'','','1275587069',1),(231,8,'harshad.narvekar@gmail.com','sfasd fsdf asd fasd asd fs fsd fsdf ','1275639768',1),(232,8,'harshad.narvekar@gmail.com','sfasd fsdf asd fasd asd fs fsd fsdf ','1275639781',1),(233,8,'harshad.narvekar@gmail.com','sfasd fsdf asd fasd asd fs fsd fsdf ','1275639790',1),(234,9,'harshad.narvekar@gmail.com','test test','1275718232',1),(235,9,'harshad.narvekar@gmail.com','test test','1275718232',1),(236,9,'harshad.narvekar@gmail.com','test test','1275718232',1),(237,10,'','','1275718467',1),(238,10,'','','1275718467',1),(239,10,'','','1275718467',1),(240,11,'','test','1275718814',1),(241,12,'','test test ','1275719177',1),(242,13,'','','1275719901',1),(243,14,'harshad.narvekar@gmail.com','test ','1275728436',1),(244,15,'harshad.narvekar@gmail.com','tes te stse','1275728624',1),(245,16,'','est','1275729302',1),(246,17,'','est','1275730441',1),(247,18,'','','1275731995',1),(248,19,'','','1275732014',1),(249,20,'','','1275732085',1),(250,21,'','','1275732220',1),(251,3,'','testt test stsetetrsete  test','1275734279',1),(252,3,'','testt test stsetetrsete  test','1275734291',1),(253,3,'','testt test stsetetrsete  test','1275734305',1),(254,22,'harshad.narvekar@gmail.com','first po by vishal.','1276520039',1),(255,22,'','first po by vishal.','1276520205',1),(256,22,'','first po by vishal.','1276520636',1),(257,22,'','first po by vishal.','1276520681',1),(258,22,'','first po by vishal.','1276520747',1),(259,22,'','first po by vishal.','1276520863',1),(260,22,'','first po by vishal.','1276520881',1),(261,22,'','first po by vishal.','1276520953',1),(262,22,'','first po by vishal.','1276520983',1),(263,22,'harshad.narvekar@gmail.com','first po by vishal.','1276521178',1),(264,22,'','first po by vishal.','1276521203',1),(265,23,'','','1276521306',1),(266,23,'','','1276521578',1),(267,23,'','','1276521854',1),(268,23,'','','1276521866',1),(269,23,'harshad.narvekar@gmail.com','gggg','1276522002',1),(270,23,'','gggg','1276522046',1),(271,23,'','gggg','1276522087',1),(272,24,'','','1276581400',1),(273,24,'','','1276581586',1),(274,24,'','','1276581594',1),(275,24,'','','1276581648',1),(276,25,'','','1276586239',1),(277,26,'','','1276586295',1),(278,27,'','','1276586447',1),(279,28,'','','1276586506',1),(280,29,'','','1276586585',1),(281,30,'','','1276586705',1),(282,30,'','','1276586874',1),(283,6,'','commetns comments','1277402702',1),(284,6,'','commetns comments','1277402768',1),(285,30,'','','1277402890',1),(286,30,'','','1277402927',1),(287,30,'','','1277403112',1),(288,31,'','test','1277405569',1),(289,32,'','test','1277405654',1),(290,2,'','','1277808597',3),(291,2,'','','1277808644',3),(292,2,'','','1277808670',3),(293,2,'','','1277808689',3),(294,2,'','','1277808704',3),(295,2,'','','1277808754',3),(296,2,'','','1277809256',3),(297,2,'','','1277809365',3),(298,2,'','','1277809411',3),(299,2,'','','1277809526',3),(300,2,'','','1277809551',3),(301,2,'','','1277809568',3),(302,2,'','','1277809572',3),(303,2,'','','1277809584',3),(304,2,'','','1277809591',3),(305,29,'','','1277809664',2),(306,29,'','','1277809754',2),(307,29,'','','1277809794',2),(308,30,'','','1277810069',2),(309,30,'','','1277810110',2),(310,30,'','','1277810139',2),(311,30,'','','1277810192',2),(312,30,'','','1277810270',2),(313,30,'','','1277810306',2),(314,30,'','','1277810371',2),(315,30,'','','1277810616',2),(316,30,'','','1277810624',2),(317,30,'','','1277810716',2),(318,31,'','test','1277810738',2),(319,31,'','test','1277810912',2),(320,31,'','test','1277810916',2),(321,31,'','test','1277810930',2),(322,31,'','test','1277810949',2),(323,30,'','','1277810959',2),(324,30,'','','1277810969',2),(325,30,'','','1277811014',2),(326,30,'','','1277811024',2),(327,30,'','','1277811090',2),(328,30,'','','1277811153',2),(329,30,'','','1277811350',2),(330,33,'','test','1277812121',2),(331,34,'','','1277812711',1),(332,34,'','','1277812779',1),(333,34,'','','1277812824',1),(334,35,'','','1277814773',1),(335,35,'','','1277814790',1),(336,35,'','','1277814835',2),(337,36,'','','1277814862',2),(338,30,'','','1277821042',2),(339,2,'','','1277881461',1),(340,30,'','','1277900866',2),(341,2,'','','1277901760',3),(342,30,'','','1277901971',2),(343,30,'','','1277902017',2),(344,30,'','','1277902388',2),(345,30,'','','1277903024',2),(346,30,'','','1277903901',2),(347,30,'','','1277904553',2),(348,30,'','','1277904711',2),(349,2,'','','1277904809',1),(350,2,'','','1277905058',1),(351,2,'','','1277965748',1),(352,37,'','','1277967705',2),(353,38,'','','1277969543',1),(354,39,'','','1277970076',2),(355,3,'','testt test stsetetrsete  test','1278339440',1),(356,40,'','','1278339932',1),(357,41,'','','1282562171',1),(358,42,'','','1282562576',1),(359,43,'','','1282562719',1),(360,44,'','','1282680064',1),(361,45,'','','1283159723',1),(362,46,'','','1283166206',1),(363,46,'','','1283253142',1),(364,46,'','','1283260292',1);

--
