-- Table structure for table `bstock_invoicestatustypes`
--

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

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

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

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

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

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


--
-- Table structure for table `bstock_jewelry_setting_type`
--

CREATE TABLE `bstock_jewelry_setting_type` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primiary key',
  `parent_category_id` int(10) NOT NULL COMMENT 'this is will store the parent id of the category. if zero then that is the parent category',
  `name` varchar(255) NOT NULL COMMENT 'this will store the name of the category',
  `desc` varchar(255) NOT NULL COMMENT 'this will store the desc of the category',
  `created_by_id` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `is_featured` enum('off','on') NOT NULL COMMENT 'This will be field to mark if this is a feature category or not',
  `image_filename` varchar(50) NOT NULL COMMENT 'this field will save the image path',
  `filename_cover_image` varchar(50) NOT NULL,
  `is_default` enum('0','1') NOT NULL COMMENT 'this is created to get the default categorty when product is not selected',
  `is_used_in_custom_design` enum('on','off') NOT NULL DEFAULT 'off' COMMENT 'This will determine if this category and its products are to be used in desinging custom jewelry',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=91 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jewelry_setting_type`
--

INSERT INTO `bstock_jewelry_setting_type` VALUES (1,2,'Pave','Pave ',87,'on','off','','Pave.jpg','1','off','1274611888','1274611888'),(2,2,'Solitaire','Solitaire ',87,'on','off','','solitaire.jpg','0','off','1274611918','1274611918'),(3,2,'Sidestone','Sidestone ',87,'on','off','','sidestone.jpg','0','off','1274611945','1274611945'),(4,2,'Three Stone','Three Stone',87,'on','off','','','0','off','1279346253','1308822979'),(5,2,'Contemporary','Contemporary',87,'on','off','','designer-jewelry.png','0','off','1279304378','1279346526'),(6,2,'Gemstone','Gemstone ',87,'off','off','','','0','off','1279346207','1309173451');

--
-- Table structure for table `bstock_jhangadshipping`
--

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

--
-- Dumping data for table `bstock_jhangadshipping`
--


--
-- Table structure for table `bstock_jhangadshippinginfo`
--

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

--
-- Dumping data for table `bstock_jhangadshippinginfo`
--

INSERT INTO `bstock_jhangadshippinginfo` VALUES (1,61,'324324234','1302266642','Courier','','','','','',1,'tstest','1302266642','1302266642','',''),(2,61,'67676767676','1302268470','Express Post','','','','','',1,'2nd time','1302268470','1302268470','',''),(3,69,'3423432343','1302269024','NA','','','','','',1,'2725BSCK','1302269024','1302269024','',''),(4,70,'4588','1302287860','Platinium Express Post','','','','','',1,'couriering 4287RTSTM.','1302287860','1302287860','',''),(5,70,'4589','1302288061','Platinium Express Post','','','','','',1,'couriereing 3231PTKK...','1302288061','1302288061','','');

--
-- Table structure for table `bstock_jwl_category`
--

CREATE TABLE `bstock_jwl_category` (
  `id` int(50) NOT NULL AUTO_INCREMENT,
  `parent_category_id` int(10) NOT NULL DEFAULT '0',
  `name` varchar(100) NOT NULL,
  `base_image_path` varchar(255) NOT NULL,
  `description` varchar(1000) NOT NULL,
  `thumb_image_path` varchar(200) NOT NULL,
  `keywords` varchar(500) NOT NULL,
  `meta_keywords` varchar(500) NOT NULL,
  `meta_title` varchar(500) NOT NULL,
  `meta_desc` varchar(1000) NOT NULL,
  `include_in_navigational_menu` enum('yes','no') NOT NULL,
  `sequence` int(11) NOT NULL,
  `category_banner` varchar(2000) NOT NULL,
  `category_banner_active` enum('yes','no') NOT NULL,
  `user_group_id` int(11) 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=30 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_category`
--

INSERT INTO `bstock_jwl_category` VALUES (1,0,'Ring','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(2,0,' Bangles','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(3,0,' Necklace','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(4,0,' Earnings','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(5,0,' Bracelet','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(6,0,' Nose Ring','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(7,0,' Painjan','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(8,0,' Bajuband','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(9,0,' KamarPata','','','','','','','','yes',0,'','yes',0,'on','1285164756','1285164756'),(29,0,'testtest','1308818481_2.jpg','test','1308818481.jpg','sdf asf asf asfsdf s ','das fs fasdf sdf sd','a fasdffasd fsdf s','ads fdas fsdfa','no',3,'s sdf asdfasd sdf dsf sd fds ','no',87,'off','1308818481','1308818481');

--
-- Table structure for table `bstock_jwl_custom_field_mapping`
--

CREATE TABLE `bstock_jwl_custom_field_mapping` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `custom_product_field_id` int(10) NOT NULL,
  `custom_product_id` int(10) 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=88 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_custom_field_mapping`
--

INSERT INTO `bstock_jwl_custom_field_mapping` VALUES (27,4,2,'on',1307620442,1307620442),(26,4,1,'on',1307620160,1307620160),(70,2,8,'on',1314275985,1314275985),(72,4,8,'on',1314275985,1314275985),(71,3,8,'on',1314275985,1314275985),(67,5,1,'on',1308992111,1308992111),(55,2,6,'on',1308403223,1308403223),(54,2,5,'on',1308400319,1308400319),(53,2,4,'on',1308399927,1308399927),(69,5,7,'on',1309157190,1309157190),(51,2,2,'on',1308397026,1308397026),(50,3,3,'on',1308396787,1308396787),(49,3,3,'on',1308396752,1308396752),(48,2,3,'on',1308396586,1308396586),(47,2,3,'on',1308396586,1308396586),(46,3,3,'on',1308396489,1308396489),(45,2,3,'on',1308396489,1308396489),(42,2,3,'on',1308396323,1308396323),(43,3,3,'on',1308396323,1308396323),(44,4,3,'on',1308396421,1308396421),(73,5,8,'on',1314275985,1314275985),(74,2,9,'on',1314276151,1314276151),(75,3,9,'on',1314276151,1314276151),(76,4,9,'on',1314276151,1314276151),(77,5,9,'on',1314276151,1314276151),(78,2,10,'on',1314428623,1314428623),(79,3,10,'on',1314428623,1314428623),(80,4,10,'on',1314428623,1314428623),(81,5,10,'on',1314428623,1314428623),(82,2,11,'on',1314433509,1314433509),(83,3,11,'on',1314433509,1314433509),(84,4,11,'on',1314433509,1314433509),(85,5,11,'on',1314433509,1314433509),(86,2,12,'on',1314773430,1314773430),(87,3,12,'on',1314773430,1314773430);

--
-- Table structure for table `bstock_jwl_custom_products`
--

CREATE TABLE `bstock_jwl_custom_products` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(1000) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `table_name` varchar(200) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_custom_products`
--

INSERT INTO `bstock_jwl_custom_products` VALUES (1,'Rings','r','on','rings',1307617799,1308992178),(8,'Bracelet','Bracelet','on','Bracelet',1314275985,1314275985),(3,'Earnings','','on','earings',1308396323,1308396421),(5,'Bajuband','Bajuband','on','bajuband',1308400319,1308400319),(6,'Bangles','BANGLES','on','bangles',1308403223,1308403223),(7,'Watches','','on','watches',1309157190,1309157201),(9,'anklet','anklet','on','Anklet',1314276151,1314339500),(10,'NoseRing','NoseRing','on','NoseRing',1314428623,1314428623),(11,'Tiara','Tiara','on','Tiara',1314433509,1314433509),(12,'','','on','',1314773430,1314773430);

--
-- Table structure for table `bstock_jwl_custom_products_fields`
--

CREATE TABLE `bstock_jwl_custom_products_fields` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `label` varchar(100) NOT NULL,
  `column_name` varchar(200) NOT NULL,
  `db_type` enum('INT','DECIMAL','VARCHAR','ENUM') NOT NULL,
  `value` varchar(2000) NOT NULL,
  `sequence` enum('on','off') NOT NULL,
  `readonly` enum('on','off') NOT NULL,
  `mandatory` enum('on','off') NOT NULL,
  `user_id` int(10) NOT NULL,
  `min_length` int(10) NOT NULL,
  `max_length` int(10) NOT NULL,
  `validation_type` enum('_AGE_','_NUMBER_','_ALPHA_','_ALPHANUM_','_AGE_','_NUMBER_','_CVVNUMBER_','_CREADITCARDNUMBER_','_USERNAME_','_NAME_','_FIRSTNAME_','_MIDDLENAME_','_LASTNAME_','_TITLE_','_POSITION_','_DESIGNATION_','_MOBILE_','_FAX_','_USPHONE_','_ZIP_','_USZIP_','_UKZIP_','_SSN_','_CURRENCY_','_EMAIL_','_URL_','_IP_','_REGION_','_PRODUCTTITLE_','_COMPANYNAME_','_CATEGORYNAME_','_BLOGTITLE_','_BLOGNAME_','_CITY_','_STATE_','_COUNTRY_','_DATE_') NOT NULL,
  `required_msg` varchar(500) NOT NULL,
  `on_search_form` enum('on','off') NOT NULL,
  `is_multiple` enum('on','off') NOT NULL DEFAULT 'off',
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_custom_products_fields`
--

INSERT INTO `bstock_jwl_custom_products_fields` VALUES (2,'Clarity','clarity','INT','IF,VVS1','on','on','on',0,0,100,'_AGE_','test','on','off',1307538918,1307538918,'on'),(3,'Color','color','INT','D,E,F','off','on','on',0,0,100,'_AGE_','test','on','on',1307539149,1307539149,'on'),(4,'Size','size','ENUM','2,3,4,5,6','on','on','on',0,0,0,'_AGE_','','on','on',0,1308896693,'on'),(5,'Metal Type','metaltype','ENUM','Platinum, Gold,Silver','','on','on',0,0,0,'_AGE_','','on','on',0,1308989650,'on');

--
-- Table structure for table `bstock_jwl_dia_info`
--

CREATE TABLE `bstock_jwl_dia_info` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key for the order items.',
  `po_order_id` int(11) NOT NULL,
  `so_order_id` int(11) NOT NULL,
  `order_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of orders table.',
  `diamond_product_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of products table.',
  `product_jwl_id` int(11) NOT NULL,
  `quantity` int(10) NOT NULL COMMENT 'Quantity ordered for this particular item.',
  `price` decimal(10,2) NOT NULL COMMENT 'The price for this item after multiplying with quantity.',
  `price_inr` decimal(10,0) NOT NULL,
  `percent_back` decimal(10,0) NOT NULL,
  `aadat` decimal(10,0) NOT NULL,
  `dollar_rate` decimal(10,0) NOT NULL,
  `cash_back` decimal(10,0) NOT NULL,
  `total_in_dollar` decimal(10,0) NOT NULL,
  `total_in_inr` decimal(10,0) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `broker_id_1` int(10) NOT NULL,
  `brokerage_1` decimal(10,2) NOT NULL,
  `broker_id_2` int(10) NOT NULL,
  `brokerage_2` decimal(10,2) NOT NULL,
  `profit_amount` decimal(10,4) NOT NULL,
  `profit_percent` decimal(10,4) NOT NULL,
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the date when this record was inserted i.e. when the order was placed.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `discount_percent` varchar(20) NOT NULL COMMENT 'Percentage of discount offered on this order item.',
  `discount_value` varchar(20) NOT NULL COMMENT 'Discount (in value) offered on this order item.',
  `quantity_shipped` int(10) NOT NULL COMMENT 'This will be the quantity of the item that has been shipped so far.',
  `exporter_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=159 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

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

INSERT INTO `bstock_jwl_dia_info` VALUES (5,0,0,20,2,0,1,3366.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270147','1276270147','','',0,1),(6,0,0,21,3,0,1,2470.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270381','1276270381','','',0,1),(7,0,0,22,7,0,1,2109.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270732','1276270732','','',0,1),(8,0,0,23,7,0,1,2109.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270812','1276270812','','',0,1),(9,0,0,24,7,0,1,2109.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276271031','1276271031','','',0,1),(10,0,0,25,7,0,2,2109.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276271039','1276271039','','',0,1),(11,0,0,25,7,0,2,2109.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1267005563','1267005563','','',0,1),(12,0,0,26,77,0,1,5112.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276522281','1276522281','','',0,1),(15,0,0,26,0,0,0,0.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1267005563','1267005563','','',0,1),(16,0,0,29,13,0,1,2750.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276523268','1276523268','','',0,1),(18,0,0,31,0,0,0,0.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276523825','1276523825','','',0,1),(19,0,0,33,0,0,0,0.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276524038','1276524038','','',0,1),(20,0,0,34,3,0,1,2470.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276524132','1276524132','','',0,1),(21,0,0,35,4,0,1,3266.00,0,0,0,0,0,0,0,2,12,0,0.00,0,0.00,11000.0000,5.0000,'1276524168','1276524168','','',0,1),(22,0,0,35,0,0,0,0.00,0,0,0,0,0,0,0,3,12,0,0.00,0,0.00,5678.0000,1.0200,'1276524168','1276524168','','',0,1),(23,0,0,36,5,0,1,1188.00,0,0,0,0,0,0,0,2,12,0,0.00,0,0.00,11000.0000,5.0000,'1276524306','1276524306','','',0,1),(52,0,0,44,3,0,1,2470.00,0,0,0,0,0,0,0,2,12,1,2.00,2,3.00,-890.0000,-8.9000,'1277233812','1277233812','','',0,1),(51,0,0,37,2,0,4,3366.00,0,0,0,0,0,0,0,1,41,1,2.00,2,2.00,-50.0000,-0.5000,'1277230461','1277230461','','',0,1),(28,0,0,38,9,0,1,4070.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276582157','1276582157','','',0,1),(43,0,0,38,4,0,2,4444.00,0,0,0,0,0,0,0,1,12,0,0.00,0,0.00,-2238.0000,-22.3800,'1276952739','1276952739','','',0,1),(47,0,0,43,2,0,1,5555.00,0,0,0,0,0,0,0,1,0,0,0.00,0,0.00,-30193.0000,-301.9300,'1276955065','1276955065','','',0,1),(45,0,0,42,2,0,4,3366.00,0,0,0,0,0,0,0,1,0,0,0.00,0,0.00,-42480.0000,-424.8000,'1276953033','1276953033','','',0,1),(46,0,0,41,4,0,2,4444.00,0,0,0,0,0,0,0,1,0,0,0.00,0,0.00,-2238.0000,-22.3800,'1276953062','1276953062','','',0,1),(38,0,0,1,2,0,5,5555.00,0,0,0,0,0,0,0,2,12,0,0.00,0,0.00,2189.0000,21.8900,'1276949635','1276949635','','',0,1),(39,0,0,1,6,0,1,4444.00,0,0,0,0,0,0,0,2,12,0,0.00,0,0.00,2024.0000,20.2400,'1276951188','1276951188','','',0,1),(40,0,55,38,3,0,0,2470.00,0,10,0,45,0,2445,110039,1,12,1,2.00,2,1.00,0.0000,0.0000,'1276951261','1276951261','','',0,1),(41,0,0,38,3,0,1,2470.00,0,0,0,0,0,0,0,1,12,1,1.00,4,2.00,500.0000,2.3000,'1276951512','1276951512','','',0,1),(49,0,0,39,5,0,1,3333.00,0,20,3,45,2,0,0,1,12,4,1.00,0,0.00,1395.0000,13.9500,'1277202736','1277202736','','',0,1),(53,0,0,37,3,0,3,2.47,0,0,0,0,0,0,0,1,41,1,2.00,2,2.00,-4987.5300,-49.8753,'1277972821','1277972821','','',0,1),(54,0,0,37,3,0,4,2.47,0,0,0,0,0,0,0,1,41,1,2.00,2,2.00,-4987.5300,-49.8753,'1277972835','1277972835','','',0,1),(55,0,0,46,6,0,2,5.56,0,0,0,0,0,0,0,1,0,0,0.00,0,0.00,-4834.4445,-48.3444,'1277982373','1277982373','','',0,1),(56,0,0,46,15,0,2,2.53,0,0,0,0,0,0,0,1,0,0,0.00,0,0.00,-2527.4700,-25.2747,'1277982373','1277982373','','',0,1),(57,0,0,47,8,0,2,1.44,0,0,0,0,0,0,0,1,12,2,2.00,2,3.00,-2878.5600,-28.7856,'1277986272','1277986272','','',0,1),(58,0,0,48,14,0,1,2.86,0,0,0,0,0,0,0,1,0,1,2.00,0,0.00,-2857.1400,-28.5714,'1277986481','1277986481','','',0,1),(59,0,0,49,14,0,1,2.86,0,0,0,0,0,0,0,2,12,0,0.00,0,0.00,-2857.1400,-28.5714,'1277986542','1277986542','','',0,1),(60,0,0,37,15,0,3,2530.00,0,0,0,0,0,0,0,1,41,1,2.00,2,2.00,-5110.0000,-51.1000,'1277986781','1277986781','','',0,1),(61,0,0,49,15,0,1,4444.00,0,0,0,0,0,0,0,2,12,0,0.00,0,0.00,1914.0000,19.1400,'1277986828','1277986828','','',0,1),(62,0,0,50,14,0,1,2860.00,0,0,0,0,0,0,0,1,12,1,0.00,0,0.00,0.0000,0.0000,'1280226928','1280226928','','',0,0),(63,0,0,50,10,0,1,2604.00,0,0,0,0,0,0,0,1,12,1,0.00,0,0.00,0.0000,0.0000,'1280226928','1280226928','','',0,0),(64,0,0,1,17,0,1,4620.00,0,0,0,0,0,0,0,0,12,0,0.00,0,0.00,0.0000,0.0000,'1280410056','1280410056','','',0,0),(65,0,0,51,17,0,1,4620.00,0,0,0,0,0,0,0,2,12,1,1.00,2,2.00,-2.0000,-0.0200,'1282119125','1282119125','','',0,0),(66,0,0,52,6,0,4,2420.00,0,0,0,0,0,0,0,1,12,1,1.00,2,1.00,-7260.0000,-72.6000,'1283334337','1283334337','','',0,0),(67,0,0,52,8,0,1,1440.00,0,0,0,0,0,0,0,1,12,1,1.00,2,1.00,0.0000,0.0000,'1283334337','1283334337','','',0,0),(68,0,0,53,15,0,1,2530.00,0,0,0,0,0,0,0,1,12,0,0.00,0,0.00,0.0000,0.0000,'1283335562','1283335562','','',0,0),(69,0,0,53,18,0,1,3150.00,0,0,0,0,0,0,0,1,12,0,0.00,0,0.00,0.0000,0.0000,'1283335562','1283335562','','',0,0),(70,0,0,54,1,0,1,400.00,0,0,0,0,0,0,0,1,12,0,0.00,0,0.00,0.0000,0.0000,'1283460667','1283460667','','',0,0),(71,0,0,39,2,0,4353,4353.00,0,0,0,0,0,6052,272319,1,12,4,1.00,0,0.00,-999999.9999,-189486.0900,'1283710168','1283710168','','',0,0),(72,0,0,39,1,0,1,5500.00,0,10,3,45,2,5694,256213,1,12,4,1.00,0,0.00,-484.0000,-4.8400,'1283710862','1283710862','','',0,0),(73,0,0,55,2,0,1,4353.00,0,10,3,45,2,5996,269816,3,12,2,1.00,0,0.00,-4353.0000,-43.5300,'1283713633','1283713633','','',0,0),(74,0,30,0,2,15,1,6666.00,0,0,0,45,0,10732,482952,1,0,2,0.00,0,0.00,-48455.0000,-484.5500,'1283728038','1283728038','','',0,0),(75,0,30,0,2,15,1,6666.00,0,0,0,45,0,10732,482952,1,0,2,0.00,0,0.00,-48455.0000,-484.5500,'1283728290','1283728290','','',0,0),(76,0,30,0,2,15,1,6666.00,0,0,0,45,0,10732,482952,1,0,2,0.00,0,0.00,-48455.0000,-484.5500,'1283728343','1283728343','','',0,0),(77,0,58,0,2,0,1,5555.00,0,0,0,45,0,8944,402460,1,0,1,0.00,0,0.00,-48455.0000,-484.5500,'1283757521','1283757521','','',0,0),(78,0,59,0,2,0,1,5555.00,0,0,0,45,0,8944,402460,3,0,2,0.00,0,0.00,-48455.0000,-484.5500,'1283759338','1283759338','','',0,0),(79,0,59,0,4,0,1,666.00,0,0,0,45,0,673,30270,3,0,2,0.00,0,0.00,-44102.0000,-441.0200,'','1283759921','','',0,0),(80,0,59,0,4,0,1,5505.00,0,0,0,45,0,5560,250202,3,0,2,0.00,0,0.00,-44102.0000,-441.0200,'','1283776417','','',0,0),(81,0,59,0,6,0,1,5000.00,0,0,0,45,0,5900,265500,3,0,2,0.00,0,0.00,-44102.0000,-441.0200,'','1283776792','','',0,0),(82,0,59,0,6,0,1,500.00,0,0,0,45,0,590,26550,3,0,2,0.00,0,0.00,-44102.0000,-441.0200,'','1283776915','','',0,0),(83,0,60,0,2,0,1,5000.00,0,0,0,45,0,8050,362250,1,0,1,0.00,0,0.00,-48455.0000,-484.5500,'1283777612','1283777612','','',0,0),(84,0,37,0,6,0,1,5000.00,0,0,0,45,0,5900,265500,1,0,1,0.00,2,2.00,-44102.0000,-441.0200,'','1283780164','','',0,0),(85,0,37,0,8,0,1,4000.00,0,0,0,45,0,4840,217800,1,0,1,0.00,2,2.00,-44102.0000,-441.0200,'','1283799741','','',0,0),(86,0,37,0,10,0,1,5000.00,0,0,0,45,0,10050,452250,1,0,1,0.00,2,2.00,-44102.0000,-441.0200,'','1283808087','','',0,0),(87,0,37,0,7,0,1,3000.00,10,3,2,45,0,3090,139050,1,0,1,0.00,2,2.00,-44102.0000,-441.0200,'','1283808363','','',0,0),(92,0,62,0,378,0,1,2000.00,0,33,0,47,0,1348,62682,1,0,0,0.00,0,0.00,-44102.0000,-441.0200,'1283852927','1283852927','','',0,0),(91,0,62,0,382,0,1,850.00,0,0,0,46,0,765,35190,1,0,0,0.00,0,0.00,-44715.7000,-447.1570,'1283852927','1283852927','','',0,0),(95,0,70,0,394,0,1,13000.00,0,20,3,45,2,19772,889762,0,0,0,0.00,0,0.00,-56102.0000,-561.0200,'1283873378','1283873378','','',0,0),(96,0,70,0,388,0,1,4000.00,0,25,3,46,0,2910,133860,0,0,0,0.00,0,0.00,-47702.0000,-477.0200,'1283873378','1283873378','','',0,0),(97,0,71,0,391,0,1,8000.00,0,40,3,45,2,9126,410659,0,0,0,0.00,0,0.00,-51302.0000,-513.0200,'1283873848','1283873848','','',0,0),(98,0,71,0,389,0,1,9000.00,0,12,2,45,1,7684,345779,0,0,0,0.00,0,0.00,-44602.0000,-446.0200,'1283873848','1283873848','','',0,0),(99,0,72,0,386,0,1,5000.00,0,0,0,45,0,10000,450000,0,0,0,0.00,0,0.00,-51302.0000,-513.0200,'1283875146','1283875146','','',0,0),(100,0,72,0,393,0,1,8000.00,0,0,0,45,0,8000,360000,0,0,0,0.00,0,0.00,-49102.0000,-491.0200,'1283875146','1283875146','','',0,0),(101,0,79,0,411,0,1,3900.00,0,0,0,46,0,6630,304980,0,0,0,0.00,0,0.00,-47365.0400,-473.6504,'1285668597','1285668597','','',0,0),(102,0,79,0,409,0,1,3840.43,0,0,0,47,0,7297,342950,0,0,0,0.00,0,0.00,-47442.4300,-474.4243,'1285668597','1285668597','','',0,0),(103,0,80,0,411,0,1,3900.00,0,0,0,46,0,6630,304980,0,0,0,0.00,0,0.00,-47365.0400,-473.6504,'1285668708','1285668708','','',0,0),(104,0,80,0,409,0,1,3840.43,0,0,0,47,0,7297,342950,0,0,0,0.00,0,0.00,-47442.4300,-474.4243,'1285668708','1285668708','','',0,0),(105,0,81,0,364,0,2,1250.00,0,0,0,46,0,1500,69000,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'1285668868','1285668868','','',0,0),(106,0,81,0,381,0,1,1200.00,0,0,0,46,0,1560,71760,0,0,0,0.00,0,0.00,-45070.4500,-450.7045,'1285668868','1285668868','','',0,0),(107,0,84,0,406,0,1,5000.00,0,0,0,45,0,11500,517500,0,0,0,0.00,0,0.00,-48653.2400,-486.5324,'1285676716','1285676716','','',0,0),(108,0,85,0,408,0,1,3200.00,0,0,0,46,0,6400,294400,0,0,0,0.00,0,0.00,-46918.8800,-469.1888,'1285678016','1285678016','','',0,0),(109,0,86,0,403,0,1,5000.00,0,0,0,47,0,9500,441750,0,0,0,0.00,0,0.00,-47771.8700,-477.7187,'1285678155','1285678155','','',0,0),(110,0,87,0,403,0,1,5000.00,0,0,0,47,0,9500,441750,0,0,0,0.00,0,0.00,-47771.8700,-477.7187,'1285678201','1285678201','','',0,0),(111,0,88,0,404,0,1,900.00,0,0,0,47,0,630,29484,0,0,0,0.00,0,0.00,-44883.2000,-448.8320,'1285678485','1285678485','','',0,0),(112,0,89,0,402,0,1,9000.00,0,0,0,45,0,13590,611550,0,0,0,0.00,0,0.00,-52119.3000,-521.1930,'1285680273','1285680273','','',0,0),(113,0,90,0,384,0,1,4000.00,0,0,0,45,0,4000,180000,0,0,0,0.00,0,0.00,-47702.0000,-477.0200,'1285680330','1285680330','','',0,0),(136,0,58,0,0,0,1,3744.90,2700,0,1,794,3745,0,0,0,0,0,3793.58,0,0.00,-44102.0000,-441.0200,'','1290427543','','',0,0),(135,0,58,0,0,0,1,599.40,222,10,1,384,659,0,0,0,0,0,667.91,0,0.00,-44102.0000,-441.0200,'','1290427210','','',0,0),(134,0,58,0,0,0,1,400.00,400,10,1,369,440,450,0,0,0,0,445.72,0,0.00,-44102.0000,-441.0200,'','1290426263','','',0,0),(133,0,58,0,0,0,1,599.40,222,10,1,392,659,0,0,0,0,0,667.91,0,0.00,-44102.0000,-441.0200,'','1290425333','','',0,0),(137,0,58,0,0,0,1,3744.90,2700,0,1,794,3745,0,0,0,0,0,3793.58,0,0.00,-44102.0000,-441.0200,'','1290427936','','',0,0),(138,0,58,0,0,0,1,3744.90,2700,0,1,794,3745,0,0,0,0,0,3793.58,0,0.00,-44102.0000,-441.0200,'','1290428043','','',0,0),(139,0,58,0,0,0,1,400.00,400,10,1,369,440,450,0,0,0,0,445.72,0,0.00,-44102.0000,-441.0200,'','1290428110','','',0,0),(140,0,58,0,0,0,1,3744.90,2700,0,1,794,3745,0,0,0,0,0,3793.58,0,0.00,-44102.0000,-441.0200,'','1290428480','','',0,0),(141,0,58,0,0,0,1,3744.90,2700,0,1,794,3745,0,0,0,0,0,3793.58,0,0.00,-44102.0000,-441.0200,'','1290429021','','',0,0),(142,0,58,0,0,0,1,3744.90,2700,0,1,794,3745,0,0,0,0,0,3793.58,0,0.00,-44102.0000,-441.0200,'','1290448077','','',0,0),(143,0,58,0,0,0,1,599.40,222,10,1,386,659,0,0,0,0,0,667.91,0,0.00,-44102.0000,-441.0200,'','1290448077','','',0,0),(144,0,59,0,0,0,0,0.00,0,0,0,0,0,0,0,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1290488678','','',0,0),(145,0,59,0,0,0,1,599.40,222,10,1,384,659,0,0,0,0,0,667.91,0,0.00,-44102.0000,-441.0200,'','1290488678','','',0,0),(146,0,59,0,0,0,1,2199.78,2222,10,1,374,2420,0,0,0,0,0,2451.21,0,0.00,-44102.0000,-441.0200,'','1290488678','','',0,0),(147,0,59,0,0,0,1,599.40,222,10,1,392,659,0,0,0,0,0,667.91,0,0.00,-44102.0000,-441.0200,'','1290489224','','',0,0),(148,0,59,0,0,0,1,400.00,400,10,1,369,440,450,0,0,0,0,445.72,0,0.00,-44102.0000,-441.0200,'','1290489380','','',0,0),(149,0,59,0,0,0,1,599.40,222,10,1,392,659,0,0,0,0,0,667.91,0,0.00,-44102.0000,-441.0200,'','1290489636','','',0,0),(150,0,59,0,0,0,1,2199.78,2222,10,1,374,2420,0,0,0,0,0,2451.21,0,0.00,-44102.0000,-441.0200,'','1290493804','','',0,0),(151,0,59,0,0,0,0,0.00,0,2500,0,2750,0,36,25000,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1295424019','','',0,0),(152,0,60,0,0,0,0,0.00,0,2000,0,3600,0,33,0,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1295430281','','',0,0),(153,0,60,0,0,0,0,0.00,0,2600,0,1326,0,19,0,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1295430604','','',0,0),(154,0,60,0,0,0,0,0.00,0,3900,0,1950,0,17,0,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1295430954','','',0,0),(155,0,62,0,0,0,0,0.00,0,1900,0,3420,0,35,0,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1295518137','','',0,0),(156,0,88,0,0,0,0,0.00,0,2100,0,1071,0,0,28,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1296725896','','',0,0),(157,0,90,0,0,0,0,0.00,0,2200,0,1122,0,0,28,0,0,0,0.00,0,0.00,-44102.0000,-441.0200,'','1296728113','','',0,0),(158,0,2,0,0,0,0,0.00,0,1304,0,0,0,0,25,0,0,0,3000.00,0,0.00,-44102.0000,-441.0200,'','1299090554','','',0,0);

--
-- Table structure for table `bstock_jwl_dia_info_unused`
--

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

--
-- Dumping data for table `bstock_jwl_dia_info_unused`
--

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

--
-- Table structure for table `bstock_jwl_diamond_items`
--

CREATE TABLE `bstock_jwl_diamond_items` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key for the order items.',
  `po_order_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of orders table.',
  `so_order_id` int(11) NOT NULL,
  `diamond_product_id` int(11) NOT NULL,
  `product_jwl_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of products table.',
  `quantity` int(10) NOT NULL COMMENT 'Quantity ordered for this particular item.',
  `price` decimal(10,2) NOT NULL COMMENT 'The price for this item after multiplying with quantity.',
  `vendor_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `broker_id_1` int(10) NOT NULL,
  `brokerage_1` decimal(10,2) NOT NULL,
  `broker_id_2` int(10) NOT NULL,
  `brokerage_2` decimal(10,2) NOT NULL,
  `profit_amount` decimal(10,4) NOT NULL,
  `profit_percent` decimal(10,4) NOT NULL,
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the date when this record was inserted i.e. when the order was placed.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `discount_percent` varchar(20) NOT NULL COMMENT 'Percentage of discount offered on this order item.',
  `discount_value` varchar(20) NOT NULL COMMENT 'Discount (in value) offered on this order item.',
  `quantity_shipped` int(10) NOT NULL COMMENT 'This will be the quantity of the item that has been shipped so far.',
  `exporter_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=70 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

--
-- Dumping data for table `bstock_jwl_diamond_items`
--

INSERT INTO `bstock_jwl_diamond_items` VALUES (5,20,0,0,2,1,3366.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270147','1276270147','','',0,1),(6,21,0,0,3,1,2470.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270381','1276270381','','',0,1),(7,22,0,0,7,1,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270732','1276270732','','',0,1),(8,23,0,0,7,1,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276270812','1276270812','','',0,1),(9,24,0,0,7,1,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276271031','1276271031','','',0,1),(10,25,0,0,7,2,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276271039','1276271039','','',0,1),(11,25,0,0,7,2,2109.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1267005563','1267005563','','',0,1),(12,26,0,0,77,1,5112.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276522281','1276522281','','',0,1),(15,26,0,0,0,0,0.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1267005563','1267005563','','',0,1),(16,29,0,0,13,1,2750.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276523268','1276523268','','',0,1),(18,31,0,0,0,0,0.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276523825','1276523825','','',0,1),(19,33,0,0,0,0,0.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276524038','1276524038','','',0,1),(20,34,0,0,3,1,2470.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276524132','1276524132','','',0,1),(21,35,0,0,4,1,3266.00,2,12,0,0.00,0,0.00,11000.0000,5.0000,'1276524168','1276524168','','',0,1),(22,35,0,0,0,0,0.00,3,12,0,0.00,0,0.00,5678.0000,1.0200,'1276524168','1276524168','','',0,1),(23,36,0,6,5,1,1188.00,2,12,0,0.00,0,0.00,11000.0000,5.0000,'1276524306','1276524306','','',0,1),(52,44,0,0,3,1,2470.00,2,12,1,2.00,2,3.00,-890.0000,-8.9000,'1277233812','1277233812','','',0,1),(51,37,0,0,2,4,3366.00,1,41,1,2.00,2,2.00,-50.0000,-0.5000,'1277230461','1277230461','','',0,1),(28,38,0,0,9,1,4070.00,0,0,0,0.00,0,0.00,0.0000,0.0000,'1276582157','1276582157','','',0,1),(43,38,0,0,4,2,4444.00,1,12,0,0.00,0,0.00,-2238.0000,-22.3800,'1276952739','1276952739','','',0,1),(47,43,0,0,2,1,5555.00,1,0,0,0.00,0,0.00,-30193.0000,-301.9300,'1276955065','1276955065','','',0,1),(45,42,0,0,2,4,3366.00,1,0,0,0.00,0,0.00,-42480.0000,-424.8000,'1276953033','1276953033','','',0,1),(46,41,0,0,4,2,4444.00,1,0,0,0.00,0,0.00,-2238.0000,-22.3800,'1276953062','1276953062','','',0,1),(38,1,0,0,2,5,5555.00,2,12,0,0.00,0,0.00,2189.0000,21.8900,'1276949635','1276949635','','',0,1),(39,0,55,2,55,1,4444.00,2,12,0,0.00,0,0.00,2024.0000,20.2400,'1276951188','1276951188','','',0,1),(40,38,0,0,3,0,2470.00,1,12,1,2.00,2,1.00,0.0000,0.0000,'1276951261','1276951261','','',0,1),(41,38,0,0,3,1,2470.00,1,12,1,1.00,4,2.00,500.0000,2.3000,'1276951512','1276951512','','',0,1),(49,39,0,7,5,1,3333.00,1,12,4,1.00,0,0.00,1395.0000,13.9500,'1277202736','1277202736','','',0,1),(53,37,0,0,3,3,2.47,1,41,1,2.00,2,2.00,-4987.5300,-49.8753,'1277972821','1277972821','','',0,1),(54,37,0,0,3,4,2.47,1,41,1,2.00,2,2.00,-4987.5300,-49.8753,'1277972835','1277972835','','',0,1),(55,46,0,0,6,2,5.56,1,0,0,0.00,0,0.00,-4834.4445,-48.3444,'1277982373','1277982373','','',0,1),(56,46,0,0,15,2,2.53,1,0,0,0.00,0,0.00,-2527.4700,-25.2747,'1277982373','1277982373','','',0,1),(57,47,0,0,8,2,1.44,1,12,2,2.00,2,3.00,-2878.5600,-28.7856,'1277986272','1277986272','','',0,1),(58,48,0,0,14,1,2.86,1,0,1,2.00,0,0.00,-2857.1400,-28.5714,'1277986481','1277986481','','',0,1),(59,49,0,0,14,1,2.86,2,12,0,0.00,0,0.00,-2857.1400,-28.5714,'1277986542','1277986542','','',0,1),(60,37,0,0,15,3,2530.00,1,41,1,2.00,2,2.00,-5110.0000,-51.1000,'1277986781','1277986781','','',0,1),(61,49,0,0,15,1,4444.00,2,12,0,0.00,0,0.00,1914.0000,19.1400,'1277986828','1277986828','','',0,1),(62,50,0,0,14,1,2860.00,1,12,1,0.00,0,0.00,0.0000,0.0000,'1280226928','1280226928','','',0,0),(63,50,0,0,10,1,2604.00,1,12,1,0.00,0,0.00,0.0000,0.0000,'1280226928','1280226928','','',0,0),(64,1,0,0,17,1,4620.00,0,12,0,0.00,0,0.00,0.0000,0.0000,'1280410056','1280410056','','',0,0),(65,51,0,0,17,1,4620.00,2,12,1,1.00,2,2.00,-2.0000,-0.0200,'1282119125','1282119125','','',0,0),(66,52,0,0,6,4,2420.00,1,12,1,1.00,2,1.00,-7260.0000,-72.6000,'1283334337','1283334337','','',0,0),(67,52,0,0,8,1,1440.00,1,12,1,1.00,2,1.00,0.0000,0.0000,'1283334337','1283334337','','',0,0),(68,53,0,0,15,1,2530.00,1,12,0,0.00,0,0.00,0.0000,0.0000,'1283335562','1283335562','','',0,0),(69,53,0,0,18,1,3150.00,1,12,0,0.00,0,0.00,0.0000,0.0000,'1283335562','1283335562','','',0,0);

--
-- Table structure for table `bstock_jwl_labour_info`
--

CREATE TABLE `bstock_jwl_labour_info` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `po_order_id` int(11) NOT NULL,
  `so_order_id` int(11) NOT NULL,
  `product_jwl_id` int(10) NOT NULL,
  `karagir_id` int(11) NOT NULL,
  `no_of_hours` decimal(10,0) NOT NULL,
  `metal_id` int(10) NOT NULL,
  `metal_weight` varchar(10) NOT NULL,
  `metal_karat` varchar(10) NOT NULL,
  `color` varchar(255) NOT NULL,
  `price` varchar(10) NOT NULL,
  `balance` decimal(10,2) NOT NULL COMMENT 'Balance payment for this order.',
  `created_date` varchar(255) NOT NULL,
  `modified_date` varchar(255) NOT NULL,
  `status` enum('Paid','Unpaid','Partially Paid') NOT NULL COMMENT 'Will store whether the karigar has been paid for this particular job.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_labour_info`
--

INSERT INTO `bstock_jwl_labour_info` VALUES (1,0,0,1,1,0,1,'10','24','White Gold','0.00',0.00,'','','Paid'),(2,0,0,2,1,0,2,'20','12','Yellow Gold','0.00',0.00,'','','Paid'),(3,0,0,3,1,0,3,'30','18','White Gold','0.00',0.00,'','','Paid'),(4,0,0,3,1,0,4,'40','20','Silver','0.00',0.00,'','','Paid'),(5,0,0,5,1,0,5,'50','22','Platinum','0.00',0.00,'','','Paid'),(6,0,0,6,1,0,6,'60','16','Silver','0.00',0.00,'','','Paid'),(7,0,0,6,1,0,1,'.1','.1','White Gold','0.00',0.00,'','','Paid'),(8,0,0,7,1,0,1,'.2','.2','Yellow Gold','0.00',0.00,'','','Paid'),(9,0,0,8,1,0,2,'.3','.3','Platinum','0.00',0.00,'','','Paid'),(10,0,0,9,1,0,2,'.4','.4','Platinum','0.00',0.00,'','','Paid'),(11,0,0,10,1,0,3,'.5','.5','Silver','0.00',0.00,'','','Paid'),(12,0,0,11,1,0,3,'.6','.6','Silver','0.00',0.00,'','','Paid'),(13,0,0,12,1,0,4,'.7','.7','Silver','0.00',0.00,'','','Paid'),(14,0,0,13,1,0,4,'.8','.8','Silver','0.00',0.00,'','','Paid'),(15,0,0,14,1,0,5,'.9','.9','Yellow gold','0.00',0.00,'','','Paid'),(16,0,55,15,1,8,5,'1.0','1.0','Yellow gold','0.00',0.00,'','','Paid'),(17,0,30,15,1,0,0,'','','','0.00',0.00,'1283728290','1283728290','Paid'),(18,0,30,15,1,0,0,'','','','222',0.00,'1283728343','1283728343','Paid'),(19,0,30,15,1,0,0,'','','','48',0.00,'1283728343','1283728343','Paid'),(20,0,58,0,1,0,0,'','','','987',0.00,'1283757521','1283757521','Paid'),(21,0,59,0,1,0,0,'','','','600',0.00,'1283759338','1283759338','Paid'),(22,0,59,0,1,0,0,'','','','333',0.00,'1283759921','1283759921','Paid'),(23,0,59,0,1,0,0,'','','','800',0.00,'1283776417','1283776417','Paid'),(24,0,59,0,1,0,0,'','','','500',0.00,'1283776792','1283776792','Paid'),(25,0,59,0,1,0,0,'','','','1000',0.00,'1283776915','1283776915','Paid'),(26,0,60,0,1,0,0,'','','','500',500.00,'1283777612','1283777612','Unpaid'),(29,0,62,0,1,0,0,'','','','500',0.00,'1283852927','1283852927','Paid'),(28,0,37,0,1,0,0,'','','','3000',3000.00,'1283780127','1283780127','Unpaid'),(31,0,63,0,1,0,0,'','','','1000',0.00,'1283854941','1283854941','Paid'),(32,0,68,0,1,0,0,'','','','500',0.00,'1283872805','1283872805','Paid'),(33,0,70,0,1,0,0,'','','','5000',0.00,'1283873378','1283873378','Paid'),(34,0,71,0,1,0,0,'','','','500',0.00,'1283873848','1283873848','Paid'),(35,0,72,0,1,0,0,'','','','5000',5000.00,'1283875146','1283875146','Unpaid'),(36,0,79,0,1,0,0,'','','','200',200.00,'1285668597','1285668597','Unpaid'),(37,0,80,0,1,0,0,'','','','200',200.00,'1285668708','1285668708','Unpaid'),(38,0,81,0,1,0,0,'','','','122',122.00,'1285668868','1285668868','Unpaid'),(39,0,84,0,1,0,0,'','','','122',122.00,'1285676716','1285676716','Unpaid'),(40,0,85,0,1,0,0,'','','','222',222.00,'1285678016','1285678016','Unpaid'),(41,0,86,0,1,0,0,'','','','44',44.00,'1285678155','1285678155','Unpaid'),(42,0,87,0,1,0,0,'','','','44',44.00,'1285678201','1285678201','Unpaid'),(43,0,88,0,2,0,0,'','','','222',222.00,'1285678485','1285678485','Unpaid'),(44,0,89,0,3,0,0,'','','','55',55.00,'1285680273','1285680273','Unpaid'),(45,0,90,0,3,0,0,'','','','122',122.00,'1285680330','1285680330','Unpaid'),(46,0,2,0,1,0,0,'','','','22',22.00,'1286604952','1286604952','Unpaid');

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

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

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

INSERT INTO `bstock_jwl_metal_info` VALUES (1,0,0,1,1,0,'10','24','White Gold','10',0.00,'',''),(2,0,0,2,2,0,'20','12','Yellow Gold','20',0.00,'',''),(3,0,0,3,3,0,'30','18','White Gold','30',0.00,'',''),(4,0,0,3,4,0,'40','20','Silver','40',0.00,'',''),(5,0,0,5,5,0,'50','22','Platinum','50',0.00,'',''),(6,0,0,6,6,0,'60','16','Silver','60',0.00,'',''),(7,0,0,6,1,0,'.1','.1','White Gold','100',0.00,'',''),(8,0,0,7,1,0,'.2','.2','Yellow Gold','200',0.00,'',''),(9,0,0,8,2,0,'.3','.3','Platinum','300',0.00,'',''),(10,0,0,9,2,0,'.4','.4','Platinum','400',0.00,'',''),(11,0,0,10,3,0,'.5','.5','Silver','500',0.00,'',''),(12,0,0,11,3,0,'.6','.6','Silver','600',0.00,'',''),(13,0,0,12,4,0,'.7','.7','Silver','700',0.00,'',''),(14,0,0,13,4,0,'.8','.8','Silver','800',0.00,'',''),(15,0,0,14,5,0,'.9','.9','Yellow gold','900',0.00,'',''),(16,0,30,15,5,0,'1.0','1.0','Yellow gold','1000',0.00,'',''),(17,0,55,55,1,0,'3','18','','4990',0.00,'1263281971','1263281971'),(18,0,30,15,2,0,'4','','','4444',0.00,'','1283728290'),(19,0,30,15,2,0,'2','','','3333',0.00,'','1283728343'),(20,0,58,0,2,0,'3','','','18000',0.00,'','1283757521'),(21,0,58,0,2,0,'1','','','18000',0.00,'','1283757521'),(22,0,59,0,2,0,'3','','','18000',0.00,'','1283759338'),(23,0,59,0,2,0,'2','','','18000',0.00,'','1283759921'),(24,0,59,0,2,0,'2','','','1000',0.00,'','1283776417'),(25,0,59,0,2,0,'2','','','1500',0.00,'','1283776792'),(26,0,59,0,2,0,'5','','','1500',0.00,'','1283776915'),(27,0,60,0,2,0,'1','','','100',0.00,'','1283777612'),(28,0,37,0,2,0,'2','','','2500',0.00,'','1283780127'),(30,0,62,0,2,0,'500','','','1800',0.00,'','1283852927'),(31,0,62,0,2,0,'100','','','1800',0.00,'','1283852927'),(32,0,63,0,2,0,'2','','','2000',0.00,'','1283854941'),(33,0,68,0,2,0,'2','','','1000',0.00,'','1283872805'),(34,0,70,0,2,0,'5','','','1500',0.00,'','1283873378'),(35,0,71,0,2,0,'3','','','150',0.00,'','1283873848'),(36,0,72,0,2,0,'3','','','222',0.00,'','1283875146'),(37,0,79,0,2,0,'4','','','19850',0.00,'','1285668597'),(38,0,80,0,2,0,'4','','','19850',0.00,'','1285668708'),(39,0,81,0,2,0,'4','','','19850',0.00,'','1285668868'),(40,0,82,0,2,0,'3','','','19850',0.00,'','1285668956'),(41,0,83,0,2,0,'3','18','','19850',0.00,'','1285669106'),(42,0,84,0,2,0,'5','18','','18000',0.00,'','1285676716'),(43,0,86,0,2,0,'5','18','','19850',0.00,'','1285678155'),(44,0,87,0,2,1,'5','18','','19850',0.00,'','1285678201'),(45,0,88,0,2,2,'10','18','','20000',0.00,'','1285678485'),(46,0,89,0,2,3,'4','12','','14000',0.00,'','1285680273'),(47,0,90,0,2,3,'4','18','','19850',0.00,'','1285680330'),(48,0,2,0,2,0,'','8','','',0.00,'','1286604952');

--
-- Table structure for table `bstock_jwl_product_stages`
--

CREATE TABLE `bstock_jwl_product_stages` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `htmlname` varchar(500) NOT NULL,
  `desc` varchar(500) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COMMENT='This table will list the tabs name while adding jwl product.';

--
-- Dumping data for table `bstock_jwl_product_stages`
--

INSERT INTO `bstock_jwl_product_stages` VALUES (1,'Basic','Basic','Basic fields','on',1267005563,1267005563),(2,'Images','Images','Images of the jewelry','on',1267005563,1267005563),(3,'Videos','Videos','videos of the jewelry','on',1267005563,1267005563),(4,'ConfigurableProducts','ConfigurableProducts','ConfigurableProducts','on',1267005563,1267005563),(5,'UpSell','UpSell','UpSell','on',1267005563,1267005563),(6,'CrossSale','CrossSale','CrossSale','on',1267005563,1267005563),(7,'Crown Polishing','Crown_Polishing','Crown polishing expenses','off',1267005563,1267005563),(8,'Girdle Polishing','Girdle_Polishing','girdle polising expenses','off',1267005563,1267005563),(9,'Certification','Certification','certification','off',1213123213,1231231231);

--
-- Table structure for table `bstock_jwl_products_base`
--

CREATE TABLE `bstock_jwl_products_base` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(150) NOT NULL,
  `description` varchar(1000) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `SKU` varchar(25) NOT NULL,
  `status` enum('on','off') NOT NULL DEFAULT 'on',
  `special_price` decimal(10,2) NOT NULL,
  `special_price_from_date` int(10) NOT NULL,
  `special_price_to_date` int(10) NOT NULL,
  `is_taxable` enum('on','off') NOT NULL,
  `meta_title` varchar(160) NOT NULL,
  `meta_keyword` varchar(160) NOT NULL,
  `meta_desc` varchar(500) NOT NULL,
  `is_gift_option_available` enum('on','off') NOT NULL,
  `type_id` int(10) NOT NULL DEFAULT '0',
  `is_multilevel_prices` enum('on','off') NOT NULL,
  `qty` int(10) NOT NULL,
  `is_backorder` enum('on','off') NOT NULL,
  `stock_status` enum('In Stock','Out of Stock') NOT NULL,
  `is_active` enum('on','off') NOT NULL DEFAULT 'on',
  `setting_type_id` int(10) NOT NULL DEFAULT '1' COMMENT 'This is a special field which will only be used for Engagement rings category',
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=65 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_base`
--

INSERT INTO `bstock_jwl_products_base` VALUES (1,'18kg White Gold 8mm Pave Set Diamond Wedding Ring','This wonderful satin-finished 18kw 8mm features a center vertical row of round cut stones and a modern, flat profile. Total approximate diamond carat weight is .08CT.',2300.00,'12344','on',0.00,0,0,'off','Pave Set Diamond Wedding Ring','Pave Set Diamond Wedding Ring','','off',1,'on',1000,'off','In Stock','off',1,1308830122,1313478937),(2,'18k White Gold 7.5mm Half-Bezel Diamond Eternity Ring','This charming brushed 18kw 7.5mm diamond eternity band features round cut stones along the center between a horizontal groove. Total diamond carat weight is approximately .36CT.',2300.00,'34242342','on',0.00,0,0,'off','Pave Set Diamond Wedding Ring','Pave Set Diamond Wedding Ring','','off',1,'on',1000,'off','In Stock','off',1,1308831617,1313481130),(3,'18k White Gold 6mm Vertical Pave Diamond Eternity Ring','This gorgeous brushed 18kw 6mm diamond eternity band features multiple vertical rows of three round cut stones across the center. Total diamond carat weight is approximately .48CT.',2900.00,'','on',0.00,0,0,'off','Pave Set Diamond Wedding Ring','Pave Set Diamond Wedding Ring','','off',1,'on',1000,'off','In Stock','off',1,1308832333,1313478450),(4,'8k White Gold 6mm Vertical Pave Diamond Mens Ring','This gorgeous brushed 18kw 6mm diamond eternity band features multiple vertical rows of three round cut stones across the center. Total diamond carat weight is approximately .48CT.',2900.00,'3333','on',0.00,0,0,'off','Pave Set Diamond Wedding Ring','Pave Set Diamond Wedding Ring','','off',1,'on',1000,'off','In Stock','off',1,1308998879,1313479051),(5,'Tag Heuer Grand Carrera Men\'s Watch CAV511E.BA0902 Zoom Tag Heuer Grand Carrera Men\'s Watch ','Stainless Steel case and bracelet. Brown Guilloche dial. Scratch Resistant Sapphire crystal. Automatic movement. 43mm case size. Water Resistant to 100m / 330ft. Chronograph Feature with Rotating Subdials. Luminescent Hands & Markers. ',2800.00,'8989','off',2800.00,28425,28425,'off','Tag Heuer Grand Carrera Men\'s Watch CAV511E.BA0902 Zoom Tag Heuer Grand Carrera Men\'s Watch ','Tag Heuer Grand Carrera Men\'s Watch CAV511E.BA0902 Zoom Tag Heuer Grand Carrera Men\'s Watch ','','off',7,'on',1000,'off','In Stock','off',1,1309157337,1309161225),(6,'Classic Four Prong Engagement Ring and Band in 18k White Gold','Classic Four Prong Engagement Ring and Band in 18k White Gold',600.00,'','on',0.00,0,0,'off','Classic Four Prong Engagement Ring and Band in 18k White Gold','Classic Four Prong Engagement Ring and Band in 18k White Gold','','off',1,'on',1000,'off','In Stock','off',2,1311163908,1314689950),(7,'Trio Princess Cut Pavé Diamond Engagement Ring','Trio Princess Cut Pavé Diamond Engagement Ring',700.00,'3243243243','on',0.00,0,0,'off','','','','off',1,'on',1000,'off','In Stock','on',2,1312526295,1312701369),(8,'Classic Four Prong Engagement Ring and Band in 18k Yellow Gold','Classic Four Prong Engagement Ring and Band in 18k Yellow Gold',0.00,'','on',0.00,0,0,'off','','','','off',1,'on',1000,'off','Out of Stock','on',2,1312633568,1315811214),(9,'Classic Four Prong Engagement Ring and Band in 18k Yellow Gold','Classic Four Prong Engagement Ring and Band in 18k Yellow Gold',0.00,'','on',0.00,0,0,'off','','','','off',1,'on',0,'off','Out of Stock','off',1,1312633618,1312633618),(10,'1.00ctw* Bar Set Diamond Eternity Ring','1.00ctw* Bar Set Diamond Eternity Ring',888.00,'23423','on',0.00,0,0,'off','1.00ctw* Bar Set Diamond Eternity Ring','1.00ctw* Bar Set Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','off',1,1312635150,1312710936),(11,'Classic Four Prong Engagement Ring','Classic Four Prong Engagement Ring',0.00,'9999','on',0.00,0,0,'off','Classic Four Prong Engagement Ring','','','off',1,'on',1000,'off','In Stock','off',4,1313477436,1313492304),(12,'Double Inlay Comfort Fit Wedding Ring','Double Inlay Comfort Fit Wedding Ring',0.00,'','on',0.00,0,0,'off','','','','off',1,'on',1000,'off','In Stock','off',1,1313478096,1313478096),(13,'Three Stone Pavé Diamond Ring','Three Stone Pavé Diamond Ring',0.00,'T9999','on',0.00,0,0,'off','Classic Four Prong Engagement Ring','','','off',1,'on',1000,'off','In Stock','off',4,1313480270,1313480270),(14,'Sapphire and Diamond Ring in 18k White Gold (8x6mm)','Sapphire and Diamond Ring in 18k White Gold (8x6mm)',0.00,'34242342','on',0.00,0,0,'off','Sapphire and Diamond Ring in 18k White Gold (8x6mm)','Sapphire and Diamond Ring in 18k White Gold (8x6mm)','','off',1,'on',1000,'off','In Stock','off',1,1314261090,1314261234),(15,'Classic Floating Sapphire and Diamond Ring','Classic Floating Sapphire and Diamond Ring',0.00,'12345','on',0.00,0,0,'off','Classic Floating Sapphire and Diamond Ring','Classic Floating Sapphire and Diamond Ring','','off',1,'on',1000,'off','In Stock','off',2,1314262190,1314262190),(16,'Sapphire and Micropavé Diamond Ring in 18k White Gold (9x7mm)','Sapphire and Micropavé Diamond Ring in 18k White Gold (9x7mm)',0.00,'333','on',0.00,0,0,'off','Sapphire and Micropavé Diamond Ring in 18k White Gold (9x7mm)','Sapphire and Micropavé Diamond Ring in 18k White Gold (9x7mm)','','off',1,'on',1000,'off','In Stock','off',1,1314268275,1314268275),(17,'Sapphire and Diamond Garland Eternity Ring in Platinum (2 1/4 ct. tw.)','Sapphire and Diamond Garland Eternity Ring in Platinum (2 1/4 ct. tw.)',0.00,'','on',0.00,0,0,'off','','Sapphire and Diamond Garland Eternity Ring in Platinum (2 1/4 ct. tw.)','','off',1,'on',1000,'off','Out of Stock','off',1,1314269754,1314269754),(18,'Yellow Sapphire Eternity Ring in 18k Yellow Gold','Yellow Sapphire Eternity Ring in 18k Yellow Gold',0.00,'33333','on',0.00,0,0,'off','Yellow Sapphire Eternity Ring in 18k Yellow Gold','Yellow Sapphire Eternity Ring in 18k Yellow Gold','','off',1,'on',1000,'off','In Stock','off',1,1314270355,1315993384),(19,'Victorinox Swiss Army Summit XLT Chronograph Grey Dial Men\'s Watch 241408','Victorinox Swiss Army Summit XLT Chronograph Grey Dial Men\'s Watch 241408',0.00,'','on',0.00,0,0,'off','Victorinox Swiss Army Summit XLT Chronograph Grey Dial Men\'s Watch 241408','Victorinox Swiss Army Summit XLT Chronograph Grey Dial Men\'s Watch 241408','','on',7,'on',1,'off','In Stock','off',1,1314351693,1314356017),(20,'Calvin Klein Women\'s Cuff watch #K5921138','Calvin Klein Women\'s Cuff watch #K5921138',0.00,'','on',0.00,0,0,'off','Calvin Klein Women\'s Cuff watch #K5921138','Calvin Klein Women\'s Cuff watch #K5921138','','off',7,'on',1,'off','In Stock','off',1,1314355834,1314355908),(21,'Calvin Klein Women\'s Cuff watch #K5921138','Calvin Klein Women\'s Cuff watch #K5921138',0.00,'','on',0.00,0,0,'off','Calvin Klein Women\'s Cuff watch #K5921138','Calvin Klein Women\'s Cuff watch #K5921138','','off',7,'on',1,'off','In Stock','off',1,1314356893,1314357017),(22,'Calvin Klein Petite Casual watch #K8324302','Calvin Klein Petite Casual watch #K8324302',0.00,'','on',0.00,0,0,'off','Calvin Klein Petite Casual watch #K8324302','Calvin Klein Petite Casual watch #K8324302','','off',7,'on',1,'off','In Stock','on',1,1314357805,1314357805),(23,'Calvin Klein Men\'s Epitome watch #K5121120','Calvin Klein Men\'s Epitome watch #K5121120',0.00,'','on',0.00,0,0,'off','Calvin Klein Men\'s Epitome watch #K5121120','Calvin Klein Men\'s Epitome watch #K5121120','','off',7,'on',1,'off','In Stock','on',1,1314357947,1314357947),(24,'Jewel-Tone Freshwater Cultured Pearl Triple Strand Bracelet','Jewel-Tone Freshwater Cultured Pearl Triple Strand Bracelet',0.00,'','on',0.00,0,0,'off','Jewel-Tone Freshwater Cultured Pearl Triple Strand Bracelet','Jewel-Tone Freshwater Cultured Pearl Triple Strand Bracelet','','off',8,'on',1,'off','In Stock','on',1,1314359299,1314359299),(25,'Toursade Bracelet','Toursade Bracelet',0.00,'','on',0.00,0,0,'off','Toursade Bracelet','Toursade Bracelet','','off',8,'on',1,'off','In Stock','on',1,1314359778,1314360254),(26,'Byzantine Bracelet','Byzantine Bracelet',0.00,'','on',0.00,0,0,'off','Byzantine Bracelet','Byzantine Bracelet','','off',8,'on',1,'off','In Stock','on',1,1314360715,1314360916),(27,'NoseRing','NoseRing',0.00,'','on',0.00,0,0,'off','NoseRing','NoseRing','','off',10,'on',1,'off','In Stock','off',1,1314429543,1314429543),(28,'Tiara','Tiara',0.00,'','on',0.00,0,0,'off','Tiara','Tiara','','off',11,'on',1,'off','In Stock','off',1,1314433615,1314434574),(29,'ring','ring',0.00,'','on',0.00,0,0,'off','ring','ring','','off',1,'on',1,'off','In Stock','off',1,1314616617,1314619015),(30,'ring','ring',0.00,'','on',0.00,0,0,'off','ring','ring','','off',1,'on',1,'off','In Stock','off',1,1314619183,1314620196),(31,'ring','ring',0.00,'','on',0.00,0,0,'off','ring','ring','','off',1,'on',100,'off','In Stock','off',2,1314621371,1314623337),(32,'ring1','ring1',0.00,'','on',0.00,0,0,'off','ring1','ring1','','off',1,'on',1000,'off','In Stock','off',5,1314621754,1314621808),(33,'ring2','ring2',0.00,'','on',0.00,0,0,'off','ring2','ring2','','off',1,'on',1000,'off','In Stock','off',2,1314626455,1315993087),(34,'Starlight Pavé Diamond Eternity Ring','Starlight Pavé Diamond Eternity Ring',0.00,'','on',0.00,0,0,'off','Starlight Pavé Diamond Eternity Ring','Starlight Pavé Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1315483837,1315483917),(35,'18k White Gold 4mm Rounded Cathedral Solitaire Diamond Ring','18k White Gold 4mm Rounded Cathedral Solitaire Diamond Ring',0.00,'','on',0.00,0,0,'off','18k White Gold 4mm Rounded Cathedral Solitaire Diamond Ring','','','off',1,'on',100,'off','In Stock','on',2,1315634799,1315635156),(36,'Petite Pavé Diamond Engagement Ring','Petite Pavé Diamond Engagement Ring',0.00,'RNG12011','on',0.00,0,0,'off','Petite Pavé Diamond Engagement Ring','Petite Pavé Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1315994034,1315994034),(37,'Engraved Micropavé Diamond Engagement Ring','Engraved Micropavé Diamond Engagement Ring in 14k White Gold',0.00,'RNG2-2011','on',0.00,0,0,'off','Engraved Micropavé Diamond Engagement Ring','Engraved Micropavé Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',2,1315994543,1315994543),(38,'Halo Sapphire and Diamond Engagement Ring in 18k White Gold','Halo Sapphire and Diamond Engagement Ring in 18k White Gold',0.00,'','on',0.00,0,0,'off','Halo Sapphire and Diamond Engagement Ring in 18k White Gold','','','off',1,'on',1000,'off','In Stock','off',2,1315994897,1315994897),(39,'Classic Pear Shaped Pink Sapphire Engagement Ring','Classic Pear Shaped Pink Sapphire Engagement Ring in 14k White Gold',0.00,'RNG-32-2011','on',0.00,0,0,'off','Classic Pear Shaped Pink Sapphire Engagement Ring','Classic Pear Shaped Pink Sapphire Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1315995138,1315995138),(40,'Classic Pear Shaped Pink Sapphire Engagement Ring','Classic Pear Shaped Pink Sapphire Engagement Ring in 14k White Gold',0.00,'RNG-3-2011','on',0.00,0,0,'off','Classic Pear Shaped Pink Sapphire Engagement Ring','Classic Pear Shaped Pink Sapphire Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1315995200,1315995200),(41,'Channel Set Princess Cut Diamond Engagement Ring','Channel Set Princess Cut Diamond Engagement Ring in 16k White Gold (1/4 ct. tw.)',0.00,'RNG-4-2011','on',0.00,0,0,'off','Channel Set Princess Cut Diamond Engagement Ring','Channel Set Princess Cut Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1315996273,1315996273),(42,'Heart Shaped Halo Diamond Engagement Ring','Heart Shaped Halo Diamond Engagement Ring in 16K White Gold',0.00,'RNG-5-2011','on',0.00,0,0,'off','Heart Shaped Halo Diamond Engagement Ring','Heart Shaped Halo Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',2,1315997202,1315997632),(43,'Marquise Cut Halo Diamond Engagement Ring','Marquise Cut Halo Diamond Engagement Ring in 16k white gold',0.00,'RNG-6-2011','on',0.00,0,0,'off','Marquise Cut Halo Diamond Engagement Ring','Marquise Cut Halo Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',3,1315998156,1315999223),(44,'Intertwined Pave Diamond Engagement Ring','Intertwined Pave Diamond Engagement Ring in 16k white gold',0.00,'RNG-7-2011','on',0.00,0,0,'off','Intertwined Pavé Diamond Engagement Ring','Intertwined Pavé Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1315998898,1315998898),(45,'Round and Baguette Diamond Engagement Ring','Round and Baguette Diamond Engagement Ring in 16k white gold',0.00,'RNG-8-2011','on',0.00,0,0,'off','Round and Baguette Diamond Engagement Ring','Round and Baguette Diamond Engagement Ring','','off',1,'on',1000,'off','In Stock','on',5,1315999634,1315999806),(46,'Trio Micropave Diamond Eternity Ring','Trio Micropave Diamond Eternity Ring in 18k White Gold (1 ct. tw.)',0.00,'RNG-9-2011','on',0.00,0,0,'off','Trio Micropave Diamond Eternity Ring','Trio Micropave Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1316008169,1316008483),(47,'Brushed Finish with Polished Edge Wedding Ring','Brushed Finish with Polished Edge Wedding Ring in White Tungsten Carbide (9mm)',0.00,'W1001','on',0.00,0,0,'off','Brushed Finish with Polished Edge Wedding Ring','Brushed Finish with Polished Edge Wedding Ring','','off',1,'on',1000,'off','In Stock','on',5,1316082324,1316082324),(48,'Celeste Wedding Ring','Celeste Wedding Ring in Platinum',0.00,'W1002','on',0.00,0,0,'off','Celeste Wedding Ring','Celeste Wedding Ring','','off',1,'on',1000,'off','In Stock','on',1,1316082666,1316082666),(49,'Hammered Gold Wedding Ring','Hammered Gold Wedding Ring in 16 k white gold',0.00,'W1003','on',0.00,0,0,'off','Hammered Gold Wedding Ring','Hammered Gold Wedding Ring','','off',1,'on',1000,'off','In Stock','on',1,1316083030,1316083030),(50,'Cirque Diamond Eternity Ring','Cirque Diamond Eternity Ring in 18 k white gold',0.00,'W1004','on',0.00,0,0,'off','Cirque Diamond Eternity Ring','Cirque Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1316083272,1316083272),(51,'Radiant Cut Diamond Eternity Ring','Radiant Cut Diamond Eternity Ring in 16 k white gold',0.00,'W1005','on',0.00,0,0,'off','Radiant Cut Diamond Eternity Ring','Radiant Cut Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1316083685,1316083685),(52,'Brushed with Polished Edge Burnished Diamond Wedding Ring','Brushed with Polished Edge Burnished Diamond Wedding Ring in 14 k white gold',0.00,'W1006','on',0.00,0,0,'off','Brushed with Polished Edge Burnished Diamond Wedding Ring','Brushed with Polished Edge Burnished Diamond Wedding Ring','','off',1,'on',1000,'off','In Stock','on',1,1316084000,1316084000),(53,'Heirloom Pave Diamond Ring','Heirloom Pave Diamond Ring in Platinum (3/8 ct. tw.)',0.00,'W1007','on',0.00,0,0,'off','Heirloom Pavé Diamond Ring','Heirloom Pavé Diamond Ring','','off',1,'on',1000,'off','In Stock','on',1,1316085082,1316085082),(54,'Garland Diamond Eternity Ring','Garland Diamond Eternity Ring in 16 k white gold',0.00,'W1008','on',0.00,0,0,'off','Garland Diamond Eternity Ring','Garland Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1316086001,1316086001),(55,'Floating Diamond Eternity Ring','Floating Diamond Eternity Ring in 18 k white gold (over 2 ct. tw.)',0.00,'W1009','on',0.00,0,0,'off','Floating Diamond Eternity Ring','Floating Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1316087452,1316087452),(56,'Emerald Cut Diamond Eternity Ring','Emerald Cut Diamond Eternity Ring in 16 k white gold (3 ct. tw.)',0.00,'W1010','on',0.00,0,0,'off','Emerald Cut Diamond Eternity Ring','Emerald Cut Diamond Eternity Ring','','off',1,'on',1000,'off','In Stock','on',1,1316087918,1316087918),(57,'Classic Tapered Four Prong Engagement Ring','Classic Tapered Four Prong Engagement Ring in 14k White Gold',0.00,'W1011','on',0.00,0,0,'off','Classic Tapered Four Prong Engagement Ring','Classic Tapered Four Prong Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1316089057,1316089057),(58,'Petite Solitaire Engagement Ring','Petite Solitaire Engagement Ring in 14k White Gold',0.00,'','on',0.00,0,0,'off','Petite Solitaire Engagement Ring','Petite Solitaire Engagement Ring','','off',1,'on',1000,'off','In Stock','on',1,1316089946,1316089946),(59,'Flora Vida Diamond Wedding Ring','Flora Vida Diamond Wedding Ring',0.00,'11111','on',0.00,0,0,'off','Flora Vida Diamond Wedding Ring','Flora Vida Diamond Wedding Ring','','off',1,'on',1000,'off','In Stock','on',1,1316158754,1316158754),(63,'34k never seen before','34k ring never seen',555.00,'abc456','on',0.00,0,0,'on','16kt White Gold 8mm Pave','16kt White Gold 8mm Pave','16kt White Gold 8mm Pave','on',1,'on',1000,'on','In Stock','on',0,1317983524,1317983652),(61,'16kt White Gold 8mm Pave','16kt White Gold 8mm Pave',0.00,'','on',0.00,0,0,'on','16kt White Gold 8mm Pave','16kt White Gold 8mm Pave','','on',1,'on',1000,'on','In Stock','on',2,1317721614,1317721614),(62,'16kt White Gold 8mm Pave','16kt White Gold 8mm Pave',555.00,'abc123','on',0.00,0,0,'on','16kt White Gold 8mm Pave','16kt White Gold 8mm Pave','16kt White Gold 8mm Pave','on',1,'on',1000,'on','In Stock','on',0,1317733483,1317735181),(64,'54k never seen before','54k ring never seen',7000.00,'abc890','on',0.00,0,0,'on','54k never seen before','54k never seen before','54k never seen before','on',1,'on',1000,'on','In Stock','on',0,1317983908,1317983908);

--
-- Table structure for table `bstock_jwl_products_categories_mapping`
--

CREATE TABLE `bstock_jwl_products_categories_mapping` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(10) NOT NULL,
  `jwl_category_id` int(10) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `jwl_product_id` (`jwl_product_id`,`jwl_category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=86 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_categories_mapping`
--

INSERT INTO `bstock_jwl_products_categories_mapping` VALUES (1,1,7,1308830122,1308830122),(2,2,7,1308831617,1308831617),(3,3,7,1308832333,1308832333),(7,4,8,1309158361,1309158361),(8,5,88,1309161225,1309161225),(6,4,6,1309158361,1309158361),(9,5,89,1309161225,1309161225),(10,6,2,1311163908,1311163908),(11,7,2,1312526295,1312526295),(12,8,2,1312633568,1312633568),(13,9,2,1312633618,1312633618),(14,10,70,1312699102,1312699102),(15,11,4,1313477436,1313477436),(16,11,7,1313477436,1313477436),(17,12,8,1313478096,1313478096),(18,13,72,1313480270,1313480270),(19,14,17,1314261090,1314261090),(20,14,7,1314261234,1314261234),(21,15,9,1314262190,1314262190),(22,16,9,1314268275,1314268275),(23,17,9,1314269754,1314269754),(24,18,9,1314270355,1314270355),(25,19,89,1314351693,1314351693),(26,20,90,1314355834,1314355834),(27,21,90,1314357017,1314357017),(28,22,90,1314357805,1314357805),(29,23,89,1314357947,1314357947),(30,24,22,1314359299,1314359299),(31,25,22,1314360254,1314360254),(32,26,22,1314360715,1314360715),(33,27,92,1314429543,1314429543),(34,28,91,1314433615,1314433615),(35,29,11,1314616617,1314616617),(36,29,39,1314618055,1314618055),(38,29,15,1314619015,1314619015),(39,30,15,1314619183,1314619183),(40,31,2,1314621371,1314621371),(41,32,4,1314621754,1314621754),(42,32,5,1314621754,1314621754),(43,32,7,1314621754,1314621754),(44,33,2,1314626455,1314626455),(45,34,9,1315483837,1315483837),(46,35,2,1315634799,1315634799),(47,36,3,1315994034,1315994034),(48,37,2,1315994543,1315994543),(49,38,2,1315994897,1315994897),(50,39,2,1315995138,1315995138),(51,40,2,1315995200,1315995200),(52,41,2,1315996273,1315996273),(53,42,2,1315997202,1315997202),(54,42,5,1315997632,1315997632),(55,43,2,1315998156,1315998156),(58,43,3,1315999223,1315999223),(57,44,5,1315998898,1315998898),(59,45,2,1315999634,1315999634),(60,45,5,1315999634,1315999634),(61,46,9,1316008169,1316008169),(62,47,8,1316082324,1316082324),(63,48,8,1316082666,1316082666),(64,49,8,1316083030,1316083030),(65,50,70,1316083272,1316083272),(66,51,70,1316083685,1316083685),(67,52,9,1316084000,1316084000),(68,53,96,1316085082,1316085082),(69,54,70,1316086001,1316086001),(70,54,96,1316086001,1316086001),(71,55,70,1316087452,1316087452),(72,55,96,1316087452,1316087452),(73,56,70,1316087918,1316087918),(74,56,96,1316087918,1316087918),(75,57,4,1316089057,1316089057),(76,58,4,1316089946,1316089946),(77,59,10,1316158754,1316158754),(78,61,4,1317721614,1317721614),(79,61,5,1317721614,1317721614),(82,63,6,1317983652,1317983652),(83,63,7,1317983652,1317983652),(84,64,6,1317983908,1317983908),(85,64,7,1317983908,1317983908);

--
-- Table structure for table `bstock_jwl_products_cross_sell`
--

CREATE TABLE `bstock_jwl_products_cross_sell` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(10) NOT NULL,
  `product_id` int(10) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `jwl_product_id` (`jwl_product_id`,`product_id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_cross_sell`
--

INSERT INTO `bstock_jwl_products_cross_sell` VALUES (1,7,7,1312526401,1312526401),(2,7,6,1312526402,1312526402),(3,14,14,1314261159,1314261159),(4,14,13,1314261160,1314261160),(5,14,12,1314261161,1314261161),(6,15,15,1314262243,1314262243),(7,15,14,1314262244,1314262244),(8,15,13,1314262245,1314262245);

--
-- Table structure for table `bstock_jwl_products_diamond_used`
--

CREATE TABLE `bstock_jwl_products_diamond_used` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(10) NOT NULL COMMENT 'Foreign key from the jwl_products_base table',
  `type` enum('Center','Side','Misc') NOT NULL,
  `mapped_with_size_blcok` enum('Yes','No') NOT NULL DEFAULT 'No' COMMENT 'This field will store if the side stone will vary based on the ring size or not. if yes then cal will be based on ring size.',
  `fixed_price` decimal(10,2) NOT NULL COMMENT 'Will save fixed stone price',
  `no_of_diamonds` decimal(10,2) NOT NULL,
  `size1` decimal(10,2) NOT NULL,
  `size2` decimal(10,2) NOT NULL,
  `shape` varchar(2000) NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T',' U','V','Pink','Cognac','Black','Orange','Yellow') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','SI3','I1','I2','I3','PK') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `description` varchar(1000) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_diamond_used`
--

INSERT INTO `bstock_jwl_products_diamond_used` VALUES (1,1,'Center','No',0.00,2.00,1.40,4.00,'ROUND,','G','VVS2','ANY','',1308830122,1308830122),(26,2,'Center','No',0.00,0.00,0.30,3.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,ASSCHER,RADIANT,','K','VS2','ANY','',1313481130,1313481130),(3,3,'Center','No',0.00,2.00,1.40,4.00,'ROUND,','D','IF','EXCELLENT','',1308832333,1308832333),(4,1,'Side','No',0.00,2.00,1.40,4.00,'PRINCESS,','E','VVS1','ANY','',1308893025,1308893025),(5,4,'Center','No',0.00,2.00,1.40,2.00,'ROUND,','D','IF','EXCELLENT','',1308998879,1308998879),(6,4,'Side','No',0.00,2.00,1.40,4.00,'PRINCESS,','ANY','ANY','ANY','',1308998879,1308998879),(7,5,'Center','No',0.00,2.00,1.40,4.00,'ROUND,','K','SI2','ANY','',1309157337,1309157337),(8,4,'Center','No',0.00,2.00,1.40,2.10,'PRINCESS,PEAR,MARQUISE,','H','IF','EXCELLENT','22',1309182719,1309182719),(9,4,'Misc','No',0.00,0.00,0.50,2.00,'','E','IF','ANY','',1309268589,1309268589),(10,7,'Side','No',0.00,2.00,0.20,3.00,'Round,Princes,','E','SI2','ANY','',1309268619,1309268619),(11,4,'Center','No',0.00,0.00,1.00,2.00,'PRINCESS,PEAR,MARQUISE,EMERALD,','E','VVS1','GOOD','',1309269198,1309269198),(12,6,'Center','No',0.00,0.00,0.40,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,','L','VS2','ANY','',1311163908,1311163908),(13,7,'Center','No',0.00,0.00,0.50,3.50,'ROUND,PRINCESS,','F','IF','ANY','',1312526295,1312526295),(14,10,'Center','No',0.00,0.00,0.30,4.00,'ROUND,PRINCESS,','E','IF','ANY','',1312699102,1312699102),(15,10,'Side','No',0.00,0.00,0.20,0.70,'ROUND,PRINCESS,PEAR,','F','IF','ANY','',1312699102,1312699102),(16,7,'Side','No',0.00,0.00,0.20,0.80,'PEAR,MARQUISE,EMERALD,','G','IF','ANY','',1312701369,1312701369),(20,11,'Center','No',0.00,0.00,0.90,2.00,'ROUND,','E','VVS1','ANY','',1313477436,1313477436),(22,12,'Center','No',0.00,0.00,0.80,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,','I','VS1','ANY','',1313478096,1313478096),(23,12,'Side','Yes',0.00,0.00,0.50,3.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,','L','SI1','ANY','',1313478096,1313478096),(48,36,'Center','Yes',0.00,0.00,0.70,1.60,'ROUND,','F','VVS2','ANY','',1315994034,1315994034),(25,13,'Side','Yes',1000.00,0.00,0.23,0.90,'ROUND,PRINCESS,PEAR,MARQUISE,','ANY','VS1','ANY','',1313480270,1313480270),(27,2,'Side','No',0.00,0.00,0.20,3.00,'PRINCESS,PEAR,MARQUISE,EMERALD,','J','VS1','ANY','',1313481130,1313481130),(29,14,'Side','Yes',0.00,0.00,0.20,3.00,'ROUND,PRINCESS,PEAR,MARQUISE,','I','SI1','ANY','',1314261090,1314261090),(30,16,'Center','No',0.00,0.00,0.00,0.00,'PRINCESS,','H','VS1','ANY','',1314268275,1314268275),(31,17,'Center','No',0.00,0.00,0.00,0.00,'MARQUISE,','G','VS1','ANY','',1314269754,1314269754),(32,19,'Side','No',0.00,0.00,0.00,0.00,'EMERALD,','O','VVS1','ANY','',1314351693,1314351693),(53,41,'Side','No',0.00,0.00,0.29,0.50,'ROUND,','H','VS1','ANY','',1315996273,1315996273),(37,31,'Center','No',150.00,0.00,0.40,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,ASSCHER,RADIANT,','L','VS2','ANY','',1314622137,1314622137),(36,32,'Center','No',0.00,0.00,0.90,2.00,'ROUND,','E','VS2','ANY','',1314621754,1314621754),(38,31,'Center','No',150.00,0.00,0.40,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,ASSCHER,RADIANT,','L','VS2','ANY','',1314622382,1314622382),(39,31,'Center','No',0.00,0.00,0.00,0.00,'','ANY','ANY','ANY','',1314623337,1314623337),(40,33,'Center','No',0.00,0.00,0.10,5.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,ASSCHER,RADIANT,','ANY','ANY','ANY','',1314626455,1314626455),(51,40,'Center','Yes',0.00,0.00,1.00,1.60,'PEAR,','H','VVS1','ANY','',1315995200,1315995200),(52,41,'Center','No',0.00,0.00,0.24,1.00,'PRINCESS,','F','VVS2','ANY','',1315996273,1315996273),(50,38,'Center','No',1000.00,0.00,2.00,5.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,ASSCHER,RADIANT,','I','VS1','ANY','',1315994897,1315994897),(49,37,'Center','Yes',0.00,0.00,0.70,1.90,'PRINCESS,PEAR,','H','VS1','ANY','',1315994543,1315994543),(44,34,'Side','Yes',0.00,0.00,0.10,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,','N','SI2','ANY','',1315483837,1315483837),(45,35,'Center','No',0.00,0.00,0.50,1.50,'ROUND,','F','VVS2','ANY','',1315634799,1315634799),(46,8,'Center','No',0.00,0.00,0.20,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,','L','SI1','ANY','',1315811214,1315811214),(47,8,'Side','No',1500.00,0.00,0.10,5.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,HEART,OVAL,CUSHION,ASSCHER,','N','SI2','ANY','',1315811214,1315811214),(54,42,'Center','Yes',0.00,0.00,0.20,0.90,'HEART,','F','VS1','ANY','',1315997202,1315997202),(55,42,'Side','No',0.00,0.00,0.21,0.80,'ROUND,PRINCESS,','G','VS1','ANY','',1315997202,1315997202),(56,43,'Center','No',0.00,0.00,0.40,1.20,'MARQUISE,','K','SI1','ANY','',1315998156,1315998156),(57,43,'Side','No',0.00,0.00,0.22,0.65,'ROUND,PRINCESS,PEAR,','J','VS2','ANY','',1315998156,1315998156),(58,44,'Center','No',0.00,0.00,0.15,0.70,'ROUND,','F','VVS2','ANY','',1315998898,1315998898),(59,44,'Side','No',0.00,0.00,0.20,0.90,'ROUND,PRINCESS,PEAR,MARQUISE,','I','SI1','ANY','',1315998898,1315998898),(60,45,'Center','No',0.00,0.00,0.25,1.10,'ROUND,','H','VS1','ANY','',1315999634,1315999634),(61,45,'Side','No',0.00,0.00,0.19,0.65,'ROUND,PRINCESS,PEAR,','J','SI1','ANY','',1315999634,1315999634),(62,46,'Side','No',0.00,0.00,1.20,3.40,'ROUND,','G','VS1','ANY','',1316008169,1316008169),(63,50,'Side','No',0.00,0.00,0.20,0.90,'ROUND,','K','I3','ANY','',1316083272,1316083272),(64,51,'Side','No',0.00,0.00,7.00,7.20,'RADIANT,','G','VS2','ANY','',1316083685,1316083685),(65,52,'Center','No',0.00,0.00,0.10,0.30,'ROUND,','I','SI2','ANY','',1316084000,1316084000),(66,53,'Side','Yes',0.00,0.00,0.44,0.70,'ROUND,','H','VS2','ANY','',1316085082,1316085082),(67,54,'Side','Yes',0.00,0.00,2.33,2.50,'ROUND,','H','VS2','ANY','',1316086001,1316086001),(68,55,'Side','No',0.00,0.00,2.08,2.34,'ROUND,','H','VS2','ANY','',1316087452,1316087452),(69,56,'Side','Yes',0.00,0.00,2.50,2.90,'EMERALD,','H','VS2','ANY','',1316087918,1316087918),(70,57,'Center','Yes',0.00,0.00,0.50,0.75,'ROUND,','G','SI1','ANY','',1316089057,1316089057),(71,58,'Center','Yes',0.00,0.00,0.30,0.50,'ROUND,','G','SI2','ANY','',1316089946,1316089946),(72,59,'Center','No',0.00,0.00,0.30,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,','H','SI1','ANY','',1316158754,1316158754),(73,59,'Side','Yes',0.00,0.00,0.20,4.00,'ROUND,PRINCESS,PEAR,MARQUISE,EMERALD,','J','SI1','ANY','',1316158754,1316158754),(74,61,'Center','No',0.00,0.00,0.20,2.00,'ROUND,PRINCESS,PEAR,MARQUISE,','N','SI1','ANY','',1317721614,1317721614),(75,61,'Center','Yes',0.00,0.00,0.20,0.50,'ROUND,PRINCESS,PEAR,MARQUISE,','N','VS1','ANY','',1317721614,1317721614),(76,62,'Center','No',555.00,0.00,0.20,0.30,'Round','','','ANY','',1317980398,1317980398),(77,63,'Center','No',555.00,0.00,0.20,0.30,'Round','D','IF','ANY','',1317983524,1317983524),(78,63,'Side','Yes',500.00,0.00,0.30,0.50,'Pear','D','IF','ANY','',1317983524,1317983524),(79,63,'Center','No',555.00,0.00,0.20,0.30,'Round','D','IF','ANY','',1317983652,1317983652),(80,63,'Side','Yes',500.00,0.00,0.30,0.50,'Pear','D','IF','ANY','',1317983652,1317983652),(81,64,'Center','No',555.00,0.00,0.20,0.30,'Round','D','IF','ANY','',1317983908,1317983908),(82,64,'Side','Yes',500.00,0.00,0.30,0.50,'Pear','D','IF','ANY','',1317983908,1317983908);

--
-- Table structure for table `bstock_jwl_products_images`
--

CREATE TABLE `bstock_jwl_products_images` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(11) NOT NULL,
  `path` varchar(500) NOT NULL,
  `description` varchar(500) NOT NULL,
  `type` enum('base','thumb','small') NOT NULL,
  `order` int(11) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=142 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_images`
--

INSERT INTO `bstock_jwl_products_images` VALUES (1,1,'1-Mens-Diamond-Rings-18k-White-Gold-6mm-Etched-Channel-Set-Diamond-Wedding-Ring-medium4582.jpg','Ring','base',1,1308830397,1308830397),(2,3,'3-Mens-Diamond-Rings-18k-White-Gold-6mm-Vertical-Pave-Diamond-Eternity-Ring-medium4626.jpg','Ring','base',1,1308832367,1308832367),(19,14,'14-SR30405300_main.jpeg','Sapphire and Diamond Ring in 18k White Gold (8x6mm)','base',0,1314261143,1314261143),(18,2,'2-Mens-Diamond-Rings-18k-White-Gold-6mm-Etched.jpg','test2','base',0,1313480846,1313480846),(4,4,'4-Men`s-Diamond-Rings-18k-White-Gold-6mm-Beveled-Bezel-Set-Diamond-Wedding-Ring-medium4585.jpg','Ring','base',0,1308998918,1308998918),(5,4,'4-Men`s-Diamond-Rings-18k-White-Gold-6mm-Channel-Set-Diamond-Eternity-Wedding-Ring-medium4552.jpg','Ring','thumb',0,1309155301,1309155301),(6,5,'5-watches.gif','watch','base',0,1309157481,1309157481),(7,5,'5-watch1.gif','watch1','base',0,1309157570,1309157570),(8,6,'6-Classic Four Prong Engag.jpeg','Ring1','base',1,1311164000,1311164000),(9,6,'6-Classic Four Prong Engag1.jpeg','Ring2','base',2,1311164159,1311164159),(10,7,'7-setting_template_main.jpeg','Ring','base',0,1312526336,1312526336),(11,7,'7-Classic Four Prong Engag1.jpeg','Ring1','base',2,1312526364,1312526364),(12,10,'10-eternity.JPG','1.00ctw* Bar Set Diamond Eternity Ring','base',1,1312699160,1312699160),(13,11,'11-setting_template_main1.jpeg','','base',0,1313477485,1313477485),(14,11,'11-SM52200100_hero.jpeg','','base',0,1313477620,1313477620),(15,12,'12-WB36000600_main.jpeg','','base',0,1313478177,1313478177),(16,13,'13-3-stone-setting_template_main.jpeg','','base',0,1313480408,1313480408),(20,15,'15-AB27503200_main.jpeg','AB27503200_main','base',0,1314262268,1314262268),(21,16,'16-SR27400600_hero.jpeg','','base',0,1314268585,1314268585),(22,17,'17-AB27500600_main.jpeg','','base',0,1314269869,1314269869),(23,18,'18-BR30300200_main.jpeg','','base',0,1314270423,1314270423),(24,20,'20-womens_watch_2.jpeg','','base',0,1314355878,1314355878),(25,19,'19-mens_watch.jpeg','','base',0,1314356050,1314356050),(26,20,'20-pxlclear.jpeg','','base',0,1314356195,1314356195),(27,19,'19-ZBX0002670_main.jpeg','','base',0,1314356327,1314356327),(28,21,'21-pxlclear.jpeg','','base',0,1314356982,1314356982),(29,22,'22-YBX0002499_main.jpeg','','base',0,1314357837,1314357837),(30,23,'23-ZBX0002670_main.jpeg','','base',0,1314357998,1314357998),(31,24,'24-PB14700600_main.jpeg','','base',0,1314359391,1314359391),(32,25,'25-UB39700500_main.jpeg','','base',0,1314359820,1314359820),(33,25,'25-UB39700500_main.jpeg','','base',0,1314359946,1314359946),(34,25,'25-UB39700500_main.jpeg','','base',0,1314359998,1314359998),(35,26,'26-GB00001200_main.jpeg','','base',0,1314360763,1314360763),(36,27,'27-images.jpeg','','base',0,1314429575,1314429575),(37,28,'28-cambridge-lovers-knot-tiara-with-the-spikes-removed-1913-version.jpg','','base',0,1314433653,1314433653),(38,28,'28-6p201o.jpg','','base',0,1314433771,1314433771),(41,30,'30-setting_template_main.jpeg','','base',0,1314619223,1314619223),(40,29,'29-setting_template_main.jpeg','','base',0,1314618109,1314618109),(42,31,'31-setting_template_main.jpeg','','base',0,1314621465,1314621465),(43,32,'32-setting_template_main.jpeg','','base',0,1314621788,1314621788),(44,33,'33-setting_template_main1.jpeg','','base',0,1314626631,1314626631),(45,34,'34-AB27503300_main.jpeg','Starlight Pavé Diamond Eternity Ring','base',0,1315483896,1315483896),(46,8,'8-004-old.png','test','base',0,1315555658,1315555658),(47,6,'6-003.png','','base',0,1315556361,1315556361),(48,35,'35-IMG1-235X185.jpg','','base',0,1315635012,1315635012),(49,35,'35-Rounded-Cathedral-Solitaire.jpg','','base',0,1315635046,1315635046),(50,36,'36-Ring.jpeg','','base',0,1315994069,1315994069),(51,37,'37-Ring2.jpeg','','base',0,1315994571,1315994571),(52,37,'37-Ring2-1.jpeg','','base',0,1315994598,1315994598),(53,37,'37-Ring2-2.jpeg','','base',0,1315994621,1315994621),(54,40,'40-Ring3.jpeg','','base',0,1315995323,1315995323),(55,40,'40-Ring3-1.jpeg','','base',0,1315995346,1315995346),(56,38,'38-setting_template_main3.jpeg','','base',0,1315995368,1315995368),(57,40,'40-Ring3-2.jpeg','','base',0,1315995368,1315995368),(58,41,'41-Ring4.jpeg','','base',0,1315996365,1315996365),(59,41,'41-Ring4-1.jpeg','','base',0,1315996392,1315996392),(60,41,'41-Ring4-2.jpeg','','base',0,1315996413,1315996413),(61,42,'42-Ring5.jpeg','','base',0,1315997232,1315997232),(62,42,'42-Ring5-1.jpeg','','base',0,1315997318,1315997318),(63,42,'42-Ring5-2.jpeg','','base',0,1315997351,1315997351),(64,42,'42-Ring5-3.jpeg','','base',0,1315997374,1315997374),(65,42,'42-Ring5-4.jpeg','','base',0,1315997398,1315997398),(66,43,'43-Ring6.jpeg','','base',0,1315998299,1315998299),(67,43,'43-Ring6-1.jpeg','','base',0,1315998323,1315998323),(68,43,'43-Ring6-2.jpeg','','base',0,1315998345,1315998345),(69,43,'43-Ring6-3.jpeg','','base',0,1315998368,1315998368),(70,43,'43-Ring6-4.jpeg','','base',0,1315998390,1315998390),(71,43,'43-Ring6-5.jpeg','','base',0,1315998414,1315998414),(72,44,'44-Ring7.jpeg','','base',0,1315998933,1315998933),(73,44,'44-Ring7-1.jpeg','','base',0,1315998956,1315998956),(74,44,'44-Ring7-2.jpeg','','base',0,1315998977,1315998977),(75,44,'44-Ring7-3.jpeg','','base',0,1315998998,1315998998),(76,45,'45-Ring8.jpeg','','base',0,1315999690,1315999690),(77,45,'45-Ring8-1.jpeg','','base',0,1315999711,1315999711),(78,45,'45-Ring8-2.jpeg','','base',0,1315999735,1315999735),(79,45,'45-Ring8-3.jpeg','','base',0,1315999758,1315999758),(80,45,'45-Ring8-4.jpeg','','base',0,1315999780,1315999780),(81,46,'46-Ring9.jpeg','','base',0,1316008309,1316008309),(82,46,'46-Ring9-1.jpeg','','base',0,1316008346,1316008346),(83,46,'46-Ring9-3.jpeg','','base',0,1316008377,1316008377),(84,46,'46-Ring9-2.jpeg','','base',0,1316008428,1316008428),(85,46,'46-Ring9-4.jpeg','','base',0,1316008464,1316008464),(86,47,'47-WRing1.jpeg','','base',0,1316082368,1316082368),(87,47,'47-WRing1-1.jpeg','','base',0,1316082398,1316082398),(88,47,'47-WRing1-2.jpeg','','base',0,1316082439,1316082439),(89,48,'48-WRing2.jpeg','','base',0,1316082692,1316082692),(90,48,'48-WRing2-1.jpeg','','base',0,1316082716,1316082716),(91,48,'48-WRing2-2.jpeg','','base',0,1316082739,1316082739),(92,48,'48-WRing2-3.jpeg','','base',0,1316082763,1316082763),(93,49,'49-WRing3.jpeg','','base',0,1316083054,1316083054),(94,49,'49-WRing3-1.jpeg','','base',0,1316083073,1316083073),(95,49,'49-WRing3-2.jpeg','','base',0,1316083104,1316083104),(96,49,'49-WRing3-3.jpeg','','base',0,1316083127,1316083127),(97,50,'50-WRing4.jpeg','','base',0,1316083356,1316083356),(98,50,'50-WRing4-1.jpeg','','base',0,1316083390,1316083390),(99,50,'50-WRing4-2.jpeg','','base',0,1316083419,1316083419),(100,50,'50-WRing4-3.jpeg','','base',0,1316083455,1316083455),(101,51,'51-WRing5.jpeg','','base',0,1316083709,1316083709),(102,51,'51-WRing5-1.jpeg','','base',0,1316083731,1316083731),(103,51,'51-WRing5-2.jpeg','','base',0,1316083755,1316083755),(104,52,'52-WRing6.jpeg','','base',0,1316084024,1316084024),(105,52,'52-WRing6-1.jpeg','','base',0,1316084047,1316084047),(106,52,'52-WRing6-2.jpeg','','base',0,1316084078,1316084078),(107,53,'53-W7.jpeg','','base',0,1316085122,1316085122),(108,53,'53-W7-2.jpeg','','base',0,1316085151,1316085151),(109,53,'53-W7-1.jpeg','','base',0,1316085186,1316085186),(110,53,'53-W7-3.jpeg','','base',0,1316085209,1316085209),(111,53,'53-W7-4.jpeg','','base',0,1316085232,1316085232),(112,54,'54-W8.jpeg','','base',0,1316086034,1316086034),(113,54,'54-W8-1.jpeg','','base',0,1316086096,1316086096),(114,54,'54-W8-2.jpeg','','base',0,1316086120,1316086120),(115,54,'54-W8-3.jpeg','','base',0,1316086145,1316086145),(116,55,'55-W9.jpeg','','base',0,1316087480,1316087480),(117,55,'55-W9-1.jpeg','','base',0,1316087546,1316087546),(118,55,'55-W9-2.jpeg','','base',0,1316087628,1316087628),(119,55,'55-W9-3.jpeg','','base',0,1316087649,1316087649),(120,56,'56-W10.jpeg','','base',0,1316087957,1316087957),(121,56,'56-W10-1.jpeg','','base',0,1316087980,1316087980),(122,56,'56-W10-2.jpeg','','base',0,1316088006,1316088006),(123,56,'56-W10-3.jpeg','','base',0,1316088031,1316088031),(124,57,'57-W11.jpeg','','base',0,1316089158,1316089158),(125,57,'57-W11-1.jpeg','','base',0,1316089196,1316089196),(126,57,'57-W11-2.jpeg','','base',0,1316089216,1316089216),(127,57,'57-W11-3.jpeg','','base',0,1316089243,1316089243),(128,57,'57-W11-4.jpeg','','base',0,1316089266,1316089266),(129,58,'58-W12.jpeg','','base',0,1316089983,1316089983),(130,58,'58-W12-1.jpeg','','base',0,1316090016,1316090016),(131,58,'58-W12-2.jpeg','','base',0,1316090041,1316090041),(132,58,'58-W12-3.jpeg','','base',0,1316090070,1316090070),(133,59,'59-AB27501400_hero2.jpg','Flora Vida Diamond Wedding Ring','base',0,1316158848,1316158848),(134,62,'1-Mens-Diamond-Rings-18k-White-Gold-6mm-Etched-Channel-Set-Diamond-Wedding-Ring-medium4582.jpg','1-Mens-Diamond-Rings-18k-White-Gold-6mm-Etched-Channel-Set-Diamond-Wedding-Ring-medium','base',1,1263279097,1263279096),(135,62,'59-AB27501400_hero2.jpg','desc','base',1,1317983144,1317983144),(136,63,'59-AB27501400_hero2.jpg','desc','base',1,1317983524,1317983524),(137,63,'59-AB27501400_hero2.jpg','desc','thumb',2,1317983524,1317983524),(138,63,'59-AB27501400_hero2.jpg','desc','base',1,1317983652,1317983652),(139,63,'59-AB27501400_hero2.jpg','desc','thumb',2,1317983652,1317983652),(140,64,'58-W12-2.jpeg','desc','base',1,1317983908,1317983908),(141,64,'58-W12-2.jpeg','desc','thumb',2,1317983908,1317983908);

--
-- Table structure for table `bstock_jwl_products_multilevel_prices`
--

CREATE TABLE `bstock_jwl_products_multilevel_prices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(10) NOT NULL,
  `user_group_id` int(10) NOT NULL,
  `qty` decimal(10,2) NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `metal_id` int(10) NOT NULL,
  `carat_id` int(10) NOT NULL,
  `special_price` decimal(10,2) NOT NULL,
  `special_price_from_date` int(10) NOT NULL,
  `special_price_to_date` int(10) 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=65 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_multilevel_prices`
--

INSERT INTO `bstock_jwl_products_multilevel_prices` VALUES (1,7,1,5.00,1800.00,2,2,0.00,1312201618,1312201618,'on',1312526295,1312526295),(2,8,1,1.00,1800.00,2,1,1600.00,1312201568,1312201568,'on',1312633568,1312633568),(3,9,1,1.00,1800.00,2,1,1600.00,1312201618,1312201618,'on',1312633618,1312633618),(7,10,87,1.00,888.00,2,2,827.00,1312699384,1314686584,'on',1312699384,1312699384),(6,10,87,1.00,777.00,2,1,727.00,1312699102,1314686302,'on',1312699102,1312699102),(8,11,87,1.00,900.00,2,2,750.00,1313305096,1344927496,'on',1313477896,1313477896),(9,12,87,1.00,1000.00,2,2,230.00,1312182096,1317452496,'on',1313478096,1313478096),(10,3,87,1.00,999.00,2,2,0.00,0,0,'on',1313478450,1313478450),(11,2,87,1.00,1200.00,2,2,1100.00,1313306014,1344928414,'on',1313478814,1313478814),(12,1,87,1.00,1100.00,2,2,1000.00,1313306137,1344928537,'on',1313478937,1313478937),(13,4,87,1.00,800.00,2,2,650.00,1313306251,1344928651,'on',1313479051,1313479051),(14,13,87,1.00,1000.00,2,2,900.00,1313307470,1344929870,'on',1313480270,1313480270),(15,14,87,1.00,700.00,2,1,0.00,0,0,'on',1314261090,1314261090),(16,15,87,1.00,777.00,2,1,0.00,0,0,'on',1314262190,1314262190),(17,15,87,1.00,888.00,2,2,0.00,0,0,'on',1314262190,1314262190),(18,16,87,10.00,33333.00,5,1,0.00,0,0,'on',1314268275,1314268275),(19,17,87,0.00,0.00,2,1,0.00,0,0,'on',1314269754,1314269754),(20,18,97,0.00,0.00,3,2,0.00,0,0,'on',1314270355,1314270355),(21,26,87,0.00,0.00,2,1,0.00,0,0,'on',1314360890,1314360890),(22,29,87,0.00,0.00,1,1,0.00,0,0,'on',1314618055,1314618055),(23,30,87,0.00,0.00,1,1,0.00,0,0,'on',1314619183,1314619183),(24,32,87,1.00,900.00,2,2,0.00,0,0,'on',1314621754,1314621754),(25,31,87,1.00,1000.00,2,1,0.00,0,0,'on',1314623337,1314623337),(26,33,87,1.00,100.00,2,1,0.00,0,0,'on',1314626455,1314626455),(27,6,87,3.00,1000.00,2,1,0.00,0,0,'on',1314689661,1314689661),(28,34,87,1.00,555.00,2,1,0.00,0,0,'on',1315483837,1315483837),(29,34,87,1.00,666.00,1,2,0.00,0,0,'on',1315483837,1315483837),(30,35,87,50.00,1000.00,2,1,950.00,0,0,'on',1315634799,1315634799),(31,35,87,50.00,900.00,3,1,850.00,0,0,'on',1315634799,1315634799),(32,36,87,0.00,1000.00,2,1,0.00,0,0,'on',1315994034,1315994034),(33,37,87,0.00,1500.00,2,1,0.00,0,0,'on',1315994543,1315994543),(34,37,87,0.00,1000.00,3,1,0.00,0,0,'on',1315994543,1315994543),(35,38,87,3.00,3333.00,2,1,333.00,1323508097,1323680897,'on',1315994897,1315994897),(36,40,87,0.00,2200.00,2,1,0.00,0,0,'on',1315995200,1315995200),(37,41,87,0.00,2000.00,2,1,0.00,0,0,'on',1315996273,1315996273),(38,42,87,0.00,1700.00,2,1,0.00,0,0,'on',1315997202,1315997202),(39,43,87,0.00,1000.00,2,1,0.00,0,0,'on',1315998156,1315998156),(40,44,87,0.00,1200.00,2,1,0.00,0,0,'on',1315998898,1315998898),(41,45,87,0.00,950.00,2,1,0.00,0,0,'on',1315999634,1315999634),(42,46,87,0.00,3200.00,2,2,0.00,0,0,'on',1316008169,1316008169),(43,47,87,0.00,400.00,2,1,0.00,0,0,'on',1316082324,1316082324),(44,48,87,0.00,900.00,2,1,0.00,0,0,'on',1316082666,1316082666),(45,49,87,0.00,1000.00,2,1,0.00,0,0,'on',1316083030,1316083030),(46,50,87,0.00,1250.00,2,2,0.00,0,0,'on',1316083272,1316083272),(47,51,87,0.00,900.00,2,1,0.00,0,0,'on',1316083685,1316083685),(48,52,87,0.00,1300.00,2,1,0.00,0,0,'on',1316084000,1316084000),(49,53,87,0.00,950.00,2,1,0.00,0,0,'on',1316085082,1316085082),(50,54,87,0.00,1050.00,2,1,0.00,0,0,'on',1316086001,1316086001),(51,55,87,0.00,1020.00,2,1,0.00,0,0,'on',1316087452,1316087452),(52,56,87,0.00,1200.00,2,1,0.00,0,0,'on',1316087918,1316087918),(53,57,87,0.00,1350.00,2,1,0.00,0,0,'on',1316089057,1316089057),(54,58,87,0.00,1400.00,2,1,0.00,0,0,'on',1316089946,1316089946),(55,59,87,1.00,999.00,2,1,888.00,0,0,'on',1316158754,1316158754),(56,59,87,1.00,1000.00,2,2,777.00,0,0,'on',1316158754,1316158754),(57,61,87,1.00,600.00,2,1,555.00,1317466014,1319190414,'on',1317721614,1317721614),(58,62,1,100.00,5000.00,1,2,0.00,0,0,'on',1317981917,1317981917),(59,63,1,100.00,5000.00,1,2,0.00,0,0,'on',1317983524,1317983524),(60,63,2,150.00,6000.00,2,3,0.00,0,0,'on',1317983524,1317983524),(61,63,1,100.00,5000.00,1,2,0.00,0,0,'on',1317983652,1317983652),(62,63,2,150.00,6000.00,2,3,0.00,0,0,'on',1317983652,1317983652),(63,64,1,100.00,5000.00,1,2,4500.00,1318118460,1318291260,'on',1317983908,1317983908),(64,64,2,150.00,6000.00,2,3,0.00,0,0,'on',1317983908,1317983908);

--
-- Table structure for table `bstock_jwl_products_size_and_total_carats_used`
--

CREATE TABLE `bstock_jwl_products_size_and_total_carats_used` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(10) NOT NULL,
  `size_from` decimal(10,2) NOT NULL,
  `size_to` decimal(10,2) NOT NULL,
  `no_of_diamond_pieces` int(10) NOT NULL,
  `total_carat_weight` float(10,2) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=87 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_size_and_total_carats_used`
--

INSERT INTO `bstock_jwl_products_size_and_total_carats_used` VALUES (1,4,2.00,4.00,15,1.10,2147483647,0),(2,4,4.50,6.00,17,1.20,1309182719,1309182719),(3,4,6.50,9.00,19,1.30,1309182933,1309182933),(4,6,3.00,5.00,15,2.00,1311163908,1311163908),(5,6,5.50,9.00,18,2.20,1311163908,1311163908),(6,7,1.00,6.00,15,2.50,1312526295,1312526295),(7,7,6.50,9.00,18,2.80,1312526295,1312526295),(8,10,3.00,9.00,10,1.20,1312699102,1312699102),(9,11,3.00,6.00,10,0.50,1313477436,1313477436),(10,11,6.00,9.00,14,1.00,1313477436,1313477436),(11,12,3.00,8.00,15,1.50,1313478096,1313478096),(12,3,3.00,8.50,14,0.50,1313478450,1313478450),(13,2,3.00,6.00,1,1.40,1313478814,1313478814),(14,2,6.00,9.00,1,1.80,1313478814,1313478814),(15,1,3.00,6.00,10,1.40,1313478937,1313478937),(16,1,6.00,9.00,14,1.60,1313478937,1313478937),(17,13,3.00,6.00,6,0.23,1313480270,1313480270),(18,13,6.00,9.00,8,0.80,1313480270,1313480270),(19,14,3.00,8.00,2,1.50,1314261090,1314261090),(20,15,3.00,9.00,3,1.00,1314262190,1314262190),(21,15,0.00,0.00,0,0.00,1314262190,1314262190),(22,16,3.00,3.00,0,1.00,1314268275,1314268275),(23,17,3.00,9.00,0,3.00,1314269754,1314269754),(24,18,3.00,4.00,0,3.00,1314270355,1314270355),(25,19,4.00,3.50,3,9.00,1314351693,1314351693),(26,26,0.00,0.00,0,0.00,1314360890,1314360890),(27,29,3.50,4.00,1,3.00,1314618055,1314618055),(28,30,3.50,4.50,1,3.00,1314619183,1314619183),(29,30,4.00,8.50,1,3.00,1314620196,1314620196),(30,31,3.00,5.00,15,2.00,1314621371,1314621371),(31,31,5.50,9.00,18,2.20,1314621371,1314621371),(32,32,3.00,6.00,10,0.50,1314621754,1314621754),(33,32,6.00,9.00,14,1.00,1314621754,1314621754),(34,33,3.00,9.00,1,1.00,1314626455,1314626455),(35,33,3.00,9.00,1,1.00,1314626455,1314626455),(36,34,3.00,7.50,10,0.20,1315483837,1315483837),(37,34,7.50,9.00,12,0.50,1315483837,1315483837),(38,35,3.00,6.00,1,0.50,1315634799,1315634799),(39,35,6.00,9.00,1,1.40,1315634799,1315634799),(40,8,3.00,9.00,0,0.00,1315811214,1315811214),(41,33,3.00,9.00,1,1.75,1315992538,1315992538),(42,33,3.00,9.00,1,1.75,1315992538,1315992538),(43,33,0.00,0.00,0,0.00,1315992659,1315992659),(44,33,3.00,9.00,1,1.75,1315992659,1315992659),(45,33,3.00,9.00,1,1.75,1315992659,1315992659),(46,33,0.00,0.00,0,0.00,1315993087,1315993087),(47,18,3.00,9.00,1,1.75,1315993290,1315993290),(48,18,3.00,9.00,1,2.00,1315993290,1315993290),(49,36,3.00,9.00,1,1.40,1315994034,1315994034),(50,37,3.00,6.00,1,1.20,1315994543,1315994543),(51,37,6.00,9.00,1,1.90,1315994543,1315994543),(52,38,3.00,9.00,1,3.00,1315994897,1315994897),(53,38,3.00,9.00,1,3.00,1315994897,1315994897),(54,40,3.00,9.00,1,1.40,1315995200,1315995200),(55,41,3.00,6.00,12,0.29,1315996273,1315996273),(56,41,6.00,9.00,16,0.50,1315996273,1315996273),(57,42,3.00,7.00,10,0.22,1315997202,1315997202),(58,42,7.00,9.00,12,0.29,1315997202,1315997202),(59,43,3.00,9.00,12,0.50,1315998156,1315998156),(60,44,3.00,9.00,12,0.70,1315998898,1315998898),(61,45,3.00,9.00,12,0.65,1315999634,1315999634),(62,46,3.00,4.00,126,1.20,1316008169,1316008169),(63,46,4.50,6.00,132,1.40,1316008169,1316008169),(64,46,6.50,9.00,144,3.40,1316008169,1316008169),(65,50,3.00,9.00,14,0.85,1316083272,1316083272),(66,52,3.00,5.50,1,0.10,1316084000,1316084000),(67,52,6.00,9.00,1,0.30,1316084000,1316084000),(68,53,3.00,6.00,10,0.40,1316085082,1316085082),(69,53,6.50,9.00,12,0.60,1316085082,1316085082),(70,54,3.00,5.50,39,2.33,1316086001,1316086001),(71,54,6.00,9.00,42,2.50,1316086001,1316086001),(72,56,3.00,9.00,25,2.90,1316087918,1316087918),(73,59,3.00,6.00,10,0.60,1316158754,1316158754),(74,59,6.50,9.00,15,0.90,1316158754,1316158754),(75,61,3.00,6.00,4,0.60,1317721614,1317721614),(76,61,6.50,9.00,6,0.80,1317721614,1317721614),(77,62,1.00,6.00,1,0.80,1317981222,1317981222),(78,62,6.50,9.00,1,1.00,1317981222,1317981222),(79,62,1.00,6.00,1,0.80,1317981222,1317981222),(80,62,1.00,6.00,5,0.80,1317981222,1317981222),(81,63,1.00,6.00,6,0.80,1317983524,1317983524),(82,63,6.50,9.00,8,1.00,1317983524,1317983524),(83,63,1.00,6.00,6,0.80,1317983652,1317983652),(84,63,6.50,9.00,8,1.00,1317983652,1317983652),(85,64,1.00,6.00,6,0.80,1317983908,1317983908),(86,64,6.50,9.00,8,1.00,1317983908,1317983908);

--
-- Table structure for table `bstock_jwl_products_up_sell`
--

CREATE TABLE `bstock_jwl_products_up_sell` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `jwl_product_id` int(10) NOT NULL,
  `product_id` int(10) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `jwl_product_id` (`jwl_product_id`,`product_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_up_sell`
--

INSERT INTO `bstock_jwl_products_up_sell` VALUES (1,7,7,1312526396,1312526396),(2,7,6,1312526397,1312526397),(3,14,14,1314261157,1314261157),(4,14,13,1314261157,1314261157),(5,15,15,1314262240,1314262240),(6,15,14,1314262240,1314262240),(7,15,13,1314262242,1314262242);

--
-- Table structure for table `bstock_jwl_products_videos`
--

CREATE TABLE `bstock_jwl_products_videos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `path` varchar(500) NOT NULL,
  `description` varchar(500) NOT NULL,
  `type` enum('base','hand video') NOT NULL,
  `order` int(11) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  `jwl_product_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_jwl_products_videos`
--

INSERT INTO `bstock_jwl_products_videos` VALUES (1,'6-RingMaxwell.flv','','base',0,1316065918,1316065918,6),(8,'45-RingMaxwell.flv','','base',0,1316079217,1316079217,45),(4,'43-RingMaxwell.flv','','base',0,1316074320,1316074320,43),(5,'42-RingMaxwell.flv','','base',0,1316074478,1316074478,42),(6,'46-RingMaxwell.flv','','base',0,1316074630,1316074630,46),(7,'34-RingMaxwell.flv','','base',0,1316074780,1316074780,34),(9,'59-6-RingMaxwell.flv','video','base',0,1316159106,1316159106,59),(10,'59-6-RingMaxwell.flv ','desc','base',1,1317983144,1317983144,62),(11,'59-6-RingMaxwell.flv ','desc','base',1,1317983524,1317983524,63),(12,'59-6-RingMaxwell.flv ','desc','hand video',2,1317983524,1317983524,63),(13,'59-6-RingMaxwell.flv ','desc','base',1,1317983652,1317983652,63),(14,'59-6-RingMaxwell.flv ','desc','hand video',2,1317983652,1317983652,63),(15,'59-6-RingMaxwell.flv ','desc','base',1,1317983908,1317983908,64),(16,'59-6-RingMaxwell.flv ','desc','hand video',2,1317983908,1317983908,64);

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

CREATE TABLE `bstock_karigar` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primary key.',
  `karigar_name` varchar(250) NOT NULL,
  `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_karigar`
--

INSERT INTO `bstock_karigar` 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 `bstock_karigar_metal_info`
--

CREATE TABLE `bstock_karigar_metal_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `karigar_id` int(11) NOT NULL,
  `metal_weight` int(11) NOT NULL,
  `date_given` varchar(15) NOT NULL,
  `date_given_timestamp` int(11) NOT NULL,
  `remarks` varchar(500) NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COMMENT='Stores metal given to karigar.';

--
-- Dumping data for table `bstock_karigar_metal_info`
--

INSERT INTO `bstock_karigar_metal_info` VALUES (1,1,200,'09/27/2010',1285587771,'',1285674171,1285674171),(2,2,300,'09/28/2010',1285679303,'',1285679303,1285679303),(3,3,2,'09/28/2010',1285680202,'',1285680202,1285680202),(4,3,10,'09/24/2010',1285334774,'',1285680374,1285680374);

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

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

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


--
-- Table structure for table `bstock_manuprocess_labour`
--

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

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


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

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

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


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

CREATE TABLE `bstock_metal_carat_multiplier` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'this is primary key',
  `karat` varchar(10) NOT NULL,
  `24_karat_value` varchar(50) NOT NULL,
  `is_active` enum('on','off') NOT NULL DEFAULT 'on',
  `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 `bstock_metal_carat_multiplier`
--

INSERT INTO `bstock_metal_carat_multiplier` VALUES (1,'16','66.66','on','1263281971','1263281971'),(2,'18','75','on','1263281971','1263281971'),(3,'20','83.33','on','1263281971','1263281971'),(4,'24','99.99','on','1263281971','1263281971');

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

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

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

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

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

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

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

INSERT INTO `bstock_modules` VALUES (1,'Products','bstock_products',1,'1','1','on','',''),(2,'Customers','bstock_customers',0,'1','0','on','',''),(3,'Profiles','bstock_userprofiles',0,'1','0','on','',''),(4,'Orders','bstock_orders',1,'1','0','off','',''),(5,'Fields','bstock_fields',1,'1','0','on','',''),(6,'Plugins','bstock_plugins',1,'1','0','on','',''),(7,'Invoices','bstock_invoices',0,'1','','on','',''),(8,'Companies','bstock_exporters',0,'1','0','off','',''),(9,'Angadia','bstock_angadia',0,'','','off','',''),(10,'Vendors','bstock_vendors',0,'1','','off','',''),(11,'Brokers','bstock_brokers',0,'1','0','off','',''),(12,'SystemUsers','bstock_systemusers',0,'1','','on','',''),(13,'JewelryCategory','bstock_jwl_category',0,'1','1','on','',''),(14,'JewelryFields','bstock_jwl_custom_products_fields',0,'','','on','1261227023','1261227023');

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

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

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


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

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

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

INSERT INTO `bstock_options` VALUES (1,0,'stylesheet','MM1','yes'),(2,0,'template','MM1','yes'),(3,0,'home_title','This is my home page title','yes'),(4,0,'logo','logo.jpg','yes'),(5,0,'homepage','home.php','yes'),(6,0,'after_login','searchresult.php','yes'),(7,0,'default_from','accounts@finetardiamonds.com.au','yes'),(8,0,'default_admin','admin@biggventures.com','yes'),(9,0,'after_signup','thank-you.php','yes'),(10,0,'company_name','NA Jewelers','yes'),(11,0,'company_address','Suite 12, Level 4 Dymocks Building,\r\n428 George Street Sydney, NSW 2000','yes'),(12,0,'ABN','ABN 54 147 601 821','yes'),(13,0,'gst','10','yes'),(14,0,'usd_aud_rate','1.013','yes'),(15,0,'margin','10','yes'),(16,0,'default_so_id','00010011','yes'),(17,0,'default_po_id','1','yes'),(18,0,'default_jhangad_id','00010011','yes'),(19,0,'default_stone_id','1','yes'),(20,0,'company_phone','61 2 8114 0270 / 61 2 8114 0271','yes'),(21,0,'company_fax','61 2 8114 0272','yes'),(22,0,'company_email','info@finestardiamonds.com.au','yes'),(23,0,'latest_so_and_appro_id','00010320','yes');

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

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

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

INSERT INTO `bstock_orderbilling` VALUES (1,0,3600,'1312027642','1312027642'),(2,10184,3625,'1312177944','1312177944'),(3,0,3624,'1312313902','1312313902'),(4,0,3625,'1312314144','1312314144'),(5,0,3625,'1312314264','1312314264'),(6,0,3625,'1312314334','1312314334'),(7,0,3625,'1312314746','1312314746'),(8,0,3625,'1312316156','1312316156'),(9,10185,3625,'1312316888','1312316888'),(10,10186,3626,'1312317076','1312317076'),(11,10187,3626,'1312317352','1312317352'),(12,10191,3627,'1312317545','1312317545'),(13,10192,3629,'1312453243','1312453243'),(14,10193,3630,'1312454723','1312454723'),(15,10194,3630,'1312455999','1312455999'),(16,1,3630,'1312456114','1312456114'),(17,1,3630,'1312456676','1312456676'),(18,2,3630,'1312456765','1312456765'),(19,3,3631,'1312456842','1312456842'),(20,4,3631,'1312457492','1312457492'),(21,5,3631,'1312457621','1312457621'),(22,6,3631,'1312457788','1312457788'),(23,7,3631,'1312457896','1312457896'),(24,8,3631,'1312457954','1312457954'),(25,9,3631,'1312458258','1312458258'),(26,10,3631,'1312458341','1312458341'),(27,11,3631,'1312458409','1312458409'),(28,12,3631,'1312458494','1312458494'),(29,13,3631,'1312458763','1312458763'),(30,14,3631,'1312458823','1312458823'),(31,15,3631,'1312486521','1312486521'),(32,0,3631,'1312486635','1312486635'),(33,16,3631,'1312486683','1312486683'),(34,17,3631,'1312486819','1312486819'),(35,18,3632,'1312541551','1312541551'),(36,19,3631,'1312622909','1312622909'),(37,20,3633,'1313069051','1313069051'),(38,22,3631,'1313151514','1313151514'),(39,23,3631,'1313152102','1313152102'),(40,24,3631,'1313152315','1313152315'),(41,25,3631,'1313152466','1313152466'),(42,26,3631,'1313152631','1313152631'),(43,31,3631,'1313153062','1313153062'),(44,32,3631,'1313153164','1313153164'),(45,33,3631,'1313153481','1313153481'),(46,34,3631,'1313154028','1313154028'),(47,35,3631,'1313154877','1313154877'),(48,36,3631,'1313225797','1313225797'),(49,37,3631,'1313229653','1313229653'),(50,38,3631,'1313231893','1313231893'),(51,39,3634,'1313236907','1313236907'),(52,40,3635,'1314272528','1314272528'),(53,42,3637,'1314345378','1314345378'),(54,43,3637,'1314348509','1314348509'),(55,44,3637,'1314353224','1314353224'),(56,45,3638,'1314353359','1314353359'),(57,46,3638,'1314366788','1314366788'),(58,48,3642,'1314607992','1314607992'),(59,49,3642,'1314608138','1314608138'),(60,51,3644,'1315571839','1315571839'),(61,53,3644,'1315822221','1315822221'),(62,54,3647,'1315823865','1315823865'),(63,55,3647,'1315824593','1315824593'),(64,56,3647,'1315824750','1315824750'),(65,57,3647,'1315824842','1315824842'),(66,58,3647,'1315825039','1315825039'),(67,59,3647,'1315825310','1315825310'),(68,60,3647,'1315825400','1315825400'),(69,61,3647,'1315827488','1315827488'),(70,62,3647,'1315827693','1315827693'),(71,63,3648,'1315828946','1315828946'),(72,64,3649,'1315829521','1315829521'),(73,65,3650,'1315830249','1315830249'),(74,66,3651,'1315831247','1315831247'),(75,67,3652,'1315836451','1315836451'),(76,68,3653,'1315915752','1315915752'),(77,69,3654,'1315918365','1315918365'),(78,70,3654,'1315992457','1315992457'),(79,71,3654,'1315994834','1315994834'),(80,72,3655,'1316007775','1316007775'),(81,73,3656,'1316026418','1316026418'),(82,74,3657,'1316033321','1316033321'),(83,75,3658,'1316065443','1316065443'),(84,76,3659,'1316066893','1316066893'),(85,77,3660,'1316067336','1316067336'),(86,78,3661,'1316067663','1316067663'),(87,79,3662,'1316068018','1316068018'),(88,80,3663,'1316068607','1316068607'),(89,81,3664,'1316068855','1316068855'),(90,82,3665,'1316069665','1316069665'),(91,83,3666,'1316069953','1316069953'),(92,84,3667,'1316070776','1316070776'),(93,85,3667,'1316070965','1316070965'),(94,86,3667,'1316071126','1316071126'),(95,87,3667,'1316071216','1316071216'),(96,88,3668,'1316071270','1316071270'),(97,89,3668,'1316071513','1316071513'),(98,90,3668,'1316071877','1316071877'),(99,91,3668,'1316072037','1316072037'),(100,92,3669,'1316072377','1316072377'),(101,93,3669,'1316072719','1316072719'),(102,94,3670,'1316072777','1316072777'),(103,95,3670,'1316072914','1316072914'),(104,96,3671,'1316073344','1316073344'),(105,97,3672,'1316073675','1316073675'),(106,98,3673,'1316073960','1316073960'),(107,99,3674,'1316074161','1316074161'),(108,100,3675,'1316074415','1316074415'),(109,101,3676,'1316074694','1316074694'),(110,102,3677,'1316074893','1316074893'),(111,103,3678,'1316075121','1316075121'),(112,104,3679,'1316075293','1316075293'),(113,105,3680,'1316075347','1316075347'),(114,106,3681,'1316077348','1316077348'),(115,107,3681,'1316078905','1316078905'),(116,108,3681,'1316079436','1316079436'),(117,109,3681,'1316080957','1316080957'),(118,110,3681,'1316081128','1316081128'),(119,111,3682,'1316083118','1316083118'),(120,112,3683,'1316083524','1316083524'),(121,113,3684,'1316084882','1316084882'),(122,114,3633,'1316084887','1316084887'),(123,115,3684,'1316085039','1316085039'),(124,116,3633,'1316085090','1316085090'),(125,117,3633,'1316085640','1316085640'),(126,118,3685,'1316085759','1316085759'),(127,119,3633,'1316086701','1316086701'),(128,120,3633,'1316090124','1316090124'),(129,121,3633,'1316090392','1316090392'),(130,0,3633,'1316090452','1316090452'),(131,0,3633,'1316090561','1316090561'),(132,0,3633,'1316090570','1316090570'),(133,0,3633,'1316090606','1316090606'),(134,0,3633,'1316090632','1316090632'),(135,0,3633,'1316090716','1316090716'),(136,0,3633,'1316090810','1316090810'),(137,0,3633,'1316090907','1316090907'),(138,0,3633,'1316091024','1316091024'),(139,1,3686,'1316092847','1316092847'),(140,2,3686,'1316094230','1316094230'),(141,0,3686,'1316094622','1316094622'),(142,3,3686,'1316094732','1316094732'),(143,4,3686,'1316095025','1316095025'),(144,5,3687,'1316095359','1316095359'),(145,6,3687,'1316095369','1316095369'),(146,7,3687,'1316095583','1316095583'),(147,8,3633,'1316103071','1316103071'),(148,9,3688,'1316103748','1316103748'),(149,10,3689,'1316105102','1316105102'),(150,11,3688,'1316105683','1316105683'),(151,12,3690,'1316105779','1316105779'),(152,13,3691,'1316106322','1316106322'),(153,14,3689,'1316114611','1316114611'),(154,15,3692,'1316150698','1316150698'),(155,16,3693,'1316150702','1316150702'),(156,17,3693,'1316151802','1316151802'),(157,18,3693,'1316152906','1316152906'),(158,19,3693,'1316154717','1316154717'),(159,20,3693,'1316155027','1316155027'),(160,21,3693,'1316155765','1316155765'),(161,22,3693,'1316156742','1316156742'),(162,23,3694,'1316158812','1316158812'),(163,24,3695,'1316168304','1316168304'),(164,25,3696,'1316761811','1316761811'),(165,26,3696,'1316767875','1316767875');

--
-- Table structure for table `bstock_orderdeliverystatus`
--

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

--
-- Dumping data for table `bstock_orderdeliverystatus`
--

INSERT INTO `bstock_orderdeliverystatus` VALUES (1,'Order Placed','Invoice Created','on','',''),(2,'Order Issued','Order Issued','on','',''),(3,'Order Issued Partial','Order Issued Partial','on','',''),(4,'Order Couriered Full','Order Couriered Full','on','',''),(5,'Order Couriered Partial','Order Couriered Partial','on','',''),(6,'Order Partially Returned','Order Partially Returned','on','',''),(7,'Order Returned Full','Order Returned Full','on','','');

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

CREATE TABLE `bstock_orderitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key for the order items.',
  `order_id` int(8) unsigned zerofill NOT NULL COMMENT 'Foreign key that is mapped to primary key of orders table.',
  `product_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of products table.',
  `jewelry_id` int(10) NOT NULL COMMENT 'This will store the jewelryid/setting of the ring/jewelry selected. The id will be primary key from  bstock_orderitems_jewelry table',
  `quantity` int(10) NOT NULL COMMENT 'Quantity ordered for this particular item.',
  `price` decimal(10,2) NOT NULL COMMENT 'The price for this item after multiplying with quantity.',
  `price_inr` decimal(10,2) NOT NULL,
  `product_status_in_this_order` enum('Order Placed','Order Partially Returned','Order Returned Full') NOT NULL DEFAULT 'Order Placed' COMMENT 'This field will store the product item status belonging to particular order',
  `quantity_returned` float(10,3) NOT NULL COMMENT 'The quanity returned from the order',
  `percent_back` decimal(10,2) NOT NULL,
  `aadat` decimal(10,2) NOT NULL,
  `dollar_rate` decimal(10,2) NOT NULL,
  `cash_back` decimal(10,2) NOT NULL,
  `total_in_dollar` decimal(10,2) NOT NULL,
  `total_in_inr` decimal(10,2) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `broker_id_1` int(10) NOT NULL,
  `brokerage_1` decimal(10,2) NOT NULL,
  `brokerage_1_amt_inr` decimal(10,2) NOT NULL,
  `broker_id_2` int(10) NOT NULL,
  `brokerage_2` decimal(10,2) NOT NULL,
  `profit_amount` decimal(10,4) NOT NULL,
  `profit_percent` decimal(10,4) NOT NULL,
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the date when this record was inserted i.e. when the order was placed.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `discount_percent` varchar(20) NOT NULL COMMENT 'Percentage of discount offered on this order item.',
  `discount_value` varchar(20) NOT NULL COMMENT 'Discount (in value) offered on this order item.',
  `quantity_shipped` int(10) NOT NULL COMMENT 'This will be the quantity of the item that has been shipped so far.',
  `exporter_id` int(11) NOT NULL,
  `piece_price_inr` decimal(10,0) NOT NULL,
  `piece_price_dollar` decimal(10,0) NOT NULL,
  `carat_selling_price` decimal(10,2) NOT NULL COMMENT 'Selling price in carats in AUD',
  `size` decimal(10,3) NOT NULL COMMENT 'Size sold (incase of loose parcels)',
  `invoice_note` varchar(500) NOT NULL COMMENT 'Note that appears besides each product on the invoice.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=104 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

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

INSERT INTO `bstock_orderitems` VALUES (1,00000001,365,0,1,1672.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1672.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(2,00000001,963,1,1,29040.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,29040.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(3,00000001,0,1,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(4,00000001,0,1,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(5,00000001,0,1,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(6,00000001,963,2,1,29040.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,29040.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(7,00000001,0,2,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(8,00000001,0,2,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(9,00000001,963,2,1,29040.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,29040.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(10,00000001,365,3,1,1672.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1672.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316092847','1316092847','','',0,0,0,0,0.00,0.000,''),(11,00000002,458,4,2,8800.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,8800.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094230','1316094230','','',0,0,0,0,0.00,0.000,''),(12,00000002,458,4,2,8800.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,8800.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094230','1316094230','','',0,0,0,0,0.00,0.000,''),(13,00000002,105,4,2,10208.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,10208.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094230','1316094230','','',0,0,0,0,0.00,0.000,''),(14,00000002,376,5,1,3080.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,3080.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094230','1316094230','','',0,0,0,0,0.00,0.000,''),(15,00000003,397,6,1,4400.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4400.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094732','1316094732','','',0,0,0,0,0.00,0.000,''),(16,00000003,0,7,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094732','1316094732','','',0,0,0,0,0.00,0.000,''),(17,00000003,523,7,1,5984.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,5984.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094732','1316094732','','',0,0,0,0,0.00,0.000,''),(18,00000003,375,7,1,3080.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,3080.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316094732','1316094732','','',0,0,0,0,0.00,0.000,''),(19,00000004,254,8,1,7999.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,7999.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095025','1316095025','','',0,0,0,0,0.00,0.000,''),(20,00000004,369,9,1,580.80,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,580.80,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095025','1316095025','','',0,0,0,0,0.00,0.000,''),(21,00000005,85,0,1,7744.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,7744.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(22,00000005,963,10,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(23,00000005,0,10,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(24,00000005,0,10,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(25,00000005,0,10,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(26,00000005,963,11,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(27,00000005,0,11,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(28,00000005,0,11,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(29,00000005,963,11,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(30,00000005,366,12,1,518.32,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,518.32,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095359','1316095359','','',0,0,0,0,0.00,0.000,''),(31,00000006,254,13,1,7999.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,7999.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095369','1316095369','','',0,0,0,0,0.00,0.000,''),(32,00000007,523,14,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095583','1316095583','','',0,0,0,0,0.00,0.000,''),(33,00000007,377,14,1,739.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,739.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316095583','1316095583','','',0,0,0,0,0.00,0.000,''),(34,00000008,367,15,1,463.76,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,463.76,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316103071','1316103071','','',0,0,0,0,0.00,0.000,''),(35,00000009,372,0,1,1320.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1320.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316103748','1316103748','','',0,0,0,0,0.00,0.000,''),(36,00000010,382,16,1,880.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,880.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316105102','1316105102','','',0,0,0,0,0.00,0.000,''),(37,00000010,108,0,1,3256.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,3256.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316105102','1316105102','','',0,0,0,0,0.00,0.000,''),(38,00000011,371,17,1,462.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,462.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316105683','1316105683','','',0,0,0,0,0.00,0.000,''),(39,00000012,109,0,1,3256.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,3256.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316105779','1316105779','','',0,0,0,0,0.00,0.000,''),(40,00000013,523,18,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316106322','1316106322','','',0,0,0,0,0.00,0.000,''),(41,00000013,380,18,1,633.60,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,633.60,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316106322','1316106322','','',0,0,0,0,0.00,0.000,''),(42,00000013,112,0,1,2279.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2279.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316106322','1316106322','','',0,0,0,0,0.00,0.000,''),(43,00000014,523,19,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316114611','1316114611','','',0,0,0,0,0.00,0.000,''),(44,00000014,378,19,1,739.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,739.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316114611','1316114611','','',0,0,0,0,0.00,0.000,''),(45,00000015,523,20,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(46,00000015,0,20,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(47,00000016,379,0,1,739.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,739.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(48,00000015,386,20,1,721.60,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,721.60,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(49,00000016,963,21,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(50,00000015,523,22,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(51,00000016,963,21,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(52,00000015,0,22,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(53,00000015,0,22,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(54,00000016,0,21,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(55,00000015,107,0,1,2895.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2895.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150698','1316150698','','',0,0,0,0,0.00,0.000,''),(56,00000016,0,21,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(57,00000016,592,23,1,16016.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,16016.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(58,00000016,963,24,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(59,00000016,963,24,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(60,00000016,0,24,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(61,00000016,103,24,1,1144.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1144.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316150702','1316150702','','',0,0,0,0,0.00,0.000,''),(62,00000017,0,25,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316151802','1316151802','','',0,0,0,0,0.00,0.000,''),(63,00000017,458,25,1,2640.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2640.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316151802','1316151802','','',0,0,0,0,0.00,0.000,''),(64,00000017,110,25,1,2569.60,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2569.60,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316151802','1316151802','','',0,0,0,0,0.00,0.000,''),(65,00000017,0,26,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316151802','1316151802','','',0,0,0,0,0.00,0.000,''),(66,00000017,458,26,1,2640.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2640.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316151802','1316151802','','',0,0,0,0,0.00,0.000,''),(67,00000017,113,26,1,2756.16,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2756.16,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316151802','1316151802','','',0,0,0,0,0.00,0.000,''),(68,00000018,963,27,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316152906','1316152906','','',0,0,0,0,0.00,0.000,''),(69,00000018,814,27,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316152906','1316152906','','',0,0,0,0,0.00,0.000,''),(70,00000018,397,27,1,2200.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2200.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316152906','1316152906','','',0,0,0,0,0.00,0.000,''),(71,00000018,156,27,1,1276.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1276.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316152906','1316152906','','',0,0,0,0,0.00,0.000,''),(72,00000019,0,28,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316154717','1316154717','','',0,0,0,0,0.00,0.000,''),(73,00000019,155,28,1,1496.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1496.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316154717','1316154717','','',0,0,0,0,0.00,0.000,''),(74,00000020,963,29,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316155027','1316155027','','',0,0,0,0,0.00,0.000,''),(75,00000020,814,29,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316155027','1316155027','','',0,0,0,0,0.00,0.000,''),(76,00000020,523,29,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316155027','1316155027','','',0,0,0,0,0.00,0.000,''),(77,00000020,384,29,1,757.68,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,757.68,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316155027','1316155027','','',0,0,0,0,0.00,0.000,''),(78,00000021,0,30,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316155765','1316155765','','',0,0,0,0,0.00,0.000,''),(79,00000021,157,30,1,1929.84,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1929.84,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316155765','1316155765','','',0,0,0,0,0.00,0.510,''),(80,00000022,0,31,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,0.000,''),(81,00000022,963,31,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,1.800,''),(82,00000022,814,31,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,0.650,''),(83,00000022,158,31,1,1122.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1122.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,0.510,''),(84,00000022,0,32,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,0.000,''),(85,00000022,963,32,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,1.800,''),(86,00000022,814,32,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,0.650,''),(87,00000022,385,32,1,649.44,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,649.44,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316156742','1316156742','','',0,0,0,0,0.00,0.410,''),(88,00000023,159,0,1,1346.40,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1346.40,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316158812','1316158812','','',0,0,0,0,0.00,0.510,''),(89,00000023,351,33,1,818.40,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,818.40,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316158812','1316158812','','',0,0,0,0,0.00,0.300,''),(90,00000023,474,34,1,3819.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,3819.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316158812','1316158812','','',0,0,0,0,0.00,0.700,''),(91,00000023,154,35,1,1100.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1100.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316158812','1316158812','','',0,0,0,0,0.00,0.500,''),(92,00000024,160,0,1,1256.64,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,1256.64,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.510,''),(93,00000024,963,36,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,1.800,''),(94,00000024,523,36,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.800,''),(95,00000024,523,36,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.800,''),(96,00000024,0,36,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.000,''),(97,00000024,963,37,1,52272.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,52272.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,1.800,''),(98,00000024,523,37,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.800,''),(99,00000024,523,37,1,4787.20,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,4787.20,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.800,''),(100,00000024,428,37,1,2244.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2244.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,0.510,''),(101,00000024,291,38,1,27812.40,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,27812.40,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316168304','1316168304','','',0,0,0,0,0.00,3.010,''),(102,00000025,115,0,1,7602.32,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,7602.32,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316761811','1316761811','','',0,0,0,0,0.00,1.630,''),(103,00000026,397,39,1,2200.00,0.00,'Order Placed',0.000,0.00,0.00,1.01,0.00,0.00,2200.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1316767875','1316767875','','',0,0,0,0,0.00,0.500,'');

--
-- Table structure for table `bstock_orderitems_jewelry`
--

CREATE TABLE `bstock_orderitems_jewelry` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key for the order items.',
  `order_id` int(8) unsigned zerofill NOT NULL COMMENT 'Foreign key that is mapped to primary key of orders table.',
  `jewelry_product_id` int(10) NOT NULL COMMENT 'Foreign key that is mapped to primary key of products table.',
  `jewelry_type` enum('Jewelry','DYO') NOT NULL DEFAULT 'Jewelry',
  `quantity` int(10) NOT NULL COMMENT 'Quantity ordered for this particular item.',
  `price` decimal(10,2) NOT NULL COMMENT 'The price for this item after multiplying with quantity.',
  `price_inr` decimal(10,2) NOT NULL,
  `product_status_in_this_order` enum('Order Placed','Order Partially Returned','Order Returned Full') NOT NULL DEFAULT 'Order Placed' COMMENT 'This field will store the product item status belonging to particular order',
  `quantity_returned` float(10,3) NOT NULL COMMENT 'The quanity returned from the order',
  `dollar_rate` decimal(10,2) NOT NULL,
  `vendor_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `created_date` int(50) NOT NULL COMMENT 'This will be the date when this record was inserted i.e. when the order was placed.',
  `modified_date` int(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `quantity_shipped` int(10) NOT NULL COMMENT 'This will be the quantity of the item that has been shipped so far.',
  `exporter_id` int(11) NOT NULL,
  `invoice_note` varchar(500) NOT NULL COMMENT 'Note that appears besides each product on the invoice.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=40 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

--
-- Dumping data for table `bstock_orderitems_jewelry`
--

INSERT INTO `bstock_orderitems_jewelry` VALUES (1,00000001,46,'',1,3200.00,0.00,'Order Placed',0.000,45.00,0,0,1316092847,1316092847,0,0,'from website'),(2,00000001,8,'Jewelry',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316092847,1316092847,0,0,'from website'),(3,00000001,35,'DYO',1,1000.00,0.00,'Order Placed',0.000,45.00,0,0,1316092847,1316092847,0,0,'from website'),(4,00000002,43,'Jewelry',2,2000.00,0.00,'Order Placed',0.000,45.00,0,0,1316094230,1316094230,0,0,'from website'),(5,00000002,35,'DYO',1,1000.00,0.00,'Order Placed',0.000,45.00,0,0,1316094230,1316094230,0,0,'from website'),(6,00000003,58,'Jewelry',1,1400.00,0.00,'Order Placed',0.000,45.00,0,0,1316094732,1316094732,0,0,'from website'),(7,00000003,44,'DYO',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316094732,1316094732,0,0,'from website'),(8,00000004,37,'Jewelry',1,1500.00,0.00,'Order Placed',0.000,45.00,0,0,1316095025,1316095025,0,0,'from website'),(9,00000004,52,'DYO',1,1300.00,0.00,'Order Placed',0.000,45.00,0,0,1316095025,1316095025,0,0,'from website'),(10,00000005,46,'',1,3200.00,0.00,'Order Placed',0.000,45.00,0,0,1316095359,1316095359,0,0,'from website'),(11,00000005,8,'Jewelry',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316095359,1316095359,0,0,'from website'),(12,00000005,35,'DYO',1,1000.00,0.00,'Order Placed',0.000,45.00,0,0,1316095359,1316095359,0,0,'from website'),(13,00000006,37,'Jewelry',1,1500.00,0.00,'Order Placed',0.000,45.00,0,0,1316095369,1316095369,0,0,'from website'),(14,00000007,44,'DYO',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316095583,1316095583,0,0,'from website'),(15,00000008,57,'DYO',1,1350.00,0.00,'Order Placed',0.000,45.00,0,0,1316103071,1316103071,0,0,'from website'),(16,00000010,58,'DYO',1,1400.00,0.00,'Order Placed',0.000,45.00,0,0,1316105102,1316105102,0,0,'from website'),(17,00000011,35,'DYO',1,1000.00,0.00,'Order Placed',0.000,45.00,0,0,1316105683,1316105683,0,0,'from website'),(18,00000013,44,'DYO',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316106322,1316106322,0,0,'from website'),(19,00000014,44,'DYO',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316114611,1316114611,0,0,'from website'),(20,00000015,44,'DYO',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316150698,1316150698,0,0,'from website'),(21,00000016,46,'',1,3200.00,0.00,'Order Placed',0.000,45.00,0,0,1316150702,1316150702,0,0,'from website'),(22,00000015,56,'',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316150698,1316150698,0,0,'from website'),(23,00000016,35,'Jewelry',1,1000.00,0.00,'Order Placed',0.000,45.00,0,0,1316150702,1316150702,0,0,'from website'),(24,00000016,8,'DYO',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316150702,1316150702,0,0,'from website'),(25,00000017,8,'DYO',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316151802,1316151802,0,0,'from website'),(26,00000017,43,'DYO',1,1000.00,0.00,'Order Placed',0.000,45.00,0,0,1316151802,1316151802,0,0,'from website'),(27,00000018,41,'DYO',1,2000.00,0.00,'Order Placed',0.000,45.00,0,0,1316152906,1316152906,0,0,'from website'),(28,00000019,8,'DYO',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316154717,1316154717,0,0,'from website'),(29,00000020,44,'DYO',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316155027,1316155027,0,0,'from website'),(30,00000021,8,'DYO',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316155765,1316155765,0,0,'from website'),(31,00000022,8,'DYO',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316156742,1316156742,0,0,'from website'),(32,00000022,7,'DYO',1,1800.00,0.00,'Order Placed',0.000,45.00,0,0,1316156742,1316156742,0,0,'from website'),(33,00000023,52,'Jewelry',1,1300.00,0.00,'Order Placed',0.000,45.00,0,0,1316158812,1316158812,0,0,'from website'),(34,00000023,57,'Jewelry',1,1350.00,0.00,'Order Placed',0.000,45.00,0,0,1316158812,1316158812,0,0,'from website'),(35,00000023,37,'DYO',1,1500.00,0.00,'Order Placed',0.000,45.00,0,0,1316158812,1316158812,0,0,'from website'),(36,00000024,46,'',1,3200.00,0.00,'Order Placed',0.000,45.00,0,0,1316168304,1316168304,0,0,'from website'),(37,00000024,44,'Jewelry',1,1200.00,0.00,'Order Placed',0.000,45.00,0,0,1316168304,1316168304,0,0,'from website'),(38,00000024,37,'DYO',1,1500.00,0.00,'Order Placed',0.000,45.00,0,0,1316168304,1316168304,0,0,'from website'),(39,00000026,58,'Jewelry',1,1400.00,0.00,'Order Placed',0.000,45.00,0,0,1316767875,1316767875,0,0,'from website');

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

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

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

INSERT INTO `bstock_ordernotificationhistory` VALUES (1,8,'harshad.narvekar@gmail.com','I am partially shipping this...','1262351112',1),(2,8,'kothari.vishal@gmail.com','This is being cancelled...make your payment.','1262351255',1),(3,8,'kothari.vishal@gmail.com','This is being cancelled...make your payment immediately.','1262351323',1),(4,8,'kothari.vishal@gmail.com','This is being cancelled...make your payment immediately.','1262351370',1),(5,8,'kothari.vishal@gmail.com','I am cancelling this .','1262351391',1),(6,8,'kothari.vishal@gmail.com','I am cancelling this .','1262351440',1),(7,8,'kothari.vishal@gmail.com','I am cancelling this .','1262351503',1),(8,8,'kothari.vishal@gmail.com','Enter order comments here. adsf ','1262351520',1),(9,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351544',1),(10,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351577',1),(11,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351631',1),(12,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351658',1),(13,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351729',1),(14,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351788',1),(15,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351850',1),(16,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351892',1),(17,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351938',1),(18,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262351995',1),(19,8,'kothari.vishal@gmail.com','Enter order comments here. adsf asdf ','1262352018',1),(20,8,'','Enter order comments here. adsf asdf ','1262352436',1),(21,8,'','Enter order comments here. placed...','1262353477',1),(22,16,'kothari.vishal@gmail.com','partially shipped man.','1262429128',1),(23,16,'kothari.vishal@gmail.com','Enter order comments here.','1262429876',1),(24,16,'kothari.vishal@gmail.com','Enter order comments here.','1262430988',1),(25,16,'kothari.vishal@gmail.com','Enter order comments here.','1262432481',1),(26,16,'kothari.vishal@gmail.com','Enter order comments here.','1262433274',1),(27,0,'','','1262433764',1),(28,0,'','','1262433816',1),(29,0,'','','1262433924',1),(30,0,'','','1262433987',1),(31,0,'','','1262434039',1),(32,16,'kothari.vishal@gmail.com','Enter order comments here.asd ','1262434115',1),(33,16,'kothari.vishal@gmail.com','Completed...','1262436241',1),(34,1,'','let\'s test this man...','1262678961',1),(35,4,'','pending yaar...','1262681775',1),(36,1,'kothari.vishal@gmail.com','','1262682029',1),(37,3,'kothari.vishal@gmail.com','This is being shipped partially.','1262682243',1),(38,3,'kothari.vishal@gmail.com','M cancelling this now.','1262682496',1),(39,4,'kothari.vishal@gmail.com','asdfasdf \n]\n\nadfasdfadf \n\nasdfasdfdasf\n\nasdfadsf','1262682822',1),(40,6,'','This one is fully shipped...','1262682873',1),(41,6,'kothari.vishal@gmail.com','This is fully done now. Thanks for the payment.','1262683269',1),(42,7,'kothari.vishal@gmail.com','I am partially shipping this one. Please confirm by phone once you receive it. Thanks.','1262683442',1),(43,10,'kothari.vishal@gmail.com','Completing this. Thanks for payment.','1262683571',1),(44,10,'kothari.vishal@gmail.com','Finished now.','1262684688',1),(45,10,'kothari.vishal@gmail.com','Please cancel the previous shipment ','1262684836',1),(46,1,'kothari.vishal@gmail.com','Enter order comments here.','1262759323',1),(47,1,'kothari.vishal@gmail.com','I Oam only shipping frist 2 items.','1262760240',1),(48,6,'harshad@biggventures.com','asdfasdfasdf','1263648589',1),(49,6,'kothari.vishal@gmail.com','Great. Ship this one.','1263648808',1),(50,6,'kothari.vishal@gmail.com','Payment received boss.','1263649485',1),(51,3,'','This is shipped partially.','1263886059',1),(52,3,'','This is shipped partially.','1263886801',1),(53,3,'','This is shipped partially.','1263886859',1),(54,3,'','This is shipped partially.','1263887779',1),(55,3,'','This is shipped partially.','1263888094',1),(56,3,'','This is being shipped partially now.','1263888430',1),(57,3,'','This is being shipped partially now.','1263889072',1),(58,3,'','This is being shipped partially now.','1263889133',1),(59,3,'','Enter order comments here.','1263890053',1),(60,3,'','Enter order comments here.','1263890118',1),(61,3,'','Enter order comments here.','1263890186',1),(62,3,'','Enter order comments here.','1263891059',1),(63,3,'','Enter order comments here.','1263891215',1),(64,3,'','Enter order comments here.','1263891284',1),(65,3,'','Enter order comments here.','1263895661',1),(66,3,'','Enter order comments here.','1263896088',1),(67,3,'','Enter order comments here.','1263896170',1),(68,3,'','Enter order comments here.','1263896208',1),(69,3,'','Order is now completed...','1263897636',1),(70,6,'vishal@biggventures.com','This order is pending now...','1263900267',1),(71,6,'vishal@biggventures.com','partially shipped man.','1263901082',1),(72,6,'vishal@biggventures.com','Enter order comments here. adsfafsd ','1263902128',1),(73,6,'vishal@biggventures.com','Enter order comments here. adsf asdf','1263902291',1),(74,33,'','Please find the shipment ','1263961481',1),(75,36,'','Enter order comments here.','1263963773',1),(76,37,'','Enter order comments here.','1263963917',1),(77,38,'','Shipping this order partially right now.','1263964485',1),(78,39,'','This one is shipped. Please confirm once received.','1263965573',1),(79,44,'','Shipped yaar.','1263992280',1),(80,50,'','Shipped last time.','1264048815',1),(81,51,'','sHIPPED.','1264049535',1),(82,3,'vishal@biggventures.com','Pending.','1264059236',1),(83,3,'vishal@biggventures.com','Pending.','1264059300',1),(84,3,'vishal@biggventures.com','shipped now...','1264059363',1),(85,88,'','I have shipped this now.','1264060667',1),(86,3,'','Enter order comments here.','1264405023',1),(87,3,'','Enter order comments here.','1264405770',1),(88,3,'','Enter order comments here.','1264406352',1),(89,3,'','Enter order comments here.','1264406421',1),(90,3,'','Enter order comments here.','1264406537',1),(91,3,'','Enter order comments here.','1264406685',1),(92,3,'','Enter order comments here.','1264406926',1),(93,3,'','Enter order comments here.','1264407077',1),(94,3,'kothari.vishal@gmail.com','Enter order comments here.','1264408695',1),(95,3,'','Enter order comments here.','1264408862',1),(96,3,'','Enter order comments here. asdfasdfasdf','1264408968',1),(97,3,'','Enter order comments here. asdfasdfasdf','1264409127',1),(98,3,'','Enter order comments here. asdfasdfasdf','1264410762',1),(99,3,'','Enter order comments here. asdfasdfasdf','1264410965',1),(100,1,'kothari.vishal@gmail.com','This order is now complete. Please confirm receipt of all items.','1264411023',1),(101,1,'kothari.vishal@gmail.com','This order is now cancelled. Please confirm receipt of all items.','1264411099',1),(102,1,'','Enter order comments here. adsf ','1264420747',1),(103,65,'','I am shipping this one. Please confirm receipt.','1264421970',1),(104,66,'','This one is shipped.','1264423618',1),(105,40,'','Shipped.','1264423932',1),(106,117,'','Enter order comments here.','1265299140',1),(107,118,'swapnapatil2305@gmail.com','Your order is shipped on 4th Feb 2010.\n\nBelow are the shiiping details\nShip no. 123\nConsignment -- AB1234LP','1265304585',1),(108,118,'swapnapatil2305@gmail.com','Your order is shipped on 4th Feb 2010.\n\nBelow are the shiiping details\nShip no. 123\nConsignment -- AB1234LP','1265304593',1),(109,118,'swapnapatil2305@gmail.com','Your order is shipped on 4th Feb 2010.\n\nBelow are the shiiping details\nShip no. 123\nConsignment -- AB1234LP','1265304594',1),(110,118,'swapnapatil2305@gmail.com','Your corder is complete and will be soon shipped','1265304654',1),(111,118,'swapnapatil2305@gmail.com','Your corder is complete and will be soon shipped','1265304663',1),(112,118,'swapnapatil2305@gmail.com','We are very sorry to inform you that your order is cancelled','1265304727',1),(113,118,'swapnapatil2305@gmail.com','We are very sorry to inform you that your order is cancelled','1265304824',1),(114,118,'','Your order has been placed','1265305016',1),(115,127,'','This order is being shipped.','1265700096',1),(116,114,'','SHipping this one. Please check ','1265700409',1),(117,105,'','shipping.','1265702722',1),(118,129,'','This is shipped now...','1265713238',1),(119,129,'vishal@biggventures.com','Order has been shipped. please confirm once you receive shipment.','1265713351',1),(120,130,'swapnapatil2305@gmail.com','Your order is palced successfully','1265788650',1),(121,130,'swapnapatil2305@gmail.com','Your order is palced successfully','1265789238',1),(122,130,'','Enter order comments here.','1265789424',1),(123,133,'shahjatin77@gmail.com','\\this item is out of stock right now...','1266489181',1),(124,133,'','partially shipping as full order is not available.','1266489902',1),(125,145,'vishal@biggventures.com','Shipped dude.','1266671683',1),(126,145,'','SHIPPING IT FULLY.','1266671746',1),(127,1,'vishal@biggventures.com','Enter order comments here.','1269637506',1),(128,1,'','Enter order comments here.','1274260062',1),(129,1,'','Enter order comments here.','1274260063',1),(130,1,'','Enter order comments here.a','1274260064',1),(131,1,'','Enter order comments here.a','1274260065',1),(132,1,'','Enter order comments here.a','1274260066',1),(133,1,'','Enter order comments here.a','1274260067',1),(134,1,'','Enter order comments here.a','1274260085',1),(135,1,'','Enter order comments here.a','1274260086',1),(136,1,'','Enter order comments here.a','1274260086',1),(137,1,'','Enter order comments here.a','1274260087',1),(138,1,'','Enter order comments here.a','1274260088',1),(139,1,'','Enter order comments here.a','1274260089',1),(140,1,'','Enter order comments here.a','1274260090',1),(141,1,'','Enter order comments here.a','1274260091',1),(142,1,'','Enter order comments here.a','1274260093',1),(143,1,'','Enter order comments here.a','1274260094',1),(144,1,'','Enter order comments here.a','1274260095',1),(145,1,'','Enter order comments here.a','1274260097',1),(146,1,'','Enter order comments here.a','1274260098',1),(147,1,'','Enter order comments here.a','1274260101',1),(148,1,'','Enter order comments here.a','1274260105',1),(149,1,'','Enter order comments here.a','1274260108',1),(150,1,'','Enter order comments here.a','1274260109',1),(151,1,'','Enter order comments here.a','1274260111',1),(152,1,'','Enter order comments here.a','1274260111',1),(153,1,'','Enter order comments here.a','1274260112',1),(154,1,'','Enter order comments here.a','1274260113',1),(155,1,'','Enter order comments here.a','1274260114',1),(156,1,'','Enter order comments here.a','1274260115',1),(157,1,'','Enter order comments here.a dfsdfasd ','1274260116',1),(158,1,'','Enter order comments here.a dfsdfasd ','1274260119',1),(159,1,'','Enter order comments here.a','1274260120',1),(160,1,'','Enter order comments here.a dfsdfasd ','1274260121',1),(161,1,'','Enter order comments here.a','1274260123',1),(162,1,'','Enter order comments here.a','1274260124',1),(163,1,'','Enter order comments here.a','1274260125',1),(164,1,'','Enter order comments here.','1274260150',1),(165,1,'','Enter order comments here.','1274260151',1),(166,1,'','Enter order comments here.','1274260152',1),(167,1,'','','1276065647',1),(168,1,'','','1276080480',1),(169,1,'','','1276080758',1),(170,1,'','','1276080906',1),(171,1,'','','1276080946',1),(172,1,'','','1276081008',1),(173,1,'','','1276089195',1),(174,1,'','','1276094343',1),(175,1,'','test','1276094394',1),(176,1,'','','1276094427',1),(177,1,'','','1276094468',1),(178,1,'','','1276094491',1),(179,1,'','','1276094521',1),(180,1,'','test','1276095136',1),(181,1,'','','1276095251',1),(182,1,'','','1276095739',1),(183,1,'','','1276095860',1),(184,1,'','','1276095916',1),(185,1,'','','1276097145',1),(186,1,'','','1276097259',1),(187,1,'','','1276097519',1),(188,1,'','','1276098126',1),(189,1,'','','1276098531',1),(190,1,'','','1276098578',1),(191,1,'','','1276098596',1),(192,1,'','','1276099472',1),(193,1,'','','1276099491',1),(194,1,'','','1276099522',1),(195,1,'','','1276099562',1),(196,1,'','','1276099632',1),(197,1,'','','1276099681',1),(198,1,'','','1276099759',1),(199,1,'','','1276099941',1),(200,1,'','','1276099975',1),(201,1,'','','1276099979',1),(202,1,'','','1276100036',1),(203,1,'','','1276100053',1),(204,1,'','','1276100058',1),(205,1,'','','1276100090',1),(206,1,'','','1276100111',1),(207,1,'','','1276242977',1),(208,1,'','','1276246325',1),(209,1,'','','1276246473',1),(210,1,'','','1276247512',1),(211,1,'','','1276247576',1),(212,1,'','','1276248169',1),(213,2,'','testte et s','1276252253',1),(214,2,'harshad.narvekar@gmail.com','comments','1276253915',1),(215,2,'harshad.narvekar@gmail.com','comments','1276255049',1),(216,4,'','','1276256010',1),(217,4,'','','1276256071',1),(218,5,'harshad.narvekar@gmail.com','test','1276256113',1),(219,5,'','','1276256452',1),(220,5,'','','1276256925',1),(221,5,'','','1276257435',1),(222,6,'harshad.narvekar@gmail.com','tet','1276258446',1),(223,7,'','','1276258670',1),(224,8,'harshad.narvekar@gmail.com','tes','1276258756',1),(225,9,'','','1276259664',1),(226,10,'','','1276259840',1),(227,11,'harshad.narvekar@gmail.com','test','1276260104',1),(228,10,'','','1276260170',1),(229,10,'','','1276260341',1),(230,10,'','','1276260526',1),(231,10,'','','1276260568',1),(232,12,'','','1276264737',1),(233,1,'','','1276265544',1),(234,1,'','','1276265573',1),(235,1,'','','1276265609',1),(236,1,'','','1276265714',1),(237,1,'','','1276266133',1),(238,9,'','','1276267795',1),(239,1,'','','1276267823',1),(240,1,'','','1276268399',1),(241,13,'harshad.narvekar@gmail.com','','1276268556',1),(242,14,'','','1276268765',1),(243,15,'','','1276268868',1),(244,16,'','','1276269119',1),(245,17,'','','1276269852',1),(246,18,'','','1276269994',1),(247,19,'','','1276270055',1),(248,20,'','','1276270147',1),(249,21,'','','1276270383',1),(250,22,'','','1276270733',1),(251,23,'','','1276270812',1),(252,24,'','','1276271037',1),(253,25,'','','1276271039',1),(254,25,'','','1276271149',1),(255,25,'','','1276274715',1),(256,26,'','','1276522282',1),(257,26,'','','1276522502',1),(258,26,'','','1276522685',1),(259,26,'','','1276522707',1),(260,26,'','','1276522884',1),(261,26,'','','1276522906',1),(262,26,'','','1276522915',1),(263,27,'','','1276522985',1),(264,28,'','','1276523038',1),(265,29,'','','1276523268',1),(266,30,'','','1276523353',1),(267,31,'','','1276523825',1),(268,32,'','','1276523978',1),(269,33,'','','1276524040',1),(270,34,'','','1276524132',1),(271,35,'','','1276524168',1),(272,36,'','','1276524306',1),(273,37,'','','1276524420',1),(274,37,'','','1276524438',1),(275,37,'','','1276524559',1),(276,38,'','','1276582157',1),(277,38,'','','1276582173',1),(278,38,'','','1276582223',1),(279,38,'','','1276582233',1),(280,39,'','','1276586154',1),(281,39,'','','1276586171',1),(282,39,'','','1276586193',1),(283,1,'','','1276592324',1),(284,40,'','','1276876364',1),(285,41,'','','1276876467',1),(286,42,'','','1276876900',1),(287,42,'','','1276882672',1),(288,42,'','','1276883172',1),(289,42,'','','1276883253',1),(290,42,'','','1276883345',1),(291,42,'','','1276883473',1),(292,42,'','','1276884595',1),(293,42,'','','1276884810',1),(294,42,'','','1276884926',1),(295,42,'','','1276884991',1),(296,42,'','','1276948836',1),(297,42,'','','1276948907',1),(298,42,'','','1276949354',1),(299,42,'','','1276949419',1),(300,42,'','','1276949450',1),(301,42,'','','1276949523',1),(302,1,'','','1276949635',1),(303,1,'','','1276949733',1),(304,1,'','','1276949860',1),(305,1,'','','1276949890',1),(306,1,'','','1276949918',1),(307,1,'','','1276950162',1),(308,1,'','','1276950232',1),(309,1,'','','1276951188',1),(310,38,'','','1276951261',1),(311,38,'','','1276951512',1),(312,42,'','','1276951552',1),(313,42,'','','1276952327',1),(314,42,'','','1276952371',1),(315,42,'','','1276952460',1),(316,42,'','','1276952499',1),(317,42,'','','1276952536',1),(318,42,'','','1276952642',1),(319,42,'','','1276952661',1),(320,42,'','','1276952696',1),(321,38,'','','1276952724',1),(322,38,'','','1276952739',1),(323,42,'','','1276952941',1),(324,42,'','','1276953033',1),(325,41,'','','1276953062',1),(326,41,'','','1276953090',1),(327,43,'','','1276955065',1),(328,43,'','','1276955096',1),(329,39,'','','1277202657',1),(330,39,'','','1277202700',1),(331,39,'','','1277202736',1),(332,37,'','','1277230246',1),(333,37,'','','1277230268',1),(334,37,'','','1277230434',1),(335,37,'','','1277230461',1),(336,44,'','','1277233812',1),(337,37,'','','1277971372',2),(338,37,'','','1277971551',2),(339,37,'','','1277972822',2),(340,37,'','','1277972835',2),(341,45,'','','1277976955',2),(342,46,'','','1277982374',2),(343,37,'','','1277982948',2),(344,46,'','','1277982993',2),(345,46,'','','1277983169',2),(346,47,'','','1277986274',2),(347,48,'','','1277986481',2),(348,49,'','','1277986542',2),(349,37,'','','1277986781',1),(350,49,'','','1277986828',1),(351,50,'','Test','1280226928',1),(352,1,'','','1280409064',1),(353,1,'','','1280409313',1),(354,1,'','','1280409341',1),(355,1,'','','1280409391',1),(356,1,'','','1280409421',1),(357,1,'','','1280409444',1),(358,1,'','','1280409660',1),(359,1,'','','1280409674',1),(360,1,'','','1280409791',1),(361,1,'','','1280409979',1),(362,1,'','','1280410056',1),(363,1,'','','1280431685',1),(364,1,'','','1280431777',1),(365,1,'','','1280432055',1),(366,1,'','','1280432132',1),(367,1,'','','1280432230',1),(368,1,'','','1280432275',1),(369,1,'','','1280432281',1),(370,1,'','','1280432319',1),(371,1,'','','1280432387',1),(372,1,'','','1280432443',1),(373,1,'','','1280432547',1),(374,1,'','','1280432617',1),(375,1,'','','1280432786',1),(376,1,'','','1280432843',1),(377,1,'','','1280432933',1),(378,1,'','','1280433019',1),(379,1,'','','1280433337',1),(380,1,'','','1280433876',1),(381,1,'','','1280433928',1),(382,1,'','','1280434031',1),(383,1,'','','1280434188',1),(384,1,'','','1280434404',1),(385,1,'','','1280434440',1),(386,1,'','','1280434526',1),(387,1,'','','1280434663',1),(388,1,'','','1280434750',1),(389,1,'','','1280435147',1),(390,1,'','','1280435185',1),(391,1,'','','1280435328',1),(392,1,'','','1280435417',1),(393,1,'','','1280435428',1),(394,1,'','','1280435541',1),(395,1,'','','1280435570',1),(396,1,'','','1280474268',1),(397,1,'','','1280475486',1),(398,1,'','','1280476028',1),(399,1,'','','1280476224',1),(400,1,'','','1280476297',1),(401,1,'','','1280476354',1),(402,1,'','','1280476504',1),(403,1,'','','1280476561',1),(404,1,'','','1280478804',1),(405,1,'','','1280480525',1),(406,1,'','','1280480564',1),(407,1,'','','1280480564',1),(408,1,'','','1280480605',1),(409,1,'','','1280480680',1),(410,1,'','','1280480709',1),(411,1,'','','1280480745',1),(412,1,'','','1280480774',1),(413,1,'','','1280480870',1),(414,1,'','','1280481107',1),(415,1,'','','1280481126',1),(416,1,'','','1280481182',1),(417,1,'','','1280481317',1),(418,1,'','','1280481364',1),(419,1,'','','1280481450',1),(420,1,'','','1280481510',1),(421,1,'','','1280481547',1),(422,1,'','','1280481567',1),(423,1,'','','1280481622',1),(424,1,'','','1280481646',1),(425,1,'','','1280481663',1),(426,1,'','','1280481750',1),(427,1,'','','1280481770',1),(428,1,'','','1280481856',1),(429,1,'','','1280481872',1),(430,1,'','','1280481886',1),(431,1,'','','1280481909',1),(432,1,'','','1280491061',1),(433,1,'','','1280491113',1),(434,1,'','','1280491130',1),(435,1,'','','1280491457',1),(436,1,'','','1280491588',1),(437,1,'','','1280491610',1),(438,20,'','','1280492565',1),(439,20,'','','1280493309',1),(440,20,'','','1280493447',1),(441,50,'','','1280733184',1),(442,50,'','','1280733255',1),(443,50,'','','1280736699',1),(444,6,'','','1280736866',1),(445,51,'','','1282119125',1),(446,51,'','','1282122926',1),(447,51,'','','1282123036',1),(448,52,'','','1283334337',1),(449,53,'','','1283335562',1),(450,54,'','','1283460667',1),(451,7,'','','1283461668',1),(452,55,'','','1283713633',1),(453,55,'','','1283755746',1),(454,56,'','','1283755985',1),(455,57,'','','1283756103',1),(456,58,'','','1283757521',1),(457,59,'','','1283759338',1),(458,60,'','','1283777612',1),(459,61,'','1223','1283851988',1),(460,62,'','','1283852927',1),(461,63,'','','1283853271',1),(462,64,'','','1283857804',1),(463,65,'','','1283858303',1),(464,66,'','','1283858438',1),(465,67,'','','1283859117',1),(466,68,'','test','1283872729',1),(467,69,'','','1283873013',1),(468,70,'','','1283873378',1),(469,71,'','','1283873848',1),(470,72,'','','1283875146',1),(471,73,'','','1283891047',1),(472,73,'','','1285408555',1),(473,74,'','','1285408674',1),(474,75,'','test','1285424527',1),(475,76,'','test','1285427165',1),(476,77,'','','1285657524',1),(477,78,'','','1285657744',1),(478,79,'','','1285668597',1),(479,80,'','','1285668708',1),(480,81,'','','1285668868',1),(481,82,'','','1285668956',1),(482,83,'','','1285669106',1),(483,84,'','','1285676716',1),(484,85,'','','1285678016',1),(485,86,'','','1285678155',1),(486,87,'','','1285678201',1),(487,88,'','','1285678485',1),(488,89,'','','1285680273',1),(489,90,'','','1285680330',1),(490,91,'','','1285700510',1),(491,92,'','','1285732296',1),(492,1,'','','1285735087',1),(493,2,'','test','1286285494',1),(494,8,'','','1286453802',1),(495,9,'','','1286454315',1),(496,9,'','','1286457745',1),(497,9,'','','1286458106',1),(498,9,'','','1286458207',1),(499,9,'','','1286458586',1),(500,9,'','','1286529104',1),(501,9,'','','1286529207',1),(502,10,'','','1286541114',1),(503,10,'','','1286561378',1),(504,0,'','','1286656258',1),(505,0,'','','1286656307',1),(506,0,'','','1286657400',1),(507,0,'','','1286785391',1),(508,0,'','','1286785431',1),(509,0,'','','1286785509',1),(510,0,'','','1286785551',1),(511,0,'','','1286785688',1),(512,0,'','','1286785790',1),(513,0,'','','1286785876',1),(514,0,'','','1286785982',1),(515,0,'','','1286786070',1),(516,0,'','','1286786138',1),(517,0,'','','1286789148',1),(518,0,'','','1286799666',1),(519,0,'','','1286799708',1),(520,0,'','','1286799781',1),(521,0,'','','1286800087',1),(522,0,'','','1286876499',1),(523,0,'','','1286876738',1),(524,0,'','','1286876866',1),(525,0,'','','1286876985',1),(526,7,'','','1287748898',1),(527,7,'','','1287748969',1),(528,7,'','este ste set tr se','1287749024',1),(529,7,'','','1287750689',1),(530,9,'','','1287751093',1),(531,10,'','test test','1287751198',1),(532,11,'','test test','1287751695',1),(533,12,'','test test','1287751985',1),(534,13,'','test test','1287752256',1),(535,14,'','','1287752457',1),(536,15,'','','1287754049',1),(537,16,'','test tes test','1287774233',1),(538,17,'','','1287774524',1),(539,19,'','','1287894816',1),(540,20,'','','1287894848',1),(541,11,'','','1287901918',1),(542,12,'','','1288418899',1),(543,12,'','','1288423173',1),(544,12,'','','1288423993',1),(545,13,'','','1288432946',1),(546,14,'','','1288433084',1),(547,15,'','','1288433968',1),(548,15,'','','1288434273',1),(549,16,'','','1288435538',1),(550,17,'','','1288436512',1),(551,18,'','','1288437048',1),(552,19,'','','1288437221',1),(553,20,'','','1288437984',1),(554,20,'','','1288438753',1),(555,20,'','','1288439492',1),(556,21,'','','1289240724',1),(557,34,'','','1289284178',1),(558,35,'','this is generated just for testing purpose','1289286918',1),(559,36,'','this is generated just for testing purpose','1289287521',1),(560,37,'','testing','1289298209',1),(561,38,'','testing','1289300473',1),(562,39,'','testing','1289300975',1),(563,40,'','','1289304933',1),(564,22,'','','1289305118',1),(565,22,'','','1289305167',1),(566,22,'','','1289305208',1),(567,41,'','','1289307737',1),(568,42,'','','1289315074',1),(569,43,'','','1289410857',1),(570,23,'','','1289501633',1),(571,24,'','','1289540798',1),(572,25,'','','1289540848',1),(573,24,'','','1289541318',1),(574,24,'','','1289543362',1),(575,25,'','','1289543384',1),(576,24,'','','1289543524',1),(577,24,'','','1289543615',1),(578,24,'','','1289543634',1),(579,24,'','','1289543724',1),(580,24,'','','1289543871',1),(581,24,'','','1289543955',1),(582,26,'','','1289555826',1),(583,27,'','','1289556277',1),(584,28,'','','1289556913',1),(585,44,'','','1289559636',1),(586,29,'','','1289583201',1),(587,30,'','','1289583378',1),(588,31,'','','1289583592',1),(589,31,'','','1289583835',1),(590,31,'','','1289583906',1),(591,32,'','','1289585350',1),(592,45,'','','1289634614',1),(593,33,'','','1289639534',1),(594,0,'','','1289651258',1),(595,0,'','','1289654093',1),(596,46,'','','1289913591',1),(597,47,'','this is just created for testing purpose','1289913781',1),(598,48,'','This is just created for testing purpose','1289914077',1),(599,0,'','','1290060784',1),(600,34,'','','1290074019',1),(601,49,'','','1290078854',1),(602,29,'','','1290109605',1),(603,50,'','','1290110970',1),(604,0,'','','1290124598',1),(605,0,'','','1290125358',1),(606,8,'','','1290244404',1),(607,57,'','through ie','1290254791',1),(608,58,'','','1290422231',1),(609,59,'','','1290486097',1),(610,60,'','','1290494486',1),(611,61,'','','1290495100',1),(612,35,'','','1290536222',1),(613,36,'','','1290536336',1),(614,37,'','','1290537037',1),(615,38,'','','1290537048',1),(616,39,'','','1290537137',1),(617,0,'','','1290553005',1),(618,0,'','','1290577418',1),(619,0,'','','1290577462',1),(620,0,'','','1290577545',1),(621,0,'','','1290578802',1),(622,0,'','','1290578905',1),(623,0,'','','1290578991',1),(624,0,'','','1290579185',1),(625,0,'','','1290579290',1),(626,0,'','','1290579327',1),(627,0,'','','1290579363',1),(628,0,'','','1290579528',1),(629,63,'','','1291655598',1),(630,64,'','','1291784259',1),(631,65,'','','1291784578',1),(632,66,'','','1291784763',1),(633,67,'','','1291784823',1),(634,68,'','','1291784874',1),(635,69,'','','1291784914',1),(636,70,'','','1291784929',1),(637,71,'','','1291785088',1),(638,40,'','','1291788828',1),(639,40,'','','1291788844',1),(640,40,'','','1291788867',1),(641,40,'','','1291789810',1),(642,40,'','','1291790032',1),(643,41,'','','1291812671',1),(644,0,'','','1291814194',1),(645,0,'','','1291814295',1),(646,0,'','','1291814375',1),(647,0,'','','1291814468',1),(648,0,'','','1291814491',1),(649,0,'','','1291814667',1),(650,0,'','','1291814767',1),(651,0,'','','1291814931',1),(652,0,'','','1291814955',1),(653,0,'','','1291815433',1),(654,0,'','','1291983053',1),(655,93,'','','1292834770',1),(656,94,'','','1292836066',1),(657,95,'','','1292837905',1),(658,96,'','','1292838030',1),(659,97,'','','1292838252',1),(660,98,'','','1292838344',1),(661,99,'','','1292838409',1),(662,100,'','','1292838427',1),(663,101,'','','1292838674',1),(664,102,'','','1292838729',1),(665,103,'','','1292839018',1),(666,104,'','','1292839082',1),(667,105,'','','1292839154',1),(668,106,'','','1292839281',1),(669,107,'','','1292839405',1),(670,108,'','','1292839649',1),(671,109,'','','1292839703',1),(672,110,'','','1292839811',1),(673,111,'','','1292841336',1),(674,112,'','','1292841354',1),(675,113,'','','1292841372',1),(676,114,'','','1292841430',1),(677,115,'','','1292841452',1),(678,116,'','','1292841467',1),(679,117,'','','1292841884',1),(680,118,'','','1292841910',1),(681,119,'','','1292841924',1),(682,120,'','','1292841994',1),(683,121,'','','1292842470',1),(684,42,'','','1292842678',1),(685,43,'','','1292844236',1),(686,44,'','','1292844630',1),(687,45,'','','1292844691',1),(688,46,'','','1292844805',1),(689,47,'','','1292844857',1),(690,48,'','','1292845091',1),(691,49,'','','1292845107',1),(692,50,'','','1292845277',1),(693,51,'','','1292846728',1),(694,52,'','','1292846778',1),(695,53,'','','1292846785',1),(696,54,'','','1292846807',1),(697,55,'','','1292846893',1),(698,56,'','','1292846953',1),(699,57,'','','1292847057',1),(700,58,'','','1292847385',1),(701,59,'','','1292847520',1),(702,60,'','','1292847546',1),(703,61,'','','1292847581',1),(704,62,'','','1292847651',1),(705,63,'','','1292850054',1),(706,63,'','','1292850377',1),(707,63,'','','1292850483',1),(708,63,'','','1292850580',1),(709,63,'','','1292850620',1),(710,63,'','','1292850696',1),(711,63,'','','1292850729',1),(712,63,'','','1292850931',1),(713,63,'','','1292851549',1),(714,63,'','','1292852397',1),(715,122,'','','1292853282',1),(716,123,'','','1292853430',1),(717,124,'','','1292854049',1),(718,125,'','','1292854072',1),(719,126,'','','1292854158',1),(720,127,'','','1292854339',1),(721,1,'','','1294139373',1),(722,2,'','','1294139639',1),(723,1,'','','1294140862',1),(724,1,'','','1294141154',1),(725,1,'','','1294142301',1),(726,1,'','','1294145312',1),(727,2,'','','1294147195',1),(728,2,'','','1294171579',1),(729,3,'','','1294222959',1),(730,3,'','','1294270353',1),(731,6,'','','1294272755',1),(732,7,'','','1294293539',1),(733,8,'','','1294294191',1),(734,4,'','','1294296426',1),(735,4,'','','1294296720',1),(736,4,'','','1294296932',1),(737,0,'','','1294299399',1),(738,0,'','','1294299725',1),(739,0,'','','1294301118',1),(740,0,'','','1294301163',1),(741,0,'','','1294301587',1),(742,0,'','','1294302526',1),(743,0,'','','1294379012',1),(744,5,'','','1294379133',1),(745,5,'','','1294379169',1),(746,12,'','','1294380471',1),(747,13,'','','1294380795',1),(748,14,'','','1294381495',1),(749,6,'','','1294387414',1),(750,15,'','','1294660929',1),(751,16,'','','1294661189',1),(752,17,'','','1294915672',1),(753,18,'','','1294918223',1),(754,19,'','','1294918512',1),(755,20,'','','1294987503',1),(756,21,'','','1294988091',1),(757,22,'','','1294988222',1),(758,23,'','','1294988552',1),(759,24,'','','1294988576',1),(760,25,'','','1294988614',1),(761,26,'','','1294988833',1),(762,27,'','','1294988890',1),(763,28,'','','1294989021',1),(764,29,'','','1294989117',1),(765,30,'','','1294989184',1),(766,31,'','','1295089231',1),(767,32,'','','1295089714',1),(768,33,'','','1295089722',1),(769,34,'','','1295089731',1),(770,35,'','','1295089740',1),(771,36,'','','1295089761',1),(772,37,'','','1295090009',1),(773,38,'','','1295090134',1),(774,39,'','','1295090229',1),(775,40,'','','1295090555',1),(776,41,'','','1295090614',1),(777,42,'','','1295090981',1),(778,43,'','','1295091046',1),(779,44,'','','1295091600',1),(780,45,'','','1295091619',1),(781,46,'','','1295091654',1),(782,47,'','','1295092261',1),(783,48,'','','1295092267',1),(784,49,'','','1295092372',1),(785,50,'','','1295092454',1),(786,51,'','','1295092581',1),(787,52,'','','1295245995',1),(788,53,'','','1295246124',1),(789,54,'','','1295246400',1),(790,55,'','','1295246925',1),(791,56,'','','1295247028',1),(792,57,'','','1295258473',1),(793,58,'','','1295334566',1),(794,7,'','','1295337565',1),(795,7,'','','1295337580',1),(796,8,'','','1295398223',1),(797,59,'','','1295418638',1),(798,60,'','','1295430083',1),(799,9,'','','1295433272',1),(800,61,'','test','1295510923',1),(801,62,'','','1295511587',1),(802,63,'','','1295556924',1),(803,10,'','','1295569946',1),(804,64,'','','1295858385',1),(805,11,'','','1295864322',1),(806,11,'','','1295865361',1),(807,11,'','','1295865513',1),(808,12,'','','1295866484',1),(809,65,'','','1295956511',1),(810,66,'','','1295956674',1),(811,67,'','','1295956960',1),(812,13,'','','1296130484',1),(813,0,'','','1296194129',1),(814,14,'','','1296194345',1),(815,15,'','','1296194797',1),(816,16,'','','1296194980',1),(817,17,'','','1296195079',1),(818,18,'','','1296196779',1),(819,19,'','','1296198892',1),(820,20,'','','1296199288',1),(821,21,'','','1296199390',1),(822,68,'','','1296209821',1),(823,69,'','','1296210633',1),(824,22,'','','1296211596',1),(825,22,'','','1296211616',1),(826,70,'','','1296455713',1),(827,71,'','','1296507068',1),(828,88,'','','1296721652',1),(829,89,'','','1296727437',1),(830,90,'','','1296727874',1),(831,91,'','','1296730886',1),(832,92,'','','1296734832',1),(833,93,'','','1296738568',1),(834,94,'','','1296739060',1),(835,95,'','','1296739094',1),(836,96,'','','1296739234',1),(837,97,'','','1296740300',1),(838,253,'','','1296802883',1),(839,254,'','','1296810574',1),(840,254,'','','1296816431',1),(841,254,'','','1296818008',1),(842,254,'','','1296818070',1),(843,255,'','','1296820796',1),(844,255,'','','1296820943',1),(845,255,'','','1296820966',1),(846,256,'','','1296821791',1),(847,0,'','','1297163386',1),(848,0,'','','1297163757',1),(849,0,'','','1297163849',1),(850,98,'','','1297501631',1),(851,99,'','','1297501832',1),(852,257,'','','1297767653',1),(853,257,'','','1297769545',1),(854,257,'','','1297770600',1),(855,100,'','','1297772965',1),(856,1,'','','1298106142',1),(857,185,'','','1298269340',1),(858,185,'','','1298269588',1),(859,185,'','','1298270025',1),(860,10013,'','','1298442392',1),(861,10013,'','','1298443545',1),(862,10014,'','','1298443755',1),(863,10014,'','','1298443834',1),(864,10015,'','','1298491315',1),(865,10016,'','','1298491519',1),(866,10016,'','','1298491614',1),(867,10016,'','','1298493612',1),(868,10016,'','','1298493985',1),(869,10016,'','','1298494651',1),(870,10017,'','','1298894325',1),(871,10017,'','','1298894441',1),(872,10017,'','','1298894508',1),(873,10018,'','','1298962404',1),(874,226,'','','1299061252',1),(875,226,'','','1299062191',1),(876,226,'','','1299062683',1),(877,1,'','','1299070910',1),(878,2,'','','1299089611',1),(879,227,'','','1299094696',1),(880,3,'','','1299094793',1),(881,10121,'','','1299095461',1),(882,228,'','','1299300053',1),(883,10122,'','','1299302456',1),(884,229,'','','1299302855',1),(885,10123,'','','1299303036',1),(886,230,'','','1299303187',1),(887,10124,'','','1299303496',1),(888,231,'','','1299303618',1),(889,232,'','','1299303851',1),(890,233,'','','1299303979',1),(891,234,'','','1299304029',1),(892,10125,'','','1299304267',1),(893,10126,'','','1299304495',1),(894,235,'','','1299304563',1),(895,235,'','','1299305818',1),(896,235,'','','1299307374',1),(897,235,'','','1299307424',1),(898,235,'','','1299308177',1),(899,235,'','','1299308197',1),(900,10127,'','','1299310276',1),(901,236,'','','1299310516',1),(902,236,'','','1299311821',1),(903,237,'','','1299316431',1),(904,237,'','','1299316644',1),(905,237,'','','1299318760',1),(906,237,'','','1299318954',1),(907,237,'','','1299319051',1),(908,238,'','','1299319463',1),(909,239,'','','1299319606',1),(910,240,'','','1299319719',1),(911,240,'','','1299319907',1),(912,240,'','','1299321169',1),(913,240,'','','1299322579',1),(914,241,'','','1299328241',1),(915,241,'','','1299328661',1),(916,241,'','','1299329298',1),(917,241,'','','1299329702',1),(918,10128,'','','1299330203',1),(919,241,'','','1299334024',1),(920,241,'','','1299334063',1),(921,241,'','','1299334092',1),(922,241,'','','1299334136',1),(923,241,'','','1299334727',1),(924,241,'','','1299334742',1),(925,241,'','','1299334764',1),(926,241,'','','1299334832',1),(927,241,'','','1299334846',1),(928,241,'','','1299334870',1),(929,241,'','','1299334887',1),(930,10129,'','','1299335108',1),(931,242,'','','1299335234',1),(932,241,'','','1299335330',1),(933,241,'','','1299336033',1),(934,241,'','','1299336054',1),(935,241,'','','1299336493',1),(936,241,'','','1299336952',1),(937,241,'','','1299337051',1),(938,242,'','','1299337112',1),(939,242,'','','1299337120',1),(940,242,'','','1299337271',1),(941,242,'','','1299337489',1),(942,242,'','','1299337690',1),(943,10130,'','','1299467203',1),(944,243,'','','1299467238',1),(945,10131,'','','1299467334',1),(946,244,'','','1299564069',1),(947,244,'','','1299564085',1),(948,245,'','','1299564453',1),(949,246,'','','1299564762',1),(950,247,'','','1299565943',1),(951,248,'','','1299566413',1),(952,249,'','','1299566765',1),(953,250,'','','1299566984',1),(954,251,'','','1299567132',1),(955,252,'','','1299567278',1),(956,253,'','','1299567989',1),(957,254,'','','1299568514',1),(958,255,'','','1299568872',1),(959,256,'','','1299569136',1),(960,257,'','','1299569380',1),(961,258,'','','1299569635',1),(962,259,'','','1299569714',1),(963,260,'','','1299580741',1),(964,261,'','','1299581303',1),(965,262,'','','1299582384',2),(966,1,'','','1299589737',1),(967,2,'','','1299590219',1),(968,3,'','','1299591489',1),(969,4,'','','1299592879',1),(970,5,'','','1299593050',1),(971,6,'','','1299593428',1),(972,1,'','','1299594417',1),(973,2,'','','1299595506',1),(974,3,'','','1299595731',1),(975,10132,'','','1299600042',1),(976,4,'','','1299600347',1),(977,10133,'','','1299600407',1),(978,5,'','','1299601497',1),(979,5,'','','1299601600',1),(980,5,'','','1299602012',1),(981,10134,'','','1299602162',1),(982,6,'','','1299602956',1),(983,7,'','','1299603235',1),(984,8,'','','1299603373',1),(985,9,'','','1299603683',1),(986,10,'','','1299603838',1),(987,8,'','','1299604152',1),(988,11,'','','1299604212',1),(989,11,'','','1299604226',1),(990,10135,'','','1299604265',1),(991,12,'','','1299662309',1),(992,13,'','','1299663268',1),(993,14,'','','1299663939',1),(994,10136,'','','1299665724',1),(995,10138,'','','1299667445',1),(996,10139,'','','1299671708',1),(997,15,'','','1299672695',1),(998,16,'','','1299676222',1),(999,17,'','','1299676842',1),(1000,17,'','','1299676891',1),(1001,18,'','','1299753841',1),(1002,10140,'','','1299755788',1),(1003,10141,'','','1299756845',1),(1004,19,'','','1299758135',1),(1005,19,'','','1299758349',1),(1006,19,'','','1300088867',1),(1007,19,'','','1300088894',1),(1008,19,'','','1300088922',1),(1009,19,'','','1300088954',1),(1010,19,'','','1300089092',1),(1011,19,'','','1300089132',1),(1012,19,'','','1300089311',1),(1013,19,'','','1300089325',1),(1014,19,'','','1300092412',1),(1015,19,'','','1300092535',1),(1016,19,'','','1300092602',1),(1017,20,'','','1300092720',1),(1018,20,'','','1300094019',1),(1019,20,'','','1300097105',1),(1020,20,'','','1300097564',1),(1021,21,'','','1300187352',1),(1022,22,'','','1300187775',1),(1023,23,'','','1300187875',1),(1024,24,'','','1300189931',1),(1025,25,'','','1300190161',1),(1026,26,'','','1300190489',1),(1027,27,'','','1300190583',1),(1028,28,'','','1300191543',1),(1029,29,'','','1300191650',1),(1030,30,'','','1300200069',1),(1031,30,'','','1300208405',1),(1032,30,'','','1300208504',1),(1033,30,'','','1300208608',1),(1034,30,'','','1300208883',1),(1035,30,'','','1300209365',1),(1036,30,'','','1300209464',1),(1037,30,'','','1300209522',1),(1038,30,'','','1300209618',1),(1039,30,'','','1300209633',1),(1040,30,'','','1300209764',1),(1041,30,'','','1300209789',1),(1042,30,'','','1300209867',1),(1043,30,'','','1300209948',1),(1044,30,'','','1300211955',1),(1045,30,'','','1300212103',1),(1046,30,'','','1300212122',1),(1047,30,'','','1300212164',1),(1048,30,'','','1300212223',1),(1049,30,'','','1300212236',1),(1050,30,'','','1300212255',1),(1051,30,'','','1300212476',1),(1052,30,'','','1300212497',1),(1053,30,'','','1300212754',1),(1054,30,'','','1300212817',1),(1055,30,'','','1300213039',1),(1056,30,'','','1300213165',1),(1057,17,'','','1300216986',1),(1058,17,'','','1300221809',1),(1059,31,'','','1300222352',1),(1060,31,'','','1300224772',1),(1061,32,'','','1300230174',1),(1062,32,'','','1300230370',1),(1063,33,'','','1300230759',1),(1064,34,'','','1300257796',1),(1065,34,'','','1300287954',1),(1066,34,'','','1300289225',1),(1067,34,'','','1300289328',1),(1068,34,'','','1300291997',1),(1069,35,'','','1300292876',1),(1070,35,'','','1300294881',1),(1071,35,'','','1300343534',1),(1072,10142,'','','1300346312',1),(1073,35,'','','1300347048',1),(1074,35,'','','1300348882',1),(1075,35,'','','1300349436',1),(1076,35,'','','1300349463',1),(1077,36,'','','1300349791',1),(1078,36,'','','1300349805',1),(1079,36,'','','1300356188',1),(1080,36,'','','1300358281',1),(1081,36,'','','1300358355',1),(1082,10143,'','','1300358701',1),(1083,36,'','','1300359234',1),(1084,37,'','','1300366215',1),(1085,10144,'','','1300367698',1),(1086,38,'','','1300443373',1),(1087,38,'','','1300443519',1),(1088,10145,'','','1300444729',1),(1089,10146,'','','1300445079',1),(1090,10147,'','','1300445834',1),(1091,10148,'','','1300450714',1),(1092,10149,'','','1300451391',1),(1093,10150,'','','1300451678',1),(1094,10151,'','','1300451936',1),(1095,10152,'','','1300452368',1),(1096,10153,'','','1300452743',1),(1097,38,'','','1300512996',1),(1098,38,'','','1300513530',1),(1099,38,'','','1300513599',1),(1100,39,'','','1300521492',1),(1101,40,'','','1300521795',1),(1102,41,'','','1300521960',1),(1103,37,'','','1300523311',1),(1104,10154,'','','1300523350',1),(1105,37,'','','1300523445',1),(1106,37,'','','1300523548',1),(1107,37,'','','1300523610',1),(1108,37,'','','1300523771',1),(1109,37,'','','1300524036',1),(1110,41,'','','1300524110',1),(1111,41,'','','1300524225',1),(1112,41,'','','1300524329',1),(1113,42,'','','1300538559',1),(1114,43,'','','1300540472',1),(1115,44,'','','1300687538',1),(1116,44,'','','1300688031',1),(1117,45,'','','1300688197',1),(1118,45,'','','1300689507',1),(1119,10155,'','','1300692930',1),(1120,39,'','','1300700641',1),(1121,46,'','','1300703882',1),(1122,47,'','','1300704229',1),(1123,48,'','','1300704288',1),(1124,49,'','','1300705401',1),(1125,49,'','','1300705518',1),(1126,49,'','','1300705562',1),(1127,50,'','','1300705640',1),(1128,50,'','','1300705746',1),(1129,50,'','','1300705914',1),(1130,50,'','','1300706142',1),(1131,50,'','','1300706381',1),(1132,50,'','','1300706823',1),(1133,50,'','','1300706984',1),(1134,50,'','','1300707076',1),(1135,51,'','','1300707315',1),(1136,51,'','','1300707466',1),(1137,51,'','','1300708248',1),(1138,41,'','','1300709188',1),(1139,10156,'','','1300728878',1),(1140,10157,'','','1300776505',1),(1141,52,'','','1300794542',1),(1142,52,'','','1300886055',1),(1143,53,'','','1300949490',1),(1144,10158,'','','1300954511',1),(1145,10159,'','','1300954625',1),(1146,10160,'','','1300954667',1),(1147,54,'','','1300958990',1),(1148,10161,'','','1300971691',1),(1149,10162,'','','1300973538',1),(1150,54,'','','1301030211',1),(1151,55,'','','1301300602',1),(1152,56,'','','1301302290',1),(1153,57,'','','1301306354',1),(1154,58,'','','1301307132',1),(1155,59,'','','1301318254',1),(1156,59,'','','1301320191',1),(1157,59,'','','1301320243',1),(1158,10163,'','','1301377460',1),(1159,59,'','','1301380075',1),(1160,59,'','','1301381901',1),(1161,57,'','','1301382419',1),(1162,60,'','','1301382556',1),(1163,60,'','','1301382655',1),(1164,60,'','','1301382671',1),(1165,60,'','','1301382703',1),(1166,60,'','','1301382845',1),(1167,60,'','','1301383725',1),(1168,60,'','','1301387771',1),(1169,60,'','','1301387850',1),(1170,60,'','','1301388357',1),(1171,60,'','','1301388421',1),(1172,60,'','','1301393361',1),(1173,60,'','','1301393443',1),(1174,60,'','','1301393853',1),(1175,10164,'','','1301393996',1),(1176,58,'','','1301394939',1),(1177,10165,'','','1301394975',1),(1178,10166,'','','1302207655',1),(1179,10167,'','','1302208283',1),(1180,10168,'','','1302208442',1),(1181,10169,'','','1302208647',1),(1182,10170,'','','1302208885',1),(1183,10172,'','','1302209294',1),(1184,61,'','','1302245632',1),(1185,62,'','','1302247201',1),(1186,63,'','','1302248129',1),(1187,63,'','','1302249264',1),(1188,64,'','','1302256135',1),(1189,10173,'','','1302256690',1),(1190,65,'','','1302261500',1),(1191,66,'','','1302261766',1),(1192,67,'','','1302261897',1),(1193,68,'','','1302261973',1),(1194,10174,'','','1302267378',1),(1195,10175,'','','1302268205',1),(1196,69,'','','1302268994',1),(1197,70,'','','1302287656',1),(1198,10176,'','','1302291583',1),(1199,71,'','','1302328090',1),(1200,10177,'','','1302329478',1),(1201,72,'','','1302603074',1),(1202,10178,'','','1302675173',1),(1203,10179,'','','1303187925',1),(1204,10180,'','','1305785966',1),(1205,73,'','','1305786317',1),(1206,74,'','','1306950435',1),(1207,75,'','','1306993744',1),(1208,76,'','','1306993908',1),(1209,79,'','','1307000185',1),(1210,80,'','','1307000438',1),(1211,81,'','','1307001266',1),(1212,82,'','','1307001832',1),(1213,83,'','','1307002939',1),(1214,84,'','','1307003349',1),(1215,85,'','','1307003784',1),(1216,86,'','','1307004025',1),(1217,87,'','','1307007803',1),(1218,88,'','','1307008485',1),(1219,89,'','','1307009288',1),(1220,90,'','loose jhangad for review. return tomorrow.','1307011273',1),(1221,10181,'','loose invoice. check & return tomorrow.\r\n','1307014064',1),(1222,91,'','','1307017171',1),(1223,10182,'','comments to carry forward on invoice','1307017780',1),(1224,10183,'','comments to carry forward on invoice','1307017903',1),(1225,92,'','','1307537373',1),(1226,93,'','','1307537473',1),(1227,94,'','','1312352008',1),(1228,41,'','','1314337368',1),(1229,95,'','','1314337534',1),(1230,47,'','','1314427263',1),(1231,96,'','','1314427331',1),(1232,50,'','','1315048842',1),(1233,97,'','','1315048920',1),(1234,52,'','','1315821965',1);

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

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

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


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

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

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


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

CREATE TABLE `bstock_orders` (
  `id` int(8) unsigned zerofill NOT NULL AUTO_INCREMENT,
  `so_number` varchar(255) NOT NULL,
  `contact_person` varchar(500) NOT NULL,
  `customer_first_name` varchar(100) NOT NULL COMMENT 'This will contain the first name of the customer who placed this order.',
  `customer_last_name` varchar(100) NOT NULL COMMENT 'This will contain the last name of the customer who placed this order.',
  `customer_id` int(10) NOT NULL COMMENT 'This is the foreign key for the customers & is mapped to primary key of customers table.',
  `carrier_id` int(10) NOT NULL,
  `assigned_to_id` int(10) NOT NULL,
  `vendor_id` int(10) NOT NULL,
  `broker_id` int(10) NOT NULL,
  `tracking_no` int(10) NOT NULL,
  `payment_terms_id` int(10) NOT NULL,
  `payment_mode` enum('Credit Card','Paypal','Cash','Cheque','Bank Transfer') NOT NULL COMMENT 'Whether payment is in Cash or Angadia mode.',
  `type_of_tax` enum('individual','group') NOT NULL,
  `brokerage` decimal(10,2) NOT NULL,
  `packaging` decimal(10,0) NOT NULL,
  `octroi` decimal(10,0) NOT NULL,
  `exciseduty` decimal(10,0) NOT NULL,
  `gst` decimal(10,3) NOT NULL,
  `subtotal` varchar(10) NOT NULL COMMENT 'Total amount of the order.',
  `net_total` decimal(10,2) NOT NULL,
  `adjustment` decimal(10,2) NOT NULL,
  `balance` decimal(10,2) NOT NULL COMMENT 'Balance payment for this order.',
  `status_id` int(10) NOT NULL COMMENT 'This field will be the foreign key from the order status table & mapped to it''s primary key.',
  `delivery_status_id` int(10) NOT NULL,
  `dollar_rate` decimal(10,2) NOT NULL,
  `so_comments` text,
  `transaction_type_id` int(10) NOT NULL DEFAULT '1',
  `terms_condition` varchar(1000) NOT NULL,
  `due_date` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `transaction_date` int(11) NOT NULL COMMENT 'Date when the transaction took place.',
  `created_date` varchar(50) NOT NULL COMMENT 'This will be the created date for this order.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This will be the last modified date for this order.',
  `affiliate_id` int(10) NOT NULL,
  `type` enum('so') NOT NULL,
  `exporter_id` int(11) NOT NULL,
  `angadia_id` int(11) NOT NULL COMMENT 'ID of the Angadia company.',
  `source` enum('Web','Admin') NOT NULL,
  `include_gst` enum('on','off') NOT NULL DEFAULT 'off' COMMENT 'This field indicates whether prices of product in this Appro are inclusive of GST or not',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=latin1 COMMENT='Store order related information. Order items are stored in s';

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

INSERT INTO `bstock_orders` VALUES (00000001,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,11308.064,'113080.64',124388.70,0.00,124388.70,10,1,0.00,'',1,'',1316092847,'on',1316092847,'1316092847','1316092847',0,'so',0,0,'Web','off'),(00000002,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,2155.744,'21557.44',23713.18,0.00,23713.18,10,1,0.00,'',1,'',1316094230,'on',1316094230,'1316094230','1316094230',0,'so',0,0,'Web','off'),(00000003,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,1081.920,'10819.2',11901.12,0.00,11901.12,10,1,0.00,'',1,'',1316094732,'on',1316094732,'1316094732','1316094732',0,'so',0,0,'Web','off'),(00000004,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,1138.000,'11380',12518.00,0.00,12518.00,10,1,0.00,'',1,'',1316095025,'on',1316095025,'1316095025','1316095025',0,'so',0,0,'Web','off'),(00000005,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,12433.320,'124333.2',136766.52,0.00,136766.52,10,1,0.00,'',1,'',1316095359,'on',1316095359,'1316095359','1316095359',0,'so',0,0,'Web','off'),(00000006,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,949.920,'9499.2',10449.12,0.00,10449.12,10,1,0.00,'',1,'',1316095369,'on',1316095369,'1316095369','1316095369',0,'so',0,0,'Web','off'),(00000007,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,672.640,'6726.4',7399.04,0.00,7399.04,10,1,0.00,'',1,'',1316095583,'on',1316095583,'1316095583','1316095583',0,'so',0,0,'Web','off'),(00000008,'web','','harshad','narvekar',87,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,181.376,'1813.76',1995.14,0.00,1995.14,10,1,0.00,'',1,'',1316103071,'on',1316103071,'1316103071','1316103071',0,'so',0,0,'Web','off'),(00000009,'web','','harshad','narvekar',87,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,46.200,'462',508.20,0.00,508.20,10,1,0.00,'',1,'',1316103748,'on',1316103748,'1316103748','1316103748',0,'so',0,0,'Web','off'),(00000010,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,455.920,'4559.2',5015.12,0.00,5015.12,10,1,0.00,'',1,'',1316105102,'on',1316105102,'1316105102','1316105102',0,'so',0,0,'Web','off'),(00000011,'web','','harshad','narvekar',87,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,146.200,'1462',1608.20,0.00,1608.20,10,1,0.00,'',1,'',1316105683,'on',1316105683,'1316105683','1316105683',0,'so',0,0,'Web','off'),(00000012,'web','','harshad','narvekar',87,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,234.432,'2344.32',2578.75,0.00,2578.75,10,1,0.00,'',1,'',1316105779,'on',1316105779,'1316105779','1316105779',0,'so',0,0,'Web','off'),(00000013,'web','','harshad','narvekar',87,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,890.000,'8900',9790.00,0.00,9790.00,10,1,0.00,'',1,'',1316106322,'on',1316106322,'1316106322','1316106322',0,'so',0,0,'Web','off'),(00000014,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,672.640,'6726.4',7399.04,0.00,7399.04,10,1,0.00,'',1,'',1316114611,'on',1316114611,'1316114611','1316114611',0,'so',0,0,'Web','off'),(00000015,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,1567.600,'15676',17243.60,0.00,17243.60,10,1,0.00,'',1,'',1316150698,'on',1316150698,'1316150698','1316150698',0,'so',0,0,'Web','off'),(00000016,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,7767.120,'77671.2',85438.32,0.00,85438.32,10,1,0.00,'',1,'',1316150702,'on',1316150702,'1316150702','1316150702',0,'so',0,0,'Web','off'),(00000017,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,1226.576,'12265.76',13492.34,0.00,13492.34,10,1,0.00,'',1,'',1316151802,'on',1316151802,'1316151802','1316151802',0,'so',0,0,'Web','off'),(00000018,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,547.600,'5476',6023.60,0.00,6023.60,10,1,0.00,'',1,'',1316152906,'on',1316152906,'1316152906','1316152906',0,'so',0,0,'Web','off'),(00000019,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,479.600,'4796',5275.60,0.00,5275.60,10,1,0.00,'',1,'',1316154717,'on',1316154717,'1316154717','1316154717',0,'so',0,0,'Web','off'),(00000020,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,674.488,'6744.88',7419.37,0.00,7419.37,10,1,0.00,'',1,'',1316155027,'on',1316155027,'1316155027','1316155027',0,'so',0,0,'Web','off'),(00000021,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,522.984,'5229.84',5752.82,0.00,5752.82,10,1,0.00,'',1,'',1316155765,'on',1316155765,'1316155765','1316155765',0,'so',0,0,'Web','off'),(00000022,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,5914.344,'59143.44',65057.78,0.00,65057.78,10,1,0.00,'',1,'',1316156742,'on',1316156742,'1316156742','1316156742',0,'so',0,0,'Web','off'),(00000023,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,1123.400,'11234',12357.40,0.00,12357.40,10,1,0.00,'',1,'',1316158812,'on',1316158812,'1316158812','1316158812',0,'so',0,0,'Web','off'),(00000024,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,9427.224,'94272.24',103699.46,0.00,103699.46,10,1,0.00,'',1,'',1316168304,'on',1316168304,'1316168304','1316168304',0,'so',0,0,'Web','off'),(00000025,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,760.232,'7602.32',8362.55,0.00,8362.55,10,1,0.00,'',1,'',1316761811,'on',1316761811,'1316761811','1316761811',0,'so',0,0,'Web','off'),(00000026,'web','','harshad','narvekar',2262,0,0,0,0,0,0,'Cash','individual',0.00,0,0,0,360.000,'3600',3960.00,0.00,3960.00,10,1,0.00,'',1,'',1316767875,'on',1316767875,'1316767875','1316767875',0,'so',0,0,'Web','off');

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

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

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


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

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

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

INSERT INTO `bstock_ordershipping` VALUES (1,10184,3625,'','1312177944','1312177944'),(2,10186,3626,'','1312317076','1312317076'),(3,10191,3627,'','1312317545','1312317545'),(4,10192,3629,'','1312453243','1312453243'),(5,10193,3630,'','1312454723','1312454723'),(6,3,3631,'','1312456842','1312456842'),(7,20,3633,'','1313069051','1313069051'),(8,39,3634,'','1313236907','1313236907'),(9,40,3635,'','1314272528','1314272528'),(10,45,3638,'','1314353359','1314353359'),(11,48,3642,'','1314607992','1314607992'),(12,54,3647,'','1315823865','1315823865'),(13,63,3648,'','1315828946','1315828946'),(14,64,3649,'','1315829521','1315829521'),(15,65,3650,'','1315830249','1315830249'),(16,66,3651,'','1315831247','1315831247'),(17,67,3652,'','1315836451','1315836451'),(18,68,3653,'','1315915752','1315915752'),(19,69,3654,'','1315918365','1315918365'),(20,72,3655,'','1316007775','1316007775'),(21,73,3656,'','1316026418','1316026418'),(22,74,3657,'','1316033321','1316033321'),(23,75,3658,'','1316065443','1316065443'),(24,76,3659,'','1316066893','1316066893'),(25,77,3660,'','1316067336','1316067336'),(26,78,3661,'','1316067663','1316067663'),(27,79,3662,'','1316068018','1316068018'),(28,80,3663,'','1316068607','1316068607'),(29,81,3664,'','1316068855','1316068855'),(30,82,3665,'','1316069665','1316069665'),(31,83,3666,'','1316069953','1316069953'),(32,84,3667,'','1316070776','1316070776'),(33,88,3668,'','1316071270','1316071270'),(34,92,3669,'','1316072377','1316072377'),(35,94,3670,'','1316072777','1316072777'),(36,96,3671,'','1316073344','1316073344'),(37,97,3672,'','1316073675','1316073675'),(38,98,3673,'','1316073960','1316073960'),(39,99,3674,'','1316074161','1316074161'),(40,100,3675,'','1316074415','1316074415'),(41,101,3676,'','1316074694','1316074694'),(42,102,3677,'','1316074893','1316074893'),(43,103,3678,'','1316075121','1316075121'),(44,104,3679,'','1316075293','1316075293'),(45,105,3680,'','1316075347','1316075347'),(46,106,3681,'','1316077348','1316077348'),(47,111,3682,'','1316083118','1316083118'),(48,112,3683,'','1316083524','1316083524'),(49,113,3684,'','1316084882','1316084882'),(50,118,3685,'','1316085759','1316085759'),(51,1,3686,'','1316092847','1316092847'),(52,5,3687,'','1316095359','1316095359'),(53,9,3688,'','1316103748','1316103748'),(54,10,3689,'','1316105102','1316105102'),(55,12,3690,'','1316105779','1316105779'),(56,13,3691,'','1316106322','1316106322'),(57,15,3692,'','1316150698','1316150698'),(58,16,3693,'','1316150702','1316150702'),(59,23,3694,'','1316158812','1316158812'),(60,24,3695,'','1316168304','1316168304'),(61,25,3696,'','1316761811','1316761811');

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

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

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

INSERT INTO `bstock_ordershippinginfo` VALUES (1,00000002,'','','NA','','','','','',1,'','1299090554','1299090554','',''),(2,00000001,'','','NA','','','','','',1,'','1299091186','1299091186','',''),(3,00000001,'','','NA','','','','','',1,'','1299091295','1299091295','',''),(4,00000001,'','','NA','','','','','',1,'','1299092437','1299092437','',''),(5,00000001,'','','NA','','','','','',1,'','1299094412','1299094412','',''),(6,00000001,'','','NA','','','','','',1,'','1299094493','1299094493','',''),(7,00010128,'','','NA','','','','','',1,'','1299330918','1299330918','',''),(8,00010128,'','','NA','','','','','',1,'','1299331088','1299331088','',''),(9,00010128,'','','NA','','','','','',1,'','1299331262','1299331262','',''),(10,00010128,'','','NA','','','','','',1,'','1299331499','1299331499','',''),(11,00010128,'','','NA','','','','','',1,'','1299331982','1299331982','',''),(12,00010128,'','','NA','','','','','',1,'','1299332616','1299332616','',''),(13,00010128,'','','NA','','','','','',1,'','1299332978','1299332978','',''),(14,00010141,'','','NA','','','','','',1,'','1299757500','1299757500','',''),(15,00010141,'','','NA','','','','','',1,'','1299757887','1299757887','',''),(16,00010142,'','','Courier','','','','','',1,'','1300350963','1300350963','',''),(17,00010142,'','','Courier','','','','','',1,'','1300357815','1300357815','',''),(18,00010143,'','','Express Post','','','','','',1,'','1300358743','1300358743','',''),(19,00010142,'','','Courier','','','','','',1,'','1300359432','1300359432','',''),(20,00010146,'','','NA','','','','','',1,'','1300445109','1300445109','',''),(21,00010148,'','','NA','','','','','',1,'','1300450756','1300450756','',''),(22,00010149,'','','NA','','','','','',1,'','1300451405','1300451405','',''),(23,00010151,'','','NA','','','','','',1,'','1300452002','1300452002','',''),(24,00010152,'','','NA','','','','','',1,'','1300452393','1300452393','',''),(25,00010153,'','','NA','','','','','',1,'','1300452763','1300452763','',''),(26,00010153,'','','NA','','','','','',1,'','1300516742','1300516742','',''),(27,00010153,'','','NA','','','','','',1,'','1300516988','1300516988','',''),(28,00010153,'','','NA','','','','','',1,'','1300517148','1300517148','',''),(29,00010153,'','','NA','','','','','',1,'','1300519162','1300519162','',''),(30,00010154,'','','NA','','','','','',1,'','1300690477','1300690477','',''),(31,00010156,'','','NA','','','','','',1,'','1300729631','1300729631','',''),(32,00004206,'547F12','1300773638','Platinium Express Post','','','','','',1,'test','1300773638','1300773638','',''),(33,00004206,'547F12','1300773958','Platinium Express Post','','','','','',1,'test','1300773958','1300773958','',''),(34,00010156,'547F12','1300774654','Platinium Express Post','','','','','',1,'tesat','1300774654','1300774654','',''),(35,00010157,'adsf','1300776609','','','','','','',1,'test','1300776609','1300776609','',''),(36,00010159,'','','Courier','','','','','',1,'','1301380005','1301380005','',''),(37,00010172,'','','Courier','','','','','',1,'','1302210306','1302210306','',''),(38,00010172,'','','Courier','','','','','',1,'','1302210399','1302210399','',''),(39,00010172,'','','Courier','','','','','',1,'','1302210561','1302210561','',''),(40,00010172,'','','Courier','','','','','',1,'','1302210633','1302210633','',''),(41,00010172,'','','Courier','','','','','',1,'','1302240673','1302240673','',''),(42,00010172,'','','Courier','','','','','',1,'','1302241022','1302241022','',''),(43,00010171,'','','NA','','','','','',1,'','1302241257','1302241257','',''),(44,00010173,'','','NA','','','','','',1,'','1302257283','1302257283','',''),(45,00010173,'','','NA','','','','','',1,'','1302257405','1302257405','',''),(46,00010159,'','','Courier','','','','','',1,'','1302269244','1302269244','',''),(47,00010165,'','','NA','','','','','',1,'','1302269348','1302269348','',''),(48,00010159,'','','Courier','','','','','',1,'','1302269850','1302269850','',''),(49,00010170,'5345435','1302270015','','','','','','',1,'4335RAMKK','1302270015','1302270015','',''),(50,00010159,'','','Courier','','','','','',1,'','1302270176','1302270176','',''),(51,00010176,'2344','1302292089','','','','','','',1,'3156RMOBE couriered.','1302292089','1302292089','',''),(52,00010176,'3455','1302292162','','','','','','',1,'1778RJOK','1302292162','1302292162','',''),(53,00010178,'','','NA','','','','','',1,'','1302675261','1302675261','',''),(54,00010178,'','','NA','','','','','',1,'','1302675468','1302675468','',''),(55,00010178,'','','NA','','','','','',1,'','1302675923','1302675923','',''),(56,00010180,'','','NA','','','','','',1,'','1305785997','1305785997','',''),(57,00010180,'','','NA','','','','','',1,'','1307012653','1307012653','',''),(58,00000041,'','','NA','','','','','',1,'','1314337660','1314337660','','');

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

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

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

INSERT INTO `bstock_orderstatushistory` VALUES (1,1,1,'1298106142','1298106142',1),(2,185,7,'1298269340','1298269340',1),(3,185,7,'1298269588','1298269588',1),(4,185,7,'1298270025','1298270025',1),(5,10013,1,'1298442392','1298442392',1),(6,10013,7,'1298443545','1298443545',1),(7,10014,1,'1298443755','1298443755',1),(8,10014,7,'1298443834','1298443834',1),(9,10015,1,'1298491315','1298491315',1),(10,10016,1,'1298491519','1298491519',1),(11,10016,1,'1298491614','1298491614',1),(12,10016,1,'1298493612','1298493612',1),(13,10016,1,'1298493985','1298493985',1),(14,10016,1,'1298494651','1298494651',1),(15,10017,1,'1298894325','1298894325',1),(16,10017,1,'1298894441','1298894441',1),(17,10017,1,'1298894508','1298894508',1),(18,10018,1,'1298962404','1298962404',1),(19,226,1,'1299061252','1299061252',1),(20,226,4,'1299062191','1299062191',1),(21,226,7,'1299062683','1299062683',1),(22,1,0,'1299070910','1299070910',1),(23,2,0,'1299089611','1299089611',1),(24,227,1,'1299094696','1299094696',1),(25,3,0,'1299094793','1299094793',1),(26,10121,0,'1299095461','1299095461',1),(27,228,2,'1299300053','1299300053',1),(28,10122,0,'1299302456','1299302456',1),(29,229,2,'1299302855','1299302855',1),(30,10123,0,'1299303036','1299303036',1),(31,230,2,'1299303187','1299303187',1),(32,10124,0,'1299303496','1299303496',1),(33,231,1,'1299303618','1299303618',1),(34,232,1,'1299303851','1299303851',1),(35,233,1,'1299303979','1299303979',1),(36,234,1,'1299304029','1299304029',1),(37,10125,0,'1299304267','1299304267',1),(38,10126,0,'1299304495','1299304495',1),(39,235,1,'1299304563','1299304563',1),(40,235,1,'1299305818','1299305818',1),(41,235,2,'1299307374','1299307374',1),(42,235,5,'1299307424','1299307424',1),(43,235,5,'1299308177','1299308177',1),(44,235,4,'1299308197','1299308197',1),(45,10127,0,'1299310276','1299310276',1),(46,236,1,'1299310516','1299310516',1),(47,236,1,'1299311821','1299311821',1),(48,237,1,'1299316431','1299316431',1),(49,237,1,'1299316644','1299316644',1),(50,237,1,'1299318760','1299318760',1),(51,237,1,'1299318954','1299318954',1),(52,237,1,'1299319051','1299319051',1),(53,238,1,'1299319463','1299319463',1),(54,239,1,'1299319606','1299319606',1),(55,240,1,'1299319719','1299319719',1),(56,240,1,'1299319907','1299319907',1),(57,240,1,'1299321169','1299321169',1),(58,240,1,'1299322579','1299322579',1),(59,241,1,'1299328241','1299328241',1),(60,241,1,'1299328661','1299328661',1),(61,241,1,'1299329298','1299329298',1),(62,241,1,'1299329702','1299329702',1),(63,10128,0,'1299330203','1299330203',1),(64,241,1,'1299334024','1299334024',1),(65,241,1,'1299334063','1299334063',1),(66,241,1,'1299334092','1299334092',1),(67,241,1,'1299334136','1299334136',1),(68,241,1,'1299334727','1299334727',1),(69,241,1,'1299334742','1299334742',1),(70,241,1,'1299334764','1299334764',1),(71,241,1,'1299334832','1299334832',1),(72,241,1,'1299334846','1299334846',1),(73,241,1,'1299334870','1299334870',1),(74,241,1,'1299334887','1299334887',1),(75,10129,0,'1299335108','1299335108',1),(76,242,1,'1299335234','1299335234',1),(77,241,1,'1299335330','1299335330',1),(78,241,1,'1299336033','1299336033',1),(79,241,1,'1299336054','1299336054',1),(80,241,1,'1299336493','1299336493',1),(81,241,1,'1299336952','1299336952',1),(82,241,1,'1299337051','1299337051',1),(83,242,1,'1299337112','1299337112',1),(84,242,1,'1299337120','1299337120',1),(85,242,1,'1299337271','1299337271',1),(86,242,1,'1299337489','1299337489',1),(87,242,1,'1299337690','1299337690',1),(88,10130,0,'1299467203','1299467203',1),(89,243,1,'1299467238','1299467238',1),(90,10131,0,'1299467334','1299467334',1),(91,244,1,'1299564069','1299564069',1),(92,244,4,'1299564085','1299564085',1),(93,245,4,'1299564453','1299564453',1),(94,246,4,'1299564762','1299564762',1),(95,247,4,'1299565943','1299565943',1),(96,248,4,'1299566413','1299566413',1),(97,249,4,'1299566765','1299566765',1),(98,250,4,'1299566984','1299566984',1),(99,251,4,'1299567132','1299567132',1),(100,252,4,'1299567278','1299567278',1),(101,253,4,'1299567989','1299567989',1),(102,254,4,'1299568514','1299568514',1),(103,255,4,'1299568872','1299568872',1),(104,256,4,'1299569136','1299569136',1),(105,257,4,'1299569380','1299569380',1),(106,258,4,'1299569635','1299569635',1),(107,259,4,'1299569714','1299569714',1),(108,260,4,'1299580740','1299580740',1),(109,261,4,'1299581303','1299581303',1),(110,262,1,'1299582384','1299582384',2),(111,1,4,'1299589737','1299589737',1),(112,2,4,'1299590219','1299590219',1),(113,3,4,'1299591489','1299591489',1),(114,4,4,'1299592879','1299592879',1),(115,5,4,'1299593050','1299593050',1),(116,6,1,'1299593428','1299593428',1),(117,1,1,'1299594417','1299594417',1),(118,2,4,'1299595506','1299595506',1),(119,3,1,'1299595731','1299595731',1),(120,10132,0,'1299600042','1299600042',1),(121,4,1,'1299600347','1299600347',1),(122,10133,0,'1299600407','1299600407',1),(123,5,1,'1299601497','1299601497',1),(124,5,4,'1299601600','1299601600',1),(125,5,7,'1299602012','1299602012',1),(126,10134,0,'1299602162','1299602162',1),(127,6,1,'1299602956','1299602956',1),(128,7,4,'1299603235','1299603235',1),(129,8,1,'1299603373','1299603373',1),(130,9,1,'1299603683','1299603683',1),(131,10,1,'1299603838','1299603838',1),(132,8,7,'1299604152','1299604152',1),(133,11,1,'1299604212','1299604212',1),(134,11,1,'1299604226','1299604226',1),(135,10135,0,'1299604265','1299604265',1),(136,12,4,'1299662309','1299662309',1),(137,13,4,'1299663268','1299663268',1),(138,14,1,'1299663939','1299663939',1),(139,10136,0,'1299665724','1299665724',1),(140,10138,0,'1299667445','1299667445',1),(141,10139,0,'1299671708','1299671708',1),(142,15,1,'1299672695','1299672695',1),(143,16,1,'1299676222','1299676222',1),(144,17,1,'1299676842','1299676842',1),(145,17,4,'1299676891','1299676891',1),(146,18,1,'1299753841','1299753841',1),(147,10140,0,'1299755788','1299755788',1),(148,10141,0,'1299756845','1299756845',1),(149,19,1,'1299758135','1299758135',1),(150,19,1,'1299758349','1299758349',1),(151,19,1,'1300088867','1300088867',1),(152,19,1,'1300088894','1300088894',1),(153,19,1,'1300088922','1300088922',1),(154,19,1,'1300088954','1300088954',1),(155,19,1,'1300089092','1300089092',1),(156,19,1,'1300089132','1300089132',1),(157,19,1,'1300089311','1300089311',1),(158,19,1,'1300089325','1300089325',1),(159,19,1,'1300092412','1300092412',1),(160,19,1,'1300092535','1300092535',1),(161,19,1,'1300092602','1300092602',1),(162,20,1,'1300092720','1300092720',1),(163,20,1,'1300094019','1300094019',1),(164,20,1,'1300097105','1300097105',1),(165,20,1,'1300097564','1300097564',1),(166,21,4,'1300187352','1300187352',1),(167,22,4,'1300187775','1300187775',1),(168,23,4,'1300187875','1300187875',1),(169,24,4,'1300189931','1300189931',1),(170,25,4,'1300190161','1300190161',1),(171,26,4,'1300190489','1300190489',1),(172,27,4,'1300190583','1300190583',1),(173,28,4,'1300191543','1300191543',1),(174,29,4,'1300191650','1300191650',1),(175,30,1,'1300200069','1300200069',1),(176,30,1,'1300208405','1300208405',1),(177,30,1,'1300208504','1300208504',1),(178,30,1,'1300208608','1300208608',1),(179,30,1,'1300208883','1300208883',1),(180,30,1,'1300209365','1300209365',1),(181,30,1,'1300209464','1300209464',1),(182,30,1,'1300209522','1300209522',1),(183,30,1,'1300209618','1300209618',1),(184,30,1,'1300209633','1300209633',1),(185,30,1,'1300209764','1300209764',1),(186,30,1,'1300209789','1300209789',1),(187,30,1,'1300209867','1300209867',1),(188,30,1,'1300209948','1300209948',1),(189,30,1,'1300211955','1300211955',1),(190,30,1,'1300212103','1300212103',1),(191,30,1,'1300212122','1300212122',1),(192,30,1,'1300212164','1300212164',1),(193,30,1,'1300212223','1300212223',1),(194,30,1,'1300212236','1300212236',1),(195,30,1,'1300212255','1300212255',1),(196,30,1,'1300212476','1300212476',1),(197,30,1,'1300212497','1300212497',1),(198,30,1,'1300212754','1300212754',1),(199,30,1,'1300212817','1300212817',1),(200,30,1,'1300213039','1300213039',1),(201,30,1,'1300213165','1300213165',1),(202,17,1,'1300216986','1300216986',1),(203,17,1,'1300221809','1300221809',1),(204,31,1,'1300222352','1300222352',1),(205,31,4,'1300224772','1300224772',1),(206,32,1,'1300230174','1300230174',1),(207,32,1,'1300230370','1300230370',1),(208,33,1,'1300230759','1300230759',1),(209,34,1,'1300257796','1300257796',1),(210,34,1,'1300287954','1300287954',1),(211,34,1,'1300289225','1300289225',1),(212,34,1,'1300289328','1300289328',1),(213,34,1,'1300291997','1300291997',1),(214,35,1,'1300292876','1300292876',1),(215,35,1,'1300294881','1300294881',1),(216,35,1,'1300343534','1300343534',1),(217,10142,0,'1300346312','1300346312',1),(218,35,1,'1300347048','1300347048',1),(219,35,1,'1300348882','1300348882',1),(220,35,1,'1300349436','1300349436',1),(221,35,1,'1300349463','1300349463',1),(222,36,1,'1300349791','1300349791',1),(223,36,1,'1300349805','1300349805',1),(224,36,1,'1300356188','1300356188',1),(225,36,1,'1300358281','1300358281',1),(226,36,1,'1300358355','1300358355',1),(227,10143,0,'1300358701','1300358701',1),(228,36,1,'1300359234','1300359234',1),(229,37,4,'1300366215','1300366215',1),(230,10144,0,'1300367698','1300367698',1),(231,38,1,'1300443373','1300443373',1),(232,38,4,'1300443519','1300443519',1),(233,10145,0,'1300444729','1300444729',1),(234,10146,0,'1300445079','1300445079',1),(235,10147,0,'1300445834','1300445834',1),(236,10148,0,'1300450714','1300450714',1),(237,10149,0,'1300451391','1300451391',1),(238,10150,0,'1300451678','1300451678',1),(239,10151,0,'1300451936','1300451936',1),(240,10152,0,'1300452368','1300452368',1),(241,10153,0,'1300452743','1300452743',1),(242,38,1,'1300512996','1300512996',1),(243,38,1,'1300513530','1300513530',1),(244,38,1,'1300513599','1300513599',1),(245,39,1,'1300521492','1300521492',1),(246,40,1,'1300521795','1300521795',1),(247,41,1,'1300521960','1300521960',1),(248,37,4,'1300523311','1300523311',1),(249,10154,0,'1300523350','1300523350',1),(250,37,4,'1300523445','1300523445',1),(251,37,4,'1300523548','1300523548',1),(252,37,4,'1300523610','1300523610',1),(253,37,4,'1300523771','1300523771',1),(254,37,4,'1300524036','1300524036',1),(255,41,1,'1300524110','1300524110',1),(256,41,1,'1300524225','1300524225',1),(257,41,1,'1300524329','1300524329',1),(258,42,1,'1300538559','1300538559',1),(259,43,1,'1300540471','1300540471',1),(260,44,1,'1300687538','1300687538',1),(261,44,1,'1300688031','1300688031',1),(262,45,1,'1300688197','1300688197',1),(263,45,1,'1300689507','1300689507',1),(264,10155,0,'1300692930','1300692930',1),(265,39,1,'1300700641','1300700641',1),(266,46,1,'1300703882','1300703882',1),(267,47,4,'1300704229','1300704229',1),(268,48,1,'1300704288','1300704288',1),(269,49,4,'1300705401','1300705401',1),(270,49,1,'1300705518','1300705518',1),(271,49,4,'1300705562','1300705562',1),(272,50,4,'1300705640','1300705640',1),(273,50,4,'1300705746','1300705746',1),(274,50,4,'1300705914','1300705914',1),(275,50,4,'1300706142','1300706142',1),(276,50,4,'1300706381','1300706381',1),(277,50,4,'1300706823','1300706823',1),(278,50,4,'1300706984','1300706984',1),(279,50,4,'1300707076','1300707076',1),(280,51,4,'1300707315','1300707315',1),(281,51,4,'1300707466','1300707466',1),(282,51,4,'1300708248','1300708248',1),(283,41,4,'1300709188','1300709188',1),(284,10156,0,'1300728877','1300728877',1),(285,10157,0,'1300776505','1300776505',1),(286,52,1,'1300794542','1300794542',1),(287,52,2,'1300886055','1300886055',1),(288,53,1,'1300949490','1300949490',1),(289,10158,0,'1300954511','1300954511',1),(290,10159,0,'1300954625','1300954625',1),(291,10160,0,'1300954667','1300954667',1),(292,54,1,'1300958990','1300958990',1),(293,10161,0,'1300971691','1300971691',1),(294,10162,0,'1300973538','1300973538',1),(295,54,1,'1301030211','1301030211',1),(296,55,1,'1301300602','1301300602',1),(297,56,1,'1301302290','1301302290',1),(298,57,1,'1301306354','1301306354',1),(299,58,1,'1301307132','1301307132',1),(300,59,1,'1301318254','1301318254',1),(301,59,1,'1301320191','1301320191',1),(302,59,1,'1301320243','1301320243',1),(303,10163,0,'1301377460','1301377460',1),(304,59,1,'1301380075','1301380075',1),(305,59,1,'1301381901','1301381901',1),(306,57,1,'1301382419','1301382419',1),(307,60,1,'1301382556','1301382556',1),(308,60,1,'1301382655','1301382655',1),(309,60,1,'1301382671','1301382671',1),(310,60,1,'1301382703','1301382703',1),(311,60,1,'1301382845','1301382845',1),(312,60,1,'1301383725','1301383725',1),(313,60,1,'1301387771','1301387771',1),(314,60,1,'1301387850','1301387850',1),(315,60,1,'1301388357','1301388357',1),(316,60,1,'1301388421','1301388421',1),(317,60,1,'1301393361','1301393361',1),(318,60,1,'1301393443','1301393443',1),(319,60,1,'1301393853','1301393853',1),(320,10164,0,'1301393996','1301393996',1),(321,58,1,'1301394939','1301394939',1),(322,10165,0,'1301394975','1301394975',1),(323,10166,0,'1302207655','1302207655',1),(324,10167,0,'1302208283','1302208283',1),(325,10168,0,'1302208442','1302208442',1),(326,10169,0,'1302208647','1302208647',1),(327,10170,0,'1302208885','1302208885',1),(328,10172,0,'1302209294','1302209294',1),(329,61,0,'1302245632','1302245632',1),(330,62,0,'1302247201','1302247201',1),(331,63,0,'1302248129','1302248129',1),(332,63,0,'1302249264','1302249264',1),(333,64,0,'1302256135','1302256135',1),(334,10173,0,'1302256690','1302256690',1),(335,65,0,'1302261500','1302261500',1),(336,66,0,'1302261766','1302261766',1),(337,67,0,'1302261897','1302261897',1),(338,68,0,'1302261973','1302261973',1),(339,10174,0,'1302267378','1302267378',1),(340,10175,0,'1302268205','1302268205',1),(341,69,0,'1302268994','1302268994',1),(342,70,0,'1302287656','1302287656',1),(343,10176,0,'1302291583','1302291583',1),(344,71,0,'1302328090','1302328090',1),(345,10177,0,'1302329478','1302329478',1),(346,72,0,'1302603074','1302603074',1),(347,10178,0,'1302675173','1302675173',1),(348,10179,0,'1303187924','1303187924',1),(349,10180,0,'1305785966','1305785966',1),(350,73,0,'1305786317','1305786317',1),(351,74,0,'1306950435','1306950435',1),(352,75,0,'1306993744','1306993744',1),(353,76,0,'1306993908','1306993908',1),(354,79,0,'1307000185','1307000185',1),(355,80,0,'1307000438','1307000438',1),(356,81,0,'1307001266','1307001266',1),(357,82,0,'1307001832','1307001832',1),(358,83,0,'1307002939','1307002939',1),(359,84,0,'1307003349','1307003349',1),(360,85,0,'1307003784','1307003784',1),(361,86,0,'1307004025','1307004025',1),(362,87,0,'1307007803','1307007803',1),(363,88,0,'1307008485','1307008485',1),(364,89,0,'1307009288','1307009288',1),(365,90,0,'1307011273','1307011273',1),(366,10181,0,'1307014064','1307014064',1),(367,91,0,'1307017171','1307017171',1),(368,10182,0,'1307017780','1307017780',1),(369,10183,0,'1307017903','1307017903',1),(370,92,0,'1307537373','1307537373',1),(371,93,0,'1307537473','1307537473',1),(372,10184,10,'1312177944','1312177944',0),(373,10186,10,'1312317076','1312317076',0),(374,10191,10,'1312317545','1312317545',0),(375,94,0,'1312352008','1312352008',1),(376,10192,10,'1312453244','1312453244',0),(377,10193,10,'1312454723','1312454723',0),(378,3,10,'1312456842','1312456842',0),(379,20,10,'1313069051','1313069051',0),(380,39,10,'1313236907','1313236907',0),(381,40,10,'1314272529','1314272529',0),(382,41,0,'1314337368','1314337368',1),(383,95,0,'1314337534','1314337534',1),(384,45,10,'1314353359','1314353359',0),(385,47,0,'1314427263','1314427263',1),(386,96,0,'1314427331','1314427331',1),(387,48,10,'1314607993','1314607993',0),(388,50,0,'1315048842','1315048842',1),(389,97,0,'1315048920','1315048920',1),(390,52,0,'1315821965','1315821965',1),(391,54,10,'1315823865','1315823865',0),(392,63,10,'1315828946','1315828946',0),(393,64,10,'1315829521','1315829521',0),(394,65,10,'1315830249','1315830249',0),(395,66,10,'1315831247','1315831247',0),(396,67,10,'1315836451','1315836451',0),(397,68,10,'1315915752','1315915752',0),(398,69,10,'1315918366','1315918366',0),(399,72,10,'1316007775','1316007775',0),(400,73,10,'1316026418','1316026418',0),(401,74,10,'1316033321','1316033321',0),(402,75,10,'1316065445','1316065445',0),(403,76,10,'1316066897','1316066897',0),(404,77,10,'1316067337','1316067337',0),(405,78,10,'1316067663','1316067663',0),(406,79,10,'1316068026','1316068026',0),(407,80,10,'1316068607','1316068607',0),(408,81,10,'1316068856','1316068856',0),(409,82,10,'1316069665','1316069665',0),(410,83,10,'1316069953','1316069953',0),(411,84,10,'1316070776','1316070776',0),(412,88,10,'1316071270','1316071270',0),(413,92,10,'1316072377','1316072377',0),(414,94,10,'1316072777','1316072777',0),(415,96,10,'1316073345','1316073345',0),(416,97,10,'1316073675','1316073675',0),(417,98,10,'1316073960','1316073960',0),(418,99,10,'1316074162','1316074162',0),(419,100,10,'1316074416','1316074416',0),(420,101,10,'1316074695','1316074695',0),(421,102,10,'1316074893','1316074893',0),(422,103,10,'1316075121','1316075121',0),(423,104,10,'1316075293','1316075293',0),(424,105,10,'1316075348','1316075348',0),(425,106,10,'1316077348','1316077348',0),(426,111,10,'1316083118','1316083118',0),(427,112,10,'1316083528','1316083528',0),(428,113,10,'1316084882','1316084882',0),(429,118,10,'1316085759','1316085759',0),(430,1,10,'1316092847','1316092847',0),(431,5,10,'1316095360','1316095360',0),(432,9,10,'1316103750','1316103750',0),(433,10,10,'1316105102','1316105102',0),(434,12,10,'1316105779','1316105779',0),(435,13,10,'1316106326','1316106326',0),(436,15,10,'1316150709','1316150709',0),(437,16,10,'1316150712','1316150712',0),(438,23,10,'1316158812','1316158812',0),(439,24,10,'1316168304','1316168304',0),(440,25,10,'1316761811','1316761811',0);

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

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

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

INSERT INTO `bstock_orderstatustypes` VALUES (1,'Order Placed','Order Placed','','',''),(10,'Unpaid','Order Unpaid','on','',''),(9,'Paid','Order Paid','on','',''),(4,'Order shipped','Order shipped','','',''),(5,'Order Completed','Order Completed','','',''),(6,'Order Cancelled','Order Cancelled','','',''),(7,'Order Pending','Order Pending','','',''),(8,'Partially Shipped','Partially Shipped','','',''),(11,'Partially Paid','Order Partially Paid','on','','');

--
-- Table structure for table `bstock_parcel_history`
--

CREATE TABLE `bstock_parcel_history` (
  `id` int(20) NOT NULL AUTO_INCREMENT COMMENT 'primary id for the table',
  `parcel_id` int(20) NOT NULL COMMENT 'Parcel identification',
  `type_id` int(10) NOT NULL COMMENT 'represents type of transaction like jhangad,SO,PO',
  `customer_id` int(10) NOT NULL COMMENT 'Customer identification',
  `status_of_parcel` enum('In Stock','Sold','Jhangad Placed','Jhangad Issued','Jhangad Issued Partial','Jhangad Couriered Full','Jhangad Couriered Partial','Jhangad Partially Returned','Jhangad Returned Full','Order Placed','Order Issued','Order Issued Partial','Order Couriered Full','Order Couriered Partial','Order Partially Returned','Order Returned Full','Deleted') NOT NULL COMMENT 'status of the stock',
  `date` varchar(50) NOT NULL COMMENT 'current date in timestep format',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=latin1 COMMENT='parcel life cycle in table structure';

--
-- Dumping data for table `bstock_parcel_history`
--

INSERT INTO `bstock_parcel_history` VALUES (1,7,1,0,'In Stock','1289472642'),(2,6,1,0,'Deleted','1289476317'),(3,7,1,0,'Deleted','1289476654'),(4,2,1,0,'Deleted','1289476749'),(5,1,4,1,'In Stock','1289555784'),(6,1,4,1,'In Stock','1289556853'),(7,1,4,1,'In Stock','1289557266'),(8,1,4,1,'In Stock','1289557329'),(9,1,4,1,'In Stock','1289560262'),(10,1,4,1,'In Stock','1289560439'),(11,1,4,1,'In Stock','1289560465'),(12,1,4,1,'In Stock','1289560648'),(13,1,4,1,'In Stock','1289560757'),(14,1,4,1,'In Stock','1289560811'),(15,1,4,1,'In Stock','1289560824'),(16,1,4,1,'In Stock','1289560936'),(17,1,4,1,'In Stock','1289560944'),(18,1,4,1,'In Stock','1289561712'),(19,5,4,1,'In Stock','1289562937'),(20,5,4,1,'In Stock','1289562989'),(21,5,4,1,'In Stock','1289563953'),(22,1,4,1,'In Stock','1289564388'),(23,5,4,1,'In Stock','1289564399'),(24,5,4,1,'In Stock','1289564475'),(25,5,4,1,'In Stock','1289565111'),(26,5,4,1,'In Stock','1289565112'),(27,8,1,0,'In Stock','1289642988'),(28,9,1,0,'In Stock','1290580299'),(29,10,1,0,'In Stock','1290580992'),(30,11,1,0,'In Stock','1290581102'),(31,12,1,0,'In Stock','1290581196'),(32,9,1,0,'Deleted','1291045602'),(33,10,1,0,'Deleted','1291045609'),(34,13,1,0,'In Stock','1291182383'),(35,1,1,0,'In Stock','1294149791'),(36,1,4,1,'In Stock','1294149912'),(37,2,1,0,'In Stock','1296213526'),(38,2,1,0,'Deleted','1296213688'),(39,1,1,0,'Deleted','1297090163'),(40,3,1,0,'In Stock','1308384404'),(41,4,1,0,'In Stock','1314340879'),(42,5,1,0,'In Stock','1314340901');

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

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

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


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

CREATE TABLE `bstock_pl_categories` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primiary key',
  `parent_category_id` int(10) NOT NULL COMMENT 'this is will store the parent id of the category. if zero then that is the parent category',
  `name` varchar(255) NOT NULL COMMENT 'this will store the name of the category',
  `desc` varchar(255) NOT NULL COMMENT 'this will store the desc of the category',
  `created_by_id` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `is_featured` enum('off','on') NOT NULL COMMENT 'This will be field to mark if this is a feature category or not',
  `image_filename` varchar(50) NOT NULL COMMENT 'this field will save the image path',
  `filename_cover_image` varchar(50) NOT NULL,
  `is_default` enum('0','1') NOT NULL COMMENT 'this is created to get the default categorty when product is not selected',
  `is_used_in_custom_design` enum('on','off') NOT NULL DEFAULT 'off' COMMENT 'This will determine if this category and its products are to be used in desinging custom jewelry',
  `created_date` varchar(50) NOT NULL,
  `modified_date` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=97 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_pl_categories` VALUES (1,11,'Engagement Rings','Engagement Rings',87,'on','off','','','1','off','1274611761','1316079772'),(2,1,'Engagement','Engagement ',87,'on','off','','001.png','1','on','1274611842','1315555088'),(3,1,'Pave','Pave ',87,'on','off','','Pave.jpeg','1','off','1274611888','1316080598'),(4,1,'Solitaire','Solitaire ',87,'on','off','','solitaire.jpg','0','off','1274611918','1274611918'),(5,1,'Sidestone','Sidestone ',87,'on','off','','sidestone.jpg','0','off','1274611945','1274611945'),(6,11,'Wedding Rings','Wedding Rings',87,'on','off','','Weddings.png','0','on','1274611989','1316079905'),(7,6,'Mens Carved','Mens Carved',87,'on','off','','mens_wedding_ring.png','1','on','1274612021','1315588782'),(8,6,'Plain Bands','Plain Bands ',87,'on','off','','plain.jpg','0','on','1274612166','1315588551'),(9,6,'Mens Diamond','Mens Diamond',87,'on','off','','Diamond Wedding Rings.jpeg','0','off','1274612319','1274612319'),(10,6,'Wedding Ring Sets','Wedding Ring Sets ',87,'on','off','','Wedding Ring Sets.jpeg','0','off','1274612485','1274612485'),(11,0,'parent','parent',87,'on','off','','','0','off','',''),(12,11,'Fine Jewelry','Fine Jewelry ',87,'on','off','','Fine Jewelry.jpeg','0','off','1274613691','1274613691'),(13,12,'Diamond Jewelry','Diamond Jewelry ',87,'on','off','','Diamond Jewelry.jpeg','1','off','1274613817','1274613817'),(14,13,'Studs','Studs ',87,'on','off','','diamond jewelry Studs.jpeg','0','off','1274613899','1274613899'),(15,13,'Rings','Rings ',87,'on','off','','diamond jewelary Rings.jpeg','1','off','1274613978','1274613978'),(16,12,'Gold Jewelry','Gold Jewelry ',87,'on','off','','Gold Jewelry.jpeg','0','off','1274614094','1274614094'),(17,16,'Studs','Studs ',87,'on','off','','gold jewelry Studs.jpeg','1','off','1274614164','1274614164'),(18,16,'Rings','Rings ',87,'on','off','','gold jewelry rings.jpeg','0','off','1274614251','1274614251'),(19,11,'Loose Diamonds','Loose Diamonds ',87,'on','off','','Loose Diamonds.jpeg','0','off','1274614844','1274614844'),(20,19,'Rough','Rough ',87,'on','off','','loose diamonds Rough.jpeg','0','off','1274614967','1274614967'),(21,19,'Polish','Polish ',87,'on','off','','loose diamonds Polish.jpeg','1','off','1274615114','1274615114'),(22,13,'Bracelets','Bracelets ',87,'on','off','','diamond jewelry Bracelets.jpg','1','off','1274953401','1274953401'),(23,13,'Pendants','Pendants ',87,'on','off','','diamond jewelry Pendants.jpg','0','off','1274953708','1274953708'),(24,13,'Necklace','Necklace ',87,'on','off','','diamond jewelry Necklace.jpg','0','off','1274953850','1274953850'),(25,13,'Earings','Earings ',87,'on','off','','diamond jewelry Earings.jpg','0','off','1274954035','1274954035'),(26,16,'Bracelets','Bracelets ',87,'on','off','','gold jewelry Bracelets.jpg','0','off','1274954405','1274954405'),(27,16,'Pendants','Pendants ',87,'on','off','','gold jewelry Pendants.jpg','1','off','1274954521','1274954521'),(28,16,'Necklace','Necklace ',87,'on','off','','gemstone jewelry Necklace.jpg','0','off','1274954573','1279346956'),(29,16,'Earings','Earings ',87,'on','off','','gold jewelry Earings.jpg','0','off','1274954891','1274954891'),(30,12,'Gemstone Jewelry','Gemstone Jewelry ',87,'off','off','','gemstone jewelry.jpg','0','off','1274955193','1274955193'),(31,30,'Studs','Studs ',87,'on','off','','gemstone jewelry Studs.jpg','0','off','1274955420','1274955420'),(32,30,'Rings','Rings ',87,'on','off','','gemstone jewelry Rings.jpg','0','off','1274955477','1274955477'),(33,30,'Bracelets','Bracelets ',87,'on','off','','gemstone jewelry Bracelets.jpg','0','off','1274955801','1274955801'),(34,30,'Pendants','Pendants ',87,'on','off','','gemstone jewelry Pendants.jpg','0','off','1274956019','1274956019'),(35,30,'Necklace','Necklace ',87,'on','off','','gemstone jewelry Necklace.jpg','1','off','1274956294','1274956294'),(36,30,'Earings','Earings ',87,'on','off','','gemstone jewelry Rings.jpg','0','off','1274956480','1274956480'),(37,12,'Pearl Jewelry','Pearl Jewelry ',87,'on','off','','Pearl Jewelry.jpg','0','off','1274956772','1274956772'),(38,37,'Studs','Studs ',87,'on','off','','Pearl Jewelry studs.jpg','0','off','1274957670','1274957670'),(39,37,'Rings','Rings ',87,'on','off','','Pearl Jewelry Rings.jpg','0','off','1274957837','1274957837'),(40,37,'Bracelets','Bracelets ',87,'on','off','','Pearl Jewelry Bracelate.jpg','0','off','1274957859','1274957859'),(41,37,'Pendants','Pendants ',87,'on','off','','Pearl Jewelry Pendants.jpg','0','off','1274957995','1274957995'),(42,37,'Necklace','Necklace ',87,'on','off','','Pearl Jewelry Necklace.jpg','0','off','1274958053','1274958053'),(43,37,'Earings','Earings ',87,'on','off','','Pearl Jewelry Earing.jpg','1','off','1274958073','1274958073'),(44,12,'Silver Jewelry','Silver Jewelry ',87,'on','off','','Silver Jewelry.jpg','0','off','1274958675','1274958675'),(45,44,'Studs','Studs ',87,'on','off','','Silver Jewelry Studs.jpeg','1','off','1274959121','1274959121'),(46,44,'Rings','Rings ',87,'on','off','','Silver Jewelry Rings.jpg','0','off','1274959207','1274959207'),(47,44,'Bracelets','Bracelets ',87,'on','off','','Silver Jewelry bracelet.jpg','0','off','1274959308','1274959308'),(48,44,'Pendants','Pendants ',87,'on','off','','Silver Jewelry Pendants.jpg','0','off','1274959887','1274959887'),(49,44,'Necklace','Necklace ',87,'on','off','','Silver Jewelry Necklace.jpg','0','off','1274959996','1274959996'),(50,44,'Earings','Earings ',87,'on','off','','Silver Jewelry Earings.jpg','0','off','1274960170','1274960170'),(51,12,'Designer Jewelry','Designer Jewelry ',87,'off','off','','designer-jewelry.png','0','off','1274960511','1275127654'),(52,51,'Studs','Studs ',87,'on','off','','Designer Jewelry Studs.jpeg','0','off','1274960588','1274960588'),(53,51,'Rings','Rings ',87,'on','off','','Designer Jewelry Rings.jpeg','1','off','1274960708','1274960708'),(54,51,'Bracelets','Bracelets ',87,'on','off','','Designer Jewelry Bracelets.jpeg','0','off','1274960838','1274960838'),(55,51,'Pendants','Pendants ',87,'on','off','','Designer Jewelry Pendants.jpeg','0','off','1274960939','1274960939'),(56,51,'Necklace','Necklace ',87,'on','off','','Designer Jewelry Necklace.jpeg','0','off','1274960981','1274960981'),(57,51,'Earings','Earings ',87,'on','off','','Designer Jewelry Earings.jpeg','0','off','1274961081','1274961081'),(58,12,'Gift Ideas','Gift Ideas ',87,'on','off','','gift-idea.png','0','off','1274961234','1274961234'),(59,58,'Studs','Studs ',87,'on','off','','gift idea Studs.jpeg','0','off','1274961482','1274961482'),(60,58,'Rings','Rings ',87,'on','off','','gift idea Rings.jpeg','0','off','1274961517','1274961517'),(61,58,'Bracelets','Bracelets ',87,'on','off','','gift idea Bracelets.jpeg','0','off','1274961568','1274961568'),(62,58,'Pendants','Pendants ',87,'on','off','','gift idea Pendants.jpeg','1','off','1274961618','1274961618'),(63,58,'Necklace','Necklace ',87,'on','off','','gift idea Necklace.jpeg','0','off','1274961668','1274961668'),(64,58,'Earings','Earings ',87,'on','off','','gift idea Earings.jpeg','0','off','1274961734','1274961734'),(87,2,'Mone1','Mone1',87,'off','off','','','0','off','1279346253','1316006652'),(79,2,'Tension','Tension ',87,'on','off','','designer-jewelry.png','0','off','1279304378','1279346526'),(70,6,'Eternity Rings','Eternity Rings ',87,'on','off','','diamond jewelary Rings.jpeg','0','off','1279299992','1279346744'),(72,6,'Three Stone','Three-Stone',87,'on','off','','gift idea Rings.jpeg','0','off','1279300607','1279300607'),(86,2,'Gemstone','Gemstone ',87,'off','off','','','0','off','1279346207','1309173451'),(88,11,'Watches','Watches',87,'on','off','','','1','off','1309157093','1309160981'),(89,88,'Mens Watches','Mens Watches ',2262,'on','off','','mens_watch.jpeg','1','off','1309161194','1314351098'),(90,88,'Womens Watches',' ',2262,'on','off','','womens_watch.jpeg','0','on','1309328956','1314351062'),(91,1,'Tiara','Tiara ',87,'off','off','','','1','on','1314339993','1316081056'),(93,1,'Channel Set','Channel Set ',87,'on','off','','channel-set.jpg','1','off','1316080250','1316080375'),(92,1,'NoseRing','NoseRing ',87,'off','off','','','1','on','1314429212','1315993934'),(94,1,'Three stone','Three stone rings ',87,'on','off','','Three-Stone-Rings.jpg','1','off','1316080493','1316080493'),(95,1,'Contemporary','Contemporary ',87,'on','off','','Contemporary.jpg','1','off','1316081387','1316081387'),(96,6,'Ladies Diamond','Ladies Diamond ',87,'on','off','','Ladies-Diamond.jpg','1','off','1316081821','1316081821');

--
