-- Table structure for table `bstock_pl_poparcel`
--

CREATE TABLE `bstock_pl_poparcel` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `po_id` int(11) NOT NULL COMMENT 'Purchase order id.',
  `size` decimal(10,2) NOT NULL,
  `carat_price` varchar(25) NOT NULL,
  `total_price` varchar(25) 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=11 DEFAULT CHARSET=latin1 COMMENT='Stores purchase parcel details';

--
-- Dumping data for table `bstock_pl_poparcel`
--

INSERT INTO `bstock_pl_poparcel` VALUES (1,43,0.95,'1300','1235','on',1282562719,1282562719),(2,43,2.00,'2050','4100','on',1282562719,1282562719),(3,44,0.00,'','','on',1282680064,1282680064),(4,45,2.00,'1200','2400','on',1283159723,1283159723),(5,45,1.00,'900','900','on',1283159723,1283159723),(6,45,0.80,'1990','1592','on',1283159723,1283159723),(7,46,2.00,'1200','2400','on',1283166206,1283166206),(8,46,1.00,'450','450','on',1283166206,1283166206),(9,46,1.00,'300','300','on',1283260292,1283260292),(10,46,1.00,'250','250','on',1283260292,1283260292);

--
-- Table structure for table `bstock_pl_poshipadd`
--

CREATE TABLE `bstock_pl_poshipadd` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(11) NOT NULL,
  `po_ship_firstname` varchar(255) NOT NULL,
  `po_ship_lastname` varchar(255) NOT NULL,
  `po_ship_city` varchar(255) NOT NULL,
  `po_ship_state` int(4) NOT NULL,
  `po_ship_contry` int(4) NOT NULL,
  `po_ship_address` varchar(255) NOT NULL,
  `po_ship_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_poshipadd`
--

INSERT INTO `bstock_pl_poshipadd` VALUES (1,2,'baba','n','mumbai',3,840,'3, pradeep niwas (Shipping)',400093,'98989898989',1263286811,1263286811);

--
-- Table structure for table `bstock_pl_postatushistory`
--

CREATE TABLE `bstock_pl_postatushistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `po_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=529 DEFAULT CHARSET=latin1 COMMENT='Here we record all the transactions when the order status is';

--
-- Dumping data for table `bstock_pl_postatushistory`
--

INSERT INTO `bstock_pl_postatushistory` 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,3,2,'1275403233','1275403233',1),(331,3,2,'1275403280','1275403280',1),(332,3,2,'1275403297','1275403297',1),(333,3,2,'1275403329','1275403329',1),(334,3,1,'1275449590','1275449590',1),(335,3,1,'1275449611','1275449611',1),(336,3,1,'1275449628','1275449628',1),(337,3,1,'1275449659','1275449659',1),(338,3,1,'1275450175','1275450175',1),(339,3,1,'1275450186','1275450186',1),(340,3,1,'1275450466','1275450466',1),(341,3,1,'1275451027','1275451027',1),(342,3,2,'1275451140','1275451140',1),(343,3,1,'1275451187','1275451187',1),(344,3,1,'1275451246','1275451246',1),(345,3,2,'1275451299','1275451299',1),(346,3,2,'1275451336','1275451336',1),(347,3,1,'1275451344','1275451344',1),(348,3,2,'1275451588','1275451588',1),(349,3,2,'1275451895','1275451895',1),(350,3,2,'1275451914','1275451914',1),(351,3,2,'1275456678','1275456678',1),(352,3,2,'1275457015','1275457015',1),(353,3,2,'1275457166','1275457166',1),(354,3,2,'1275457493','1275457493',1),(355,3,1,'1275457633','1275457633',1),(356,3,1,'1275457890','1275457890',1),(357,3,1,'1275457925','1275457925',1),(358,3,1,'1275458671','1275458671',1),(359,3,1,'1275459190','1275459190',1),(360,3,1,'1275459223','1275459223',1),(361,3,1,'1275459358','1275459358',1),(362,3,1,'1275459402','1275459402',1),(363,3,1,'1275459432','1275459432',1),(364,3,1,'1275459499','1275459499',1),(365,3,1,'1275459549','1275459549',1),(366,3,1,'1275459583','1275459583',1),(367,3,1,'1275459619','1275459619',1),(368,3,1,'1275459630','1275459630',1),(369,3,1,'1275459695','1275459695',1),(370,3,1,'1275459725','1275459725',1),(371,3,1,'1275459848','1275459848',1),(372,3,1,'1275459957','1275459957',1),(373,3,1,'1275460080','1275460080',1),(374,3,1,'1275460182','1275460182',1),(375,3,1,'1275461136','1275461136',1),(376,3,1,'1275461287','1275461287',1),(377,3,1,'1275473774','1275473774',1),(378,2,1,'1275473891','1275473891',1),(379,3,1,'1275477746','1275477746',1),(380,3,1,'1275477829','1275477829',1),(381,3,1,'1275479183','1275479183',1),(382,3,1,'1275479220','1275479220',1),(383,3,1,'1275479236','1275479236',1),(384,3,1,'1275479296','1275479296',1),(385,3,1,'1275479680','1275479680',1),(386,3,2,'1275479852','1275479852',1),(387,3,2,'1275480106','1275480106',1),(388,3,2,'1275482942','1275482942',1),(389,3,2,'1275483538','1275483538',1),(390,3,2,'1275483761','1275483761',1),(391,3,2,'1275483775','1275483775',1),(392,3,2,'1275485691','1275485691',1),(393,3,2,'1275485721','1275485721',1),(394,16,1,'1275587069','1275587069',1),(395,8,1,'1275639767','1275639767',1),(396,8,1,'1275639779','1275639779',1),(397,8,1,'1275639790','1275639790',1),(398,9,1,'1275718232','1275718232',1),(399,9,1,'1275718232','1275718232',1),(400,9,1,'1275718232','1275718232',1),(401,10,1,'1275718467','1275718467',1),(402,10,1,'1275718467','1275718467',1),(403,10,1,'1275718467','1275718467',1),(404,11,1,'1275718814','1275718814',1),(405,12,2,'1275719177','1275719177',1),(406,13,1,'1275719901','1275719901',1),(407,14,1,'1275728436','1275728436',1),(408,15,1,'1275728624','1275728624',1),(409,16,1,'1275729302','1275729302',1),(410,17,1,'1275730436','1275730436',1),(411,18,1,'1275731995','1275731995',1),(412,19,1,'1275732014','1275732014',1),(413,20,1,'1275732085','1275732085',1),(414,21,1,'1275732220','1275732220',1),(415,3,2,'1275734279','1275734279',1),(416,3,2,'1275734291','1275734291',1),(417,3,2,'1275734305','1275734305',1),(418,22,1,'1276520038','1276520038',1),(419,22,2,'1276520205','1276520205',1),(420,22,2,'1276520636','1276520636',1),(421,22,2,'1276520681','1276520681',1),(422,22,2,'1276520747','1276520747',1),(423,22,2,'1276520863','1276520863',1),(424,22,2,'1276520881','1276520881',1),(425,22,2,'1276520953','1276520953',1),(426,22,2,'1276520983','1276520983',1),(427,22,2,'1276521178','1276521178',1),(428,22,2,'1276521203','1276521203',1),(429,23,1,'1276521306','1276521306',1),(430,23,1,'1276521578','1276521578',1),(431,23,1,'1276521854','1276521854',1),(432,23,1,'1276521866','1276521866',1),(433,23,2,'1276522002','1276522002',1),(434,23,2,'1276522046','1276522046',1),(435,23,2,'1276522087','1276522087',1),(436,24,2,'1276581400','1276581400',1),(437,24,2,'1276581586','1276581586',1),(438,24,2,'1276581594','1276581594',1),(439,24,2,'1276581648','1276581648',1),(440,25,1,'1276586239','1276586239',1),(441,26,1,'1276586295','1276586295',1),(442,27,1,'1276586447','1276586447',1),(443,28,1,'1276586506','1276586506',1),(444,29,1,'1276586585','1276586585',1),(445,30,1,'1276586705','1276586705',1),(446,30,1,'1276586874','1276586874',1),(447,6,2,'1277402702','1277402702',1),(448,6,2,'1277402768','1277402768',1),(449,30,1,'1277402890','1277402890',1),(450,30,1,'1277402927','1277402927',1),(451,30,1,'1277403112','1277403112',1),(452,31,2,'1277405569','1277405569',1),(453,32,2,'1277405654','1277405654',1),(454,2,2,'1277808597','1277808597',3),(455,2,2,'1277808644','1277808644',3),(456,2,2,'1277808670','1277808670',3),(457,2,2,'1277808689','1277808689',3),(458,2,2,'1277808704','1277808704',3),(459,2,2,'1277808754','1277808754',3),(460,2,2,'1277809256','1277809256',3),(461,2,2,'1277809365','1277809365',3),(462,2,2,'1277809411','1277809411',3),(463,2,2,'1277809526','1277809526',3),(464,2,2,'1277809551','1277809551',3),(465,2,2,'1277809568','1277809568',3),(466,2,2,'1277809572','1277809572',3),(467,2,2,'1277809584','1277809584',3),(468,2,2,'1277809591','1277809591',3),(469,29,1,'1277809664','1277809664',2),(470,29,1,'1277809754','1277809754',2),(471,29,1,'1277809794','1277809794',2),(472,30,1,'1277810069','1277810069',2),(473,30,1,'1277810110','1277810110',2),(474,30,1,'1277810139','1277810139',2),(475,30,1,'1277810192','1277810192',2),(476,30,1,'1277810270','1277810270',2),(477,30,1,'1277810306','1277810306',2),(478,30,1,'1277810371','1277810371',2),(479,30,1,'1277810616','1277810616',2),(480,30,1,'1277810624','1277810624',2),(481,30,1,'1277810716','1277810716',2),(482,31,2,'1277810738','1277810738',2),(483,31,2,'1277810912','1277810912',2),(484,31,2,'1277810916','1277810916',2),(485,31,2,'1277810930','1277810930',2),(486,31,2,'1277810949','1277810949',2),(487,30,1,'1277810959','1277810959',2),(488,30,1,'1277810969','1277810969',2),(489,30,1,'1277811014','1277811014',2),(490,30,1,'1277811024','1277811024',2),(491,30,1,'1277811090','1277811090',2),(492,30,1,'1277811153','1277811153',2),(493,30,1,'1277811350','1277811350',2),(494,33,1,'1277812121','1277812121',2),(495,34,1,'1277812711','1277812711',1),(496,34,1,'1277812779','1277812779',1),(497,34,1,'1277812824','1277812824',1),(498,35,1,'1277814773','1277814773',1),(499,35,1,'1277814790','1277814790',1),(500,35,1,'1277814835','1277814835',2),(501,36,1,'1277814862','1277814862',2),(502,30,1,'1277821042','1277821042',2),(503,2,2,'1277881461','1277881461',1),(504,30,1,'1277900866','1277900866',2),(505,2,2,'1277901760','1277901760',3),(506,30,1,'1277901971','1277901971',2),(507,30,1,'1277902017','1277902017',2),(508,30,1,'1277902388','1277902388',2),(509,30,1,'1277903024','1277903024',2),(510,30,1,'1277903901','1277903901',2),(511,30,1,'1277904553','1277904553',2),(512,30,1,'1277904711','1277904711',2),(513,2,2,'1277904809','1277904809',1),(514,2,2,'1277905058','1277905058',1),(515,2,2,'1277965748','1277965748',1),(516,37,1,'1277967705','1277967705',2),(517,38,1,'1277969543','1277969543',1),(518,39,1,'1277970076','1277970076',2),(519,3,2,'1278339440','1278339440',1),(520,40,1,'1278339932','1278339932',1),(521,41,1,'1282562171','1282562171',1),(522,42,1,'1282562576','1282562576',1),(523,43,1,'1282562719','1282562719',1),(524,44,1,'1282680064','1282680064',1),(525,45,1,'1283159723','1283159723',1),(526,46,1,'1283166206','1283166206',1),(527,46,1,'1283253142','1283253142',1),(528,46,1,'1283260292','1283260292',1);

--
-- Table structure for table `bstock_pl_postatustypes`
--

CREATE TABLE `bstock_pl_postatustypes` (
  `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_postatustypes`
--

INSERT INTO `bstock_pl_postatustypes` VALUES (1,'Pending','','1',0,0),(2,'Delivered','','1',0,0),(3,'Paid','Paid','1',1267005563,1267005563);

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

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

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

INSERT INTO `bstock_pl_productview_stat` VALUES (1,12,39,'59.182.50.67','1264184537'),(2,12,43,'59.182.50.67','1264184571'),(3,9,41,'59.182.62.195','1264251968'),(4,9,43,'59.182.62.195','1264251977'),(5,38,46,'69.208.108.27','1264712470'),(6,38,48,'69.208.108.27','1264712479'),(7,25,60,'59.182.147.34','1264837250'),(8,25,29,'59.182.147.34','1264837276'),(9,25,51,'59.182.147.34','1264837279'),(10,25,51,'59.182.147.34','1264837408'),(11,25,52,'59.182.147.34','1264837415'),(12,25,53,'59.182.147.34','1264837418'),(13,25,52,'59.182.147.34','1264837430'),(14,25,55,'59.182.147.34','1264837448'),(15,25,30,'59.182.147.34','1264837460'),(16,25,45,'59.182.147.34','1264837464'),(17,25,21,'59.182.147.34','1264837477'),(18,25,35,'59.182.147.34','1264837480'),(19,25,41,'59.182.147.34','1264837483'),(20,25,35,'59.182.147.34','1264837486'),(21,25,36,'59.182.147.34','1264837497'),(22,25,36,'59.182.147.34','1264837500'),(23,25,34,'59.182.147.34','1264837510'),(24,25,43,'59.182.147.34','1264837514'),(25,25,19,'59.182.147.34','1264837517'),(26,25,38,'59.182.147.34','1264837527'),(27,25,48,'59.182.147.34','1264837530'),(28,25,58,'59.182.147.34','1264837542'),(29,25,58,'59.182.147.34','1264837548'),(30,25,39,'59.182.147.34','1264837680'),(31,25,56,'59.182.147.34','1264837685'),(32,25,56,'59.182.147.34','1264837689'),(33,25,39,'59.182.147.34','1264837693'),(34,25,29,'59.182.147.34','1264837793'),(35,25,60,'59.182.147.34','1264838486'),(36,25,60,'59.182.147.34','1264838520'),(37,25,57,'59.182.147.34','1264838922'),(38,25,29,'59.182.160.218','1265031002'),(39,12,45,'59.182.107.244','1265180032'),(40,12,12,'59.182.51.236','1265198839'),(41,12,28,'59.182.51.236','1265198866'),(42,12,12,'59.182.51.236','1265198901'),(43,12,6,'59.182.51.236','1265198913'),(44,12,12,'59.182.51.236','1265199014'),(45,12,28,'59.182.51.236','1265199028'),(46,12,16,'59.182.51.236','1265199097'),(47,12,5,'59.182.51.236','1265199135'),(48,12,7,'59.182.51.236','1265199140'),(49,12,34,'59.182.51.236','1265199146'),(50,12,20,'59.182.51.236','1265199235'),(51,12,12,'59.182.51.236','1265199245'),(52,12,31,'59.182.51.236','1265199255'),(53,12,28,'59.182.51.236','1265199276'),(54,12,12,'59.182.51.236','1265199281'),(55,12,7,'59.182.51.236','1265199545'),(56,12,20,'59.182.51.236','1265199553'),(57,12,28,'59.182.51.236','1265199591'),(58,12,33,'59.182.51.236','1265199631'),(59,12,31,'59.182.51.236','1265199637'),(60,12,20,'59.182.51.236','1265199804'),(61,12,25,'59.182.51.236','1265199851'),(62,12,31,'59.182.51.236','1265199891'),(63,12,16,'59.182.51.236','1265200078'),(64,12,34,'59.182.51.236','1265200093'),(65,12,33,'59.182.51.236','1265200098'),(66,12,12,'59.182.51.236','1265200353'),(67,25,628,'59.182.179.196','1265295558'),(68,25,641,'59.182.185.88','1265790288'),(69,25,641,'59.182.185.88','1265790317'),(70,12,114,'59.182.147.76','1265791949'),(71,44,10,'122.169.15.45','1265801975'),(72,44,5,'122.169.15.45','1265801984'),(73,44,8,'122.169.15.45','1265802024'),(74,12,4,'59.182.172.183','1265802033'),(75,12,1,'59.182.153.191','1265890397'),(76,12,2,'59.182.153.191','1265890444'),(77,12,4,'59.182.153.191','1265890482'),(78,12,5,'59.182.153.191','1265890592'),(79,12,5,'59.182.153.191','1265890611'),(80,12,16,'59.182.153.191','1265890615'),(81,12,1,'59.182.153.191','1265892900'),(82,12,16,'59.182.153.191','1265893339'),(83,12,12,'59.182.153.191','1265893900'),(84,12,11,'59.182.153.191','1265894114'),(85,12,16,'59.182.153.191','1265894326'),(86,12,2,'59.182.153.191','1265894330'),(87,12,23,'59.182.153.191','1265894335'),(88,12,35,'59.182.153.191','1265894341'),(89,12,42,'59.182.153.191','1265894352'),(90,12,634,'59.182.153.191','1265894557'),(91,12,633,'59.182.153.191','1265895026'),(92,12,619,'59.182.153.191','1265895130'),(93,12,620,'59.182.153.191','1265895148'),(94,12,621,'59.182.153.191','1265895158'),(95,12,599,'59.182.153.191','1265895427'),(96,12,1,'59.182.177.226','1265977808'),(97,44,1,'122.169.47.126','1265977812'),(98,44,10,'122.169.47.126','1265977846'),(99,12,1,'59.182.23.45','1266154815'),(100,12,1,'59.182.23.45','1266154996'),(101,46,64,'122.169.21.229','1266486391'),(102,46,64,'122.169.21.229','1266487621'),(103,41,637,'59.182.128.96','1266558498'),(104,12,1,'59.182.89.116','1266585336'),(105,12,2,'59.182.89.116','1266585372'),(106,12,4,'59.182.89.116','1266585379'),(107,12,5,'59.182.89.116','1266585589'),(108,12,7,'59.182.89.116','1266585668'),(109,12,1,'59.182.89.116','1266585704'),(110,12,16,'59.182.89.116','1266586016'),(111,12,12,'59.182.89.116','1266586024'),(112,12,16,'59.182.89.116','1266586168'),(113,12,1,'59.182.89.116','1266586175'),(114,12,21,'59.182.89.116','1266586319'),(115,12,20,'59.182.89.116','1266587021'),(116,12,33,'59.182.89.116','1266587056'),(117,12,29,'59.182.89.116','1266587079'),(118,12,31,'59.182.89.116','1266587127'),(119,12,34,'59.182.89.116','1266587134'),(120,12,40,'59.182.89.116','1266587155'),(121,12,42,'59.182.89.116','1266587169'),(122,12,37,'59.182.89.116','1266587174'),(123,12,38,'59.182.89.116','1266587278'),(124,12,39,'59.182.89.116','1266587293'),(125,12,38,'59.182.89.116','1266587295'),(126,12,48,'59.182.89.116','1266587313'),(127,12,57,'59.182.89.116','1266587336'),(128,12,66,'59.182.89.116','1266587342'),(129,12,59,'59.182.89.116','1266587342'),(130,12,634,'59.182.89.116','1266587349'),(131,12,10,'59.182.89.116','1266587366'),(132,12,8,'59.182.89.116','1266587366'),(133,12,11,'59.182.89.116','1266587458'),(134,12,43,'59.182.89.116','1266587505'),(135,12,11,'59.182.89.116','1266587626'),(136,12,29,'59.182.89.116','1266587683'),(137,12,41,'59.182.89.116','1266587719'),(138,12,46,'59.182.89.116','1266587745'),(139,12,37,'59.182.89.116','1266587855'),(140,12,2,'59.182.89.116','1266587869'),(141,12,43,'59.182.89.116','1266587892'),(142,12,20,'59.182.89.116','1266588120'),(143,12,17,'59.182.89.116','1266588127'),(144,12,18,'59.182.89.116','1266588238'),(145,12,19,'59.182.89.116','1266588243'),(146,12,21,'59.182.89.116','1266588275'),(147,12,43,'59.182.89.116','1266588299'),(148,41,12,'59.182.162.1','1266665014'),(149,12,642,'122.169.0.9','1267005745'),(150,12,2,'59.182.108.88','1267118367'),(151,12,7,'59.182.108.88','1267118375'),(152,12,3,'59.182.142.238','1267168627'),(153,12,4,'220.246.25.158','1267420806'),(154,12,7,'220.246.25.158','1267420831'),(155,12,2,'59.182.100.115','1267638297'),(156,12,2,'122.169.61.239','1268025948'),(157,0,3,'127.0.0.1','1272009139'),(158,0,9,'127.0.0.1','1272009145'),(159,0,0,'59.182.28.225','1277741491'),(160,0,0,'59.182.28.225','1277741728'),(161,0,0,'59.182.28.225','1277742194'),(162,0,0,'59.182.28.225','1277742278'),(163,0,0,'59.182.28.225','1277742523'),(164,0,0,'59.182.28.225','1277742535'),(165,0,0,'59.182.28.225','1277742550'),(166,0,0,'59.182.28.225','1277742602'),(167,0,0,'59.182.28.225','1277742714'),(168,0,0,'59.182.28.225','1277742784'),(169,0,0,'59.182.28.225','1277742843'),(170,0,0,'59.182.28.225','1277742909'),(171,0,0,'59.182.28.225','1277742995'),(172,0,0,'59.182.28.225','1277743278'),(173,0,0,'59.182.28.225','1277743344'),(174,0,0,'59.182.28.225','1277743353'),(175,0,0,'59.182.28.225','1277743413'),(176,0,0,'59.182.28.225','1277743444'),(177,0,0,'59.182.28.225','1277743485'),(178,0,0,'59.182.28.225','1277743608'),(179,0,0,'59.182.28.225','1277743903'),(180,0,0,'59.182.28.225','1277744020'),(181,0,0,'59.182.28.225','1277744021'),(182,0,0,'59.182.28.225','1277744037'),(183,0,0,'59.182.28.225','1277744053'),(184,0,0,'59.182.28.225','1277744061'),(185,0,0,'59.182.28.225','1277744065'),(186,0,0,'59.182.28.225','1277744072'),(187,0,0,'59.182.28.225','1277744078'),(188,0,0,'59.182.28.225','1277744155'),(189,0,0,'59.182.28.225','1277744315'),(190,0,0,'59.182.28.225','1277744861'),(191,0,0,'59.182.28.225','1277744886'),(192,0,0,'59.182.28.225','1277745235'),(193,0,0,'59.182.28.225','1277745674'),(194,0,0,'59.182.28.225','1277746005'),(195,0,0,'59.182.28.225','1277746213'),(196,0,0,'59.182.28.225','1277746240'),(197,0,0,'59.182.28.225','1277746265'),(198,0,0,'59.182.28.225','1277746493'),(199,0,0,'59.182.28.225','1277746510'),(200,0,0,'59.182.28.225','1277746682'),(201,0,0,'59.182.28.225','1277747466'),(202,0,0,'59.182.28.225','1277747510'),(203,0,0,'59.182.28.225','1277748122'),(204,0,0,'59.182.28.225','1277748159'),(205,0,0,'59.182.28.225','1277748342'),(206,0,0,'59.182.28.225','1277748437'),(207,0,0,'59.182.28.225','1277748511'),(208,0,0,'59.182.28.225','1277748717'),(209,0,0,'59.182.28.225','1277748720'),(210,0,0,'59.182.28.225','1277748739'),(211,0,0,'59.182.105.113','1277810215'),(212,0,0,'59.182.9.179','1278341404'),(213,0,0,'59.182.9.179','1278341444'),(214,0,0,'59.182.9.179','1278341461'),(215,0,0,'59.182.9.179','1278341496'),(216,0,0,'59.182.9.179','1278341910'),(217,0,0,'59.182.9.179','1278342374'),(218,0,0,'59.182.9.179','1278354469'),(219,0,0,'59.182.9.179','1278354988'),(220,0,0,'59.182.9.179','1278355308'),(221,0,0,'59.182.9.179','1278355442'),(222,0,0,'59.182.9.179','1278355628'),(223,0,0,'59.182.9.179','1278355708'),(224,0,0,'59.182.9.179','1278355925'),(225,0,0,'59.182.9.179','1278355942'),(226,0,0,'59.182.9.179','1278356055'),(227,0,0,'59.182.144.244','1278507546'),(228,0,0,'59.182.182.109','1278508359'),(229,0,0,'59.182.86.107','1279123688'),(230,0,0,'59.182.86.107','1279123987'),(231,0,0,'59.182.86.107','1279124156'),(232,0,0,'59.182.86.107','1279124172'),(233,0,0,'59.182.86.107','1279124217'),(234,0,0,'59.182.86.107','1279124223'),(235,0,0,'59.182.97.8','1279347745'),(236,0,0,'59.182.37.186','1281163076'),(237,0,0,'59.182.37.186','1281163087'),(238,0,0,'59.182.37.186','1281163094'),(239,0,0,'59.182.37.186','1281163098'),(240,0,0,'59.182.37.186','1281164369'),(241,0,0,'59.182.37.186','1281164604'),(242,0,0,'59.182.37.186','1281164983'),(243,0,0,'59.182.37.186','1281165351'),(244,0,0,'59.182.37.186','1281166359'),(245,0,0,'59.182.37.186','1281166420'),(246,0,0,'59.182.37.186','1281166429'),(247,0,0,'59.182.37.186','1281166463'),(248,0,0,'59.182.37.186','1281166501'),(249,0,0,'59.182.37.186','1281166535'),(250,0,0,'59.182.37.186','1281166558'),(251,0,0,'59.182.37.186','1281166565'),(252,0,0,'59.182.37.186','1281166568'),(253,0,0,'59.182.37.186','1281166659'),(254,0,0,'59.182.37.186','1281166666'),(255,0,0,'59.182.37.186','1281168614'),(256,0,0,'59.182.37.186','1281168631'),(257,0,0,'59.182.37.186','1281168640'),(258,0,0,'59.182.37.186','1281168837'),(259,0,0,'59.182.37.186','1281168839'),(260,0,0,'59.182.37.186','1281168842'),(261,0,0,'59.182.37.186','1281168943'),(262,0,0,'59.182.37.186','1281168972'),(263,0,0,'59.182.37.186','1281168986'),(264,0,0,'59.182.37.186','1281168994'),(265,0,0,'59.182.37.186','1281169000'),(266,0,0,'59.182.37.186','1281169002'),(267,0,0,'59.182.37.186','1281169006'),(268,0,0,'59.182.37.186','1281169273'),(269,0,0,'59.182.37.186','1281169279'),(270,0,0,'59.182.0.35','1281181430'),(271,0,0,'59.182.0.35','1281181519'),(272,0,0,'59.182.118.15','1281187297'),(273,0,0,'59.182.118.15','1281187609'),(274,0,0,'59.182.81.105','1281199963'),(275,0,0,'59.182.81.105','1281199990'),(276,0,0,'59.182.81.105','1281200798'),(277,0,0,'59.182.81.105','1281200822'),(278,0,0,'59.182.81.105','1281200833'),(279,0,0,'59.182.81.105','1281201347'),(280,0,0,'59.182.81.105','1281201373'),(281,0,0,'59.182.81.105','1281201384'),(282,0,0,'59.182.81.105','1281201396'),(283,0,0,'59.182.81.105','1281203524'),(284,0,0,'59.182.35.57','1281260348'),(285,0,0,'59.182.35.57','1281260367'),(286,0,0,'59.182.35.57','1281260372'),(287,0,0,'59.182.35.57','1281260724'),(288,0,0,'59.182.35.57','1281260801'),(289,0,0,'59.182.35.57','1281260802'),(290,0,0,'59.182.35.57','1281260813'),(291,0,0,'59.182.35.57','1281260820'),(292,0,0,'59.182.35.57','1281260820'),(293,0,0,'59.182.35.57','1281260824'),(294,0,0,'59.182.35.57','1281261118'),(295,0,0,'59.182.35.57','1281266903'),(296,0,0,'59.182.35.57','1281267420'),(297,0,0,'59.182.35.57','1281267437'),(298,0,0,'59.182.35.57','1281267505'),(299,0,0,'59.182.35.57','1281267615'),(300,0,0,'59.182.35.57','1281267893'),(301,0,0,'59.182.35.57','1281267894'),(302,0,0,'59.182.35.57','1281267923'),(303,0,0,'59.182.35.57','1281268062'),(304,0,0,'59.182.35.57','1281268131'),(305,0,0,'59.182.35.57','1281268172'),(306,0,0,'59.182.35.57','1281268240'),(307,0,0,'59.182.35.57','1281268292'),(308,0,0,'59.182.35.57','1281268401'),(309,0,0,'59.182.35.57','1281268402'),(310,0,0,'59.182.35.57','1281268510'),(311,0,0,'59.182.35.57','1281268580'),(312,0,0,'59.182.35.57','1281268688'),(313,0,0,'59.182.35.57','1281268733'),(314,0,0,'59.182.35.57','1281268821'),(315,0,0,'59.182.35.57','1281269067'),(316,0,0,'59.182.35.57','1281269123'),(317,0,0,'59.182.35.57','1281269142'),(318,0,0,'59.182.35.57','1281269165'),(319,0,0,'59.182.35.57','1281269424'),(320,0,0,'59.182.70.64','1281269809'),(321,0,0,'59.182.70.64','1281269942'),(322,0,0,'59.182.70.64','1281269977'),(323,0,0,'59.182.70.64','1281269998'),(324,0,0,'59.182.70.64','1281270194'),(325,0,0,'59.182.70.64','1281270204'),(326,0,0,'59.182.70.64','1281270239'),(327,0,0,'59.182.70.64','1281270285'),(328,0,0,'59.182.70.64','1281270404'),(329,0,0,'59.182.70.64','1281289289'),(330,0,0,'59.182.70.64','1281289381'),(331,0,0,'59.182.70.64','1281289419'),(332,0,0,'59.182.70.64','1281289444'),(333,0,0,'59.182.118.69','1281375630'),(334,0,0,'59.182.118.69','1281375631'),(335,0,0,'59.182.62.103','1281458413'),(336,0,0,'59.182.62.103','1281458746'),(337,0,0,'59.182.62.103','1281459227'),(338,0,0,'59.182.38.7','1281857524'),(339,0,0,'59.182.38.7','1281857683'),(340,0,0,'59.182.32.70','1281980101'),(341,0,0,'59.182.82.171','1282372606'),(342,0,0,'59.182.61.112','1282758484'),(343,0,0,'59.182.61.112','1282759030'),(344,0,0,'59.182.60.17','1282972022'),(345,0,0,'59.182.94.198','1283273944'),(346,0,0,'59.182.34.127','1291034369'),(347,0,0,'59.182.34.127','1291034388'),(348,0,0,'59.182.34.127','1291034422'),(349,0,0,'59.182.34.127','1291034434'),(350,0,0,'59.182.34.127','1291034443'),(351,0,0,'59.182.34.127','1291034444'),(352,0,0,'59.182.34.127','1291034487'),(353,0,0,'59.182.34.127','1291034997'),(354,0,0,'59.182.34.127','1291035004'),(355,0,0,'59.182.34.127','1291035013'),(356,0,0,'59.182.34.127','1291035014'),(357,0,0,'59.182.34.127','1291035249'),(358,0,0,'59.182.34.127','1291035376'),(359,0,0,'59.182.34.127','1291035391'),(360,0,0,'59.182.174.137','1291109026'),(361,0,0,'59.182.174.137','1291109923'),(362,0,0,'59.182.174.137','1291109954'),(363,0,0,'59.182.174.137','1291109974'),(364,0,0,'59.182.174.137','1291110113'),(365,0,0,'59.182.182.26','1291151291'),(366,0,0,'59.182.145.111','1291179339');

--
-- Table structure for table `bstock_pl_purchaseorder`
--

CREATE TABLE `bstock_pl_purchaseorder` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number` varchar(500) NOT NULL,
  `contact_person` varchar(255) NOT NULL,
  `carrier_id` int(10) NOT NULL COMMENT 'Foriegn key - primary from carrier_id table',
  `assigned_to_id` int(10) NOT NULL COMMENT 'Foriegn key - primary from bstock_systemusers table',
  `vendor_id` int(10) NOT NULL COMMENT 'Foriegn key - primary from bstock_vendors table',
  `broker_id` int(10) NOT NULL COMMENT 'Foriegn key - primary from bstock_brokers table',
  `tracking_no` varchar(255) NOT NULL COMMENT 'Foriegn key - primary from bstock_postatus table',
  `postatus_id` int(10) NOT NULL COMMENT 'Foriegn key - primary from payment_terms_id table',
  `payment_terms_id` int(10) NOT NULL,
  `dollar_rate` int(11) NOT NULL,
  `type_of_tax` enum('individual','group') NOT NULL,
  `subtotal` int(11) NOT NULL,
  `packaging` int(11) NOT NULL,
  `octroi` int(11) NOT NULL,
  `exciseduty` int(11) NOT NULL,
  `brokerage` decimal(10,2) NOT NULL,
  `net_total` int(11) NOT NULL,
  `terms_condition` varchar(255) NOT NULL,
  `comments_po` varchar(1000) NOT NULL,
  `transaction_type_id` int(10) NOT NULL DEFAULT '1',
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  `due_date` int(11) NOT NULL COMMENT 'Will store the due date of payment for this PO. Incase of COD, initially this field will contain blank.',
  `type` enum('po') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_purchaseorder`
--

INSERT INTO `bstock_pl_purchaseorder` VALUES (2,'1000','baba na',1,1,1,1,'222222',2,1,45,'individual',25658,5,5,5,2.00,28859,'test test ','',2,'on',1263286811,1277965747,0,'po'),(3,'322','322',6,1,2,2,'32423423',2,3,45,'',26230,0,0,0,1.50,29502,'test test ','testt test stsetetrsete  test',2,'on',0,1278339440,0,'po'),(4,'4','4',1,1,1,1,'',1,1,0,'',333,0,0,0,0.00,0,'test test ','',2,'on',0,1275310965,0,'po'),(5,'5','',0,0,0,0,'',0,0,0,'',0,0,0,0,0.00,0,'','',2,'on',0,0,0,'po'),(6,'32423','firstname, lastname',1,1,1,1,'34232',2,2,45,'individual',75262,0,23,23,2.00,232,'test test ','commetns comments',2,'on',1267005563,1277402768,1279994702,'po'),(7,'3422','vishal',1,1,1,1,'3423423',1,1,45,'individual',686,0,0,0,1.25,772,'terms and conditions comments','comments from add new po',1,'on',1275632819,1275632819,1267005563,'po'),(8,'455','baba n',1,1,1,1,'3423423',1,1,45,'individual',0,0,0,0,1.25,0,'terms and conditions comments','comments',1,'off',1275634365,1275634365,1267005563,'po'),(9,'2342342','baba n',1,1,1,1,'23423423423',1,1,45,'individual',966,0,0,0,22.00,1087,'terms and conditions comments','test test',1,'on',1275718232,1275718232,1267005563,'po'),(10,'42343','baba n',1,1,1,1,'2342343423',1,1,45,'individual',66666,0,0,0,22.00,74983,'terms and conditions comments','',2,'on',1275718467,1275718467,1267005563,'po'),(11,'2147483647','baba n',1,1,1,1,'',1,1,45,'individual',2342,0,0,0,0.00,2634,'terms and conditions comments','test',2,'off',1275718814,1275718814,1267005563,'po'),(12,'3333','baba n',1,1,1,1,'23423423423',2,1,45,'individual',999,0,0,0,2.00,1124,'terms and conditions comments','test test ',2,'off',1275719177,1275719177,1267005563,'po'),(13,'3324','baba n',1,1,1,1,'23423423423',1,1,45,'individual',666,0,0,0,2.00,749,'terms and conditions comments','',1,'off',1275719901,1275719901,1267005563,'po'),(14,'2147483647','baba n',1,1,1,1,'2342343423',1,1,45,'individual',0,0,0,0,1.50,0,'terms and conditions comments','test ',1,'off',1275728436,1275728436,1267005563,'po'),(15,'2147483647','baba n',7,1,4,1,'32423',1,1,45,'individual',0,0,0,0,1.50,0,'terms and conditions comments','tes te stse',1,'off',1275728624,1275728624,1267005563,'po'),(16,'3324','baba n',1,1,1,2,'23423423423',1,1,45,'individual',4684,0,0,0,2.00,5268,'terms and conditions comments','est',1,'on',1275729302,1275729302,1267005563,'po'),(17,'3324','baba n',1,1,1,2,'23423423423',1,1,45,'individual',4684,0,0,0,2.00,5268,'terms and conditions comments','est',1,'on',1275730421,1275730421,1267005563,'po'),(18,'2147483647','baba n',1,1,1,1,'23423423423',1,2,45,'individual',0,0,0,0,1.50,0,'terms and conditions comments','',1,'off',1275731994,1275731994,1267005563,'po'),(19,'2147483647','baba n',1,1,1,1,'23423423423',1,2,45,'individual',0,0,0,0,1.50,0,'terms and conditions comments','',1,'off',1275732014,1275732014,1267005563,'po'),(20,'1111111111','baba n',1,1,1,1,'222222222222',1,4,45,'individual',322,0,0,0,1.50,362,'terms and conditions comments','',1,'on',1275732085,1275732085,1267005563,'po'),(21,'1111111111','baba n',1,1,1,1,'23423423423',1,1,45,'individual',0,0,0,0,1.50,0,'terms and conditions comments','',1,'off',1275732220,1275732220,1267005563,'po'),(22,'9090','Adi N',5,1,3,2,'1234',2,3,40,'individual',1000,0,0,0,2.00,1125,'test test ','first po by vishal.',1,'off',1276520036,1276521203,1281705178,'po'),(23,'9999','Adi N',2,1,2,2,'ttttfff',2,5,50,'individual',0,0,0,0,2.00,0,'test test ','gggg',1,'off',1276521306,1276522087,0,'po'),(24,'1223456','baba n',1,1,1,0,'23423423423',2,1,45,'individual',4684,0,0,0,0.00,5268,'test test ','',1,'off',1276581400,1276581648,0,'po'),(25,'0','baba n',1,1,1,1,'222222222222',1,2,45,'individual',0,0,0,0,3.00,0,'terms and conditions comments','',1,'off',1276586238,1276586238,0,'po'),(26,'1111111111','baba n',1,1,1,0,'',1,1,45,'individual',0,0,0,0,0.00,0,'terms and conditions comments','',3,'off',1276586293,1276586293,0,'po'),(27,'0','baba n',1,1,1,0,'',1,1,45,'individual',0,0,0,0,0.00,0,'terms and conditions comments','',3,'off',1276586447,1276586447,0,'po'),(28,'0','baba n',1,1,1,0,'',1,1,45,'individual',0,0,0,0,0.00,0,'terms and conditions comments','',3,'off',1276586506,1276586506,0,'po'),(29,'po9999999','baba n',1,1,1,0,'',1,1,45,'individual',4644,0,0,0,0.00,5223,'test test ','',2,'on',1276586583,1277809794,0,'po'),(30,'po77777','baba narvekar',1,1,1,1,'222222222222',1,3,45,'individual',32530,0,0,0,2.00,36590,'test test ','',3,'on',1276586703,1277904711,0,'po'),(31,'po234233333','adi n',1,1,2,1,'23424',2,2,45,'individual',79419,0,0,0,2.00,89327,'test test ','test',3,'on',1277405569,1277810949,0,'po'),(32,'po2342','adi n',1,1,2,1,'23424',2,2,45,'individual',79419,0,0,0,2.00,89327,'terms and conditions comments','test',1,'on',1277405654,1277405654,1277276054,'po'),(33,'po9898989898','baba n',2,2,2,1,'239872394',1,2,45,'individual',4844,0,0,0,2.00,5448,'terms and conditions comments','test',3,'on',1277812120,1277812120,0,'po'),(34,'po7676767678','admin',2,1,2,1,'4323423',1,2,45,'individual',6644,0,0,0,2.00,7473,'test test ','',1,'on',1277812711,1277812824,0,'po'),(35,'po76767676790','baba narve',2,1,1,0,'239872394',1,1,45,'individual',6966,0,0,0,0.00,7835,'test test ','',3,'on',1277814773,1277814835,0,'po'),(36,'po144444','baba n',2,1,1,0,'',1,1,45,'individual',76626,0,0,0,0.00,86186,'terms and conditions comments','',3,'on',1277814862,1277814862,0,'po'),(37,'po9898989898','baba n',2,2,2,1,'34243',1,2,45,'individual',9000,0,0,0,3.00,10120,'terms and conditions comments','',1,'on',1277967703,1277967703,0,'po'),(38,'','',1,1,1,0,'',1,1,45,'individual',6666,0,0,0,0.00,7498,'terms and conditions comments','',1,'on',1277969543,1277969543,0,'po'),(39,'po676767676','baba n',1,1,1,0,'',1,1,45,'individual',6000,0,0,0,0.00,6750,'terms and conditions comments','',1,'on',1277970076,1277970076,0,'po'),(40,'A123','Swapna',4,3,3,2,'A2Z',1,2,45,'individual',30000,0,0,0,1.50,33743,'terms and conditions comments','',1,'on',1278339931,1278339931,0,'po'),(41,'','',1,1,1,0,'',1,1,45,'individual',5335,0,0,0,0.00,6001,'terms and conditions comments','',1,'on',1282562171,1282562171,0,'po'),(42,'980','',1,1,1,0,'',1,1,45,'individual',5335,0,0,0,0.00,6001,'terms and conditions comments','',1,'on',1282562576,1282562576,0,'po'),(43,'980','',1,1,1,0,'',1,1,45,'individual',5335,0,0,0,0.00,6001,'terms and conditions comments','',1,'on',1282562719,1282562719,0,'po'),(44,'','',1,1,1,0,'',1,1,45,'individual',0,0,0,0,0.00,0,'terms and conditions comments','',1,'on',1282680064,1282680064,0,'po'),(45,'112','Vishal',1,1,1,0,'',1,1,45,'individual',7592,0,0,0,0.00,8539,'terms and conditions comments','',1,'on',1283159723,1283159723,0,'po'),(46,'900','vISHAL',1,1,1,0,'111',1,2,45,'individual',6400,0,0,0,0.00,7198,'test test ','',1,'on',1283166206,1283260292,0,'po');

--
-- Table structure for table `bstock_pl_reportadvfilters`
--

CREATE TABLE `bstock_pl_reportadvfilters` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_reports table.',
  `query_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_selectquery table. This may not be used.',
  `column_index` int(11) NOT NULL COMMENT 'Contains the serial number of filters (fields) selected for a particular report. Stores in format like 0,1,2,3 & so on.',
  `column_name` varchar(250) NOT NULL COMMENT 'Column name which is to be included in the filter.',
  `comparator` varchar(10) NOT NULL COMMENT 'Comparator i.e. equals (e), not equals (n), contains (c), etc.',
  `value` varchar(200) NOT NULL COMMENT 'Value to be matched that is entered by the user while creating the filter.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=515 DEFAULT CHARSET=latin1 COMMENT='This table contains all the filters except the date filter.';

--
-- Dumping data for table `bstock_pl_reportadvfilters`
--

INSERT INTO `bstock_pl_reportadvfilters` VALUES (1,1,0,0,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_Contact_Name:contact_person:V','c','a',0,0),(2,1,0,1,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_Subtotal:subtotal:V','g','200',0,0),(3,1,0,2,'bstock_pl_purchaseorder:type_of_tax:PurchaseOrder_Type_Of_Tax:type_of_tax:V','e','individual',0,0),(4,1,0,3,'bstock_pl_purchaseorder:packaging:PurchaseOrder_Packaging:packaging:V','e','',0,0),(16,7,0,1,'','','',1276586668,1276586668),(17,7,0,2,'','','',1276586668,1276586668),(18,7,0,3,'','','',1276586668,1276586668),(15,7,0,0,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I','g','800',1276586668,1276586668),(19,7,0,4,'','','',1276586668,1276586668),(31,10,0,1,'','','',1276591968,1276591968),(32,10,0,2,'','','',1276591968,1276591968),(28,9,0,3,'','','',1276590740,1276590740),(29,9,0,4,'','','',1276590740,1276590740),(26,9,0,1,'','','',1276590740,1276590740),(27,9,0,2,'','','',1276590740,1276590740),(30,10,0,0,'bstock_pl_purchaseorder:postatus_id:PurchaseOrder_postatus_id:postatus_id:I','e','1',1276591968,1276591968),(25,9,0,0,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V','c','a',1276590740,1276590740),(33,10,0,3,'','','',1276591968,1276591968),(34,10,0,4,'','','',1276591968,1276591968),(35,11,0,0,'','','',1276593750,1276593750),(36,11,0,1,'','','',1276593751,1276593751),(37,11,0,2,'','','',1276593752,1276593752),(38,11,0,3,'','','',1276593752,1276593752),(39,11,0,4,'','','',1276593752,1276593752),(40,12,0,0,'','','',1276598766,1276598766),(41,12,0,1,'','','',1276598767,1276598767),(42,12,0,2,'','','',1276598768,1276598768),(43,12,0,3,'','','',1276598768,1276598768),(44,12,0,4,'','','',1276598768,1276598768),(45,13,0,0,'','','',1276608024,1276608024),(46,13,0,1,'','','',1276608025,1276608025),(47,13,0,2,'','','',1276608025,1276608025),(48,13,0,3,'','','',1276608025,1276608025),(49,13,0,4,'','','',1276608025,1276608025),(50,14,0,0,'','','',1276608490,1276608490),(51,14,0,1,'','','',1276608490,1276608490),(52,14,0,2,'','','',1276608490,1276608490),(53,14,0,3,'','','',1276608490,1276608490),(54,14,0,4,'','','',1276608490,1276608490),(55,15,0,0,'','','',1276684109,1276684109),(56,15,0,1,'','','',1276684109,1276684109),(57,15,0,2,'','','',1276684109,1276684109),(58,15,0,3,'','','',1276684109,1276684109),(59,15,0,4,'','','',1276684109,1276684109),(60,16,0,0,'','','',1276687488,1276687488),(61,16,0,1,'','','',1276687488,1276687488),(62,16,0,2,'','','',1276687488,1276687488),(63,16,0,3,'','','',1276687488,1276687488),(64,16,0,4,'','','',1276687488,1276687488),(65,17,0,0,'','','',1276691935,1276691935),(66,17,0,1,'','','',1276691935,1276691935),(67,17,0,2,'','','',1276691935,1276691935),(68,17,0,3,'','','',1276691935,1276691935),(69,17,0,4,'','','',1276691935,1276691935),(70,18,0,0,'','','',1276692775,1276692775),(71,18,0,1,'','','',1276692775,1276692775),(72,18,0,2,'','','',1276692776,1276692776),(73,18,0,3,'','','',1276692776,1276692776),(74,18,0,4,'','','',1276692776,1276692776),(75,19,0,0,'','','',1276693256,1276693256),(76,19,0,1,'','','',1276693256,1276693256),(77,19,0,2,'','','',1276693256,1276693256),(78,19,0,3,'','','',1276693256,1276693256),(79,19,0,4,'','','',1276693256,1276693256),(80,20,0,0,'','','',1276693459,1276693459),(81,20,0,1,'','','',1276693459,1276693459),(82,20,0,2,'','','',1276693459,1276693459),(83,20,0,3,'','','',1276693459,1276693459),(84,20,0,4,'','','',1276693459,1276693459),(85,21,0,0,'','','',1276693750,1276693750),(86,21,0,1,'','','',1276693750,1276693750),(87,21,0,2,'','','',1276693750,1276693750),(88,21,0,3,'','','',1276693750,1276693750),(89,21,0,4,'','','',1276693750,1276693750),(474,23,0,4,'','','',1280230394,1280230394),(302,24,0,2,'','','',1278674856,1278674856),(303,24,0,3,'','','',1278674856,1278674856),(105,25,0,0,'','','',1276767496,1276767496),(106,25,0,1,'','','',1276767496,1276767496),(107,25,0,2,'','','',1276767496,1276767496),(108,25,0,3,'','','',1276767496,1276767496),(109,25,0,4,'','','',1276767496,1276767496),(110,26,0,0,'','','',1276773451,1276773451),(111,26,0,1,'','','',1276773452,1276773452),(112,26,0,2,'','','',1276773454,1276773454),(113,26,0,3,'','','',1276773454,1276773454),(114,26,0,4,'','','',1276773454,1276773454),(115,27,0,0,'','','',1276775242,1276775242),(116,27,0,1,'','','',1276775242,1276775242),(117,27,0,2,'','','',1276775242,1276775242),(118,27,0,3,'','','',1276775242,1276775242),(119,27,0,4,'','','',1276775242,1276775242),(120,28,0,0,'','','',1276780009,1276780009),(121,28,0,1,'','','',1276780009,1276780009),(122,28,0,2,'','','',1276780009,1276780009),(123,28,0,3,'','','',1276780009,1276780009),(124,28,0,4,'','','',1276780009,1276780009),(239,29,0,4,'','','',1277299809,1277299809),(238,29,0,3,'','','',1277299809,1277299809),(237,29,0,2,'','','',1277299809,1277299809),(236,29,0,1,'','','',1277299809,1277299809),(235,29,0,0,'','','',1277299809,1277299809),(155,30,0,0,'','','',1277189889,1277189889),(156,30,0,1,'','','',1277189889,1277189889),(157,30,0,2,'','','',1277189889,1277189889),(158,30,0,3,'','','',1277189889,1277189889),(159,30,0,4,'','','',1277189889,1277189889),(160,31,0,0,'','','',1277199613,1277199613),(161,31,0,1,'','','',1277199614,1277199614),(162,31,0,2,'','','',1277199614,1277199614),(163,31,0,3,'','','',1277199614,1277199614),(164,31,0,4,'','','',1277199614,1277199614),(174,32,0,4,'','','',1277202389,1277202389),(173,32,0,3,'','','',1277202389,1277202389),(172,32,0,2,'','','',1277202389,1277202389),(171,32,0,1,'','','',1277202389,1277202389),(170,32,0,0,'','','',1277202389,1277202389),(209,33,0,4,'','','',1277292445,1277292445),(208,33,0,3,'','','',1277292445,1277292445),(207,33,0,2,'','','',1277292445,1277292445),(206,33,0,1,'','','',1277292445,1277292445),(205,33,0,0,'','','',1277292445,1277292445),(210,34,0,0,'','','',1277294934,1277294934),(211,34,0,1,'','','',1277294934,1277294934),(212,34,0,2,'','','',1277294934,1277294934),(213,34,0,3,'','','',1277294934,1277294934),(214,34,0,4,'','','',1277294934,1277294934),(215,35,0,0,'','','',1277295055,1277295055),(216,35,0,1,'','','',1277295055,1277295055),(217,35,0,2,'','','',1277295055,1277295055),(218,35,0,3,'','','',1277295055,1277295055),(219,35,0,4,'','','',1277295055,1277295055),(229,36,0,4,'','','',1277297631,1277297631),(228,36,0,3,'','','',1277297631,1277297631),(227,36,0,2,'','','',1277297631,1277297631),(226,36,0,1,'','','',1277297631,1277297631),(225,36,0,0,'','','',1277297631,1277297631),(230,37,0,0,'','','',1277297943,1277297943),(231,37,0,1,'','','',1277297943,1277297943),(232,37,0,2,'','','',1277297943,1277297943),(233,37,0,3,'','','',1277297943,1277297943),(234,37,0,4,'','','',1277297943,1277297943),(254,38,0,4,'','','',1277302290,1277302290),(253,38,0,3,'','','',1277302290,1277302290),(252,38,0,2,'','','',1277302290,1277302290),(251,38,0,1,'','','',1277302290,1277302290),(250,38,0,0,'','','',1277302290,1277302290),(255,39,0,0,'','','',1277373932,1277373932),(256,39,0,1,'','','',1277373932,1277373932),(257,39,0,2,'','','',1277373932,1277373932),(258,39,0,3,'','','',1277373932,1277373932),(259,39,0,4,'','','',1277373932,1277373932),(514,40,0,4,'','','',1283512209,1283512209),(473,23,0,3,'','','',1280230394,1280230394),(304,24,0,4,'','','',1278674856,1278674856),(301,24,0,1,'','','',1278674856,1278674856),(300,24,0,0,'','','',1278674856,1278674856),(472,23,0,2,'bstock_orderstatustypes:status:SalesOrder_status:status:V','k','Order Placed',1280230394,1280230394),(502,22,0,2,'','','',1281117096,1281117096),(501,22,0,1,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V','k','Delivered',1281117096,1281117096),(443,41,0,3,'','','',1280217867,1280217867),(442,41,0,2,'','','',1280217867,1280217867),(441,41,0,1,'bstock_products:symmetry:Products_symmetry:symmetry:V','e','VERY GOOD',1280217867,1280217867),(440,41,0,0,'bstock_products:qty:Products_qty:qty:I','g','0',1280217867,1280217867),(385,42,0,0,'','','',1280208747,1280208747),(386,42,0,1,'','','',1280208747,1280208747),(387,42,0,2,'','','',1280208747,1280208747),(388,42,0,3,'','','',1280208747,1280208747),(389,42,0,4,'','','',1280208747,1280208747),(399,43,0,4,'','','',1280210777,1280210777),(398,43,0,3,'','','',1280210777,1280210777),(397,43,0,2,'','','',1280210777,1280210777),(396,43,0,1,'','','',1280210777,1280210777),(395,43,0,0,'','','',1280210777,1280210777),(406,44,0,1,'','','',1280212568,1280212568),(405,44,0,0,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V','e','Vishal & Co.',1280212568,1280212568),(407,44,0,2,'','','',1280212568,1280212568),(408,44,0,3,'','','',1280212568,1280212568),(409,44,0,4,'','','',1280212568,1280212568),(410,45,0,0,'bstock_products:sellqty:PurchaseOrder_sellqty:sellqty:I','e','0',1280213104,1280213104),(411,45,0,1,'','','',1280213104,1280213104),(412,45,0,2,'','','',1280213104,1280213104),(413,45,0,3,'','','',1280213104,1280213104),(414,45,0,4,'','','',1280213104,1280213104),(415,46,0,0,'','','',1280216443,1280216443),(416,46,0,1,'','','',1280216443,1280216443),(417,46,0,2,'','','',1280216443,1280216443),(418,46,0,3,'','','',1280216443,1280216443),(419,46,0,4,'','','',1280216443,1280216443),(500,22,0,0,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V','k','Paid',1281117096,1281117096),(470,23,0,0,'bstock_orderstatustypes:status:SalesOrder_status:status:V','k','Paid',1280230394,1280230394),(471,23,0,1,'bstock_orderstatustypes:status:SalesOrder_status:status:V','k','Order Cancelled',1280230394,1280230394),(444,41,0,4,'','','',1280217867,1280217867),(484,47,0,4,'','','',1280293802,1280293802),(483,47,0,3,'','','',1280293802,1280293802),(482,47,0,2,'','','',1280293802,1280293802),(481,47,0,1,'','','',1280293802,1280293802),(480,47,0,0,'','','',1280293802,1280293802),(499,48,0,4,'','','',1281116408,1281116408),(498,48,0,3,'','','',1281116408,1281116408),(497,48,0,2,'','','',1281116408,1281116408),(496,48,0,1,'','','',1281116408,1281116408),(495,48,0,0,'','','',1281116408,1281116408),(503,22,0,3,'','','',1281117096,1281117096),(504,22,0,4,'','','',1281117096,1281117096),(513,40,0,3,'','','',1283512209,1283512209),(512,40,0,2,'','','',1283512209,1283512209),(511,40,0,1,'','','',1283512209,1283512209),(510,40,0,0,'','','',1283512209,1283512209);

--
-- Table structure for table `bstock_pl_reportcolumns`
--

CREATE TABLE `bstock_pl_reportcolumns` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_reports table.',
  `query_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_selectquery table. This may not be used.',
  `column_index` int(11) NOT NULL COMMENT 'Contains the serial number of fields for a particular report. Stores in format like 0,1,2,3 & so on.',
  `column_name` varchar(250) NOT NULL COMMENT 'Column name which is to be included in the report.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=699 DEFAULT CHARSET=latin1 COMMENT='Contains the columns that are to be displayed in the output ';

--
-- Dumping data for table `bstock_pl_reportcolumns`
--

INSERT INTO `bstock_pl_reportcolumns` VALUES (1,1,0,0,'bstock_pl_purchaseorder:tracking_no:PurchaseOrder_Tracking_No:tracking_no:V',0,0),(2,1,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_Contact_Person:contact_person:V',0,0),(3,1,0,3,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_Subtotal:subtotal:V',0,0),(8,1,0,4,'bstock_pl_purchaseorder:net_total:PurchaseOrder_Net_Total:net_total:V',0,0),(9,1,0,2,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_Brokerage:brokerage:V',0,0),(28,7,0,6,'bstock_vendors:vendor_name:PurchaseOrder_Vendor_Name:vendor_name:V',0,0),(26,7,0,4,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276586667,1276586667),(27,7,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276586667,1276586667),(25,7,0,3,'bstock_pl_purchaseorder:exciseduty:PurchaseOrder_exciseduty:exciseduty:I',1276586667,1276586667),(24,7,0,2,'bstock_pl_purchaseorder:octroi:PurchaseOrder_octroi:octroi:I',1276586667,1276586667),(23,7,0,1,'bstock_pl_purchaseorder:packaging:PurchaseOrder_packaging:packaging:I',1276586667,1276586667),(22,7,0,0,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276586667,1276586667),(35,9,0,2,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276590739,1276590739),(34,9,0,1,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276590739,1276590739),(33,9,0,0,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276590739,1276590739),(36,9,0,3,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276590739,1276590739),(37,9,0,4,'bstock_pl_purchaseorder:broker_id:PurchaseOrder_broker_id:broker_id:I',1276590739,1276590739),(38,10,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276591966,1276591966),(39,10,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276591967,1276591967),(40,10,0,2,'bstock_pl_purchaseorder:carrier_id:PurchaseOrder_carrier_id:carrier_id:I',1276591967,1276591967),(41,10,0,3,'bstock_pl_purchaseorder:assigned_to_id:PurchaseOrder_assigned_to_id:assigned_to_id:I',1276591967,1276591967),(42,10,0,4,'bstock_pl_purchaseorder:vendor_id:PurchaseOrder_vendor_id:vendor_id:I',1276591967,1276591967),(43,10,0,5,'bstock_pl_purchaseorder:broker_id:PurchaseOrder_broker_id:broker_id:I',1276591967,1276591967),(44,10,0,6,'bstock_pl_purchaseorder:tracking_no:PurchaseOrder_tracking_no:tracking_no:V',1276591967,1276591967),(45,10,0,7,'bstock_pl_purchaseorder:postatus_id:PurchaseOrder_postatus_id:postatus_id:I',1276591967,1276591967),(46,10,0,8,'bstock_pl_purchaseorder:payment_terms_id:PurchaseOrder_payment_terms_id:payment_terms_id:I',1276591967,1276591967),(47,10,0,9,'bstock_pl_purchaseorder:dollar_rate:PurchaseOrder_dollar_rate:dollar_rate:I',1276591967,1276591967),(48,10,0,10,'bstock_pl_purchaseorder:type_of_tax:PurchaseOrder_type_of_tax:type_of_tax:V',1276591967,1276591967),(49,10,0,11,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276591967,1276591967),(50,10,0,12,'bstock_pl_purchaseorder:packaging:PurchaseOrder_packaging:packaging:I',1276591967,1276591967),(51,10,0,13,'bstock_pl_purchaseorder:octroi:PurchaseOrder_octroi:octroi:I',1276591967,1276591967),(52,10,0,14,'bstock_pl_purchaseorder:exciseduty:PurchaseOrder_exciseduty:exciseduty:I',1276591967,1276591967),(53,10,0,15,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276591967,1276591967),(54,10,0,16,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276591967,1276591967),(55,11,0,0,'bstock_pl_purchaseorder:id:PurchaseOrder_id:id:I',1276593721,1276593721),(56,11,0,1,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276593724,1276593724),(57,11,0,2,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276593726,1276593726),(58,11,0,3,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276593726,1276593726),(59,11,0,4,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276593726,1276593726),(60,11,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276593726,1276593726),(61,12,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276598759,1276598759),(62,12,0,1,'bstock_pl_postatustypes:name:PurchaseOrder_name:name:V',1276598761,1276598761),(63,12,0,2,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276598761,1276598761),(64,12,0,3,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276598761,1276598761),(65,12,0,4,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276598761,1276598761),(66,13,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276608007,1276608007),(67,13,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276608009,1276608009),(68,13,0,2,'bstock_vendors:vendor_name:Vendors_vendor_name:vendor_name:V',1276608011,1276608011),(69,13,0,3,'bstock_pl_postatustypes:name:PurchaseOrder_name:name:V',1276608011,1276608011),(70,13,0,4,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276608014,1276608014),(71,13,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276608014,1276608014),(72,14,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276608489,1276608489),(73,14,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276608489,1276608489),(74,14,0,2,'bstock_brokers:broker_name:Brokers_broker_name:broker_name:V',1276608489,1276608489),(75,14,0,3,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276608489,1276608489),(76,14,0,4,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276608489,1276608489),(77,14,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276608489,1276608489),(78,15,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276684106,1276684106),(79,15,0,1,'bstock_pl_pobilladd:po_bill_firstname:PurchaseOrder_po_bill_firstname:po_bill_firstname:V',1276684108,1276684108),(80,15,0,2,'bstock_pl_pobilladd:po_bill_lastname:PurchaseOrder_po_bill_lastname:po_bill_lastname:V',1276684108,1276684108),(81,15,0,3,'bstock_pl_pobilladd:po_bill_city:PurchaseOrder_po_bill_city:po_bill_city:V',1276684108,1276684108),(82,15,0,4,'bstock_pl_pobilladd:po_bill_state:PurchaseOrder_po_bill_state:po_bill_state:I',1276684108,1276684108),(83,15,0,5,'bstock_pl_pobilladd:po_bill_contry:PurchaseOrder_po_bill_contry:po_bill_contry:I',1276684108,1276684108),(84,15,0,6,'bstock_pl_pobilladd:po_bill_address:PurchaseOrder_po_bill_address:po_bill_address:V',1276684108,1276684108),(85,15,0,7,'bstock_pl_pobilladd:po_bill_postcode:PurchaseOrder_po_bill_postcode:po_bill_postcode:I',1276684108,1276684108),(86,15,0,8,'bstock_pl_pobilladd:phone_number:PurchaseOrder_phone_number:phone_number:V',1276684108,1276684108),(87,15,0,9,'bstock_pl_poshipadd:po_ship_firstname:PurchaseOrder_po_ship_firstname:po_ship_firstname:V',1276684108,1276684108),(88,15,0,10,'bstock_pl_poshipadd:po_ship_lastname:PurchaseOrder_po_ship_lastname:po_ship_lastname:V',1276684108,1276684108),(89,15,0,11,'bstock_pl_poshipadd:po_ship_city:PurchaseOrder_po_ship_city:po_ship_city:V',1276684108,1276684108),(90,15,0,12,'bstock_pl_poshipadd:po_ship_state:PurchaseOrder_po_ship_state:po_ship_state:I',1276684108,1276684108),(91,15,0,13,'bstock_pl_poshipadd:po_ship_contry:PurchaseOrder_po_ship_contry:po_ship_contry:I',1276684108,1276684108),(92,15,0,14,'bstock_pl_poshipadd:po_ship_address:PurchaseOrder_po_ship_address:po_ship_address:V',1276684108,1276684108),(93,15,0,15,'bstock_pl_poshipadd:po_ship_postcode:PurchaseOrder_po_ship_postcode:po_ship_postcode:I',1276684108,1276684108),(94,15,0,16,'bstock_pl_poshipadd:phone_number:PurchaseOrder_phone_number:phone_number:V',1276684108,1276684108),(95,16,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276687488,1276687488),(96,16,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276687488,1276687488),(97,16,0,2,'bstock_brokers:broker_name:Brokers_broker_name:broker_name:V',1276687488,1276687488),(98,16,0,3,'bstock_orders:brokerage:SalesOrder_brokerage:brokerage:I',1276687488,1276687488),(99,16,0,4,'bstock_orders:subtotal:SalesOrder_subtotal:subtotal:V',1276687488,1276687488),(100,16,0,5,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1276687488,1276687488),(101,16,0,6,'bstock_orderstatustypes:name:SalesOrder_Status:name:V',0,0),(102,17,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276691933,1276691933),(103,17,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276691933,1276691933),(104,17,0,2,'bstock_orders:subtotal:SalesOrder_subtotal:subtotal:V',1276691933,1276691933),(105,17,0,3,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1276691933,1276691933),(106,17,0,4,'bstock_orderstatustypes:name:SalesOrder_name:name:V',1276691933,1276691933),(115,18,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276692763,1276692763),(116,18,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276692763,1276692763),(117,18,0,2,'bstock_customers:username:Customers_username:username:V',1276692763,1276692763),(118,18,0,3,'bstock_customers:customer_password:Customers_customer_password:customer_password:V',1276692768,1276692768),(119,18,0,4,'bstock_customers:email:Customers_email:email:V',1276692768,1276692768),(120,18,0,5,'bstock_customers:first_name:Customers_first_name:first_name:V',1276692768,1276692768),(121,18,0,6,'bstock_customers:last_name:Customers_last_name:last_name:V',1276692768,1276692768),(122,18,0,7,'bstock_customers:company_name:Customers_company_name:company_name:V',1276692768,1276692768),(123,18,0,8,'bstock_customers:mobile_number:Customers_mobile_number:mobile_number:V',1276692768,1276692768),(124,19,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276693256,1276693256),(125,19,0,1,'bstock_orderpaymentstaxes:tax_amount:SalesOrder_tax_amount:tax_amount:V',1276693256,1276693256),(126,19,0,2,'bstock_orderpaymentstaxes:tax_id:SalesOrder_tax_id:tax_id:I',1276693256,1276693256),(127,20,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276693459,1276693459),(128,20,0,1,'bstock_taxtypes:name:SalesOrder_name:name:V',1276693459,1276693459),(129,20,0,2,'bstock_orderpaymentstaxes:tax_amount:SalesOrder_tax_amount:tax_amount:V',1276693459,1276693459),(130,21,0,0,'bstock_orders:id:SalesOrder_id:id:I',1276693749,1276693749),(131,21,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276693749,1276693749),(132,21,0,2,'bstock_orderitems:product_id:SalesOrder_product_id:product_id:I',1276693749,1276693749),(133,21,0,3,'bstock_orderitems:quantity:SalesOrder_quantity:quantity:I',1276693749,1276693749),(134,21,0,4,'bstock_orderitems:price:SalesOrder_price:price:V',1276693749,1276693749),(695,22,0,5,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1281117096,1281117096),(662,47,0,6,'bstock_pl_poitems:listprice:DetailedSalesReports_listprice:listprice:I',1280293802,1280293802),(647,23,0,6,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1280230394,1280230394),(646,23,0,5,'bstock_orderstatustypes:status:SalesOrder_status:status:V',1280230394,1280230394),(645,23,0,4,'bstock_customers:office_phone_number:Customers_office_phone_number:office_phone_number:V',1280230394,1280230394),(643,23,0,2,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1280230394,1280230394),(318,24,0,7,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1278674856,1278674856),(317,24,0,6,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1278674856,1278674856),(316,24,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1278674856,1278674856),(315,24,0,4,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1278674856,1278674856),(314,24,0,3,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1278674856,1278674856),(313,24,0,2,'bstock_vendors:last_name:Vendors_last_name:last_name:V',1278674856,1278674856),(311,24,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1278674856,1278674856),(158,25,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276767496,1276767496),(159,25,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276767496,1276767496),(160,25,0,2,'bstock_orders:customer_first_name:SalesOrder_customer_first_name:customer_first_name:V',1276767496,1276767496),(161,25,0,3,'bstock_orders:customer_last_name:SalesOrder_customer_last_name:customer_last_name:V',1276767496,1276767496),(162,25,0,4,'bstock_orders:brokerage:SalesOrder_brokerage:brokerage:I',1276767496,1276767496),(163,25,0,5,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1276767496,1276767496),(164,25,0,6,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1276767496,1276767496),(165,25,0,7,'bstock_orderstatustypes:status:SalesOrder_name:status:V',1276767496,1276767496),(166,25,0,8,'bstock_customers:company_name:Customers_company_name:company_name:V',1276767496,1276767496),(167,26,0,0,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V',1276773443,1276773443),(168,26,0,1,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V',1276773443,1276773443),(169,26,0,2,'bstock_customers:company_name:CustomersOrderItems_company_name:company_name:V',1276773444,1276773444),(170,26,0,3,'bstock_customers:mobile_number:CustomersOrderItems_mobile_number:mobile_number:V',1276773445,1276773445),(171,26,0,4,'bstock_orderitems:price:CustomersOrderItems_price:price:V',1276773445,1276773445),(172,26,0,5,'bstock_orderitems:profit_amount:CustomersOrderItems_profit_amount:profit_amount:I',1276773445,1276773445),(173,26,0,6,'bstock_orderitems:profit_percent:CustomersOrderItems_profit_percent:profit_percent:I',1276773445,1276773445),(174,27,0,0,'bstock_orderitems:price:CustomersOrderItems_price:price:V',1276775241,1276775241),(175,27,0,1,'bstock_orderitems:profit_amount:CustomersOrderItems_profit_amount:profit_amount:I',1276775241,1276775241),(176,27,0,2,'bstock_orderitems:profit_percent:CustomersOrderItems_profit_percent:profit_percent:I',1276775241,1276775241),(177,27,0,3,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V',1276775241,1276775241),(178,27,0,4,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V',1276775241,1276775241),(179,27,0,5,'bstock_customers:mobile_number:CustomersOrderItems_mobile_number:mobile_number:V',1276775241,1276775241),(180,28,0,0,'bstock_customers:username:CustomersOrderItems_username:username:V',1276780008,1276780008),(181,28,0,1,'bstock_customers:customer_password:CustomersOrderItems_customer_password:customer_password:V',1276780008,1276780008),(182,28,0,2,'bstock_customers:email:CustomersOrderItems_email:email:V',1276780008,1276780008),(183,28,0,3,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V',1276780008,1276780008),(184,28,0,4,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V',1276780008,1276780008),(185,28,0,5,'bstock_customers:company_name:CustomersOrderItems_company_name:company_name:V',1276780008,1276780008),(186,28,0,6,'bstock_customers:office_phone_number:CustomersOrderItems_office_phone_number:office_phone_number:V',1276780008,1276780008),(204,30,0,0,'bstock_customers:email:BestCustomer_email:email:V',1277189888,1277189888),(205,30,0,1,'bstock_customers:first_name:BestCustomer_first_name:first_name:V',1277189888,1277189888),(246,29,0,2,'bstock_customers:last_name:BestCustomer_last_name:last_name:V',1277299808,1277299808),(245,29,0,1,'bstock_customers:first_name:BestCustomer_first_name:first_name:V',1277299808,1277299808),(244,29,0,0,'bstock_customers:email:BestCustomer_email:email:V',1277299808,1277299808),(206,30,0,2,'bstock_customers:last_name:BestCustomer_last_name:last_name:V',1277189888,1277189888),(207,30,0,3,'bstock_customers:company_name:BestCustomer_company_name:company_name:V',1277189888,1277189888),(208,31,0,0,'bstock_vendors:vendor_name:BestVendor_vendor_name:vendor_name:V',1277199611,1277199611),(209,31,0,1,'bstock_vendors:email:BestVendor_email:email:V',1277199612,1277199612),(213,32,0,1,'bstock_vendors:email:BestVendor_email:email:V',1277202389,1277202389),(212,32,0,0,'bstock_vendors:vendor_name:BestVendor_vendor_name:vendor_name:V',1277202388,1277202388),(235,34,0,1,'bstock_orderitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277294934,1277294934),(234,34,0,0,'bstock_orderitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277294934,1277294934),(233,33,0,1,'bstock_orderitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277292443,1277292443),(232,33,0,0,'bstock_orderitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277292443,1277292443),(236,35,0,0,'bstock_orderitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277295055,1277295055),(237,35,0,1,'bstock_orderitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277295055,1277295055),(241,36,0,1,'bstock_pl_poitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277297631,1277297631),(240,36,0,0,'bstock_pl_poitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277297630,1277297630),(242,37,0,0,'bstock_pl_poitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277297943,1277297943),(243,37,0,1,'bstock_pl_poitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277297943,1277297943),(247,29,0,3,'bstock_customers:company_name:BestCustomer_company_name:company_name:V',1277299808,1277299808),(254,39,0,0,'bstock_countries:name:SalesOrder_name:name:V',1277373930,1277373930),(698,40,0,0,'bstock_pl_purchaseorder:id:Ledger_id:id:I',1283512209,1283512209),(644,23,0,3,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1280230394,1280230394),(312,24,0,1,'bstock_vendors:first_name:Vendors_first_name:first_name:V',1278674856,1278674856),(694,22,0,4,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1281117096,1281117096),(693,22,0,3,'bstock_vendors:phone1:Vendors_phone:phone1:V',1281117096,1281117096),(692,22,0,2,'bstock_vendors:vendor_name:Vendors_vendor_name:vendor_name:V',1281117096,1281117096),(691,22,0,1,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1281117096,1281117096),(509,42,0,0,'trial_balance_entries:particulars:Accounting_particulars:particulars:V',1280208747,1280208747),(597,41,0,11,'bstock_products:cut:Products_cut:cut:V',1280217867,1280217867),(596,41,0,10,'bstock_products:polish:Products_polish:polish:V',1280217867,1280217867),(595,41,0,9,'bstock_products:symmetry:Products_symmetry:symmetry:V',1280217867,1280217867),(594,41,0,8,'bstock_products:lab:Products_lab:lab:V',1280217867,1280217867),(593,41,0,7,'bstock_products:flourescence:Products_flourescence:flourescence:I',1280217867,1280217867),(592,41,0,6,'bstock_products:is_active:Products_is_active:is_active:V',1280217867,1280217867),(591,41,0,5,'bstock_products:sellqty:Products_sellqty:sellqty:I',1280217867,1280217867),(590,41,0,4,'bstock_products:location:Products_location:location:V',1280217867,1280217867),(589,41,0,3,'bstock_products:size:Products_size:size:I',1280217867,1280217867),(588,41,0,2,'bstock_products:shape:Products_shape:shape:V',1280217867,1280217867),(587,41,0,1,'bstock_products:color:Products_color:color:V',1280217867,1280217867),(586,41,0,0,'bstock_products:stoneid:Products_stoneid:stoneid:V',1280217867,1280217867),(510,42,0,1,'trial_balance_entries:debit:Accounting_debit:debit:I',1280208747,1280208747),(511,42,0,2,'trial_balance_entries:credit:Accounting_credit:credit:I',1280208747,1280208747),(512,42,0,3,'trial_balance_entries:created_date:Accounting_created_date:created_date:I',1280208747,1280208747),(529,43,0,7,'bstock_orderitems:profit_percent:DetailedSalesReports_profit_percent:profit_percent:I',1280210777,1280210777),(528,43,0,6,'bstock_orderitems:profit_amount:DetailedSalesReports_profit_amount:profit_amount:I',1280210777,1280210777),(527,43,0,5,'bstock_orderitems:price:DetailedSalesReports_price:price:V',1280210777,1280210777),(526,43,0,4,'bstock_pl_poitems:listprice:DetailedSalesReports_listprice:listprice:I',1280210777,1280210777),(525,43,0,3,'bstock_products:color:DetailedSalesReports_color:color:V',1280210777,1280210777),(524,43,0,2,'bstock_products:size:DetailedSalesReports_size:size:I',1280210777,1280210777),(523,43,0,1,'bstock_products:shape:DetailedSalesReports_shape:shape:V',1280210777,1280210777),(522,43,0,0,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V',1280210777,1280210777),(530,43,0,8,'bstock_customers:company_name:DetailedSalesReports_company_name:company_name:V',1280210777,1280210777),(531,43,0,9,'bstock_customers:email:DetailedSalesReports_email:email:V',1280210777,1280210777),(540,44,0,3,'bstock_products:color:DetailedSalesReports_color:color:V',1280212568,1280212568),(539,44,0,2,'bstock_products:size:DetailedSalesReports_size:size:I',1280212568,1280212568),(538,44,0,1,'bstock_products:shape:DetailedSalesReports_shape:shape:V',1280212568,1280212568),(537,44,0,0,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V',1280212568,1280212568),(541,44,0,4,'bstock_orderitems:price:DetailedSalesReports_price:price:I',1280212568,1280212568),(542,45,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1280213104,1280213104),(543,45,0,1,'bstock_vendors:vendor_name:Vendors_vendor_name:vendor_name:V',1280213104,1280213104),(544,45,0,2,'bstock_products:shape:PurchaseOrder_shape:shape:V',1280213104,1280213104),(545,45,0,3,'bstock_products:size:PurchaseOrder_size:size:I',1280213104,1280213104),(546,45,0,4,'bstock_products:color:PurchaseOrder_color:color:V',1280213104,1280213104),(547,45,0,5,'bstock_pl_poitems:listprice:PurchaseOrder_listprice:listprice:I',1280213104,1280213104),(548,45,0,6,'bstock_pl_poitems:qty:PurchaseOrder_qty:qty:I',1280213104,1280213104),(549,46,0,0,'bstock_vendors:vendor_name:StockReports_vendor_name:vendor_name:V',1280216443,1280216443),(550,46,0,1,'bstock_pl_purchaseorder:po_number:StockReports_po_number:po_number:V',1280216443,1280216443),(551,46,0,2,'bstock_products:shape:StockReports_shape:shape:V',1280216443,1280216443),(552,46,0,3,'bstock_products:size:StockReports_size:size:I',1280216443,1280216443),(553,46,0,4,'bstock_products:color:StockReports_color:color:V',1280216443,1280216443),(554,46,0,5,'bstock_products:qty:StockReports_qty:qty:I',1280216443,1280216443),(555,46,0,6,'bstock_pl_poitems:listprice:StockReports_listprice:listprice:I',1280216443,1280216443),(690,22,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1281117096,1281117096),(642,23,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1280230394,1280230394),(598,41,0,12,'bstock_products:clarity:Products_clarity:clarity:V',1280217867,1280217867),(599,41,0,13,'bstock_products:certificate:Products_certificate:certificate:V',1280217867,1280217867),(600,41,0,14,'bstock_products:weight:Products_weight:weight:V',1280217867,1280217867),(601,41,0,15,'bstock_products:price:Products_price:price:V',1280217867,1280217867),(641,23,0,0,'bstock_customers:company_name:Customers_company_name:company_name:V',1280230394,1280230394),(661,47,0,5,'bstock_pl_poitems:qty:DetailedSalesReports_qty:qty:I',1280293802,1280293802),(660,47,0,4,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V',1280293802,1280293802),(659,47,0,3,'bstock_products:color:DetailedSalesReports_color:color:V',1280293802,1280293802),(658,47,0,2,'bstock_products:size:DetailedSalesReports_size:size:I',1280293802,1280293802),(657,47,0,1,'bstock_products:shape:DetailedSalesReports_shape:shape:V',1280293802,1280293802),(656,47,0,0,'bstock_vendors:vendor_name:DetailedSalesReports_vendor_name:vendor_name:V',1280293802,1280293802),(663,47,0,7,'bstock_pl_poitems:created_date:DetailedSalesReports_created_date:created_date:I',1280293802,1280293802),(688,48,0,7,'bstock_pl_poitems:listprice:StockReports_listprice:listprice:I',1281116408,1281116408),(689,48,0,8,'bstock_pl_poitems:created_date:StockReports_created_date:created_date:I',1281116408,1281116408),(687,48,0,6,'bstock_pl_poitems:qty:StockReports_qty:qty:I',1281116408,1281116408),(686,48,0,5,'bstock_products:color:StockReports_color:color:V',1281116408,1281116408),(684,48,0,3,'bstock_products:size:StockReports_size:size:I',1281116408,1281116408),(685,48,0,4,'bstock_products:flourescence:StockReports_flourescence:flourescence:I',1281116408,1281116408),(683,48,0,2,'bstock_products:shape:StockReports_shape:shape:V',1281116408,1281116408),(682,48,0,1,'bstock_products:stoneid:StockReports_stoneid:stoneid:V',1281116408,1281116408),(681,48,0,0,'bstock_pl_poitems:po_number_id:StockReports_po_number_id:po_number_id:I',1281116408,1281116408),(696,22,0,6,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1281117096,1281117096);

--
-- Table structure for table `bstock_pl_reportdatefilter`
--

CREATE TABLE `bstock_pl_reportdatefilter` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key of bstock_pl_reports table.',
  `date_column_name` varchar(255) NOT NULL COMMENT 'Column name of the date field.',
  `date_filter` varchar(50) NOT NULL COMMENT 'Name of the date filter i.e. custom, lastmonth, prevfy, etc.',
  `start_date` date NOT NULL COMMENT 'Start date of the chosen filter.',
  `end_date` date NOT NULL COMMENT 'End date of the chosen filter.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=104 DEFAULT CHARSET=latin1 COMMENT='Contains columnnames of date fields on which we set filters ';

--
-- Dumping data for table `bstock_pl_reportdatefilter`
--

INSERT INTO `bstock_pl_reportdatefilter` VALUES (1,1,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_Created_Date','thisfy','2010-01-01','2010-12-31',0,0),(4,7,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276586668,1276586668),(6,9,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276590739,1276590739),(7,10,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276591967,1276591967),(8,11,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276593741,1276593741),(9,12,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276598765,1276598765),(10,13,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276608023,1276608023),(11,14,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276608490,1276608490),(12,15,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276684109,1276684109),(13,16,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276687488,1276687488),(14,17,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276691934,1276691934),(15,18,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276692773,1276692773),(16,19,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276693256,1276693256),(17,20,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276693459,1276693459),(18,21,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276693750,1276693750),(101,22,'bstock_pl_purchaseorder:due_date:due_date:PurchaseOrder_due_date','custom','2010-01-01','2010-12-31',1281117096,1281117096),(95,23,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1280230394,1280230394),(61,24,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1278674856,1278674856),(22,25,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276767496,1276767496),(23,26,'bstock_customers:created_date:created_date:CustomersOrderItems_created_date','custom','0000-00-00','0000-00-00',1276773450,1276773450),(24,27,'bstock_customers:created_date:created_date:CustomersOrderItems_created_date','custom','0000-00-00','0000-00-00',1276775241,1276775241),(25,28,'bstock_customers:created_date:created_date:CustomersOrderItems_created_date','custom','0000-00-00','0000-00-00',1276780009,1276780009),(48,29,'Not Accessible','','0000-00-00','0000-00-00',1277299809,1277299809),(51,38,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1277302290,1277302290),(32,30,'bstock_customers:created_date:created_date:BestCustomer_created_date','custom','0000-00-00','0000-00-00',1277189889,1277189889),(33,31,'bstock_vendors:created_date:created_date:BestVendor_created_date','custom','0000-00-00','0000-00-00',1277199613,1277199613),(35,32,'bstock_vendors:created_date:created_date:BestVendor_created_date','custom','0000-00-00','0000-00-00',1277202389,1277202389),(42,33,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277292444,1277292444),(43,34,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277294934,1277294934),(44,35,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277295055,1277295055),(46,36,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277297631,1277297631),(47,37,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277297943,1277297943),(52,39,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1277373932,1277373932),(103,40,'bstock_pl_purchaseorder:created_date:created_date:Ledger_created_date','custom','0000-00-00','0000-00-00',1283512209,1283512209),(89,41,'bstock_products:created_date:created_date:Products_created_date','custom','0000-00-00','0000-00-00',1280217867,1280217867),(78,42,'trial_balance_entries:created_date:created_date:Accounting_created_date','custom','0000-00-00','0000-00-00',1280208747,1280208747),(80,43,'bstock_orderitems:created_date:created_date:DetailedSalesReports_created_date','custom','0000-00-00','0000-00-00',1280210777,1280210777),(82,44,'bstock_orderitems:created_date:created_date:DetailedSalesReports_created_date','custom','0000-00-00','0000-00-00',1280212568,1280212568),(83,45,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1280213104,1280213104),(84,46,'bstock_pl_poitems:created_date:created_date:StockReports_created_date','custom','0000-00-00','0000-00-00',1280216443,1280216443),(97,47,'Not Accessible','','0000-00-00','0000-00-00',1280293802,1280293802),(100,48,'bstock_pl_poitems:created_date:created_date:StockReports_created_date','thisfy','2010-01-01','2010-12-31',1281116408,1281116408);

--
-- Table structure for table `bstock_pl_reportfolder`
--

CREATE TABLE `bstock_pl_reportfolder` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `folder_name` varchar(255) NOT NULL COMMENT 'Folder name will be stored here.',
  `description` text NOT NULL COMMENT 'Description for this folder.',
  `state` varchar(50) NOT NULL COMMENT 'State will be either ''SAVED'' or ''CUSTOMIZED''. ''SAVED'' will be for default folders & ''CUSTOMIZED'' will be for user created folders.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1 COMMENT='Stores the folder related data.';

--
-- Dumping data for table `bstock_pl_reportfolder`
--

INSERT INTO `bstock_pl_reportfolder` VALUES (1,'PurchaseOrder Reports','PurchaseOrder Reports','SAVED',0,0),(2,'SalesOrder Reports','SalesOrder Reports','SAVED',1276763466,1276763466),(4,'Intelligent Reports','Intelligent Reports','SAVED',1277184290,1277184290),(5,'Financial Reports','Financial Reports','SAVED',1277184290,1277184290),(7,'Accounting Reports','Accounting Reports','SAVED',0,0),(8,'Periodic Reports','Periodic Reports','CUSTOMIZED',0,0),(10,'Stock Reports','Stock Reports','CUSTOMIZED',0,0);

--
-- Table structure for table `bstock_pl_reportmodules`
--

CREATE TABLE `bstock_pl_reportmodules` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key of bstock_pl_reports table.',
  `primary_module` varchar(50) NOT NULL COMMENT 'Primary folder/module name selected while creating the report.',
  `secondary_modules` varchar(250) NOT NULL COMMENT 'Secondary folder/module name(s) selected while creating the report.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=45 DEFAULT CHARSET=latin1 COMMENT='Contains the primary & secondary modules of a particular rep';

--
-- Dumping data for table `bstock_pl_reportmodules`
--

INSERT INTO `bstock_pl_reportmodules` VALUES (1,1,'PurchaseOrder','Vendors',0,0),(3,7,'PurchaseOrder','Vendors',1276586667,1276586667),(5,9,'PurchaseOrder','Vendors',1276590739,1276590739),(6,10,'PurchaseOrder','Vendors',1276591967,1276591967),(7,11,'PurchaseOrder','Vendors',1276593726,1276593726),(8,12,'PurchaseOrder','Vendors',1276598761,1276598761),(9,13,'PurchaseOrder','Vendors',1276608018,1276608018),(10,14,'PurchaseOrder','Brokers',1276608489,1276608489),(11,15,'PurchaseOrder','',1276684108,1276684108),(12,16,'SalesOrder','Brokers',1276687488,1276687488),(13,17,'SalesOrder','Customers',1276691933,1276691933),(14,18,'SalesOrder','Customers',1276692770,1276692770),(15,19,'SalesOrder','Customers',1276693256,1276693256),(16,20,'SalesOrder','',1276693459,1276693459),(17,21,'SalesOrder','',1276693749,1276693749),(18,22,'PurchaseOrder','Vendors',1276695042,1276695042),(19,23,'SalesOrder','Customers',1276763688,1276763688),(20,24,'PurchaseOrder','Vendors',1276767342,1276767342),(21,25,'SalesOrder','Customers',1276767496,1276767496),(22,26,'CustomersOrderItems','',1276773445,1276773445),(23,27,'CustomersOrderItems','',1276775241,1276775241),(24,28,'CustomersOrderItems','',1276780008,1276780008),(25,29,'BestCustomer','',1276780133,1276780133),(26,30,'BestCustomer','',1277189888,1277189888),(27,31,'BestVendor','',1277199612,1277199612),(28,32,'BestVendor','',1277201407,1277201407),(29,33,'BestBroker','',1277210594,1277210594),(30,34,'BestBroker','',1277294934,1277294934),(31,35,'BestBroker','',1277295055,1277295055),(32,36,'BestBroker','',1277295640,1277295640),(33,37,'BestBroker','',1277297943,1277297943),(35,39,'SalesOrder','',1277373930,1277373930),(36,40,'Ledger','',1277803475,1277803475),(37,41,'Products','',1280169197,1280169197),(38,42,'Accounting','',1280208747,1280208747),(39,43,'PeriodicReports','',1280210617,1280210617),(40,44,'PeriodicReports','',1280212486,1280212486),(41,45,'PurchaseOrder','Vendors',1280213104,1280213104),(42,46,'StockReports','',1280216443,1280216443),(43,47,'PeriodicReports','PO Items',1280233294,1280233294),(44,48,'StockReports','PO Items',1281116296,1281116296);

--
-- Table structure for table `bstock_pl_reports`
--

CREATE TABLE `bstock_pl_reports` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `folder_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_reportfolders table.',
  `report_name` varchar(255) NOT NULL COMMENT 'Report name.',
  `description` text NOT NULL COMMENT 'Description for the report.',
  `report_type` varchar(50) NOT NULL COMMENT 'Type of report i.e. summary or tabular',
  `query_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key of bstock_pl_selectquery table.',
  `state` varchar(50) NOT NULL COMMENT '''CUSTOMIZED'' or ''SAVED'' for user created & default reports, respectively.',
  `customizable` enum('0','1') NOT NULL COMMENT 'Whether this report can be customized or not.',
  `category` int(11) NOT NULL COMMENT 'The category to which the report belongs to, might not be used currently though.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  `is_active` enum('0','1') NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=49 DEFAULT CHARSET=latin1 COMMENT='Stores details of each report in the system.';

--
-- Dumping data for table `bstock_pl_reports`
--

INSERT INTO `bstock_pl_reports` VALUES (1,1,'PurchaseOrder by Contacts','PurchaseOrder by Contacts','summary',0,'SAVED','1',0,0,0,'1'),(30,4,'Best Customer by Sale','Best Customer by Sale','summary',0,'SAVED','1',0,1277189888,1277189888,'1'),(22,1,'Outstanding Payables','Outstanding Payables - Pending PO Payments','summary',0,'CUSTOM','1',0,1276695038,1276695038,'1'),(23,2,'Outstanding Receivables','Outstanding Receivables - Pending SO Payments','summary',0,'CUSTOM','1',0,1276763685,1276763685,'1'),(24,1,'PO Details','PO Details','summary',0,'CUSTOM','1',0,1276767341,1276767341,'1'),(25,2,'SO Details','SO Details','tabular',0,'CUSTOM','1',0,1276767496,1276767496,'1'),(29,4,'Best Customer by Profit','Best Customer by Profit','summary',0,'SAVED','1',0,1276780133,1276780133,'1'),(31,4,'Best Vendor by Profit','Best Vendor by Profit','summary',0,'SAVED','1',0,1277199610,1277199610,'1'),(32,4,'Best Vendor by Purchase','Best Vendor by Purchase','tabular',0,'SAVED','1',0,1277201402,1277201402,'1'),(33,4,'Best Broker by Profit','Best Broker by Profit','summary',0,'SAVED','1',0,1277210594,1277210594,'1'),(34,4,'Best Broker by Brokerage - SO','Best Broker by Brokerage - SO','summary',0,'SAVED','1',0,1277294934,1277294934,'0'),(35,4,'Best Broker by Sale','Best Broker by Sale','summary',0,'SAVED','1',0,1277295055,1277295055,'1'),(36,4,'Best Broker by Purchase','Best Broker by Purchase','summary',0,'SAVED','1',0,1277295640,1277295640,'1'),(37,4,'Best Broker by Brokerage - PO','Best Broker by Brokerage - PO','summary',0,'SAVED','1',0,1277297943,1277297943,'0'),(39,2,'Country wise sales','Country wise sales','summary',0,'CUSTOM','1',0,1277373930,1277373930,'1'),(40,5,'Purchase & Sales Ledger','Purchase & Sales Ledger','summary',0,'CUSTOM','1',0,1277803475,1277803475,'1'),(41,10,'Stock Ledger','Stock Ledger','summary',0,'CUSTOM','1',0,1280169197,1280169197,'1'),(42,7,'Trial Balance','Trial Balance','tabular',0,'CUSTOM','1',0,1280208747,1280208747,'1'),(43,8,'Monthly Sales','Monthly Sales','tabular',0,'CUSTOM','1',0,1280210617,1280210617,'1'),(44,8,'Profit/Loss for Vishal & Co.','Profit/Loss for Vishal & Co.','tabular',0,'CUSTOM','1',0,1280212486,1280212486,'1'),(46,10,'Pending Stock Report','Pending Stock Report','tabular',0,'CUSTOM','1',0,1280216443,1280216443,'1'),(47,8,'Monthly Purchase','Monthly Purchase','summary',0,'CUSTOM','1',0,1280233294,1280233294,'1'),(48,10,'Purchase Details','Details of materials purchased date-wise','summary',0,'CUSTOM','1',0,1281116296,1281116296,'1');

--
-- Table structure for table `bstock_pl_reportsortcol`
--

CREATE TABLE `bstock_pl_reportsortcol` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_reports table.',
  `column_name` varchar(250) NOT NULL COMMENT 'Name of the column on which to sort.',
  `sort_order` varchar(50) NOT NULL COMMENT 'Will contain ''Ascending'' or ''Descending'' order to sort.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=309 DEFAULT CHARSET=latin1 COMMENT='Contains fields that have been selected to ORDER BY while cr';

--
-- Dumping data for table `bstock_pl_reportsortcol`
--

INSERT INTO `bstock_pl_reportsortcol` VALUES (1,1,'bstock_pl_purchaseorder:net_total:PurchaseOrder_Net_Total:net_total:V','Descending',0,0),(2,1,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_Brokerage:brokerage:V','Descending',0,0),(11,7,'none','Ascending',1276586668,1276586668),(10,7,'none','Ascending',1276586667,1276586667),(9,7,'none','Ascending',1276586667,1276586667),(17,9,'none','Ascending',1276590739,1276590739),(16,9,'none','Ascending',1276590739,1276590739),(15,9,'none','Ascending',1276590739,1276590739),(18,10,'none','Ascending',1276591967,1276591967),(19,10,'none','Ascending',1276591967,1276591967),(20,10,'none','Ascending',1276591967,1276591967),(21,11,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V','Ascending',1276593734,1276593734),(22,11,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I','Descending',1276593737,1276593737),(23,11,'none','Ascending',1276593741,1276593741),(24,12,'none','Ascending',1276598763,1276598763),(25,12,'none','Ascending',1276598764,1276598764),(26,12,'none','Ascending',1276598765,1276598765),(27,13,'none','Ascending',1276608020,1276608020),(28,13,'none','Ascending',1276608021,1276608021),(29,13,'none','Ascending',1276608022,1276608022),(30,14,'none','Ascending',1276608489,1276608489),(31,14,'none','Ascending',1276608489,1276608489),(32,14,'none','Ascending',1276608490,1276608490),(33,15,'none','Ascending',1276684108,1276684108),(34,15,'none','Ascending',1276684109,1276684109),(35,15,'none','Ascending',1276684109,1276684109),(36,16,'none','Ascending',1276687488,1276687488),(37,16,'none','Ascending',1276687488,1276687488),(38,16,'none','Ascending',1276687488,1276687488),(39,17,'none','Ascending',1276691933,1276691933),(40,17,'none','Ascending',1276691934,1276691934),(41,17,'none','Ascending',1276691934,1276691934),(42,18,'none','Ascending',1276692770,1276692770),(43,18,'none','Ascending',1276692770,1276692770),(44,18,'none','Ascending',1276692773,1276692773),(45,19,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1276693256,1276693256),(46,19,'none','Ascending',1276693256,1276693256),(47,19,'none','Ascending',1276693256,1276693256),(48,20,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1276693459,1276693459),(49,20,'none','Ascending',1276693459,1276693459),(50,20,'none','Ascending',1276693459,1276693459),(51,21,'bstock_orders:id:SalesOrder_id:id:I','Ascending',1276693749,1276693749),(52,21,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1276693750,1276693750),(53,21,'none','Ascending',1276693750,1276693750),(180,24,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I','Descending',1278674856,1278674856),(63,25,'none','Ascending',1276767496,1276767496),(64,25,'none','Ascending',1276767496,1276767496),(65,25,'none','Ascending',1276767496,1276767496),(66,26,'bstock_customers:id:CustomersOrderItems_id:id:I','Ascending',1276773447,1276773447),(67,26,'none','Ascending',1276773448,1276773448),(68,26,'none','Ascending',1276773450,1276773450),(69,27,'bstock_customers:id:CustomersOrderItems_id:id:I','Ascending',1276775241,1276775241),(70,27,'none','Ascending',1276775241,1276775241),(71,27,'none','Ascending',1276775241,1276775241),(72,28,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V','Ascending',1276780008,1276780008),(73,28,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V','Ascending',1276780008,1276780008),(74,28,'none','Ascending',1276780009,1276780009),(143,29,'none','Ascending',1277299808,1277299808),(142,29,'none','Ascending',1277299808,1277299808),(141,29,'none','Ascending',1277299808,1277299808),(93,30,'none','Ascending',1277189888,1277189888),(94,30,'none','Ascending',1277189889,1277189889),(95,30,'none','Ascending',1277189889,1277189889),(96,31,'none','Ascending',1277199613,1277199613),(97,31,'none','Ascending',1277199613,1277199613),(98,31,'none','Ascending',1277199613,1277199613),(104,32,'none','Ascending',1277202389,1277202389),(103,32,'none','Ascending',1277202389,1277202389),(102,32,'none','Ascending',1277202389,1277202389),(125,33,'none','Ascending',1277292444,1277292444),(124,33,'none','Ascending',1277292444,1277292444),(123,33,'none','Ascending',1277292444,1277292444),(126,34,'none','Ascending',1277294934,1277294934),(127,34,'none','Ascending',1277294934,1277294934),(128,34,'none','Ascending',1277294934,1277294934),(129,35,'none','Ascending',1277295055,1277295055),(130,35,'none','Ascending',1277295055,1277295055),(131,35,'none','Ascending',1277295055,1277295055),(137,36,'none','Ascending',1277297631,1277297631),(136,36,'none','Ascending',1277297631,1277297631),(135,36,'none','Ascending',1277297631,1277297631),(138,37,'none','Ascending',1277297943,1277297943),(139,37,'none','Ascending',1277297943,1277297943),(140,37,'none','Ascending',1277297943,1277297943),(151,38,'none','Ascending',1277302290,1277302290),(152,38,'none','Ascending',1277302290,1277302290),(150,38,'bstock_vendors:country:Vendors_country:country:V','Ascending',1277302290,1277302290),(153,39,'none','Ascending',1277373930,1277373930),(154,39,'none','Ascending',1277373932,1277373932),(155,39,'none','Ascending',1277373932,1277373932),(308,40,'none','Ascending',1283512209,1283512209),(307,40,'none','Ascending',1283512209,1283512209),(306,40,'none','Ascending',1283512209,1283512209),(284,23,'none','Descending',1280230394,1280230394),(182,24,'none','Descending',1278674856,1278674856),(181,24,'none','Descending',1278674856,1278674856),(302,22,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I','Descending',1281117096,1281117096),(301,22,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V','Descending',1281117096,1281117096),(266,41,'none','Ascending',1280217867,1280217867),(265,41,'none','Ascending',1280217867,1280217867),(264,41,'none','Ascending',1280217867,1280217867),(231,42,'none','Ascending',1280208747,1280208747),(232,42,'none','Ascending',1280208747,1280208747),(233,42,'none','Ascending',1280208747,1280208747),(239,43,'none','Ascending',1280210777,1280210777),(238,43,'none','Ascending',1280210777,1280210777),(237,43,'none','Ascending',1280210777,1280210777),(245,44,'none','Ascending',1280212568,1280212568),(244,44,'none','Ascending',1280212568,1280212568),(243,44,'none','Ascending',1280212568,1280212568),(246,45,'none','Ascending',1280213104,1280213104),(247,45,'none','Ascending',1280213104,1280213104),(248,45,'none','Ascending',1280213104,1280213104),(249,46,'none','Ascending',1280216443,1280216443),(250,46,'none','Ascending',1280216443,1280216443),(251,46,'none','Ascending',1280216443,1280216443),(300,22,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I','Descending',1281117096,1281117096),(283,23,'bstock_orders:due_date:SalesOrder_due_date:due_date:I','Descending',1280230394,1280230394),(282,23,'bstock_customers:company_name:Customers_company_name:company_name:V','Ascending',1280230394,1280230394),(288,47,'bstock_vendors:vendor_name:PeriodicReports_vendor_name:vendor_name:V','Ascending',1280293802,1280293802),(289,47,'none','Ascending',1280293802,1280293802),(290,47,'none','Ascending',1280293802,1280293802),(298,48,'none','Ascending',1281116408,1281116408),(299,48,'none','Ascending',1281116408,1281116408),(297,48,'bstock_pl_poitems:po_number_id:StockReports_po_number_id:po_number_id:I','Ascending',1281116408,1281116408);

--
-- Table structure for table `bstock_pl_reportsummary`
--

CREATE TABLE `bstock_pl_reportsummary` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_reports table.',
  `summary_type` int(11) NOT NULL COMMENT 'Contains the serial number of summary type fields for a particular report. Stores in format like 0,1,2,3 & so on.',
  `column_name` varchar(250) NOT NULL COMMENT 'Column name on which the operation of SUM, AVG, MIN or MAX is to be done.',
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=128 DEFAULT CHARSET=latin1 COMMENT='Contains fields that are selected to SUM, AVG, MIN or MAX fo';

--
-- Dumping data for table `bstock_pl_reportsummary`
--

INSERT INTO `bstock_pl_reportsummary` VALUES (1,1,0,'cb:bstock_orderitems:profit_percent:Avg_Profit_Percent_AVG:3',0,0),(2,1,2,'cb:bstock_pl_purchaseorder:net_total:Net_Total_SUM:2',0,0),(3,1,1,'cb:bstock_pl_purchaseorder:subtotal:Sub_Total_AVG:3',0,0),(4,1,3,'cb:bstock_pl_purchaseorder:net_total:Net_Total_AVG:3',0,0),(5,1,4,'cb:bstock_pl_purchaseorder:subtotal:Sub_Total_MIN:4',0,0),(6,1,5,'cb:bstock_pl_purchaseorder:net_total:Net_Total_MIN:4',0,0),(7,1,6,'cb:bstock_pl_purchaseorder:subtotal:Sub_Total_MAX:5',0,0),(8,1,7,'cb:bstock_pl_purchaseorder:net_total:Net_Total_MAX:5',0,0),(9,1,8,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_SUM:2',0,0),(10,1,9,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_AVG:3',0,0),(11,1,10,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_MIN:4',0,0),(12,1,11,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_MAX:5',0,0),(13,9,0,'cb:bstock_pl_purchaseorder:subtotal:subtotal_SUM:2',1276590739,1276590739),(14,9,1,'cb:bstock_pl_purchaseorder:subtotal:subtotal_AVG:3',1276590740,1276590740),(15,9,2,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MIN:4',1276590740,1276590740),(16,9,3,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MAX:5',1276590740,1276590740),(17,9,4,'cb:bstock_pl_purchaseorder:brokerage:brokerage_AVG:3',1276590740,1276590740),(18,9,5,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1276590740,1276590740),(19,9,6,'cb:bstock_pl_purchaseorder:net_total:net_total_AVG:3',1276590740,1276590740),(20,9,7,'cb:bstock_pl_purchaseorder:net_total:net_total_MIN:4',1276590740,1276590740),(21,9,8,'cb:bstock_pl_purchaseorder:net_total:net_total_MAX:5',1276590740,1276590740),(22,11,0,'cb:bstock_pl_purchaseorder:subtotal:subtotal_SUM:2',1276593742,1276593742),(23,11,1,'cb:bstock_pl_purchaseorder:subtotal:subtotal_AVG:3',1276593745,1276593745),(24,11,2,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MIN:4',1276593746,1276593746),(25,11,3,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MAX:5',1276593749,1276593749),(26,11,4,'cb:bstock_pl_purchaseorder:brokerage:brokerage_AVG:3',1276593749,1276593749),(27,11,5,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1276593750,1276593750),(28,11,6,'cb:bstock_pl_purchaseorder:net_total:net_total_AVG:3',1276593750,1276593750),(29,11,7,'cb:bstock_pl_purchaseorder:net_total:net_total_MIN:4',1276593750,1276593750),(30,11,8,'cb:bstock_pl_purchaseorder:net_total:net_total_MAX:5',1276593750,1276593750),(31,17,0,'cb:bstock_orders:brokerage:brokerage_SUM:2',1276691934,1276691934),(32,17,1,'cb:bstock_orders:brokerage:brokerage_AVG:3',1276691935,1276691935),(33,17,2,'cb:bstock_orders:brokerage:brokerage_MIN:4',1276691935,1276691935),(34,17,3,'cb:bstock_orders:brokerage:brokerage_MAX:5',1276691935,1276691935),(35,17,4,'cb:bstock_orders:net_total:net_total_SUM:2',1276691935,1276691935),(36,17,5,'cb:bstock_orders:net_total:net_total_AVG:3',1276691935,1276691935),(37,17,6,'cb:bstock_orders:net_total:net_total_MIN:4',1276691935,1276691935),(38,17,7,'cb:bstock_orders:net_total:net_total_MAX:5',1276691935,1276691935),(39,18,0,'cb:bstock_orders:net_total:net_total_SUM:2',1276692773,1276692773),(122,47,0,'cb:bstock_pl_poitems:listprice:listprice_SUM:2',1280293802,1280293802),(120,23,0,'cb:bstock_orders:net_total:net_total_SUM:2',1280230394,1280230394),(127,22,1,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1281117096,1281117096),(126,22,0,'cb:bstock_pl_purchaseorder:subtotal:subtotal_SUM:2',1281117096,1281117096),(55,31,0,'cb:bstock_orderitems:profit_amount:profit_amount_SUM:2',1277199613,1277199613),(56,31,1,'cb:bstock_orderitems:profit_amount:profit_amount_AVG:3',1277199613,1277199613),(57,31,2,'cb:bstock_orderitems:profit_percent:profit_percent_SUM:2',1277199613,1277199613),(58,31,3,'cb:bstock_orderitems:profit_percent:profit_percent_AVG:3',1277199613,1277199613),(103,42,0,'cb:trial_balance_entries:debit:debit_SUM:2',1280208747,1280208747),(104,42,1,'cb:trial_balance_entries:credit:credit_SUM:2',1280208747,1280208747),(106,44,0,'cb:bstock_orderitems:profit_amount:profit_amount_SUM:2',1280212568,1280212568),(125,48,0,'cb:bstock_pl_poitems:listprice:listprice_SUM:2',1281116408,1281116408);

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

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

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

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

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

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

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

INSERT INTO `bstock_pl_seeit` VALUES (2,4,12,'1','0','1268290894','1268290894'),(3,5,12,'1','0','1268290894','1268290894'),(5,8,12,'1','0','1268290894','1268290894'),(6,10,12,'1','0','1268290894','1268290894'),(7,11,12,'1','0','1268290894','1268290894');

--
-- Table structure for table `bstock_pl_selectquery`
--

CREATE TABLE `bstock_pl_selectquery` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key',
  `report_id` int(11) NOT NULL COMMENT 'Foreign key that corresponds to primary key from bstock_pl_reports table.',
  `start_index` int(11) NOT NULL COMMENT 'Not sure of the purpose of this field.',
  `num_of_objects` int(11) NOT NULL COMMENT 'Not sure of the purpose of this field.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Not sure what this table does. We may not need this table.';

--
-- Dumping data for table `bstock_pl_selectquery`
--


--
-- Table structure for table `bstock_pl_selectqueryseq`
--

CREATE TABLE `bstock_pl_selectqueryseq` (
  `id` int(11) NOT NULL COMMENT 'Contains the id of the last created report.'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains only one record of the latest report id. We may not';

--
-- Dumping data for table `bstock_pl_selectqueryseq`
--


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

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

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

INSERT INTO `bstock_pl_wishlist` VALUES (1,2,41,'1268135476','1268135476'),(2,2,12,'1268287531','1268287531'),(3,4,12,'1268287531','1268287531'),(4,36,12,'1269633762','1269633762');

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

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

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

INSERT INTO `bstock_plugins` VALUES (1,'Wishlist','Adding to wishlist','Wishlist','Wishlist','on','','1265469043','Wishlist.png'),(2,'Demand','This will store all the demands','Demands','Demands','on','','','Demands.png'),(3,'AddToCart','AddToCart','AddToCart','AddToCart','on','','1263192828','home_big.gif'),(4,'SeeIt','SeeIt','SeeIt','SeeIt','on','','1263192837','home_big.gif'),(5,'ExportToExcel','ExportToExcel','ExportToExcel','ExportToExcel','off','1263281971','1263281971','home_big.gif'),(6,'PrintIt','PrintIt','PrintIt','PrintIt','on','1263298312','1263298312','home_big.gif'),(7,'Offers','Offers','Offers','Offers','on','1263302375','1263302375','home_big.gif'),(9,'Statistics','This will record the stats.','Statistics','Statistics','on','1264168261','1264168261','Statistics.png'),(10,'Upload Products','Uploading products to db using csv','ProductUpload','ProductUpload','on','','','home_big.gif'),(12,'SaveSearches','SaveSearches - this will save the searches made by client from the search result page - baba','SaveSearches','SaveSearches','on','','','home_big.gif'),(13,'ExportToExcelWithPercent','Export to Excel allowing the customer/broker to add a % to the price field.','ExportToExcelWithPercent','ExportToExcelWithPercent','on','','','home_big.gif'),(14,'Categories','Categories','Categories','Categories','on','','','home_big.gif'),(15,'Purchase Order','purchase order','PurchaseOrder','PurchaseOrder','on','','','home_big.gif'),(16,'Reports','Reports module','Reports','Report','on','','','home_big.gif'),(17,'Sales Order','SalesOrder','SalesOrder','SalesOrder','on','1267005563','1267005563','home.gif'),(18,'MultipleVideoUpload','MultipleVideoUpload','MultipleVideoUpload','MultipleVideoUpload','on','','',''),(19,'Jewelry','Assemble Jewelry','Jewelry','Jewelry','on','','',''),(20,'Jhangad','Jhangad','Jhangad','Jhangad','on','1269635676','1269635676',''),(21,'MultipleImagesUpload','MultipleImagesUpload','MultipleImagesUpload','MultipleImagesUpload','on','','',''),(22,'DM Expense','Diamond Manu Expense module','DmExpense','DmExpense','on','1263281971','1263281971','home.gif');

--
-- Table structure for table `bstock_product_discounts`
--

CREATE TABLE `bstock_product_discounts` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `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.',
  `order_id` int(10) NOT NULL COMMENT 'Will contain the product id of the product.',
  `purpose` varchar(255) NOT NULL COMMENT 'Expense purpose.',
  `price` varchar(20) NOT NULL COMMENT 'Actual Expenses Incurred.',
  `date` varchar(20) NOT NULL COMMENT 'Date of expense.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 COMMENT='Store the expenses of products in the system.';

--
-- Dumping data for table `bstock_product_discounts`
--

INSERT INTO `bstock_product_discounts` VALUES (1,'1272440387','1272440387',37,'test','50','04/30/2010'),(2,'1272440414','1272440414',2,'test 12','100','04/28/2010'),(3,'1273217433','1273217433',4,'Cleaning.','100','05/04/2010'),(4,'1273217779','1273217779',4,'Polishing','200','05/03/2010'),(5,'1273218326','1273218326',5,'Polishing.','1500','05/04/2010'),(6,'1273274831','1273274831',645,'certification','50','05/04/2010'),(7,'1273274930','1273274930',645,'polishing.','100','05/06/2010'),(8,'1273361761','1273361761',644,'certification ','500','05/07/2010'),(9,'1273361800','1273361800',644,'polishing ','300','05/07/2010'),(10,'1273615692','1273615692',646,'certification','100','05/05/2010'),(11,'1274684194','1274684194',0,'test','333','1273560994'),(12,'1274684194','1274684194',0,'test','333','1273560994'),(13,'1274696539','1274696539',0,'test','1111','1274178139'),(14,'1274696778','1274696778',0,'test','42325','1273832778'),(15,'1274697267','1274697267',2,'test','32232','1273574067'),(16,'1277233812','1277233812',44,'testing for new discount','890','1276110612');

--
-- Table structure for table `bstock_product_expenses`
--

CREATE TABLE `bstock_product_expenses` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `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.',
  `product_id` int(10) NOT NULL COMMENT 'Will contain the product id of the product.',
  `purpose` varchar(255) NOT NULL COMMENT 'Expense purpose.',
  `price` varchar(20) NOT NULL COMMENT 'Actual Expenses Incurred.',
  `percent` decimal(10,2) NOT NULL,
  `date` varchar(20) NOT NULL COMMENT 'Date of expense.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COMMENT='Store the expenses of products in the system.';

--
-- Dumping data for table `bstock_product_expenses`
--

INSERT INTO `bstock_product_expenses` VALUES (1,'1272440387','1272440387',2,'test','50',0.00,'04/30/2010'),(2,'1272440414','1272440414',2,'test 12','100',0.00,'04/28/2010'),(3,'1273217433','1273217433',4,'Cleaning.','100',0.00,'05/04/2010'),(4,'1273217779','1273217779',4,'Polishing','200',0.00,'05/03/2010'),(5,'1273218326','1273218326',5,'Polishing.','1500',0.00,'05/04/2010'),(6,'1273274831','1273274831',645,'certification','50',0.00,'05/04/2010'),(7,'1273274930','1273274930',645,'polishing.','100',0.00,'05/06/2010'),(8,'1273361761','1273361761',644,'certification ','500',0.00,'05/07/2010'),(9,'1273361800','1273361800',644,'polishing ','300',0.00,'05/07/2010'),(10,'1273615692','1273615692',646,'certification','100',0.00,'05/05/2010'),(11,'1274684194','1274684194',0,'test','333',0.00,'1273560994'),(12,'1274684194','1274684194',0,'test','333',0.00,'1273560994'),(13,'1274696539','1274696539',0,'test','1111',0.00,'1274178139'),(14,'1274696778','1274696778',0,'test','42325',0.00,'1273832778'),(15,'1274697267','1274697267',2,'test','32232',0.00,'1273574067');

--
-- Table structure for table `bstock_product_history`
--

CREATE TABLE `bstock_product_history` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `stoneid` varchar(50) NOT NULL,
  `product_id` int(10) NOT NULL COMMENT 'Will contain the product id of the product.',
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL DEFAULT 'NONE',
  `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,
  `price` varchar(100) NOT NULL DEFAULT '0',
  `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,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1 COMMENT='Store the history of products in the system.';

--
-- Dumping data for table `bstock_product_history`
--

INSERT INTO `bstock_product_history` VALUES (6,'1272438543','1272438543','',2,'ROUND',1.01,'NONE','EXCELLENT','EXCELLENT','EXCELLENT','','','1','','','0.9','','1','0.9','0.7',''),(5,'1272437360','1272437360','',2,'ROUND',1.02,'FAINT','GOOD','EXCELLENT','EXCELLENT','','','2','','','1','','1','0.9','0.8',''),(4,'1272333453','1272333453','',2,'PRINCESS',1.09,'FAINT','GOOD','VERY GOOD','EXCELLENT','','','2','','','1','','2','1','1',''),(7,'1273216374','1273216374','',4,'PRINCESS',2.00,'NONE','VERY GOOD','VERY GOOD','EXCELLENT','','','2','','','1','','2','','1',''),(8,'1273216520','1273216520','',4,'PRINCESS',1.00,'FAINT','VERY GOOD','EXCELLENT','VERY GOOD','','','3','','','2','','3','2','2',''),(9,'1273218349','1273218349','',5,'ROUND',1.00,'FAINT','EXCELLENT','EXCELLENT','EXCELLENT','','','2','','','1','','2','2','1',''),(10,'1273274894','1273274894','',645,'ROUND',0.17,'FAINT','EXCELLENT','EXCELLENT','EXCELLENT','','','1','','','2','','1','2','2',''),(11,'1273361857','1273361857','',644,'ROUND',0.90,'FAINT','EXCELLENT','EXCELLENT','EXCELLENT','','','3','','','2','','5','20','30',''),(12,'1273361885','1273361885','',644,'ROUND',0.74,'NONE','EXCELLENT','EXCELLENT','EXCELLENT','','','3','','','2','','5','20','30','');

--
-- Table structure for table `bstock_product_master`
--

CREATE TABLE `bstock_product_master` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this will be referred as product_id in all other tables',
  `type_id` int(10) NOT NULL COMMENT 'type_id is used to map the record with main type_master table to knw which type of product is this',
  `product_name` varchar(500) NOT NULL,
  `vendor_id` int(10) NOT NULL COMMENT 'vendor_id is used to map with particular vendor with vendoe master table',
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_product_master`
--

INSERT INTO `bstock_product_master` VALUES (1,5,'20g Platinum',1,'',''),(2,5,'10g Gold',2,'',''),(3,5,'Men\'s Wedding Rings',3,'',''),(4,5,'Engagement Rings',4,'',''),(5,5,'Wedding Ring',0,'',''),(6,5,'Gemstone Rings',1,'',''),(7,5,'Diamond Studed Rings',2,'',''),(8,5,'Eternity Rings',3,'',''),(9,5,'Dedicated Rings',4,'',''),(10,5,'Wedding Rings',5,'',''),(11,5,'Engagement Rings',6,'',''),(12,5,'Designer Rings',7,'',''),(13,5,'Touch of Gold Rings',8,'',''),(14,5,'Touch of Silver Rings',9,'',''),(15,5,'Touch of Platinum Rings',10,'',''),(16,5,'Solitaire Ring',1,'',''),(17,5,'Solitaire Studed Ring',2,'',''),(18,5,'Solitaire Wedding Rings',3,'',''),(19,5,'Solitaire Engagement Rings',4,'',''),(20,5,'Solitaire Wedding Ring',0,'',''),(21,5,'Solitaire Gemstone Rings',1,'',''),(22,5,'Solitaire Diamond Studed Rings',2,'',''),(23,5,'Solitaire Eternity Rings',3,'',''),(24,5,'Solitaire Dedicated Rings',4,'',''),(25,5,'Sidestone Ring',1,'',''),(26,5,'Sidestone Studed Ring',2,'',''),(27,5,'Sidestone Wedding Rings',3,'',''),(28,5,'Sidestone Engagement Rings',4,'',''),(29,5,'Sidestone Wedding Ring',0,'',''),(30,5,'Sidestone Gemstone Rings',1,'',''),(31,5,'Sidestone Diamond Studed Rings',2,'',''),(32,5,'Sidestone Eternity Rings',3,'',''),(33,5,'Sidestone Dedicated Rings',4,'',''),(34,5,'Mone Ring',1,'',''),(35,5,'Mone Studed Ring',2,'',''),(36,5,'Mone Wedding Rings',3,'',''),(37,5,'Mone Engagement Rings',4,'',''),(38,5,'Mone Wedding Ring',0,'',''),(39,5,'Mone Gemstone Rings',1,'',''),(40,5,'Mone Diamond Studed Rings',2,'',''),(41,5,'Mone Eternity Rings',3,'',''),(42,5,'Mone Dedicated Rings',4,'',''),(43,5,'Tension Ring',1,'',''),(44,5,'Tension Studed Ring',2,'',''),(45,5,'Tension Wedding Rings',3,'',''),(46,5,'Tension Engagement Rings',4,'',''),(47,5,'Tension Wedding Ring',0,'',''),(48,5,'Tension Gemstone Rings',1,'',''),(49,5,'Tension Diamond Studed Rings',2,'',''),(50,5,'Tension Eternity Rings',3,'',''),(51,5,'Tension Dedicated Rings',4,'','');

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

CREATE TABLE `bstock_products` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `store_id` int(10) NOT NULL DEFAULT '1' COMMENT 'Can be used in future if multiple  stores are added.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `stoneid` varchar(50) NOT NULL,
  `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,
  `location` enum('All','Antwerp','Hong Kong','Mumbai','New York') NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL DEFAULT 'NONE',
  `lab` enum('All Labs','GIA','IGI','HRD','AGS','EGL','IGC') NOT NULL,
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V') NOT NULL,
  `certificate` varchar(255) NOT NULL,
  `weight` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL DEFAULT '0',
  `certificate_id` varchar(50) NOT NULL,
  `rap_price` varchar(50) NOT NULL,
  `rap_total` varchar(50) NOT NULL,
  `discount` varchar(50) NOT NULL,
  `piece_price` varchar(50) NOT NULL,
  `carat_price` varchar(50) NOT NULL,
  `length` varchar(50) NOT NULL,
  `width` varchar(50) NOT NULL,
  `height` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `girdle` varchar(250) NOT NULL,
  `country` enum('India','Hong Kong','USA','Belgium') NOT NULL,
  `qty` int(10) NOT NULL DEFAULT '1',
  `orignal_qty` int(11) NOT NULL,
  `purchase_price` varchar(10) NOT NULL,
  `vendorname` enum('None','Bigg Stock','Vendor 1','Vendor 2') NOT NULL,
  `customername` varchar(255) NOT NULL,
  `sellprice` varchar(20) NOT NULL,
  `sellqty` int(5) NOT NULL,
  `totalprice` varchar(20) NOT NULL,
  `comments` varchar(500) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=745 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

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

INSERT INTO `bstock_products` VALUES (2,1,'1267005563','1267005563','90001',2000,'ROUND',0.90,'Mumbai','off','FAINT','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI1','G','','','3366','1109747116','5100','4590','-0.34','5082.66','','6.04','6.06','','64','59','MED-THICK','India',-7,0,'','None','Vishal Kothari','200',2,'400','Good profits.'),(3,1,'1267005563','1267005563','90.60/10A',0,'PRINCESS',1.01,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','','VS2','J','','','2470','2106747260','3800','3838','-0.35','3786.7','','5.34','5.3','','75.8','79','MED-VERY THICK','India',-3,0,'','None','Harshad','100',5,'500','Loss incurred.'),(4,1,'1267005563','1267005563','90.60/11',0,'ROUND',0.81,'Mumbai','off','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','SI1','D','','','3266','5106747123','4600','3726','-0.29','4586.66','','5.88','5.91','','63.6','57','SLIGHTLY-THICK','India',-5,0,'','None','Bigg Stock','250',1,'250','Should yeild profit.'),(5,1,'1267005563','1267005563','90.60/12A',0,'ROUND',0.57,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','L','','','1188','2106747124','1800','1026','-0.34','1793.88','','5.4','5.41','','59.9','60','THIN-MED','India',-3,0,'','None','Vishal Kothari','4000',1,'4000','Looks good.'),(6,1,'1267005563','1267005563','90.60/14',0,'EMERALD',1.51,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','2420','S2E77301','4400','6644','-0.45','4380.2','','7.27','5.31','','70.8','70.5','MED','India',2,0,'','None','','',0,'',''),(7,1,'1267005563','1267005563','90.60/22A',0,'ROUND',0.52,'Mumbai','off','STRONG','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS2','E','','','2109','5106747122','3700','1924','-0.43','3684.09','','5.16','5.19','','61.8','58','MED-SLIGHTLY THICK','India',-1,0,'','None','','',0,'',''),(8,1,'1267005563','1267005563','90.60/25',0,'ROUND',0.76,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VS2','K','','','1440','2106747127','2400','1824','-0.4','2390.4','','5.77','5.79','','63.3','57','MED-SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(9,1,'1267005563','1267005563','90.60/32A',0,'PRINCESS',1.01,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4070','S2E77300','7400','7474','-0.45','7366.7','','5.47','5.37','','73.2','79','MED','India',0,0,'','None','','',0,'',''),(10,1,'1267005563','1267005563','90.60/34',0,'ROUND',0.90,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','I','','','2604','5106747117','4200','3780','-0.38','4184.04','','6.13','6.15','','62.5','57','THIN-SLIGHTLY THICK','India',0,0,'','None','','',0,'',''),(12,1,'1267005563','1267005563','90.60/8',0,'ROUND',1.14,'Mumbai','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','IF','N','','','0','S2E77303','','0','-0.4','0','','6.62','6.63','','63.2','55','MED','India',1,0,'','None','','',0,'',''),(13,1,'1267005563','1267005563','90.60/24',0,'EMERALD',1.01,'Mumbai','off','NONE','IGI','VERY GOOD','GOOD','','VVS2','I','','','2750','S2E77302','5000','5050','-0.45','4977.5','','6.37','4.66','','72.5','68.5','SLIGHTLY THICK','India',2,0,'','None','','',0,'',''),(14,1,'1267005563','1267005563','90.60/30',0,'EMERALD',1.09,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','I','','','2860','S2E79388','5200','5668','-0.45','5176.6','','6.77','4.97','','67','66.5','MED','India',0,0,'','None','','',0,'',''),(15,1,'1267005563','1267005563','90.60/37',0,'EMERALD',0.92,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','H','','','2530','S2E79387','4600','4232','-0.45','4579.3','','6.29','4.67','','66.4','64','MED','India',1,0,'','None','','',0,'',''),(16,1,'1267005563','1267005563','90.60/35',0,'ROUND',0.90,'Mumbai','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','L','','','2108','S2E82366','3100','2790','-0.32','3090.08','','6.05','6.1','','63.4','57','MED-SLIGHTLY THICK','India',-1,0,'','None','','',0,'',''),(17,1,'1267005563','1267005563','90.60/40',0,'ROUND',1.07,'Mumbai','off','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','I','','','4620','S2E82365','6600','7062','-0.3','6580.2','','6.46','6.5','','63.5','56.5','MED-SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(18,1,'1267005563','1267005563','90.60/2',0,'ROUND',1.13,'Mumbai','off','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','K','','','3150','S2E84690','5000','5650','-0.37','4981.5','','6.6','6.62','','63.1','56','MED','India',1,0,'','None','','',0,'',''),(19,1,'1267005563','1267005563','90.60/28',0,'ROUND',1.00,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','K','','','3000','S2E84691','5000','5000','-0.4','4980','','6.28','6.3','','63.8','55','MED-THICK','India',1,0,'','None','','',0,'',''),(20,1,'1267005563','1267005563','90.60/4A',0,'ROUND',0.54,'Mumbai','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','L','','','1300','2106790233','2000','1080','-0.35','1993','','5.22','5.23','','62.2','57','MED','India',1,0,'','None','','',0,'',''),(21,1,'1267005563','1267005563','90.60/20',0,'ROUND',0.76,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','H','','','3015','2106790229','4500','3420','-0.33','4485.15','','5.81','5.82','','62.3','59','MED-SLIGHTLY THICK','India',-2,0,'','None','','',0,'',''),(22,1,'1267005563','1267005563','90.60/26',0,'ROUND',0.91,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','F','','','5226','2106790231','7800','7098','-0.33','7774.26','','6.18','6.2','','61.6','59','MED-SLIGHTLY THICK','India',-2,0,'','None','','',0,'',''),(23,1,'1267005563','1267005563','90.60/36',0,'ROUND',0.82,'Mumbai','off','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS2','J','','','2044','5106790226','2800','2296','-0.27','2792.44','','5.97','5.98','','61.9','59','MED-SLIGHTLY THICK','India',-2,0,'','None','','',0,'',''),(24,1,'1267005563','1267005563','90.60/41',0,'ROUND',0.81,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','G','','','3774','5106790227','5100','4131','-0.26','5086.74','','5.92','5.94','','63.2','58','MED-SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(25,1,'1267005563','1267005563','90.60/1',0,'ROUND',1.23,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','3600','1109789950','4800','5904','-0.25','4788','','6.81','6.84','','62.3','57','THIN-SLIGHTLY THICK','India',-1,0,'','None','','',0,'',''),(26,1,'1267005563','1267005563','90.60/42',0,'ROUND',0.70,'Mumbai','off','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VVS1','G','','','3575','5106790225','5500','3850','-0.35','5480.75','','5.63','5.64','','63.2','56','SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(27,1,'1267005563','1267005563','90.60/16B',0,'ROUND',0.60,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','G','','','2664','2106790232','3700','2220','-0.28','3689.64','','5.33','5.37','','62.6','59','SLIGHTLY-THICK TO THICK','India',1,0,'','None','','',0,'',''),(28,1,'1267005563','1267005563','90.60/12B',0,'ROUND',0.56,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','L','','','1365','2106790230','2100','1176','-0.35','2092.65','','5.3','5.31','','61.3','61','MED','India',1,0,'','None','','',0,'',''),(29,1,'1267005563','1267005563','90.60/17',0,'ROUND',1.09,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS1','G','','','7275','2106789951','9700','10573','-0.25','9675.75','','6.53','6.55','','62.8','58','MED-SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(30,1,'1267005563','1267005563','90.60/5',0,'ROUND',0.70,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','E','','','3696','5106784511','5600','3920','-0.34','5580.96','','5.64','5.66','','62.8','58','MED','India',1,0,'','None','','',0,'',''),(31,1,'1267005563','1267005563','90.60/21',0,'ROUND',0.51,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','E','','','2479','5106784507','3700','1887','-0.33','3687.79','','5.16','5.17','','60.8','59','MED','India',1,0,'','None','','',0,'',''),(32,1,'1267005563','1267005563','90.60/21B',0,'ROUND',0.52,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','E','','','3111','5106781899','5100','2652','-0.39','5080.11','','5.28','5.29','','59.6','60','VTN-THN','India',1,0,'','None','','',0,'',''),(33,1,'1267005563','1267005563','90.60/27',0,'ROUND',0.80,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS1','H','','','4000','5106784001','5000','4000','-0.2','4990','','5.88','5.9','','63.5','57','MED-SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(34,1,'1267005563','1267005563','90.60/15',0,'ROUND',1.08,'Mumbai','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','K','','','3150','S2E87266','5000','5400','-0.37','4981.5','','6.55','6.56','','62.1','59','MED','India',1,0,'','None','','',0,'',''),(35,1,'1267005563','1267005563','90.60/33',0,'ROUND',1.01,'Mumbai','off','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','I','','','3850','S2E87265','5500','5555','-0.3','5483.5','','6.3','6.33','','63.3','57.5','THIN-SLIGHTLY THICK','India',1,0,'','None','','',0,'',''),(36,1,'1267005563','1267005563','1',0,'ROUND',0.32,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','D','','','1280','','2000','640','-0.36','1992.8','','4.44','4.47','','60.2','57','','India',1,0,'','None','','',0,'',''),(37,1,'1267005563','1267005563','2',0,'ROUND',0.30,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS1','E','','','2142','','3400','1020','-0.37','3387.42','','4.21','4.23','','64.7','55','','India',1,0,'','None','','',0,'',''),(38,1,'1267005564','1267005564','3',0,'ROUND',0.73,'Mumbai','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','SI1','H','','','1972','','3400','2482','-0.42','3385.72','','5.88','5.9','','58.9','59','','India',1,0,'','None','','',0,'',''),(39,1,'1267005563','1267005563','4',0,'ROUND',0.31,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VS1','E','','','1716','','2600','806','-0.34','2591.16','','4.33','4.37','','61.6','57','','India',1,0,'','None','','',0,'',''),(40,1,'1267005564','1267005564','100',0,'ROUND',5.01,'Mumbai','off','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','12600','','21000','105210','-0.4','20916','','10.89','10.92','','62.8','53.5','','India',1,0,'','None','','',0,'',''),(41,1,'1267005563','1267005563','5',0,'ROUND',0.36,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS1','E','','','1716','','2600','936','-0.34','2591.16','','4.66','4.69','','58.8','62','','India',0,0,'','None','','',0,'',''),(42,1,'1267005563','1267005563','6',0,'ROUND',0.31,'Mumbai','off','NONE','GIA','EXCELLENT','GOOD','VERY GOOD','VS2','E','','','1512','','2400','744','-0.37','2391.12','','4.41','4.43','','60.4','59','','India',1,0,'','None','','',0,'',''),(43,1,'1267005564','1267005564','7',0,'ROUND',0.80,'Mumbai','off','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','J','','','1512','','2700','2160','-0.44','2688.12','','5.94','5.97','','61.5','59','','India',1,0,'','None','','',0,'',''),(44,1,'1267005563','1267005563','8',0,'ROUND',0.36,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','F','','','1608','','2400','864','-0.33','2392.08','','4.57','4.6','','61.5','57','','India',1,0,'','None','','',0,'',''),(45,1,'1267005563','1267005563','9',0,'ROUND',0.32,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS2','F','','','1452','','2200','704','-0.34','2192.52','','4.41','4.42','','61.2','58','','India',1,0,'','None','','',0,'',''),(46,1,'1267005564','1267005564','10',0,'ROUND',1.00,'Mumbai','off','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','IF','F','','','8294','','14300','14300','-0.42','14239.94','','6.37','6.41','','60.6','61','','India',1,0,'','None','','',0,'',''),(47,1,'1267005564','1267005564','11',0,'ROUND',1.00,'Mumbai','off','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','F','','','3900','','6500','6500','-0.4','6474','','6.36','6.4','','61.9','55.5','','India',1,0,'','None','','',0,'',''),(48,1,'1267005564','1267005564','12',0,'ROUND',1.00,'Mumbai','off','','IGI','GOOD','VERY GOOD','VERY GOOD','VS1','G','','','4698','','8100','8100','-0.42','8065.98','','6.53','6.55','','59.2','60.5','','India',1,0,'','None','','',0,'',''),(49,1,'1267005564','1267005564','13',0,'ROUND',0.37,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS2','G','','','1292','','1900','703','-0.32','1893.92','','4.71','4.73','','59.5','58','','India',1,0,'','None','','',0,'',''),(50,1,'1267005564','1267005564','14',0,'ROUND',0.52,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','D','','','3575','','5500','2860','-0.35','5480.75','','5.12','5.14','','62.8','59','','India',1,0,'','None','','',0,'',''),(51,1,'1267005564','1267005564','15',0,'ROUND',0.51,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','E','','','3468','','5100','2601','-0.32','5083.68','','5.16','5.18','','60.5','59','','India',1,0,'','None','','',0,'',''),(52,1,'1267005564','1267005564','16',0,'ROUND',0.51,'Mumbai','off','NONE','GIA','VERY GOOD','GOOD','VERY GOOD','VVS2','E','','','3213','','5100','2601','-0.37','5081.13','','5.29','5.31','','57.9','62','','India',1,0,'','None','','',0,'',''),(53,1,'1267005564','1267005564','17',0,'ROUND',0.55,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','E','','','3417','','5100','2805','-0.33','5083.17','','5.34','5.38','','59.3','61','','India',1,0,'','None','','',0,'',''),(54,1,'1267005564','1267005564','19',0,'ROUND',0.51,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','GOOD','VS2','E','','','2183','','3700','1887','-0.41','3684.83','','5.11','5.14','','62','59','','India',1,0,'','None','','',0,'',''),(55,1,'1267005564','1267005564','21',0,'ROUND',1.16,'Mumbai','off','VERY SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','H','','','4030','','6200','7192','-0.35','6178.3','','6.72','6.74','','61.8','56.5','','India',1,0,'','None','','',0,'',''),(56,1,'1267005564','1267005564','89',0,'ROUND',0.55,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS1','F','','','2560','','4000','2200','-0.36','3985.6','','5.3','5.32','','60.5','61','','India',1,0,'','None','','',0,'',''),(57,1,'1267005564','1267005564','22',0,'ROUND',1.06,'Mumbai','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','H','','','3654','','5800','6148','-0.37','5778.54','','6.47','6.5','','62.5','59.5','','India',1,0,'','None','','',0,'',''),(58,1,'1267005564','1267005564','23',0,'ROUND',0.50,'Mumbai','off','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VS2','F','','','2240','','3500','1750','-0.36','3487.4','','5.21','5.23','','59','62','','India',1,0,'','None','','',0,'',''),(59,1,'1267005564','1267005564','90',0,'ROUND',0.52,'Mumbai','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','G','','','2257','','3700','1924','-0.39','3685.57','','5.11','5.16','','62.1','58','','India',1,0,'','None','','',0,'',''),(60,1,'1267005564','1267005564','25',0,'ROUND',1.03,'Mumbai','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','I','','','4554','','6600','6798','-0.31','6579.54','','6.41','6.46','','62.8','58','','India',1,0,'','None','','',0,'',''),(61,1,'1267005564','1267005564','27',0,'ROUND',1.02,'Mumbai','off','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS1','I','','','3245','','5900','6018','-0.45','5873.45','','6.44','6.47','','61.2','61','','India',1,0,'','None','','',0,'',''),(62,1,'1267005564','1267005564','28',0,'ROUND',0.71,'Mumbai','off','NONE','GIA','GOOD','EXCELLENT','VERY GOOD','VS2','E','','','3050','','5000','3550','-0.39','4980.5','','5.8','5.84','','58.9','61','','India',1,0,'','None','','',0,'',''),(63,1,'1267005564','1267005564','30',0,'ROUND',1.15,'Mumbai','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','J','','','3696','','5600','6440','-0.34','5580.96','','6.66','6.68','','62.8','57','','India',1,0,'','None','','',0,'',''),(64,1,'1267005564','1267005564','117',0,'ROUND',2.04,'Mumbai','off','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS1','I','','','6510','','10500','21420','-0.38','10460.1','','8.05','8.07','','63','57','','India',1,0,'','None','','',0,'',''),(65,1,'1267005564','1267005564','34',0,'ROUND',0.70,'Mumbai','off','MEDIUM','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI2','H','','','1643','','3100','2170','-0.47','3085.43','','5.66','5.69','','63.3','57','','India',1,0,'','None','','',0,'',''),(66,1,'1267005564','1267005564','35',0,'ROUND',0.81,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','3212','','4400','3564','-0.27','4388.12','','5.89','5.91','','64.1','55','','India',1,0,'','None','','',0,'',''),(67,1,'1267005564','1267005564','36',0,'ROUND',0.80,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS1','F','','','5332','','6200','4960','-0.14','6191.32','','5.94','5.97','','61.1','57','','India',1,0,'','None','','',0,'',''),(68,1,'1267005564','1267005564','102',0,'PRINCESS',1.07,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4292','','7400','7918','-0.42','7368.92','','5.81','5.73','','70.3','80','','India',1,0,'','None','','',0,'',''),(69,1,'1267005564','1267005564','103',0,'ROUND',0.91,'Mumbai','off','MEDIUM','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS1','E','','','4624','','6800','6188','-0.32','6778.24','','6.2','6.22','','61.5','58','','India',1,0,'','None','','',0,'',''),(70,1,'1267005564','1267005564','118',0,'ROUND',0.90,'Mumbai','off','FAINT','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','F','','','3575','','5500','4950','-0.35','5480.75','','6.1','6.13','','62.6','59','','India',1,0,'','None','','',0,'',''),(71,1,'1267005564','1267005564','104',0,'ROUND',0.93,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI1','G','','','3213','','5100','4743','-0.37','5081.13','','6.17','6.22','','63.1','57','','India',1,0,'','None','','',0,'',''),(72,1,'1267005564','1267005564','39',0,'ROUND',1.11,'Mumbai','off','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','E','','','8946','','12600','13986','-0.29','12563.46','','6.61','6.71','','61.7','57','','India',1,0,'','None','','',0,'',''),(73,1,'1267005564','1267005564','41',0,'ROUND',1.01,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','4760','','6800','6868','-0.3','6779.6','','6.39','6.43','','61.3','60','','India',1,0,'','None','','',0,'',''),(74,1,'1267005564','1267005564','91',0,'ROUND',1.04,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','4760','','6800','7072','-0.3','6779.6','','6.41','6.42','','63.3','57','','India',1,0,'','None','','',0,'',''),(75,1,'1267005564','1267005564','92',0,'ROUND',1.05,'Mumbai','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','F','','','7820','','11500','12075','-0.32','11463.2','','6.55','6.59','','60.7','60','','India',1,0,'','None','','',0,'',''),(76,1,'1267005564','1267005564','111',0,'PRINCESS',0.90,'Mumbai','off','NONE','IGI','VERY GOOD','GOOD','','VS1','L','','','1219','','2300','2070','-0.47','2289.19','','5.55','5.15','','75.7','79.7','','India',1,0,'','None','','',0,'',''),(77,1,'1267005564','1267005564','42',0,'ROUND',1.07,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS2','G','','','5112','','7200','7704','-0.29','7179.12','','6.66','6.67','','59.6','59','','India',0,0,'','None','','',0,'',''),(78,1,'1267005564','1267005564','112',0,'ROUND',1.05,'Mumbai','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','G','','','3843','','6100','6405','-0.37','6077.43','','6.47','6.52','','62.7','57','','India',1,0,'','None','','',0,'',''),(79,1,'1267005564','1267005564','113',0,'ROUND',1.00,'Mumbai','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','GOOD','SI2','G','','','3180','','5300','5300','-0.4','5278.8','','6.31','6.35','','63.3','60','','India',1,0,'','None','','',0,'',''),(80,1,'1267005564','1267005564','95',0,'ROUND',1.14,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI2','H','','','3417','','5100','5814','-0.33','5083.17','','6.62','6.65','','63.5','56','','India',1,0,'','None','','',0,'',''),(81,1,'1267005564','1267005564','43',0,'ROUND',1.21,'Mumbai','off','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','IF','I','','','4896','','7200','8712','-0.32','7176.96','','6.75','6.77','','63.2','57.5','','India',1,0,'','None','','',0,'',''),(82,1,'1267005564','1267005564','96',0,'ROUND',1.33,'Mumbai','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','F','','','7360','','9200','12236','-0.2','9181.6','','7.03','7.05','','61.6','57','','India',1,0,'','None','','',0,'',''),(83,1,'1267005564','1267005564','45',0,'ROUND',1.23,'Mumbai','off','MEDIUM','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','H','','','5904','','8200','10086','-0.28','8177.04','','6.84','6.93','','61.1','61','','India',1,0,'','None','','',0,'',''),(84,1,'1267005564','1267005564','47',0,'ROUND',1.50,'Mumbai','off','NONE','GIA','GOOD','EXCELLENT','VERY GOOD','VVS2','E','','','11900','','17000','25500','-0.3','16949','','7.4','7.43','','60','60','','India',1,0,'','None','','',0,'',''),(85,1,'1267005564','1267005564','48',0,'ROUND',1.51,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','G','','','9576','','12600','19026','-0.24','12569.76','','7.31','7.38','','62.9','55','','India',1,0,'','None','','',0,'',''),(86,1,'1267005564','1267005564','119',0,'ROUND',1.50,'Mumbai','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','G','','','7056','','9800','14700','-0.28','9772.56','','7.3','7.33','','62.2','58','','India',1,0,'','None','','',0,'',''),(87,1,'1267005564','1267005564','114',0,'ROUND',1.56,'Mumbai','off','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','H','','','7280','','10400','16224','-0.3','10368.8','','7.41','7.45','','61.9','57','','India',1,0,'','None','','',0,'',''),(88,1,'1267005564','1267005564','120',0,'ROUND',1.55,'Mumbai','off','FAINT','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS1','H','','','7575','','10100','15655','-0.25','10074.75','','7.33','7.36','','62.9','58','','India',1,0,'','None','','',0,'',''),(89,1,'1267005564','1267005564','54',0,'ROUND',1.24,'Mumbai','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','J','','','3808','','5600','6944','-0.32','5582.08','','6.82','6.86','','62.9','58','','India',1,0,'','None','','',0,'',''),(90,1,'1267005564','1267005564','55',0,'ROUND',1.24,'Mumbai','off','SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','K','','','3276','','5200','6448','-0.37','5180.76','','6.83','6.85','','62.5','58','','India',1,0,'','None','','',0,'',''),(91,1,'1267005564','1267005564','56',0,'ROUND',1.26,'Mumbai','off','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','K','','','3000','','5000','6300','-0.4','4980','','6.93','6.96','','61.2','60','','India',1,0,'','None','','',0,'',''),(92,1,'1267005564','1267005564','105',0,'PRINCESS',1.02,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS2','K','','','1908','','3600','3672','-0.47','3583.08','','5.4','5.32','','73.9','73.5','','India',1,0,'','None','','',0,'',''),(93,1,'1267005564','1267005564','106',0,'EMERALD',1.11,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','1776','','3700','4107','-0.52','3680.76','','6.99','4.85','','67.4','63.5','','India',1,0,'','None','','',0,'',''),(94,1,'1267005564','1267005564','58',0,'EMERALD',0.50,'Mumbai','off','NONE','GIA','GOOD','EXCELLENT','','VS1','G','','','1260','','2800','1400','-0.55','2784.6','','5.61','4.03','','60','78','','India',1,0,'','None','','',0,'',''),(95,1,'1267005564','1267005564','59',0,'ROUND',1.20,'Mumbai','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','K','','','2440','','4000','4800','-0.39','3984.4','','6.78','6.81','','62.3','57','','India',1,0,'','None','','',0,'',''),(96,1,'1267005564','1267005564','60',0,'EMERALD',0.76,'Mumbai','off','NONE','GIA','GOOD','VERY GOOD','','VVS2','G','','','2070','','4600','3496','-0.55','4574.7','','6.23','4.45','','66.3','75','','India',1,0,'','None','','',0,'',''),(97,1,'1267005564','1267005564','61',0,'EMERALD',0.91,'Mumbai','off','NONE','GIA','VERY GOOD','VERY GOOD','','VS1','F','','','2800','','5600','5096','-0.5','5572','','6.22','4.87','','66.5','74','','India',1,0,'','None','','',0,'',''),(98,1,'1267005564','1267005564','62',0,'ROUND',1.51,'Mumbai','off','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VS1','H','','','5874','','8900','13439','-0.34','8869.74','','7.23','7.27','','64','55.5','','India',1,0,'','None','','',0,'',''),(99,1,'1267005564','1267005564','63',0,'ROUND',1.56,'Mumbai','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','H','','','5893','','8300','12948','-0.29','8275.93','','7.48','7.51','','60.7','56.5','','India',1,0,'','None','','',0,'',''),(100,1,'1267005564','1267005564','64',0,'ROUND',1.50,'Mumbai','off','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VS2','H','','','5312','','8300','12450','-0.36','8270.12','','7.17','7.21','','64','55.5','','India',1,0,'','None','','',0,'',''),(643,1,NULL,'1272311174','111',0,'ROUND',5.00,'Antwerp','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D','','','1000','222','1000','1000','40','1000','1000','','2','2','4','4','','India',5,0,'','None','','',0,'',''),(644,1,'1272313608','1272313608','999',0,'ROUND',1.00,'All','off','FAINT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','D','','','2000','888','2000','2000','50','2000','2000','','2','4','1','1','','India',5,0,'2000','Bigg Stock','Vishal Kothari','12000',1,'12000','Enter order comments here.'),(645,1,'1273274684','1273274684','abc',0,'ROUND',0.20,'All','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','IF','D','','','4000','111','2400','2300','0.4','2000','5000','','1','1','1','1','medium','India',1,0,'2000','Bigg Stock','Vishal Kothari','2500',1,'2500','small profit.'),(647,22,'1267005563','1267005563','323',0,'ROUND',1.00,'All','off','FAINT','All Labs','ANY','ANY','ANY','ANY','ANY','2342','1','1000','1','1100','100','10','100','1111','1','1','1','1','1','1','India',1,0,'111','Bigg Stock','test ','1000',1,'1111','comment comments'),(648,1275047202,'1275047202','time()','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','',',','','','','','','','','','','','','India',0,0,'','Bigg Stock','','',0,'','comments'),(649,1,'1275047690','1275047690','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','',',','','','','','','','','','','','','India',0,0,'','Bigg Stock','','',0,'','comments'),(650,1,'1275137955','1275137955','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','','ANY',' ','','ANY',',','','','','','','','','','','','','India',0,0,'ANY','Bigg Stock','','',0,'ANY','comments'),(651,1,'1275288300','1275288300','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(652,1,'1275288428','1275288428','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(653,1,'1275288459','1275288459','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(654,1,'1275288653','1275288653','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(655,1,'1275294070','1275294070','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(656,1,'1275297932','1275297932','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(657,1,'1275307959','1275307959','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(658,1,'1275309207','1275309207','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(659,1,'1275309370','1275309370','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(660,1,'1275309403','1275309403','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(661,1,'1275309422','1275309422','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(662,1,'1275309565','1275309565','',0,'',0.00,'','off','','','','','ANY','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(663,1,'1275309593','1275309593','',0,'',0.00,'','off','','','','','ANY','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(664,1,'1275310965','1275310965','',0,'',0.00,'','off','','','','','ANY','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(665,1,'1275311141','1275311141','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','','EXCELLENT','','ANY',' ','','IF',',','','','','','','','','','','','','India',0,0,'IF','None','','',0,'IF','comments'),(666,1,'1275311452','1275311452','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','','EXCELLENT','IF','ANY',' ','','333',',','','','','','','','','','','','','India',2,0,'333','None','','',0,'333','comments'),(667,1,'1275311787','1275311787','34',0,'ROUND',1.00,'Antwerp','off','FAINT','GIA','EXCELLENT','','EXCELLENT','IF','D',' ','','4444',',222222222','2233','2222','25','1000','560','','1','1','1','1','','',3,0,'4444','','','',0,'4444','comments'),(668,1,'1275315023','1275315023','2223',0,'PRINCESS',0.23,'All','off','ANY','All Labs','ANY','GOOD','EXCELLENT','IF','D',' ','','2222',',34242','2222','2222','2','222','222','','1','1','1','1','','India',2,0,'2222','','','',0,'2222','comments'),(669,1,'1275315857','1275315857','2222',0,'PEAR',1.00,'All','off','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','E',' ','','2222',',222222222','222','222','22','222','222','','2','2','5','7','','',3,0,'2222','Bigg Stock','','',0,'2222','comments'),(670,1,'1275315864','1275315864','2222',0,'PEAR',1.00,'All','off','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','E',' ','','2222',',222222222','222','222','22','222','222','','2','2','5','7','','',2,0,'2222','Bigg Stock','','',0,'2222','comments'),(671,1,'1275388586','1275388586','111',0,'ROUND',2.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','786',',23234243243','54','65','65','345','232','','1','1','1','1','1','India',6,0,'786','Bigg Stock','','',0,'786','comments'),(672,1,'1275388661','1275388661','111',0,'ROUND',2.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','786',',23234243243','54','65','65','345','232','','1','1','1','1','1','India',6,0,'786','Bigg Stock','','',0,'786','comments'),(673,1,'1275389199','1275389199','2323',0,'PRINCESS',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','222',',3423423423','2232','','','','342','','1','1','11','1','','India',34,0,'222','','','',0,'222','comments'),(674,1,'1275397492','1275397492','',0,'',0.00,'','off','','','','','','','',' ','','0',',','','','','','','','','','','','','',0,0,'0','','','',0,'0','comments'),(675,1,'1275449590','1275449590','2342',0,'MARQUISE',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',3242423423','32','322','12','233','323','','111','1','1','1','1','India',2,0,'333','','','',0,'333','comments'),(676,1,'1275458671','1275458671','',0,'ROUND',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','','','','','','','India',1,0,'33333','Bigg Stock','','',0,'33333','comments'),(677,1,'1275461287','1275461287','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','432',',','','','','','','','','','','','','India',2,0,'432','None','','',0,'432','comments'),(678,1,'1275485692','1275485692','3242',0,'ROUND',1.00,'Antwerp','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','2342',',23423423423423432','342','343','2','3432','322','','34','2','1','1','1','USA',2,0,'2342','','','',0,'2342','comments'),(679,1,'1275485721','1275485721','3242',0,'ROUND',1.00,'Antwerp','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','2342',',23423423423423432','342','343','2','3432','322','','34','2','1','1','1','USA',2,0,'2342','','','',0,'2342','comments'),(680,1,'1275587069','1275587069','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2233',',','','','','','','','','','','','','India',22,0,'2233','','','',0,'2233','comments'),(681,1,'1275718232','1275718232','333',0,'RADIANT',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',555','23','23','1','23','323','','1','1','1','1','1','India',3,0,'322','','','',0,'322','comments'),(682,1,'1275718232','1275718232','333',0,'RADIANT',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',555','23','23','1','23','323','','1','1','1','1','1','India',3,0,'322','','','',0,'322','comments'),(683,1,'1275718232','1275718232','333',0,'RADIANT',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',555','23','23','1','23','323','','1','1','1','1','1','India',3,0,'322','','','',0,'322','comments'),(684,1,'1275718467','1275718467','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','','','','','','','India',2,0,'33333','Bigg Stock','','',0,'33333','comments'),(685,1,'1275718467','1275718467','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','','','','','','','India',2,0,'33333','Bigg Stock','','',0,'33333','comments'),(686,1,'1275718467','1275718467','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','','','','','','','India',2,0,'33333','Bigg Stock','','',0,'33333','comments'),(687,1,'1275718814','1275718814','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','','','','','','','India',1,0,'2342','Bigg Stock','','',0,'2342','comments'),(688,1,'1275719177','1275719177','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',','','','','','','','','','','','','India',3,0,'333','None','','',0,'333','comments'),(689,1,'1275719901','1275719901','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',','','','','','','','','','','','','India',2,0,'333','','','',0,'333','comments'),(690,1,'1275729302','1275729302','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','','','','','','','India',2,0,'2342','','','',0,'2342','comments'),(691,1,'1275730445','1275730445','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','','','','','','','India',2,0,'2342','','','',0,'2342','comments'),(692,1,'1275732085','1275732085','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',','','','','','','','','','','','','India',1,0,'322','Bigg Stock','','',0,'322','comments'),(693,1,'1276066363','1276066363','',0,'ROUND',0.57,'','off','','','','EXCELLENT','EXCELLENT','VS1','L',' ','','1188',',','','','','','','','','','','','','',1,0,'1188','','','',0,'1188','comments'),(694,1,'1276066604','1276066604','',0,'ROUND',0.57,'','off','','','','EXCELLENT','EXCELLENT','VS1','L',' ','','1188',',','','','','','','','','','','','','',1,0,'1188','','','',0,'1188','comments'),(695,1,'1276094427','1276094427','',0,'ROUND',0.85,'','off','','','','VERY GOOD','VERY GOOD','SI1','L',' ','','1400',',','','','','','','','','','','','','',1,0,'1400','','','',0,'1400','comments'),(696,1,'1276242984','1276242984','',0,'EMERALD',1.51,'','off','','','','VERY GOOD','','VVS1','K',' ','','2420',',','','','','','','','','','','','','',1,0,'2420','','','',0,'2420','comments'),(697,1,'1276520041','1276520041','9090',0,'PRINCESS',0.80,'New York','off','ANY','IGI','FAIR','GOOD','VERY GOOD','VVS1','D',' ','','100',',1234','400','400','30','300','200','','1','2','1','2','medium','USA',5,0,'100','','','',0,'100','comments'),(698,1,'1276520636','1276520636','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(699,1,'1276520636','1276520636','',0,'PEAR',2.00,'All','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','F',' ','','200',',','','','','','','','','','','','','India',2,0,'200','Bigg Stock','','',0,'200','comments'),(700,1,'1276520747','1276520747','',0,'EMERALD',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','200',',','','','','','','','','','','','','India',2,0,'200','','','',0,'200','comments'),(701,1,'1276520863','1276520863','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(702,1,'1276520881','1276520881','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(703,1,'1276520953','1276520953','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(704,1,'1276521306','1276521306','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','100',',','','','','','','','','','','','','India',1,0,'100','Bigg Stock','','',0,'100','comments'),(705,1,'1276581400','1276581400','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','','','','','','','India',2,0,'2342','','','',0,'2342','comments'),(706,1,'1276586239','1276586239','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(707,1,'1276586295','1276586295','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(708,1,'1276586447','1276586447','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(709,1,'1276586506','1276586506','',0,'',0.00,'','off','','','','','','','',' ','','',',','','','','','','','','','','','','',0,0,'','','','',0,'','comments'),(710,1,'1277402702','1277402702','',0,'ROUND',2.00,'All','off','ANY','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','3421',',','','','','','','','','','','','','India',22,0,'3421','None','','',0,'3421','comments'),(711,1,'1277402890','1277402890','',0,'ROUND',2.00,'All','off','NONE','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','D',' ','','2342',',','','','','','','','','','','','','India',32,0,'2342','','','',0,'2342','comments'),(712,1,'1277402927','1277402927','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2343',',','','','','','','','','','','','','India',23,0,'2343','','','',0,'2343','comments'),(713,1,'1277403112','1277403112','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2343',',','','','','','','','','','','','','India',23,0,'2343','','','',0,'2343','comments'),(714,1,'1277405569','1277405569','',0,'ROUND',2.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3453',',','','','','','','','','','','','','India',23,0,'3453','','','',0,'3453','comments'),(715,1,'1277405654','1277405654','',0,'ROUND',2.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3453',',','','','','','','','','','','','','India',23,0,'3453','','','',0,'3453','comments'),(716,1,'1277809664','1277809664','',0,'ROUND',2.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2322',',','','','','','','','','','','','','India',2,2,'2322','Bigg Stock','','',0,'2322','comments'),(717,1,'1277812121','1277812121','',0,'ROUND',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2422',',','','','','','','','','','','','','India',2,2,'2422','Bigg Stock','','',0,'2422','comments'),(718,1,'1277812711','1277812711','',0,'ROUND',2.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3322',',','','','','','','','','','','','','India',2,2,'3322','','','',0,'3322','comments'),(719,1,'1277814773','1277814773','',0,'ROUND',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2322',',','','','','','','','','','','','','India',3,3,'2322','','','',0,'2322','comments'),(720,1,'1277814862','1277814862','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2322',',','','','','','','','','','','','','India',33,33,'2322','Bigg Stock','','',0,'2322','comments'),(721,1,'1277901971','1277901971','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','4.444',',','','','','','','','','','','','','India',3,3,'4.444','','','',0,'4.444','comments'),(722,1,'1277902017','1277902017','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','4.444',',','','','','','','','','','','','','India',3,3,'4.444','','','',0,'4.444','comments'),(723,1,'1277903024','1277903024','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3343',',','','','','','','','','','','','','India',2,2,'3343','Bigg Stock','','',0,'3343','comments'),(724,1,'1277903901','1277903901','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',','','','','','','','','','','','','India',3,3,'333','','','',0,'333','comments'),(725,1,'1277904553','1277904553','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2222',',','','','','','','','','','','','','India',2,2,'2222','','','',0,'2222','comments'),(726,1,'1277904809','1277904809','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','4000',',','','','','','','','','','','','','India',2,2,'4000','','','',0,'4000','comments'),(727,1,'1277965748','1277965748','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3423',',','','','','','','','','','','','','India',2,0,'3423','','','',0,'3423','comments'),(728,1,'1277967705','1277967705','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3.333',',','','','','','','','','','','','','India',3,0,'3.333','Bigg Stock','','',0,'3.333','comments'),(729,1,'1277969543','1277969543','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2222',',','','','','','','','','','','','','India',3,0,'2222','','','',0,'2222','comments'),(730,1,'1277970076','1277970076','',0,'ROUND',0.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2.222',',','','','','','','','','','','','','India',3,0,'2.222','','','',0,'2.222','comments'),(731,1,'1278339932','1278339932','A12B',0,'EMERALD',9.00,'Mumbai','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','S',' ','','300',',ADC1234','120','1222','12','100','30','','10','10','4','4','4','India',100,0,'300','','','',0,'300','comments'),(732,1,'1281616632','1281616632','111',0,'PRINCESS',0.90,'All','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VVS1','D','','','1200','222','','1200','-0.3','1100','1200','','1','1','66','54','Medium','India',1,0,'','None','','',0,'',''),(733,1,'1281619445','1281619445','111',0,'ROUND',0.90,'','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','1455',',222','','1200','-0.3','1100','1200','','1','1','66','54','Medium','',1,0,'1455','','','',0,'1455','comments'),(734,1,'1281619568','1281619568','222',0,'PRINCESS',1.20,'','off','NONE','GIA','VERY GOOD','GOOD','VERY GOOD','VVS1','E',' ','','900',',333','','1100','0.35','1100','900','','1','1','64','52','Thick','',1,0,'900','','','',0,'900','comments'),(735,1,'1281962239','1281962239','90909',0,'ROUND',0.80,'','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','200',',1234','','400','30','300','200','','1','2','1','2','medium','',1,0,'200','','','',0,'200','comments'),(736,1,'1281965033','1281965033','9090',0,'ROUND',2.00,'','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','4900',',','','','','','','','','','','','','',2,0,'4900','','','',0,'4900','comments'),(737,1,'1282680064','1282680064','',0,'',0.00,'','off','','','','','','','',' ','','0',',','','','','','','','','','','','','',0,0,'0','','','',0,'0','comments'),(738,1,'1283159723','1283159723','',0,'ROUND',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','1200',',','','','','','','','','','','','','India',1,0,'1200','None','','',0,'1200','comments'),(739,1,'1283159723','1283159723','',0,'ROUND',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','1500',',','','','','','','','','','','','','India',1,0,'1500','None','','',0,'1500','comments'),(740,1,'1283166206','1283166206','',0,'PRINCESS',1.00,'All','off','ANY','All Labs','VERY GOOD','VERY GOOD','EXCELLENT','IF','D',' ','','900',',','','','','','','','','','','','','India',1,0,'900','None','','',0,'900','comments'),(741,1,'1283166206','1283166206','',0,'ROUND',2.00,'All','off','ANY','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','D',' ','','1000',',','','','','','','','','','','','','India',2,0,'1000','None','','',0,'1000','comments'),(742,1,'1283253142','1283253142','',0,'ROUND',1.00,'All','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','100',',','','','','','','','','','','','','India',1,0,'100','None','','',0,'100','comments'),(743,1,'1283518466','1283518466','342',0,'ROUND',2.00,'Antwerp','off','ANY','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D','','','','3','','','','','','','','','','','','',1,1,'1900','Bigg Stock','','',0,'',''),(744,1,'1283518500','1283518500','',0,'ROUND',2.00,'All','on','ANY','All Labs','ANY','ANY','ANY','ANY','ANY','','','','','','','','','','','','','','','','India',1,1,'3333','Bigg Stock','','',0,'','');

--
-- Table structure for table `bstock_products_jwl`
--

CREATE TABLE `bstock_products_jwl` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL COMMENT 'This column is will map particular product from bstock_product_master',
  `category_id` int(11) NOT NULL COMMENT 'this id is used to get the information abt category from pl_cateogry table',
  `description` varchar(255) NOT NULL,
  `item_number` varchar(50) NOT NULL COMMENT 'field is related to product code which is for internal use',
  `price` varchar(50) NOT NULL,
  `metal_color` varchar(50) NOT NULL,
  `metal_weight` varchar(50) NOT NULL,
  `metal_karat` varchar(50) NOT NULL,
  `width` varchar(50) NOT NULL,
  `price_type` varchar(50) NOT NULL,
  `condition` varchar(255) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_products_jwl`
--

INSERT INTO `bstock_products_jwl` VALUES (1,5,2,'14k White Gold 1cttw Journey Diamond Pendant ','46080W','100','White','.1','24','.1','Fixed','New','on','',''),(2,4,2,'14k White Gold 1/2cttw Journey Diamond Pendant ','46071W','200','Gold','.1','24','.1','FIxed','New','on','',''),(3,3,3,'Walk down your memory lane with this 1/2 carat diamond pendant that represents your journey of love! Five bezel set brilliant diamonds descend in size as they bend and curve on a white gold path towards the largest diamond. This lovely gift comes on a 14 ','46072W','300','Silver','.1','24','.1','Fixed','New','on','',''),(4,2,3,'Stud Diamond Rings','46073W','400','Gold','.1','24','.1','Fixed','New','on','',''),(5,1,3,'Single Diamond Ring','46074W','300','Gold','30','30','30','Fixed','New','on','',''),(6,6,3,'Gemstone Ring with diamonds','46075W','100','Gold','.1','.1','5','Fixed','New','on','',''),(7,7,3,'Diamond Studed Rings with Gold','46076W','200','Gold','.2','.2','10','Fixed','New','on','',''),(8,8,3,'Eternity Rings with White Gold','46077W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(9,9,3,'Dedicated Rings with Silver platings','46078W','400','Silver','.4','.4','20','Fixed','New','on','',''),(10,10,3,'Wedding Ring for special occasions','46079W','500','Silver','.5','.5','25','Fixed','New','on','',''),(11,11,3,'Engagement Ring with Gold','46080W','600','Gold','.6','.6','30','Fixed','New','on','',''),(12,12,3,'Desinger Ring with Wide range of variety','46081W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(13,13,3,'Touch of Gold Ring in all range','46082W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(14,14,3,'Touch of Silver Ring in all range','46083W','900','Silver','.9','.9','45','Fixed','New','on','',''),(15,15,3,'Touch of platinum Ring in all range','46084W','1000','Gold','1.0','1.0','50','Fixed','New','on','',''),(16,16,4,'Solitaire Gemstone Ring with diamonds','46084W','100','Gold','.1','.1','5','Fixed','New','on','',''),(17,17,4,'Solitaire Diamond Studed Rings with Gold','46085W','200','Gold','.2','.2','10','Fixed','New','on','',''),(18,18,4,'Solitaire Eternity Rings with White Gold','46086W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(19,19,4,'Solitaire Dedicated Rings with Silver platings','46087W','400','Silver','.4','.4','20','Fixed','New','on','',''),(20,20,4,'Solitaire Wedding Ring for special occasions','46088W','500','Silver','.5','.5','25','Fixed','New','on','',''),(21,21,4,'Solitaire Engagement Ring with Gold','46089W','600','Gold','.6','.6','30','Fixed','New','on','',''),(22,22,4,'Solitaire Desinger Ring with Wide range of variety','46090W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(23,23,4,'Solitaire Touch of Gold Ring in all range','46091W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(24,24,4,'Solitaire Touch of Silver Ring in all range','46092W','900','Silver','.9','.9','45','Fixed','New','on','',''),(25,25,5,'Sidestone Gemstone Ring with diamonds','46093W','100','Gold','.1','.1','5','Fixed','New','on','',''),(26,26,5,'Sidestone Diamond Studed Rings with Gold','46095W','200','Gold','.2','.2','10','Fixed','New','on','',''),(27,27,5,'Sidestone Eternity Rings with White Gold','46096W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(28,28,5,'Sidestone Dedicated Rings with Silver platings','46097W','400','Silver','.4','.4','20','Fixed','New','on','',''),(29,29,5,'Sidestone Wedding Ring for special occasions','4609W','500','Silver','.5','.5','25','Fixed','New','on','',''),(30,30,5,'Sidestone Engagement Ring with Gold','46099','600','Gold','.6','.6','30','Fixed','New','on','',''),(31,31,5,'Sidestone Desinger Ring with Wide range of variety','4609W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(32,32,5,'Sidestone Touch of Gold Ring in all range','4601W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(33,33,5,'Sidestone Touch of Silver Ring in all range','4692W','900','Silver','.9','.9','45','Fixed','New','on','',''),(34,34,87,'Mone Gemstone Ring with diamonds','46093W','100','Gold','.1','.1','5','Fixed','New','on','',''),(35,35,87,'Mone Diamond Studed Rings with Gold','46095W','200','Gold','.2','.2','10','Fixed','New','on','',''),(36,36,87,'Mone Eternity Rings with White Gold','46096W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(37,37,87,'Mone Dedicated Rings with Silver platings','46097W','400','Silver','.4','.4','20','Fixed','New','on','',''),(38,38,87,'Mone Wedding Ring for special occasions','4609W','500','Silver','.5','.5','25','Fixed','New','on','',''),(39,39,87,'Mone Engagement Ring with Gold','46099','600','Gold','.6','.6','30','Fixed','New','on','',''),(40,40,87,'Mone Desinger Ring with Wide range of variety','4609W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(41,41,87,'Mone Touch of Gold Ring in all range','4601W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(42,42,87,'Mone Touch of Silver Ring in all range','4692W','900','Silver','.9','.9','45','Fixed','New','on','',''),(43,43,79,'Tension Gemstone Ring with diamonds','46093W','100','Gold','.1','.1','5','Fixed','New','on','',''),(44,44,79,'Tension Diamond Studed Rings with Gold','46095W','200','Gold','.2','.2','10','Fixed','New','on','',''),(45,45,79,'Tension Eternity Rings with White Gold','46096W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(46,46,79,'Tension Dedicated Rings with Silver platings','46097W','400','Silver','.4','.4','20','Fixed','New','on','',''),(47,47,79,'Tension Wedding Ring for special occasions','4609W','500','Silver','.5','.5','25','Fixed','New','on','',''),(48,48,79,'Tension Engagement Ring with Gold','46099','600','Gold','.6','.6','30','Fixed','New','on','',''),(49,49,79,'Tension Desinger Ring with Wide range of variety','4609W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(50,50,79,'Tension Touch of Gold Ring in all range','4601W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(51,51,79,'Tension Touch of Silver Ring in all range','4692W','900','Silver','.9','.9','45','Fixed','New','on','','');

--
-- Table structure for table `bstock_products_metal_master`
--

CREATE TABLE `bstock_products_metal_master` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'field is used as metal_id to get the detail of the metal purchased',
  `product_id` int(11) NOT NULL COMMENT 'this is used to get the name of the indivual product',
  `price` varchar(10) NOT NULL,
  `weight` varchar(10) NOT NULL,
  `karat` varchar(10) NOT NULL,
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_products_metal_master`
--

INSERT INTO `bstock_products_metal_master` VALUES (1,1,'100','100','24','',''),(2,2,'200','200','12','',''),(3,3,'300','300','18','',''),(4,1,'400','400','20','',''),(5,2,'500','500','22','',''),(6,3,'600','600','16','','');

--
-- Table structure for table `bstock_products_polish_master`
--

CREATE TABLE `bstock_products_polish_master` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `product_id` int(10) NOT NULL,
  `item_nbr` int(10) NOT NULL DEFAULT '1' COMMENT 'Can be used in future if multiple  stores are added.',
  `created_date` int(11) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` int(11) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `product_name` varchar(50) NOT NULL,
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT') NOT NULL,
  `product_desc` varchar(255) NOT NULL,
  `location` enum('All','Antwerp','Hong Kong','Mumbai','New York') NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL DEFAULT 'NONE',
  `lab` enum('All Labs','GIA','IGI','HRD','AGS','EGL','IGC') NOT NULL,
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `is_promotional` enum('off','on') NOT NULL,
  `is_month_offer` enum('off','on') NOT NULL,
  `is_featured` enum('off','on') NOT NULL,
  `certificate` varchar(255) NOT NULL,
  `promotional_price` decimal(25,0) NOT NULL,
  `price` varchar(100) NOT NULL DEFAULT '0',
  `certificate_id` varchar(50) NOT NULL,
  `rap_price` varchar(50) NOT NULL,
  `rap_total` varchar(50) NOT NULL,
  `discount` varchar(50) NOT NULL,
  `piece_price` varchar(50) NOT NULL,
  `carat_price` varchar(50) NOT NULL,
  `length` varchar(50) NOT NULL,
  `width` varchar(50) NOT NULL,
  `height` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `girdle` varchar(250) NOT NULL,
  `country` enum('India','Hong Kong','USA','Belgium') NOT NULL,
  `qty` varchar(10) NOT NULL DEFAULT '1',
  `product_category` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=676 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

--
-- Dumping data for table `bstock_products_polish_master`
--

INSERT INTO `bstock_products_polish_master` VALUES (673,4,1,0,0,'Round Diamond Jewelry','ROUND','Round Diamond Jewelry','All','on','NONE','All Labs','EXCELLENT','EXCELLENT','on','on','on','yes',100,'122.00','1','1','1','1','1','1','1','1','1','1','1','1','India','1','1'),(674,4,1,0,0,'Princess Diamond Jewelry','PRINCESS','Princess Diamond Jewelry','All','on','NONE','All Labs','ANY','ANY','on','on','on','2',1000,'1200.00','2','1300.00','2','2','2','2','2','2','2','2','2','2','India','2',''),(675,4,1,0,0,'Pear Diamond Jewelry','PEAR','Pear Diamond Jewelry','All','on','NONE','All Labs','ANY','ANY','on','on','on','3',10,'12.00','3','14.00','3','3','3','3','3','3','3','3','3','3','India','3','3');

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

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

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


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

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

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

INSERT INTO `bstock_profilefieldprivileges` VALUES (161,1,112,91,'on','on','on','user','','1277554952'),(159,1,110,91,'on','on','on','user','','1277554952'),(160,1,111,87,'on','on','on','user','','1277554952'),(152,3,103,87,'on','on','on','user','','1277554952'),(8,3,8,87,'on','on','on','user','','1277554952'),(9,3,9,87,'on','on','on','user','','1277554952'),(150,2,101,87,'on','on','on','user','','1277554952'),(11,2,11,87,'on','on','on','user','','1277554952'),(12,2,12,87,'on','on','on','user','','1277554952'),(13,2,13,87,'on','on','on','user','','1277554952'),(14,2,14,87,'on','on','on','user','','1277554952'),(15,2,15,87,'on','on','on','user','','1277554952'),(16,2,16,87,'on','on','on','user','','1277554952'),(17,2,17,87,'on','on','on','user','','1277554952'),(18,2,18,87,'on','on','on','user','','1277554952'),(19,2,19,87,'on','on','on','user','','1277554952'),(20,2,20,87,'on','on','on','user','','1277554952'),(151,3,102,87,'on','on','on','user','','1277554952'),(96,5,42,87,'on','on','on','user','','1277554952'),(81,4,35,87,'off','on','off','user','','1277554952'),(82,5,21,87,'on','on','on','user','','1277554952'),(83,5,22,87,'on','on','on','user','','1277554952'),(84,5,23,87,'on','on','on','user','','1277554952'),(85,5,24,87,'on','on','on','user','','1277554952'),(86,5,25,87,'on','on','on','user','','1277554952'),(87,5,26,87,'on','on','on','user','','1277554952'),(88,5,27,87,'on','on','on','user','','1277554952'),(89,5,28,87,'on','on','on','user','','1277554952'),(90,5,29,87,'on','on','on','user','','1277554952'),(91,5,30,87,'on','on','on','user','','1277554952'),(92,5,31,87,'on','on','on','user','','1277554952'),(93,5,32,87,'on','on','on','user','','1277554952'),(94,5,33,87,'on','on','on','user','','1277554952'),(95,5,34,87,'on','on','on','user','','1277554952'),(167,1,118,91,'on','on','on','user','','1277554952'),(138,5,89,87,'on','on','on','user','','1277554952'),(166,1,117,91,'on','on','on','user','','1277554952'),(165,1,116,91,'on','on','on','user','','1277554952'),(164,1,115,91,'on','on','on','user','','1277554952'),(163,1,114,91,'on','on','on','user','','1277554952'),(162,1,113,91,'on','on','on','user','','1277554952'),(140,5,91,87,'on','on','on','user','','1277554952'),(142,5,93,87,'off','on','on','user','',''),(158,1,109,91,'on','on','on','user','','1277554952'),(157,1,108,87,'on','on','on','user','','1277554952'),(156,1,107,91,'on','on','on','user','','1277554952'),(266,1,190,87,'on','on','on','user','','1277554952'),(213,1,119,87,'on','on','off','user','','1277554952'),(214,1,120,87,'on','on','off','user','','1277554952'),(215,1,121,87,'on','on','on','user','','1277554952'),(217,4,123,87,'on','on','on','user','','1277554952'),(218,4,124,87,'on','on','on','user','','1277554952'),(219,4,126,87,'on','on','on','user','','1277554952'),(220,4,127,87,'on','on','on','user','','1277554952'),(221,4,128,87,'on','on','on','user','','1277554952'),(222,4,129,87,'on','on','on','user','','1277554952'),(223,4,130,87,'off','on','off','user','','1277554952'),(224,4,125,87,'off','on','off','user','','1277554952'),(225,2,136,87,'on','on','on','user','','1277554952'),(226,6,137,87,'on','on','on','user','','1277554952'),(227,6,138,87,'on','on','on','user','','1277554952'),(228,6,140,87,'on','on','on','user','','1277554952'),(229,6,141,87,'on','on','on','user','','1277554952'),(230,6,142,87,'on','on','on','user','','1277554952'),(231,8,153,87,'on','on','on','user','','1277554952'),(232,8,154,87,'on','on','on','user','','1277554952'),(233,8,155,87,'on','on','on','user','','1277554952'),(234,8,156,87,'on','on','on','user','','1277554952'),(235,8,157,87,'on','on','on','user','','1277554952'),(236,8,158,87,'on','on','on','user','','1277554952'),(237,8,159,87,'on','on','on','user','','1277554952'),(238,8,160,87,'on','on','on','user','','1277554952'),(239,7,163,87,'off','on','off','user','','1277554952'),(240,9,164,87,'on','on','on','user','','1277554952'),(241,9,165,87,'on','on','on','user','','1277554952'),(242,9,166,87,'on','on','on','user','','1277554952'),(243,1,167,87,'on','on','on','user','','1277554952'),(244,1,168,87,'on','on','on','user','','1277554952'),(245,1,169,87,'on','on','on','user','','1277554952'),(246,1,170,87,'on','on','on','user','','1277554952'),(247,1,171,87,'on','on','on','user','','1277554952'),(248,1,172,87,'on','on','on','user','','1277554952'),(249,1,173,87,'on','on','off','user','','1277554952'),(250,1,174,87,'on','on','on','user','','1277554952'),(251,1,175,87,'on','on','on','user','','1277554952'),(252,1,176,87,'on','on','on','user','','1277554952'),(253,1,177,87,'on','on','on','user','','1277554952'),(254,1,178,87,'on','on','on','user','','1277554952'),(255,1,179,87,'on','on','on','user','','1277554952'),(256,1,180,87,'on','on','on','user','','1277554952'),(257,10,181,87,'on','on','on','user','','1269337687'),(258,10,182,87,'on','on','on','user','','1269337687'),(259,10,183,87,'on','on','on','user','','1269337687'),(260,10,184,87,'on','on','on','user','','1269337687'),(261,10,185,87,'on','on','on','user','','1269337687'),(262,10,186,87,'on','on','on','user','','1269337687'),(263,10,187,87,'on','on','on','user','','1269337687'),(264,10,188,87,'on','on','on','user','','1269337687'),(265,1,189,87,'on','on','on','user','','1277554952'),(267,1,191,87,'on','on','on','user','','1277554952'),(268,3,192,87,'on','on','on','user','','1277554952'),(269,3,194,87,'on','on','on','user','','1277554952'),(270,1,108,91,'on','on','on','user','','');

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

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

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

INSERT INTO `bstock_profilemoduleoperationprivileges` VALUES (26,3,87,5,'on','user','','1277554952'),(27,1,87,5,'on','user','','1277554952'),(28,2,87,5,'on','user','','1277554952'),(29,5,87,5,'on','user','','1277554952'),(30,4,87,5,'on','user','','1277554952'),(31,6,87,5,'on','user','','1277554952'),(32,7,87,5,'on','user','','1277554952'),(33,8,87,5,'on','user','','1277554952'),(34,9,87,5,'on','user','','1277554952'),(35,10,87,5,'on','user','','');

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

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

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

INSERT INTO `bstock_profilemoduleprivileges` VALUES (1,1,91,'on','','1261392304'),(2,2,91,'on','','1261392304'),(3,3,91,'on','','1261392304'),(5,1,85,'on','','1259609910'),(6,2,85,'off','','1259609910'),(7,3,85,'off','','1259609910'),(8,1,86,'on','','1259650566'),(9,2,86,'on','','1259650566'),(10,3,86,'off','','1259650566'),(14,4,91,'on','','1261392304'),(15,5,91,'on','','1261392304'),(16,1,89,'on','','1261381121'),(17,2,89,'off','','1261381121'),(18,3,89,'off','','1261381121'),(19,4,89,'off','','1261381121'),(20,5,89,'off','','1261381121'),(21,1,91,'on','1261381762','1261381762'),(22,2,91,'off','1261381762','1261381762'),(23,3,91,'off','1261381762','1261381762'),(24,4,91,'off','1261381762','1261381762'),(25,5,91,'off','1261381762','1261381762'),(26,3,87,'on','','1277554952'),(27,1,87,'on','','1277554952'),(28,2,87,'on','','1277554952'),(29,5,87,'on','','1277554952'),(30,4,87,'on','','1277554952'),(31,6,87,'off','','1277554952'),(32,7,87,'on','','1277554952'),(33,8,87,'on','','1277554952'),(34,9,87,'on','','1277554952'),(35,10,87,'on','','');

--
-- Table structure for table `bstock_purchaseorderpaymentstaxes`
--

CREATE TABLE `bstock_purchaseorderpaymentstaxes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(5) NOT NULL,
  `tax_amount` decimal(10,2) NOT NULL,
  `tax_id` int(5) NOT NULL COMMENT ' This is the foreign key of the tax table & mapped to it''s',
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=117 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_purchaseorderpaymentstaxes`
--

INSERT INTO `bstock_purchaseorderpaymentstaxes` VALUES (1,2,1026.32,1,1263286811,1263286811),(2,2,1334.22,2,1263286811,1263286811),(3,2,840.56,4,1263286811,1263286811),(4,3,599.00,1,1267005563,1267005563),(5,3,333.00,2,1267005563,1267005563),(6,4,222.00,4,1267005563,1267005563),(7,4,222.00,4,1267005563,1267005563),(8,5,223.00,2,1267005563,1267005563),(9,3,22.00,4,1267005563,1267005563),(10,6,666.00,1,1267005563,1267005563),(11,8,274.56,1,1275637556,1275637556),(12,8,356.93,2,1275637556,1275637556),(13,8,224.86,4,1275637556,1275637556),(14,13,26.64,1,1275719901,1275719901),(15,13,34.63,2,1275719901,1275719901),(16,13,34.63,2,1275719901,1275719901),(17,13,21.82,4,1275719901,1275719901),(18,14,0.00,1,1275728436,1275728436),(19,14,0.00,2,1275728436,1275728436),(20,14,0.00,4,1275728436,1275728436),(21,15,0.00,1,1275728624,1275728624),(22,15,0.00,2,1275728624,1275728624),(23,15,0.00,4,1275728624,1275728624),(24,16,187.36,1,1275729302,1275729302),(25,16,243.57,2,1275729302,1275729302),(26,16,153.45,4,1275729302,1275729302),(27,17,187.36,1,1275730428,1275730428),(28,17,243.57,2,1275730428,1275730428),(29,17,153.45,4,1275730431,1275730431),(30,18,0.00,1,1275731995,1275731995),(31,18,0.00,2,1275731995,1275731995),(32,18,0.00,4,1275731995,1275731995),(33,19,0.00,1,1275732014,1275732014),(34,19,0.00,2,1275732014,1275732014),(35,19,0.00,4,1275732014,1275732014),(36,20,12.88,1,1275732085,1275732085),(37,20,16.74,2,1275732085,1275732085),(38,20,10.55,4,1275732085,1275732085),(39,21,0.00,1,1275732220,1275732220),(40,21,0.00,2,1275732220,1275732220),(41,21,0.00,4,1275732220,1275732220),(42,22,32.76,1,1276520037,1276520037),(43,22,32.76,2,1276520038,1276520038),(44,22,32.76,4,1276520038,1276520038),(45,23,0.00,1,1276521306,1276521306),(46,23,0.00,2,1276521306,1276521306),(47,23,0.00,4,1276521306,1276521306),(48,24,187.36,1,1276581400,1276581400),(49,24,243.57,2,1276581400,1276581400),(50,24,153.45,4,1276581400,1276581400),(51,25,0.00,1,1276586238,1276586238),(52,25,0.00,2,1276586238,1276586238),(53,25,0.00,4,1276586239,1276586239),(54,26,0.00,1,1276586295,1276586295),(55,26,0.00,2,1276586295,1276586295),(56,26,0.00,4,1276586295,1276586295),(57,27,0.00,1,1276586447,1276586447),(58,27,0.00,2,1276586447,1276586447),(59,27,0.00,4,1276586447,1276586447),(60,28,0.00,1,1276586506,1276586506),(61,28,0.00,2,1276586506,1276586506),(62,28,0.00,4,1276586506,1276586506),(63,29,185.76,1,1276586585,1276586585),(64,29,241.49,2,1276586585,1276586585),(65,29,152.14,4,1276586585,1276586585),(66,30,1301.20,1,1276586704,1276586704),(67,30,1691.56,2,1276586705,1276586705),(68,30,1065.68,4,1276586705,1276586705),(69,31,3176.76,1,1277405569,1277405569),(70,31,4129.79,2,1277405569,1277405569),(71,31,2601.77,4,1277405569,1277405569),(72,32,3176.76,1,1277405654,1277405654),(73,32,4129.79,2,1277405654,1277405654),(74,32,2601.77,4,1277405654,1277405654),(75,33,193.76,1,1277812120,1277812120),(76,33,251.89,2,1277812121,1277812121),(77,33,158.69,4,1277812121,1277812121),(78,34,265.76,1,1277812711,1277812711),(79,34,345.49,2,1277812711,1277812711),(80,34,217.66,4,1277812711,1277812711),(81,35,278.64,1,1277814773,1277814773),(82,35,362.23,2,1277814773,1277814773),(83,35,228.21,4,1277814773,1277814773),(84,36,3065.04,1,1277814862,1277814862),(85,36,3984.55,2,1277814862,1277814862),(86,36,2510.27,4,1277814862,1277814862),(87,37,360.00,1,1277967704,1277967704),(88,37,468.00,2,1277967704,1277967704),(89,37,294.84,4,1277967704,1277967704),(90,38,266.64,1,1277969543,1277969543),(91,38,346.63,2,1277969543,1277969543),(92,38,218.38,4,1277969543,1277969543),(93,39,240.00,1,1277970076,1277970076),(94,39,312.00,2,1277970076,1277970076),(95,39,196.56,4,1277970076,1277970076),(96,40,1200.00,1,1278339931,1278339931),(97,40,1560.00,2,1278339932,1278339932),(98,40,982.80,4,1278339932,1278339932),(99,41,213.40,1,1282562171,1282562171),(100,41,277.42,2,1282562171,1282562171),(101,41,174.77,4,1282562171,1282562171),(102,42,213.40,1,1282562576,1282562576),(103,42,277.42,2,1282562576,1282562576),(104,42,174.77,4,1282562576,1282562576),(105,43,213.40,1,1282562719,1282562719),(106,43,277.42,2,1282562719,1282562719),(107,43,174.77,4,1282562719,1282562719),(108,44,0.00,1,1282680064,1282680064),(109,44,0.00,2,1282680064,1282680064),(110,44,0.00,4,1282680064,1282680064),(111,45,303.68,1,1283159723,1283159723),(112,45,394.78,2,1283159723,1283159723),(113,45,248.71,4,1283159723,1283159723),(114,46,256.00,1,1283166206,1283166206),(115,46,332.80,2,1283166206,1283166206),(116,46,209.66,4,1283166206,1283166206);

--
-- Table structure for table `bstock_reportsgroupby`
--

CREATE TABLE `bstock_reportsgroupby` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Primary key.',
  `report_id` int(11) NOT NULL COMMENT 'Report id.',
  `column_name` varchar(500) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store fields that have been selected to be grouped by.';

--
-- Dumping data for table `bstock_reportsgroupby`
--


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

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

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


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

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

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


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

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

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


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

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

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

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

--
-- Table structure for table `bstock_statssettings`
--

CREATE TABLE `bstock_statssettings` (
  `stat_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Name of the type of statistic / report.',
  `value` varchar(250) NOT NULL COMMENT 'Value of the type of statistic / report i.e. enabled / disabled.',
  `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 (`stat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the various reports/statistics like login history,last';

--
-- Dumping data for table `bstock_statssettings`
--


--
-- Table structure for table `bstock_stores`
--

CREATE TABLE `bstock_stores` (
  `store_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` varchar(100) NOT NULL COMMENT 'This field will contain the name of the store.',
  `description` text NOT NULL COMMENT 'This field will contain the description about the store.',
  `status` enum('0','1') NOT NULL COMMENT 'This field will contain whether this store is currently active or not.',
  PRIMARY KEY (`store_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table will store the data about multiple stores / shops';

--
-- Dumping data for table `bstock_stores`
--


--
-- Table structure for table `bstock_systemuserloginhistory`
--

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

--
-- Dumping data for table `bstock_systemuserloginhistory`
--


--
-- Table structure for table `bstock_taxtypes`
--

CREATE TABLE `bstock_taxtypes` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Name of the tax type.',
  `html_taxtype` varchar(255) NOT NULL,
  `type` enum('Percent','Direct') NOT NULL COMMENT 'This field will determine whether this tax is to be deducted as per Percentage or as per the value entered.',
  `percent` varchar(50) NOT NULL COMMENT 'Percentage amount for this tax type.',
  `is_active` enum('0','1') NOT NULL COMMENT 'If active, then only this will be displayed while creating invoices / placing orders.',
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this tax type.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this tax type.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COMMENT='Store the different tax types that are being used in the sys';

--
-- Dumping data for table `bstock_taxtypes`
--

INSERT INTO `bstock_taxtypes` VALUES (1,'VAT','vat','Percent','4','1','',''),(4,'Insurance ','insurance','Percent','3','1','',''),(2,'Octroi','octroi','Percent','5','1','','');

--
-- Table structure for table `bstock_type_master`
--

CREATE TABLE `bstock_type_master` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'field is used as type_id in all other table to get the info regarding main products in the system',
  `type` varchar(255) NOT NULL,
  `description` varchar(524) NOT NULL,
  `created_date` int(50) NOT NULL,
  `modified_date` int(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_type_master`
--

INSERT INTO `bstock_type_master` VALUES (1,'Platinum','Platinum',0,0),(2,'Gold','Gold',0,0),(3,'Silver','Silver',0,0),(4,'Diamond','Diamond',0,0),(5,'Jewelry','Jewelry',0,0);

--
-- Table structure for table `bstock_userprofiles`
--

CREATE TABLE `bstock_userprofiles` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `profile_name` varchar(100) NOT NULL COMMENT 'This will contain the profile name.',
  `description` text NOT NULL COMMENT 'This will contain the description of the profile.',
  `transaction_type_id` int(10) NOT NULL DEFAULT '1',
  `divisor` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'Whether this profile is currently active or not. If not active, none of the users of this profile shall be able to login.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this profile.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this profile.',
  `baseprofile` enum('Administrator','Sub-Admin','Customer') NOT NULL,
  `basepro` set('Administrator','Sub-Admin','Customer') NOT NULL,
  `transaction_types` enum('All','White','Black') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=96 DEFAULT CHARSET=latin1 COMMENT='Store the different user profiles that are used in the syste';

--
-- Dumping data for table `bstock_userprofiles`
--

INSERT INTO `bstock_userprofiles` VALUES (87,'','',1,1000,'on','','1277557077','Administrator','','All');

--
-- Table structure for table `bstock_vendors`
--

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

--
-- Dumping data for table `bstock_vendors`
--

INSERT INTO `bstock_vendors` VALUES (1,'Vishal & Co.','','','harshad.narvekar@gmail.com','Seepz, Andheri.','1234567','9999999','1111111','India','2222222','on','','1272312433','12345'),(2,'Harshad & Co.','','','harshad.narvekar@gmail.com','PRASAD CHAMBERS,\r\nOPERA HOUSE,MUMBAI 400 004','2224512','1253412','12355312','India','','on','1265801481','1212356342','0388256202'),(3,'Narvekars','','','harshad.narvekar@gmail.com','Avenue\r\nNew Link Rd\r\nMalad East','77772222243','2222333344','989899999','UK','Website','on','1265801481','1265801481','EIC234111'),(4,'Bigg Stock','','','harshad.narvekar@gmail.com','Bigg Stock,\r\nPradeep Niwas,\r\nAndheri East,\r\n400093','9819322550','9833488539','','','','on','1272312515','1272312515','55555');

--
-- Table structure for table `carrier_id`
--

CREATE TABLE `carrier_id` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `carrier_id`
--

INSERT INTO `carrier_id` VALUES (1,'DHL','','1','1263042946','1263042946'),(2,' Fedex','','1','1263042946','1263042946'),(3,' UPS','','1','1263042946','1263042946'),(4,' USPS','','1','1263042946','1263042946'),(5,' Malca-Amit','','1','1263042946','1263042946'),(6,' Brinks','','1','1263042946','1263042946'),(7,' Lemiur','','1','1263042946','1263042946');

--
-- Table structure for table `city_of_destination`
--

CREATE TABLE `city_of_destination` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `city_of_destination`
--

INSERT INTO `city_of_destination` VALUES (1,'Mumbai','','1','1263044479','1263044479'),(2,'Antwerp','','1','1263044479','1263044479'),(3,'New York','','1','1263044479','1263044479'),(4,'Hong Kong','','1','1263044479','1263044479');

--
-- Table structure for table `clarity`
--

CREATE TABLE `clarity` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=12 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `clarity`
--

INSERT INTO `clarity` VALUES (1,'ANY','','1','1261227023','1261227023'),(2,'IF','','1','1261227023','1261227023'),(3,'VVS1','','1','1261227023','1261227023'),(4,'VVS2','','1','1261227023','1261227023'),(5,'VS1','','1','1261227023','1261227023'),(6,'VS2','','1','1261227023','1261227023'),(7,'SI1','','1','1261227023','1261227023'),(8,'SI2','','1','1261227023','1261227023'),(9,'I1','','1','1261227023','1261227023'),(10,'I2','','1','1261227023','1261227023'),(11,'I3','','1','1261227023','1261227023');

--
-- Table structure for table `color`
--

CREATE TABLE `color` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=21 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `color`
--

INSERT INTO `color` VALUES (1,'ANY','','1','1261227132','1261227132'),(2,'D','','1','1261227132','1261227132'),(3,'E','','1','1261227132','1261227132'),(4,'F','','1','1261227132','1261227132'),(5,'G','','1','1261227132','1261227132'),(6,'H','','1','1261227132','1261227132'),(7,'I','','1','1261227132','1261227132'),(8,'J','','1','1261227132','1261227132'),(9,'K','','1','1261227132','1261227132'),(10,'L','','1','1261227132','1261227132'),(11,'M','','1','1261227132','1261227132'),(12,'N','','1','1261227132','1261227132'),(13,'O','','1','1261227132','1261227132'),(14,'P','','1','1261227132','1261227132'),(15,'Q','','1','1261227132','1261227132'),(16,'R','','1','1261227132','1261227132'),(17,'S','','1','1261227132','1261227132'),(18,'T','','1','1261227132','1261227132'),(19,'U','','1','1261227132','1261227132'),(20,'V','','1','1261227132','1261227132');

--
-- Table structure for table `country`
--

CREATE TABLE `country` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `country`
--

INSERT INTO `country` VALUES (1,'India','','1','1264598444','1264598444'),(2,' Hong Kong','','1','1264598444','1264598444'),(3,' USA','','1','1264598444','1264598444'),(4,' Belgium','','1','1264598444','1264598444');

--
-- Table structure for table `country_of_destination`
--

CREATE TABLE `country_of_destination` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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 `country_of_destination`
--

INSERT INTO `country_of_destination` VALUES (1,'NA','','1','1263273314','1263273314'),(2,'India','','1','1263273314','1263273314'),(3,'Belgium','','1','1263273314','1263273314');

--
-- Table structure for table `country_of_origin`
--

CREATE TABLE `country_of_origin` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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 `country_of_origin`
--

INSERT INTO `country_of_origin` VALUES (1,'NA','','1','1263273123','1263273123'),(2,'India','','1','1263273123','1263273123'),(3,'Belgium','','1','1263273123','1263273123');

--
-- Table structure for table `customerprofiles`
--

CREATE TABLE `customerprofiles` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `dropdown_values` varchar(250) NOT NULL,
  `image_path` varchar(255) NOT NULL,
  `is_active` enum('0','1') NOT NULL COMMENT 'Whether this profile is currently active or not. If not active, none of the customers of this profile shall be able to login.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will contain the created date for this profile.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will contain the last modified date for this profile.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COMMENT='Store the different user profiles that are used in the syste';

--
-- Dumping data for table `customerprofiles`
--

INSERT INTO `customerprofiles` VALUES (1,'User','','1','',''),(2,'Customer','','1','','');

--
-- Table structure for table `cut`
--

CREATE TABLE `cut` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `cut`
--

INSERT INTO `cut` VALUES (1,'ANY','','1','1261226805','1261226805'),(2,'EXCELLENT','','1','1261226805','1261226805'),(3,'VERY GOOD','','1','1261226805','1261226805'),(4,'GOOD','','1','1261226805','1261226805'),(5,'FAIR','','1','','');

--
-- Table structure for table `flourescence`
--

CREATE TABLE `flourescence` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=9 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `flourescence`
--

INSERT INTO `flourescence` VALUES (1,'ANY','','1','1261225411','1261225411'),(2,'NONE','','1','1261225411','1261225411'),(3,'FAINT','','1','1261225411','1261225411'),(4,'MEDIUM','','1','1261225411','1261225411'),(5,'STRONG','','1','1261225411','1261225411'),(6,'VERY STRONG','','1','1261225411','1261225411'),(7,'SLIGHT','','1','1261225411','1261225411'),(8,'VERY SLIGHT','','1','1261225411','1261225411');

--
-- Table structure for table `html_field_types`
--

CREATE TABLE `html_field_types` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=9 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `html_field_types`
--



--
-- Table structure for table `lab`
--

CREATE TABLE `lab` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lab`
--

INSERT INTO `lab` VALUES (1,'All Labs','','1','1261225488','1261225488'),(2,'GIA','','1','1261225488','1261225488'),(3,'IGI','','1','1261225488','1261225488'),(4,'HRD','','1','1261225488','1261225488'),(5,'AGS','','1','1261225488','1261225488'),(6,'EGL','','1','1261225488','1261225488'),(7,'IGC','','1','1261225488','1261225488');

--
-- Table structure for table `location`
--

CREATE TABLE `location` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `location`
--

INSERT INTO `location` VALUES (1,'All','','1','1261224120','1261224120'),(2,'Antwerp','','1','1261224120','1261224120'),(3,'Hong Kong','','1','1261224120','1261224120'),(4,'Mumbai','','1','1261224120','1261224120'),(5,'New York','','1','1261224120','1261224120');

--
-- Table structure for table `payment_terms_id`
--

CREATE TABLE `payment_terms_id` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `no_of_days` decimal(10,0) NOT NULL,
  `image_path` varchar(255) 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=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `payment_terms_id`
--

INSERT INTO `payment_terms_id` VALUES (1,'COD',0,'','1','1263279097','1263279097'),(2,'30 Days',30,'','1','1263279097','1263279097'),(3,'60 Days',60,'','1','1263279097','1263279097'),(4,'90 Days',90,'','1','1263279097','1263279097'),(5,'120 Days',120,'','1','','');

--
-- Table structure for table `place_of_receipt`
--

CREATE TABLE `place_of_receipt` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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 `place_of_receipt`
--

INSERT INTO `place_of_receipt` VALUES (1,'NA','','1','1263044185','1263044185'),(2,'Mumbai','','1','1263044185','1263044185'),(3,'Antwerp','','1','1263044185','1263044185');

--
-- Table structure for table `polish`
--

CREATE TABLE `polish` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `polish`
--

INSERT INTO `polish` VALUES (1,'ANY','','1','1261226805','1261226805'),(2,'EXCELLENT','','1','1261226805','1261226805'),(3,'VERY GOOD','','1','1261226805','1261226805'),(4,'GOOD','','1','1261226805','1261226805'),(5,'FAIR','','1','1261226805','1261226805');

--
-- Table structure for table `port_of_discharge`
--

CREATE TABLE `port_of_discharge` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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 `port_of_discharge`
--

INSERT INTO `port_of_discharge` VALUES (1,'NA','','1','1263044308','1263044308'),(2,'India','','1','1263044308','1263044308'),(3,'Belgium','','1','1263044308','1263044308');

--
-- Table structure for table `port_of_loading`
--

CREATE TABLE `port_of_loading` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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 `port_of_loading`
--

INSERT INTO `port_of_loading` VALUES (1,'NA','','1','1263044308','1263044308'),(2,'Mumbai','','1','1263044308','1263044308'),(3,'Antwerp','','1','1263044308','1263044308');

--
-- Table structure for table `purchase_order_expense`
--

CREATE TABLE `purchase_order_expense` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `po_number_id` int(5) NOT NULL,
  `purpose` varchar(255) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `date` int(10) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `purchase_order_expense`
--

INSERT INTO `purchase_order_expense` VALUES (1,2,'test',33333.00,1273574188,1274697388,1274697388),(2,2,'test2',2222.00,1273574241,1274697441,1274697441),(3,2,'test3',1000.00,1273574259,1274697459,1274697459),(4,3,'test1',22.00,1275536011,1275449611,1275449611),(5,8,'test',3343.00,1275552309,1275638709,1275638709),(6,9,'test test',22.00,1275631832,1275718232,1275718232),(7,9,'test test',22.00,1275631832,1275718232,1275718232),(8,9,'test test',22.00,1275631832,1275718232,1275718232),(9,11,'test',233.00,1275632414,1275718814,1275718814),(10,12,'test',333.00,1275632777,1275719177,1275719177),(11,14,'test et et s',22.00,1275555636,1275728436,1275728436),(12,15,'test etst',2323.00,1275555824,1275728624,1275728624),(13,1,'test',333.00,1275575211,1276007211,1276007211),(14,22,'Cleaning.',500.00,1276001638,1276520038,1276520038),(15,23,'Polishing',1000.00,1275571602,1276522002,1276522002),(16,37,'test',342.00,1277881304,1277967704,1277967704);

--
-- Table structure for table `sales_order_expense`
--

CREATE TABLE `sales_order_expense` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `so_number_id` int(5) NOT NULL,
  `purpose` varchar(255) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `date` int(10) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `sales_order_expense`
--

INSERT INTO `sales_order_expense` VALUES (1,2,'test',33333.00,1273574188,1274697388,1274697388),(2,2,'test2',2222.00,1273574241,1274697441,1274697441),(3,2,'test3',1000.00,1273574259,1274697459,1274697459),(4,3,'test1',22.00,1275536011,1275449611,1275449611),(5,8,'test',3343.00,1275552309,1275638709,1275638709),(6,9,'test test',22.00,1275631832,1275718232,1275718232),(7,9,'test test',22.00,1275631832,1275718232,1275718232),(8,9,'test test',22.00,1275631832,1275718232,1275718232),(9,11,'test',233.00,1275632414,1275718814,1275718814),(10,12,'test',333.00,1275632777,1275719177,1275719177),(11,14,'test et et s',22.00,1275555636,1275728436,1275728436),(12,15,'test etst',2323.00,1275555824,1275728624,1275728624);

--
-- Table structure for table `shape`
--

CREATE TABLE `shape` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `shape`
--

INSERT INTO `shape` VALUES (2,'ROUND','rounded.jpg','1','1261221691','1261221691'),(3,'PRINCESS','prin.jpg','1','1261221691','1261221691'),(4,'PEAR','pear.jpg','1','1261221691','1261221691'),(5,'MARQUISE','marqui.jpg','1','1261221691','1261221691'),(6,'EMERALD','emerald.jpg','1','1261221691','1261221691'),(7,'HEART','heart.jpg','1','1261221691','1261221691'),(8,'OVAL','oval.jpg','1','1261221691','1261221691'),(9,'CUSHION','cuchi.jpg','1','1261221691','1261221691'),(10,'TRIANGLE','triangle.jpg','1','1261221691','1261221691'),(11,'ASCHER','ascher.jpg','1','',''),(12,'RADIANT','radiant.jpg','1','','');

--
-- Table structure for table `symmetry`
--

CREATE TABLE `symmetry` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `symmetry`
--

INSERT INTO `symmetry` VALUES (1,'ANY','','1','1261226805','1261226805'),(2,'EXCELLENT','','1','1261226805','1261226805'),(3,'VERY GOOD','','1','1261226805','1261226805'),(4,'GOOD','','1','1261226805','1261226805'),(5,'FAIR','','1','1261226805','1261226805');

--
-- Table structure for table `transaction_types`
--

CREATE TABLE `transaction_types` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `transaction_types`
--

INSERT INTO `transaction_types` VALUES (1,'All','','1','1277554424','1277554424'),(2,'White','','1','1277554424','1277554424'),(3,'Black','','1','1277554424','1277554424');

--
-- Table structure for table `trial_balance_entries`
--

CREATE TABLE `trial_balance_entries` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primiary key',
  `particulars` varchar(255) NOT NULL,
  `debit` decimal(10,3) NOT NULL,
  `credit` decimal(10,3) 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 `trial_balance_entries`
--

INSERT INTO `trial_balance_entries` VALUES (1,'opening stock (on 1/4/2010)',25000.000,0.000,1269635676,1269635676),(2,'Purchases',4500094.000,0.000,1269635676,1269635676),(3,'Sales',0.000,9999999.999,1269635676,1269635676),(4,'Wages',20000.000,0.000,1269635676,1269635676),(5,'Conveyance',2400.000,0.000,1269635676,1269635676),(6,'Printing & Stationery',3000.000,0.000,1269635676,1269635676),(7,'Bad Debts',1300.000,0.000,1269635676,1269635676),(8,'Carriage & Courier',5500.000,0.000,1269635676,1269635676);

--
-- Table structure for table `validation_type`
--

CREATE TABLE `validation_type` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=40 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `validation_type`
--

INSERT INTO `validation_type` VALUES (1,'_AGE_','','1','1260186186','1260186186'),(2,'_NUMBER_','','1','1260186186','1260186186'),(3,'_ALPHA_','','1','1260186186','1260186186'),(4,'_ALPHANUM_','','1','1260186186','1260186186'),(7,'_CVVNUMBER_','','1','1260186186','1260186186'),(8,'_CREADITCARDNUMBER_','','1','1260186186','1260186186'),(9,'_USERNAME_','','1','1260186186','1260186186'),(10,'_NAME_','','1','1260186186','1260186186'),(11,'_FIRSTNAME_','','1','1260186186','1260186186'),(12,'_MIDDLENAME_','','1','1260186186','1260186186'),(13,'_LASTNAME_','','1','1260186186','1260186186'),(14,'_TITLE_','','1','1260186186','1260186186'),(15,'_POSITION_','','1','1260186186','1260186186'),(16,'_DESIGNATION_','','1','1260186186','1260186186'),(17,'_MOBILE_','','1','1260186186','1260186186'),(18,'_FAX_','','1','1260186186','1260186186'),(19,'_USPHONE_','','1','1260186186','1260186186'),(20,'_ZIP_','','1','1260186186','1260186186'),(21,'_USZIP_','','1','1260186186','1260186186'),(22,'_UKZIP_','','1','1260186186','1260186186'),(23,'_SSN_','','1','1260186186','1260186186'),(24,'_CURRENCY_','','1','1260186186','1260186186'),(25,'_EMAIL_','','1','1260186186','1260186186'),(26,'_URL_','','1','1260186186','1260186186'),(27,'_IP_','','1','1260186186','1260186186'),(28,'_REGION_','','1','1260186186','1260186186'),(29,'_PRODUCTTITLE_','','1','1260186186','1260186186'),(30,'_COMPANYNAME_','','1','1260186186','1260186186'),(31,'_CATEGORYNAME_','','1','1260186186','1260186186'),(32,'_BLOGTITLE_','','1','1260186186','1260186186'),(33,'_BLOGNAME_','','1','1260186186','1260186186'),(34,'_CITY_','','1','1260186186','1260186186'),(35,'_STATE_','','1','1260186186','1260186186'),(36,'_COUNTRY_','','1','1260186186','1260186186'),(37,'_DATE_','','1','1260186186','1260186186'),(39,'NONE','','1','','');

--
-- Table structure for table `vendorname`
--

CREATE TABLE `vendorname` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `dropdown_values` varchar(100) NOT NULL,
  `image_path` varchar(255) 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=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vendorname`
--

INSERT INTO `vendorname` VALUES (1,'None','','1','1272312993','1272312993'),(2,'Bigg Stock','','1','1272312993','1272312993'),(3,' Vendor 1','','1','1272312993','1272312993'),(4,' Vendor 2','','1','1272312993','1272312993');


