--
-- Host: localhost    Database: reenakak_goldenkey
-- ------------------------------------------------------


--
-- Current Database: `reenakak_goldenkey`
--

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

USE `reenakak_goldenkey`;

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

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

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

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

--
-- Table structure for table `bstock_angadia`
--

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

--
-- Dumping data for table `bstock_angadia`
--

INSERT INTO `bstock_angadia` VALUES (1,'Amba Hargovind','Mumbai - 400 004','on',0,'','1309364713','Bigg Stock - AH'),(4,'Jayanti Amba','Marol Maroshi\r\nAdheri East\r\nMumbai 400093','on',0,'','1309364723','Bigg Stock - JA'),(8,'MM','Opera house','on',0,'','1309364732','Bigg Stock - MM');

--
-- Table structure for table `bstock_angadia_accounts`
--

CREATE TABLE `bstock_angadia_accounts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `angadia_id` int(10) NOT NULL,
  `account_name` varchar(250) NOT NULL,
  `customer_id` int(10) NOT NULL,
  `vendor_id` int(10) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 COMMENT='Stores Angadia account names of customers & vendors.';

--
-- Dumping data for table `bstock_angadia_accounts`
--

INSERT INTO `bstock_angadia_accounts` VALUES (1,1,'Vishal',12,0,'on'),(2,1,'lamp',22,0,'on'),(3,1,'Harshad Narvekar',0,3,'on'),(4,1,'Bigg Stock',0,4,'on'),(5,1,'Subhash (AH)',0,0,'on'),(6,1,'Anurag Enterprise (AH)',0,0,'on'),(7,4,'Subhash (Jayanti Amba)',0,0,'on'),(8,4,'Anurag Enterprise (Jayanti Amba)',0,0,'on');

--
-- Table structure for table `bstock_bank`
--

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

--
-- Dumping data for table `bstock_bank`
--

INSERT INTO `bstock_bank` VALUES (1,'ICICI Bank','Opera house, Mumbai 400004','on',0,'','1306847046','001800180018'),(2,'HDFC Bank','Opera House, Opp. Sukh Sagar, Mumbai','on',0,'1307088364','1307088364','29180018');

--
-- Table structure for table `bstock_brokerage_rates`
--

CREATE TABLE `bstock_brokerage_rates` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `amount_from` decimal(10,2) NOT NULL,
  `amount_to` decimal(10,2) NOT NULL COMMENT 'If this is blank or 0, it means any amount greater than amount_from falls in this slab.',
  `brokerage_percent` decimal(10,2) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` varchar(20) NOT NULL,
  `modified_date` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COMMENT='Store the brokerage slabs from which brokerage for every ord';

--
-- Dumping data for table `bstock_brokerage_rates`
--

INSERT INTO `bstock_brokerage_rates` VALUES (1,0.00,1000000.00,1.00,'on','0','0'),(2,1000001.00,0.00,0.50,'on','0','0'),(3,1500001.00,2000000.00,0.25,'on','',''),(4,2000001.00,0.00,0.10,'on','','');

--
-- Table structure for table `bstock_brokers`
--

CREATE TABLE `bstock_brokers` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `broker_name` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `address` varchar(500) NOT NULL,
  `phone1` varchar(50) NOT NULL,
  `phone2` varchar(50) NOT NULL,
  `fax` int(10) NOT NULL,
  `reference_name` varchar(255) NOT NULL,
  `reference_no` varchar(50) 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=2 DEFAULT CHARSET=latin1;

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

INSERT INTO `bstock_brokers` VALUES (1,'Ankur Shah','','','Borivali','989898989','2828282828',0,'Ankur','','on',1311242710,1311242710);

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

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

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

INSERT INTO `bstock_countries` VALUES (356,'India','IN','IND','on'),(840,'United States','US','USA','off'),(841,'Israel','ISR','IS','off'),(842,'Australia','AU','AU','off');

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

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

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

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

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

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

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

INSERT INTO `bstock_customerbilling` VALUES (1,1,'','79 Landy St','Suse St.','Mumbai',116,356,'400000','','','Harry','Potter','','','','Jhangad','','',''),(2,2,'','MIDC Cross road 24','Andheri','Mumbai',116,356,'400012','','','Frank','Lampard','','','','Jhangad','','',''),(3,2,'00000001','MIDC Cross road 24','Andheri','Mumbai',116,356,'400012','1309370696','1309370696','Frank','','','','','SalesOrder','','',''),(4,3,'','3, pd niwas, subhash nagar','mahakali road','Andheri ',0,356,'400099 ','','','Harshad ','Narvekar','','','','Jhangad','','',''),(5,2,'00000002','MIDC Cross road 24','Andheri','Mumbai',116,356,'400012','1309679125','1309679125','Frank','','','','','SalesOrder','','',''),(6,3,'00000002','','','',0,0,'','1310362523','1310362523','','','','','','Jhangad','','',''),(7,87,'00000003','3, pd niwas ','','andheri ',0,0,'4000000','1310367735','1310367735','Harshad','n','','','','Jhangad','','',''),(8,3,'00000004','3, pd niwas ','','andheri ',0,0,'4000000','1310368829','1310368829','Harshad','n','','','','Jhangad','','',''),(9,3,'00000005','3, pd niwas ','','andheri ',0,0,'4000000','1310368986','1310368986','Harshad','n','','','','Jhangad','','',''),(10,3,'00000006','3, pd niwas ','','andheri ',0,0,'4000000','1310369142','1310369142','Harshad','n','','','','Jhangad','','',''),(11,3,'00000007','3, pd niwas ','','andheri ',0,0,'4000000','1310374393','1310374393','Harshad','n','','','','Jhangad','','',''),(12,3,'00000008','3, pd niwas ','','andheri ',0,0,'4000000','1310374964','1310374964','Harshad','n','','','','Jhangad','','',''),(13,3,'00000009','3, pd niwas ','','andheri ',0,0,'4000000','1310375066','1310375066','Harshad','n','','','','Jhangad','','',''),(14,3,'00000010','3, pd niwas ','','andheri ',0,0,'4000000','1310375709','1310375709','Harshad','n','','','','Jhangad','','',''),(15,3,'00000011','3, pd niwas ','','andheri ',0,0,'4000000','1310376675','1310376675','Harshad','n','','','','Jhangad','','',''),(16,3,'00000012','3, pd niwas ','','andheri ',0,0,'4000000','1310378562','1310378562','Harshad','n','','','','Jhangad','','',''),(17,3,'00000013','3, pd niwas ','','andheri ',0,0,'4000000','1310378691','1310378691','Harshad','n','','','','Jhangad','','',''),(18,3,'00000014','3, pd niwas ','','andheri ',0,0,'4000000','1310378898','1310378898','Harshad','n','','','','Jhangad','','',''),(19,3,'00000015','3, pd niwas ','','andheri ',0,0,'4000000','1310378929','1310378929','Harshad','n','','','','Jhangad','','',''),(20,3,'00000016','3, pd niwas ','','andheri ',0,0,'4000000','1310378971','1310378971','Harshad','n','','','','Jhangad','','',''),(21,3,'00000017','3, pd niwas ','','andheri ',0,0,'4000000','1310379051','1310379051','Harshad','n','','','','Jhangad','','',''),(22,3,'00000018','3, pd niwas ','','andheri ',0,0,'4000000','1310379144','1310379144','Harshad','n','','','','Jhangad','','',''),(23,3,'00000019','3, pd niwas ','','andheri ',0,0,'4000000','1310379258','1310379258','Harshad','n','','','','Jhangad','','',''),(24,3,'00000020','3, pd niwas ','','andheri ',0,0,'4000000','1310379503','1310379503','Harshad','n','','','','Jhangad','','',''),(25,3,'00000021','3, pd niwas ','','andheri ',0,0,'4000000','1310379636','1310379636','Harshad','n','','','','Jhangad','','',''),(26,3,'00000022','3, pd niwas ','','andheri ',0,0,'4000000','1310379747','1310379747','Harshad','n','','','','Jhangad','','',''),(27,3,'00000023','3, pd niwas ','','andheri ',0,0,'4000000','1310379975','1310379975','Harshad','n','','','','Jhangad','','',''),(28,3,'00000024','3, pd niwas ','','andheri ',0,0,'4000000','1310380058','1310380058','Harshad','n','','','','Jhangad','','',''),(29,3,'00000025','3, pd niwas ','','andheri ',0,0,'4000000','1310735674','1310735674','Harshad','n','','','','Jhangad','','',''),(30,4,'','B 201 Apsara','','Mumbai',0,356,'400066','1310818736','1310818736','Vishal','Kothari','','','','Jhangad','','',''),(31,5,'','B 201 Apsara','','Mumbai',0,356,'400066','1310819539','1310819539','Vishal','Kothari','','','','Jhangad','','',''),(32,6,'','B 201 Apsara','','Mumbai',0,356,'400066','1310820019','1310820019','Vishal','Kothari','','','','Jhangad','','',''),(33,7,'','B 201 Apsara','','Mumbai',0,356,'400066','1310820303','1310820303','Vishal','Kothari','','','','Jhangad','','',''),(34,8,'','Test','','Mumbai',0,356,'400066','1311239926','','Vishal','Kothari','','','','Jhangad','','',''),(35,1,'00000026','79 Landy St','Suse St.','Mumbai',0,0,'400000','1311243922','1311243922','Harry ','','','','','SalesOrder','','',''),(36,9,'','3, Pradeep Complex','Andheri','Mumbai',116,356,'400093','','','Vishal','Kothari','','','','Jhangad','','',''),(37,3,'00000026','3, pd niwas, subhash nagar','','Andheri ',80,356,'400099 ','1311255651','1311255651','Harshad ','Narvekar','9833488444','','','Jhangad','','',''),(38,3,'00000027','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311256532','1311256532','Harshad ','Narvekar','9833488444','','','Jhangad','','',''),(39,10,'','','','',0,0,'','','','','','','','','Jhangad','','',''),(40,3,'00000028','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311326069','1311326069','Harshad ','Narvekar','','','','Jhangad','','',''),(41,3,'00000029','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311326910','1311326910','Harshad ','Narvekar','','','','Jhangad','','',''),(42,10,'00000030',' ','','',0,0,'','1311336826','1311336826','Sachin','','','','','Jhangad','','',''),(43,10,'00000031',' ','','',0,0,'','1311339725','1311339725','','','','','','Jhangad','','',''),(44,10,'00000032',' ','','',0,0,'','1311341971','1311341971','','','','','','Jhangad','','',''),(45,3,'00000033','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311772723','1311772723','Harshad ','Narvekar','','','','Jhangad','','',''),(46,3,'00000034','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311855479','1311855479','Harshad ','Narvekar','','','','Jhangad','','',''),(47,3,'00000035','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311855578','1311855578','Harshad ','Narvekar','','','','Jhangad','','',''),(48,3,'00000036','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1311855702','1311855702','Harshad ','Narvekar','','','','Jhangad','','',''),(49,10,'00000037',' ','','',0,0,'','1311921877','1311921877','','','','','','Jhangad','','',''),(50,3,'00000038','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1312009460','1312009460','Harshad ','Narvekar','','','','Jhangad','','',''),(51,3,'00000039','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1312200209','1312200209','Harshad ','Narvekar','','','','Jhangad','','',''),(52,3,'00000040','3, pd niwas, subhash nagar ','','Andheri ',0,0,'400099 ','1312200558','1312200558','Harshad ','Narvekar','','','','Jhangad','','',''),(53,10,'00000041',' ','','',0,0,'','1312354270','1312354270','','','','','','Jhangad','','',''),(54,10,'00000042',' ','','',0,0,'','1312365492','1312365492','','','','','','Jhangad','','',''),(55,1,'00000043','79 Landy St','Suse St.','Mumbai',116,356,'400000','1312367639','1312367639','Harry','','','','','SalesOrder','','',''),(56,10,'00000044','','','',0,0,'','1312724226','1312724226','','','','','','Jhangad','','',''),(57,10,'00000045','','','',0,0,'','1312788816','1312788816','','','','','','Jhangad','','',''),(58,10,'00000046','','','',0,0,'','1312789133','1312789133','','','','','','Jhangad','','',''),(59,10,'00000047','','','',0,0,'','1312789637','1312789637','','','','','','Jhangad','','',''),(60,10,'00000048','','','',0,0,'','1312789845','1312789845','','','','','','Jhangad','','',''),(61,10,'00000049','','','',0,0,'','1312790551','1312790551','','','','','','Jhangad','','',''),(62,10,'00000050','','','',0,0,'','1312794017','1312794017','','','','','','Jhangad','','',''),(63,10,'00000051','','','',0,0,'','1312806641','1312806641','','','','','','Jhangad','','',''),(64,10,'00000052','','','',0,0,'','1312807922','1312807922','','','','','','Jhangad','','',''),(65,10,'00000053','','','',0,0,'','1313216384','1313216384','','','','','','Jhangad','','',''),(66,10,'00000054','','','',0,0,'','1313220544','1313220544','','','','','','Jhangad','','',''),(67,3,'00000054','3, pd niwas, subhash nagar','','Andheri ',0,356,'400099 ','1313228401','1313228401','Harshad ','Narvekar','','','','Jhangad','','',''),(68,3,'00000054','3, pd niwas, subhash nagar','','Andheri ',0,356,'400099 ','1313229095','1313229095','Harshad ','Narvekar','','','','Jhangad','','',''),(69,10,'00000055','','','',0,0,'','1313232118','1313232118','','','','','','Jhangad','','',''),(70,10,'00000056','','','',0,0,'','1313233565','1313233565','','','','','','Jhangad','','',''),(71,10,'00000057','','','',0,0,'','1313234553','1313234553','','','','','','Jhangad','','',''),(72,11,'','test','test','test',116,356,'34534543','','','test','testtes','','','','Jhangad','','',''),(73,12,'','test','test','test',116,356,'34534543','','','test','testtes','','','','Jhangad','','',''),(74,10,'00000058','','','',0,0,'','1313585176','1313585176','','','','','','Jhangad','','',''),(75,10,'00000059','','','',0,0,'','1313746302','1313746302','','','','','','Jhangad','','',''),(76,10,'00000060','','','',0,0,'','1313746328','1313746328','','','','','','Jhangad','','',''),(77,10,'00000061','','','',0,0,'','1313746630','1313746630','test','','','','','SalesOrder','test','',''),(78,10,'00000062','','','',0,0,'','1313746969','1313746969','','','','','','Jhangad','','',''),(79,10,'00000063','','','',0,0,'','1313747027','1313747027','','','','','','SalesOrder','','',''),(80,10,'00000064','','','',0,0,'','1313820282','1313820282','','','','','','SalesOrder','','',''),(81,10,'00000065','','','',0,0,'','1314011684','1314011684','','','','','','Jhangad','','',''),(82,10,'00000066','','','',0,0,'','1314011875','1314011875','','','','','','Jhangad','','',''),(83,10,'00000067','','','',0,0,'','1314011950','1314011950','','','','','','Jhangad','','',''),(84,10,'00000068','','','',0,0,'','1314078595','1314078595','','','','','','Jhangad','','',''),(85,10,'00000069','','','',0,0,'','1314078675','1314078675','','','','','','Jhangad','','',''),(86,10,'00000070','','','',0,0,'','1314078727','1314078727','','','','','','Jhangad','','',''),(87,10,'00000071','','','',0,0,'','1314078771','1314078771','','','','','','Jhangad','','',''),(88,10,'00000072','','','',0,0,'','1314079020','1314079020','','','','','','Jhangad','','',''),(89,10,'00000073','','','',0,0,'','1314079094','1314079094','','','','','','Jhangad','','',''),(90,10,'00000074','','','',0,0,'','1314079686','1314079686','','','','','','Jhangad','','',''),(91,10,'00000075','','','',0,0,'','1314079843','1314079843','','','','','','Jhangad','','',''),(92,10,'00000076','','','',0,0,'','1314086368','1314086368','','','','','','Jhangad','','',''),(93,10,'00000077','','','',0,0,'','1314086677','1314086677','','','','','','Jhangad','','',''),(94,10,'00000078','','','',0,0,'','1314087315','1314087315','','','','','','Jhangad','','',''),(95,10,'00000079','','','',0,0,'','1314087508','1314087508','','','','','','Jhangad','','',''),(96,10,'00000080','','','',0,0,'','1314087676','1314087676','','','','','','Jhangad','','',''),(97,10,'00000081','','','',0,0,'','1314087878','1314087878','','','','','','Jhangad','','',''),(98,10,'00000082','','','',0,0,'','1314088024','1314088024','','','','','','Jhangad','','',''),(99,10,'00000083','','','',0,0,'','1314089569','1314089569','','','','','','Jhangad','','',''),(100,10,'00000084','','','',0,0,'','1314089766','1314089766','','','','','','Jhangad','','',''),(101,10,'00000085','','','',0,0,'','1314091038','1314091038','','','','','','Jhangad','','',''),(102,10,'00000086','','','',0,0,'','1314091330','1314091330','','','','','','Jhangad','','',''),(103,10,'00000087','','','',0,0,'','1314091373','1314091373','','','','','','Jhangad','','',''),(104,10,'00000088','','','',0,0,'','1314092499','1314092499','','','','','','Jhangad','','',''),(105,10,'00000089','','','',0,0,'','1314092733','1314092733','','','','','','Jhangad','','',''),(106,10,'00000090','','','',0,0,'','1314093222','1314093222','','','','','','Jhangad','','',''),(107,10,'00000091','','','',0,0,'','1314093874','1314093874','','','','','','Jhangad','','',''),(108,10,'00000092','','','',0,0,'','1314093993','1314093993','','','','','','Jhangad','','',''),(109,10,'00000093','','','',0,0,'','1314094052','1314094052','','','','','','Jhangad','','',''),(110,10,'00000094','','','',0,0,'','1314094375','1314094375','','','','','','Jhangad','','',''),(111,10,'00000095','','','',0,0,'','1314095128','1314095128','','','','','','Jhangad','','',''),(112,13,'','Andheri','','Mumbai',0,356,'400000','1314096119','1314096119','Baba','Narvekar','','','','Jhangad','','',''),(113,14,'','Andheri','','Mumbai',0,356,'40000','1314096475','1314096475','Baba','N','','','','Jhangad','','',''),(114,15,'','Andheri','','Mumbai',0,356,'40000','1314096573','1314096573','Baba','N','','','','Jhangad','','',''),(115,16,'','Andheri','','Mumbai',0,356,'494949','1314097010','1314097010','Baba','N','','','','Jhangad','','',''),(116,17,'','Baba','','Baba',0,356,'54545','1314097182','1314097182','Baba','Baba','','','','Jhangad','','',''),(117,18,'','Andheri','','Mumbai',0,356,'44444','1314097348','1314097348','Baba','Narvkar','','','','Jhangad','','',''),(118,19,'','Andheri','','',0,0,'43534543','1314097514','1314097514','Baba','Baba','','','','Jhangad','','',''),(119,20,'','Baba','','Abba',0,0,'43534534','1314097677','1314097677','Baba','Baba','','','','Jhangad','','',''),(120,21,'','','','',0,0,'345454','1314098392','1314098392','Bba','Baba','','','','Jhangad','','',''),(121,10,'00000096','','','',0,0,'','1314100233','1314100233','','','','','','Jhangad','','',''),(122,10,'00000097','','','',0,0,'','1314180700','1314180700','','','','','','Jhangad','','',''),(123,8,'00000098','','','',0,0,'','1321000320','1321000320','','','','','','Jhangad','','',''),(124,3,'00000099','','','',0,0,'','1326444554','1326444554','','','','','','Jhangad','','','');

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

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

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


--
-- Table structure for table `bstock_customers`
--

CREATE TABLE `bstock_customers` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `username` varchar(50) NOT NULL COMMENT 'Username that will be used to login by the customer to the system.',
  `nick_name` varchar(200) NOT NULL,
  `customer_password` varchar(100) NOT NULL COMMENT 'Password of the user stored in MD5 format.',
  `email` varchar(250) NOT NULL COMMENT 'Email address of the customer.',
  `first_name` varchar(100) NOT NULL COMMENT 'First name of the customer.',
  `last_name` varchar(100) NOT NULL COMMENT 'Last name of the customer.',
  `company_name` varchar(250) NOT NULL COMMENT 'Company name of the customer.',
  `office_phone_number` varchar(50) NOT NULL COMMENT 'Office Phone number of the customer.',
  `mobile_number` varchar(50) NOT NULL COMMENT 'This will be the mobile number of the customer.',
  `address` varchar(2500) NOT NULL,
  `reference_person_name` varchar(10) NOT NULL COMMENT 'this will store the reference person name',
  `reference_company_name` varchar(10) NOT NULL COMMENT 'this will store the reference person company',
  `last_login` varchar(50) NOT NULL COMMENT 'This will contain the last login date & time of the customer.',
  `is_active` enum('on','off') NOT NULL DEFAULT 'on' COMMENT 'THis will determine whether the customer is currently active or is blocked from using the system.',
  `customerprofiles` enum('User','Customer') NOT NULL DEFAULT 'Customer' COMMENT 'This will be the foreign key from the profiles table & is mapped to the ''profile_id'' primary key.',
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this customer record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this customer record.',
  `usertype` set('User','Customer') NOT NULL DEFAULT 'Customer',
  `approved` enum('Yes','No') NOT NULL DEFAULT 'Yes',
  `payment_terms_id` enum('COD','30 Days','60 Days','90 Days','120 Days') NOT NULL,
  `credit_amount` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1 COMMENT='Store details of customers. They are not system users.';

--
-- Dumping data for table `bstock_customers`
--

INSERT INTO `bstock_customers` VALUES (1,'harry','','','harry@potter.com','Harry','Potter','HP','1998221245','9898989898','','','','','on','Customer','1309369266','1309369266','Customer','Yes','COD',5000000.00),(2,'frank','fl','','frank@lampard.com','Frank','Lampard','FC','9819322550','9832522222','','','','','on','Customer','','1313736248','Customer','Yes','COD',2000000.00),(3,'harshad','baba','5f4dcc3b5aa765d61d8327deb882cf99','harshad@biggventures.com','Harshad','Narvekar','Bigg Stock','9833488539','9833488549','','','','','on','Customer','','1313736259','Customer','Yes','COD',23423423.00),(7,'tovishalck','','8b64d2451b7a8f3fd17390f88ea35917','tovishalck@yahoo.co.in','Vishal','Kothari','Bigg Stock','','9819322550','','VK','CK','','on','Customer','1310820303','1310820303','Customer','No','COD',0.00),(8,'vishal','','8b64d2451b7a8f3fd17390f88ea35917','tovishalck@yahoo.co.in','Vishal','Kothari','Bigg stock','','','','','','','on','Customer','','1320993160','Customer','Yes','COD',0.00),(10,'sachin','','15285722f9def45c091725aee9c387cb','harshad.narvekar@gmail.com','sachin','tendulkar','sachin','','','','','','','on','Customer','','1314183752','Customer','Yes','COD',0.00),(11,'swapna','','65a6f195d252b62f6d170f2881aec6cf','swapna@biggventures.com','swapna','n','bigg','45435433','54767676','','','','','on','Customer','1313562427','1313562427','Customer','Yes','30 Days',99999999.99),(12,'swapna','','65a6f195d252b62f6d170f2881aec6cf','swapna@biggventures.com','swapna','n','bigg','45435433','54767676','','','','','on','Customer','1313562985','1313562985','Customer','Yes','30 Days',99999999.99),(13,'baba','','9cad7b7bf29b79598dd2312a3c41c660','harshad@biggstock.com','Baba','Narvekar','Bigg','','453534435','','baba','bbbb','','on','Customer','1314096119','1314096119','Customer','No','COD',0.00),(14,'baba30','','21661093e56e24cd60b10092005c4ac7','harshad@biggstock.com','Baba','N','Bigg','','34543','','bba','baba','','on','Customer','1314096475','1314096475','Customer','No','COD',0.00),(15,'baba50','','21661093e56e24cd60b10092005c4ac7','harshad.narvekar@gmail.com','Baba','N','Bigg','','443543','','baba','baba','','on','Customer','1314096573','1314096573','Customer','No','COD',0.00),(16,'baba23','','21661093e56e24cd60b10092005c4ac7','harshad.narvekar@gmail.com','Baba','N','Baba','','3432432','','baba','','','on','Customer','1314097010','1314097010','Customer','No','COD',0.00),(17,'baba25','','21661093e56e24cd60b10092005c4ac7','harshad.narvekar@gmail.com','Baba','Baba','Baba','','5454545','','baaa','','','on','Customer','1314097182','1314097182','Customer','No','COD',0.00),(18,'baba33','','21661093e56e24cd60b10092005c4ac7','harshad.narvekar@gmail.com','Baba','Narvkar','Baba','','999898989','','baba','bbbb','','on','Customer','1314097348','1314097348','Customer','No','COD',0.00),(19,'baba35','','21661093e56e24cd60b10092005c4ac7','harshad.narvekar@gmail.com','Baba','Baba','Baba','','','','','','','on','Customer','1314097514','1314097514','Customer','No','COD',0.00),(20,'baba56','','21661093e56e24cd60b10092005c4ac7','harshad.narvekar@gmail.com','Baba','Baba','Baba','','','','','','','on','Customer','1314097677','1314097677','Customer','No','COD',0.00),(21,'baba65','','21661093e56e24cd60b10092005c4ac7','harshad@biggstock.com','Bba','Baba','Baba','','','','','','','on','Customer','1314098392','1314098392','Customer','No','COD',0.00);

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

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

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

INSERT INTO `bstock_customershipping` VALUES (1,1,'','79 Landy St','Suse St.','Mumbai',116,356,'400000','','','Harry','Potter','','','','Jhangad','','',''),(2,2,'','MIDC Cross road 24','Andheri','Mumbai',116,356,'400012','','','Frank','Lampard','','','','Jhangad','','',''),(3,2,'00000001','MIDC Cross road 24','Andheri','Mumbai',116,356,'400012','1309370696','1309370696','Frank','','','','','SalesOrder','','',''),(4,3,'','e6 305','poonam nagar, mahakali road','andheri ',116,356,'500000','','','Harshad ','n','','','','Jhangad','','',''),(5,2,'00000002','MIDC Cross road 24','Andheri','Mumbai',116,356,'400012','1309679125','1309679125','Frank','','','','','SalesOrder','','',''),(6,3,'00000002','','','',0,0,'','1310362523','1310362523','','','','','','Jhangad','','',''),(7,87,'00000003','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310367735','1310367735','Harshad ','n','','','','Jhangad','','',''),(8,3,'00000004','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310368829','1310368829','Harshad ','n','','','','Jhangad','','',''),(9,3,'00000005','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310368986','1310368986','Harshad ','n','','','','Jhangad','','',''),(10,3,'00000006','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310369142','1310369142','Harshad ','n','','','','Jhangad','','',''),(11,3,'00000007','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310374393','1310374393','Harshad ','n','','','','Jhangad','','',''),(12,3,'00000008','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310374964','1310374964','Harshad ','n','','','','Jhangad','','',''),(13,3,'00000009','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310375066','1310375066','Harshad ','n','','','','Jhangad','','',''),(14,3,'00000010','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310375709','1310375709','Harshad ','n','','','','Jhangad','','',''),(15,3,'00000011','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310376675','1310376675','Harshad ','n','','','','Jhangad','','',''),(16,3,'00000012','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310378562','1310378562','Harshad ','n','','','','Jhangad','','',''),(17,3,'00000013','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310378691','1310378691','Harshad ','n','','','','Jhangad','','',''),(18,3,'00000014','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310378898','1310378898','Harshad ','n','','','','Jhangad','','',''),(19,3,'00000015','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310378929','1310378929','Harshad ','n','','','','Jhangad','','',''),(20,3,'00000016','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310378971','1310378971','Harshad ','n','','','','Jhangad','','',''),(21,3,'00000017','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379051','1310379051','Harshad ','n','','','','Jhangad','','',''),(22,3,'00000018','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379144','1310379144','Harshad ','n','','','','Jhangad','','',''),(23,3,'00000019','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379258','1310379258','Harshad ','n','','','','Jhangad','','',''),(24,3,'00000020','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379503','1310379503','Harshad ','n','','','','Jhangad','','',''),(25,3,'00000021','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379636','1310379636','Harshad ','n','','','','Jhangad','','',''),(26,3,'00000022','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379747','1310379747','Harshad ','n','','','','Jhangad','','',''),(27,3,'00000023','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310379975','1310379975','Harshad ','n','','','','Jhangad','','',''),(28,3,'00000024','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310380058','1310380058','Harshad ','n','','','','Jhangad','','',''),(29,3,'00000025','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1310735674','1310735674','Harshad ','n','','','','Jhangad','','',''),(30,4,'','B 201 Apsara','','Mumbai',0,356,'400066','1310818736','1310818736','Vishal','Kothari','','','','Jhangad','','',''),(31,5,'','B 201 Apsara','','Mumbai',0,356,'400066','1310819539','1310819539','Vishal','Kothari','','','','Jhangad','','',''),(32,6,'','B 201 Apsara','','Mumbai',0,356,'400066','1310820019','1310820019','Vishal','Kothari','','','','Jhangad','','',''),(33,7,'','B 201 Apsara','','Mumbai',0,356,'400066','1310820303','1310820303','Vishal','Kothari','','','','Jhangad','','',''),(34,8,'','Test','','Mumbai',0,356,'400066','1311239926','','Vishal','Kothari','','','','Jhangad','','',''),(35,1,'00000026','79 Landy St','Suse St.','Mumbai',0,0,'400000','1311243922','1311243922','Harry ','','','','','SalesOrder','','',''),(36,9,'','3, Pradeep Complex','Andheri','Mumbai',116,356,'400093','','','Vishal','Kothari','','','','Jhangad','','',''),(37,3,'00000026','e6 305','','andheri ',116,356,'500000','1311255651','1311255651','','','','','','Jhangad','','',''),(38,3,'00000027','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311256532','1311256532','Harshad ','n','','','','Jhangad','','',''),(39,10,'','','','',0,0,'','','','','','','','','Jhangad','','',''),(40,3,'00000028','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311326069','1311326069','Harshad ','n','','','','Jhangad','','',''),(41,3,'00000029','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311326910','1311326910','Harshad  a','n','','','','Jhangad','','',''),(42,10,'00000030',' ','','',0,0,'','1311336826','1311336826','','','','','','Jhangad','','',''),(43,10,'00000031',' ','','',0,0,'','1311339725','1311339725','','','','','','Jhangad','','',''),(44,10,'00000032',' ','','',0,0,'','1311341971','1311341971','','','','','','Jhangad','','',''),(45,3,'00000033','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311772723','1311772723','Harshad ','n','','','','Jhangad','','',''),(46,3,'00000034','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311855479','1311855479','Harshad ','n','','','','Jhangad','','',''),(47,3,'00000035','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311855578','1311855578','Harshad ','n','','','','Jhangad','','',''),(48,3,'00000036','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1311855702','1311855702','Harshad ','n','','','','Jhangad','','',''),(49,10,'00000037',' ','','',0,0,'','1311921877','1311921877','','','','','','Jhangad','','',''),(50,3,'00000038','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1312009460','1312009460','Harshad ','n','','','','Jhangad','','',''),(51,3,'00000039','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1312200209','1312200209','Harshad ','n','','','','Jhangad','','',''),(52,3,'00000040','e6 305 poonam nagar, mahakali road','','',0,0,'500000','1312200558','1312200558','Harshad ','n','','','','Jhangad','','',''),(53,10,'00000041',' ','','',0,0,'','1312354270','1312354270','','','','','','Jhangad','','',''),(54,10,'00000042',' ','','',0,0,'','1312365492','1312365492','','','','','','Jhangad','','',''),(55,1,'00000043','79 Landy St','Suse St.','Mumbai',116,356,'400000','1312367639','1312367639','Harry','','','','','SalesOrder','','',''),(56,10,'00000044','','','',0,0,'','1312724226','1312724226','','','','','','Jhangad','','',''),(57,10,'00000045','','','',0,0,'','1312788816','1312788816','','','','','','Jhangad','','',''),(58,10,'00000046','','','',0,0,'','1312789133','1312789133','','','','','','Jhangad','','',''),(59,10,'00000047','','','',0,0,'','1312789637','1312789637','','','','','','Jhangad','','',''),(60,10,'00000048','','','',0,0,'','1312789845','1312789845','','','','','','Jhangad','','',''),(61,10,'00000049','','','',0,0,'','1312790551','1312790551','','','','','','Jhangad','','',''),(62,10,'00000050','','','',0,0,'','1312794017','1312794017','','','','','','Jhangad','','',''),(63,10,'00000051','','','',0,0,'','1312806641','1312806641','','','','','','Jhangad','','',''),(64,10,'00000052','','','',0,0,'','1312807922','1312807922','','','','','','Jhangad','','',''),(65,10,'00000053','','','',0,0,'','1313216384','1313216384','','','','','','Jhangad','','',''),(66,10,'00000054','','','',0,0,'','1313220544','1313220544','','','','','','Jhangad','','',''),(67,3,'00000054','e6 305','','andheri ',116,356,'500000','1313228401','1313228401','','','','','','Jhangad','','',''),(68,3,'00000054','e6 305','','andheri ',116,356,'500000','1313229095','1313229095','','','','','','Jhangad','','',''),(69,10,'00000055','','','',0,0,'','1313232118','1313232118','','','','','','Jhangad','','',''),(70,10,'00000056','','','',0,0,'','1313233565','1313233565','','','','','','Jhangad','','',''),(71,10,'00000057','','','',0,0,'','1313234553','1313234553','','','','','','Jhangad','','',''),(72,11,'','test','test','test',133,356,'34534','','','test','test','','','','Jhangad','','',''),(73,12,'','test','test','test',133,356,'34534','','','test','test','','','','Jhangad','','',''),(74,10,'00000058','','','',0,0,'','1313585176','1313585176','','','','','','Jhangad','','',''),(75,10,'00000059','','','',0,0,'','1313746302','1313746302','','','','','','Jhangad','','',''),(76,10,'00000060','','','',0,0,'','1313746328','1313746328','','','','','','Jhangad','','',''),(77,10,'00000061','','','',0,0,'','1313746630','1313746630','test','','','','','SalesOrder','test','',''),(78,10,'00000062','','','',0,0,'','1313746969','1313746969','','','','','','Jhangad','','',''),(79,10,'00000063','','','',0,0,'','1313747027','1313747027','','','','','','SalesOrder','','',''),(80,10,'00000064','','','',0,0,'','1313820282','1313820282','','','','','','SalesOrder','','',''),(81,10,'00000065','','','',0,0,'','1314011684','1314011684','','','','','','Jhangad','','',''),(82,10,'00000066','','','',0,0,'','1314011875','1314011875','','','','','','Jhangad','','',''),(83,10,'00000067','','','',0,0,'','1314011950','1314011950','','','','','','Jhangad','','',''),(84,10,'00000068','','','',0,0,'','1314078595','1314078595','','','','','','Jhangad','','',''),(85,10,'00000069','','','',0,0,'','1314078675','1314078675','','','','','','Jhangad','','',''),(86,10,'00000070','','','',0,0,'','1314078727','1314078727','','','','','','Jhangad','','',''),(87,10,'00000071','','','',0,0,'','1314078771','1314078771','','','','','','Jhangad','','',''),(88,10,'00000072','','','',0,0,'','1314079020','1314079020','','','','','','Jhangad','','',''),(89,10,'00000073','','','',0,0,'','1314079094','1314079094','','','','','','Jhangad','','',''),(90,10,'00000074','','','',0,0,'','1314079686','1314079686','','','','','','Jhangad','','',''),(91,10,'00000075','','','',0,0,'','1314079843','1314079843','','','','','','Jhangad','','',''),(92,10,'00000076','','','',0,0,'','1314086368','1314086368','','','','','','Jhangad','','',''),(93,10,'00000077','','','',0,0,'','1314086677','1314086677','','','','','','Jhangad','','',''),(94,10,'00000078','','','',0,0,'','1314087315','1314087315','','','','','','Jhangad','','',''),(95,10,'00000079','','','',0,0,'','1314087508','1314087508','','','','','','Jhangad','','',''),(96,10,'00000080','','','',0,0,'','1314087676','1314087676','','','','','','Jhangad','','',''),(97,10,'00000081','','','',0,0,'','1314087878','1314087878','','','','','','Jhangad','','',''),(98,10,'00000082','','','',0,0,'','1314088024','1314088024','','','','','','Jhangad','','',''),(99,10,'00000083','','','',0,0,'','1314089569','1314089569','','','','','','Jhangad','','',''),(100,10,'00000084','','','',0,0,'','1314089766','1314089766','','','','','','Jhangad','','',''),(101,10,'00000085','','','',0,0,'','1314091038','1314091038','','','','','','Jhangad','','',''),(102,10,'00000086','','','',0,0,'','1314091330','1314091330','','','','','','Jhangad','','',''),(103,10,'00000087','','','',0,0,'','1314091373','1314091373','','','','','','Jhangad','','',''),(104,10,'00000088','','','',0,0,'','1314092499','1314092499','','','','','','Jhangad','','',''),(105,10,'00000089','','','',0,0,'','1314092733','1314092733','','','','','','Jhangad','','',''),(106,10,'00000090','','','',0,0,'','1314093222','1314093222','','','','','','Jhangad','','',''),(107,10,'00000091','','','',0,0,'','1314093874','1314093874','','','','','','Jhangad','','',''),(108,10,'00000092','','','',0,0,'','1314093993','1314093993','','','','','','Jhangad','','',''),(109,10,'00000093','','','',0,0,'','1314094052','1314094052','','','','','','Jhangad','','',''),(110,10,'00000094','','','',0,0,'','1314094375','1314094375','','','','','','Jhangad','','',''),(111,10,'00000095','','','',0,0,'','1314095128','1314095128','','','','','','Jhangad','','',''),(112,13,'','Andheri','','Mumbai',0,356,'400000','1314096119','1314096119','Baba','Narvekar','','','','Jhangad','','',''),(113,14,'','Andheri','','Mumbai',0,356,'40000','1314096475','1314096475','Baba','N','','','','Jhangad','','',''),(114,15,'','Andheri','','Mumbai',0,356,'40000','1314096573','1314096573','Baba','N','','','','Jhangad','','',''),(115,16,'','Andheri','','Mumbai',0,356,'494949','1314097010','1314097010','Baba','N','','','','Jhangad','','',''),(116,17,'','Baba','','Baba',0,356,'54545','1314097182','1314097182','Baba','Baba','','','','Jhangad','','',''),(117,18,'','Andheri','','Mumbai',0,356,'44444','1314097348','1314097348','Baba','Narvkar','','','','Jhangad','','',''),(118,19,'','Andheri','','',0,0,'43534543','1314097514','1314097514','Baba','Baba','','','','Jhangad','','',''),(119,20,'','Baba','','Abba',0,0,'43534534','1314097677','1314097677','Baba','Baba','','','','Jhangad','','',''),(120,21,'','','','',0,0,'345454','1314098392','1314098392','Bba','Baba','','','','Jhangad','','',''),(121,10,'00000096','','','',0,0,'','1314100233','1314100233','','','','','','Jhangad','','',''),(122,10,'00000097','','','',0,0,'','1314180700','1314180700','','','','','','Jhangad','','',''),(123,8,'00000098','','','',0,0,'','1321000320','1321000320','','','','','','Jhangad','','',''),(124,3,'00000099','','','',0,0,'','1326444554','1326444554','','','','','','Jhangad','','','');

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

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

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


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

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

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

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

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

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

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

INSERT INTO `bstock_fields` VALUES (111,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',13,'off','on','on','on','bstock_products',0,'1261224788','1261224788',0,1,'Is Active is mandatory.','1','','',''),(110,'Location','option','location',0,'location','\'All\',\'Antwerp\',\'Hong Kong\',\'Mumbai\',\'New York\'',10,'off','on','on','on','bstock_products',0,'1261224120','1261224120',0,0,'','1','','',''),(8,'Profile Name','text','profile_name',200,'profile_name','',1,'','on','on','on','bstock_userprofiles',1,'','',1,0,'','','','',''),(9,'Description','textarea','description',255,'description','',2,'','on','on','on','bstock_userprofiles',1,'','',1,0,'','','','',''),(11,'Username','text','username',100,'username','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(12,'Password','password','customer_password',100,'customer_password','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(13,'Email','text','email',255,'email','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(14,'First Name','text','first_name',150,'first_name','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(15,'Last Name','text','last_name',150,'last_name','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(16,'Company Name','text','company_name',150,'company_name','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(17,'Office phone number','text','office_phone_number',11,'office_phone_number','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','',''),(18,'Mobile number','text','mobile_number',12,'mobile_number','',0,'','on','','on','bstock_customers',1,'','',0,0,'','','','',''),(19,'is_active','radio','is_active',5,'is_active','\'on\',\'off\'',0,'','on','on','off','bstock_customers',1,'','',0,1,'','','','',''),(20,'User profile','option','customerprofiles',50,'customerprofiles','\'User\',\'Customer\'',0,'','on','on','off','bstock_customers',1,'','',0,0,'','','','',''),(21,'label','text','label',200,'label','',1,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(22,'Type','option','type',200,'type','',2,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(23,'Column name','text','column_name',200,'column_name','',2,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(24,'Max Length','text','maxlength',100,'maxlength','100',4,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(25,'name','text','name',200,'name','',5,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(26,'value','text','value',500,'value','',6,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(27,'sequence','text','sequence',100,'sequence','',7,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(28,'Read Only','radio','readonly',100,'readonly','',8,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(29,'Presence','radio','presence',100,'presence','',9,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(30,'mandatory','radio','mandatory',100,'mandatory','',10,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(31,'Is Active','radio','is_active',100,'is_active','',11,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(32,'Table Name','text','table_name',100,'table_name','',12,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(33,'generated type','text','generatedtype',100,'generatedtype','',13,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(34,'Is Range','text','is_range',100,'is_range','',14,'','on','on','on','bstock_fields',1,'','',0,0,'','','','',''),(35,'order no','text','order_id',100,'order_id','',7,'','on','on','on','bstock_orders',1,'','',0,0,'','','','',''),(36,'Description1','','description',255,'description','',3,'','','','','',0,'','1259761129',1,0,'','','','',''),(37,'Description1','','description',255,'description','',3,'','','','','',0,'','1259761328',1,0,'','','','',''),(38,'Description1','','description',255,'description','',3,'','','','','',0,'','1259761328',1,0,'','','','',''),(39,'Description1','','description',255,'description','',3,'','','','','',0,'','1259761590',1,0,'','','','',''),(40,'Description1','','description',255,'description','',3,'','','','','',0,'','1259761703',1,0,'','','','',''),(41,'Description1','','description',255,'description','',3,'','','','','',0,'','1259761757',1,0,'','','','',''),(42,'Required Msg.','text','required_msg',300,'required_msg','',15,'','on','on','on','bstock_fields',0,'1259848625','1259848625',0,0,'','','','',''),(118,'Color','option','color',0,'color','\'D\',\'E\',\'F\',\'G\',\'H\',\'I\',\'J\',\'K\',\'L\',\'M\',\'N\',\'O\',\'P\',\'Q\',\'R\'',7,'off','on','on','on','bstock_products',0,'1261227132','1261227132',0,1,'','1','','',''),(117,'Clarity','option','clarity',0,'clarity','\'IF\',\'VVS1\',\'VVS2\',\'VS1\',\'VS2\',\'SI1\',\'SI2\',\'I1\',\'I2\',\'I3\'',8,'off','on','on','on','bstock_products',0,'1261227023','1261227023',0,1,'','1','','',''),(116,'Cut','option','cut',0,'cut','\'Excellent\',\'Very Good\',\'Good\',\'Fair\'',12,'off','on','on','on','bstock_products',0,'1261226805','1261226805',0,1,'','1','','',''),(115,'Polish','option','polish',0,'polish','\'Excellent\',\'Very Good\',\'Good\',\'Fair\'',13,'off','on','on','on','bstock_products',0,'1261226062','1261226062',0,1,'','1','','',''),(114,'Symmetry','option','symmetry',0,'symmetry','\'Excellent\',\'Very Good\',\'Good\',\'Fair\'',14,'off','on','on','on','bstock_products',0,'1261225818','1261225818',0,1,'','1','','',''),(89,'Min Length','text','minlength',10,'minlength','',5,'on','on','on','on','bstock_fields',0,'1260185265','1260185265',0,0,'','','','',''),(113,'Lab','option','lab',0,'lab','\'All Labs\',\'GIA\',\'IGI\',\'HRD\',\'AGS\',\'EGL\',\'IGC\'',2,'off','on','on','on','bstock_products',0,'1261225488','1261225488',0,0,'','1','','',''),(112,'Flourescence','option','flourescence',0,'flourescence','\'None\',\'Faint\',\'Medium\',\'Strong\',\'Very Strong\'',15,'off','on','on','on','bstock_products',0,'1261225411','1261225411',0,1,'','1','','',''),(91,'Validation Type','option','validation_type',0,'validation_type','\"_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_\"',0,'on','on','on','on','bstock_fields',0,'1260186186','1260186186',0,0,'','','','',''),(93,'Validation error msg.','text','validation_error_msg',250,'validation_error_msg','',0,'on','on','on','off','bstock_fields',0,'1260190273','1260190273',0,0,'','','10','',''),(109,'Size','text','size',25,'size','',6,'off','on','on','on','bstock_products',0,'1261221977','1261221977',0,1,'Please enter Size.','1','','',''),(101,'User Type','checkbox','usertype',0,'usertype','\'User\',\'Customer\'',0,'on','on','on','off','bstock_customers',1,'1260792520','1260792520',0,1,'Type is mandatory.','1','','',''),(102,'Base Profile','option','baseprofile',0,'baseprofile','\'Administrator\',\'Sub-Admin\',\'Customer\'',3,'on','on','on','on','bstock_userprofiles',1,'1260879950','1260879950',1,0,'','1','','_AGE_',''),(103,'basepro','checkbox','basepro',0,'basepro','\'Administrator\',\'Sub-Admin\',\'Customer\'',0,'off','on','on','on','bstock_userprofiles',0,'','1260882082',0,2,'','1','','_AGE_',''),(108,'Shape','option','shape',0,'shape','\'None\',\'Round\',\'Princess\',\'Pear\',\'Marquise\',\'Emerald\',\'Heart\',\'Oval\',\'Cushion\',\'Triangle\'',5,'off','on','on','on','bstock_products',0,'1261221691','1261221691',0,0,'Please select Shape.','1','','',''),(107,'Stone Id','text','stoneid',50,'stoneid','',4,'off','on','on','on','bstock_products',0,'1261220658','1261220658',0,0,'Please enter Stone Id.','1','','',''),(119,'Certificate','file','certificate',1,'certificate','\'pdf\',\'doc\'',24,'off','on','on','on','bstock_products',0,'1261391939','1261391939',0,0,'','1','','',''),(120,'Weight','text','weight',100,'weight','',14,'off','on','on','on','bstock_products',0,'','1261551202',0,1,'Please enter Weight','1','','_AGE_',''),(121,'Purchase Price P/CT (USD)','text','price',100,'price','0',33,'off','on','on','on','bstock_products',0,'','1261658120',0,1,'The price field is required!','1','','_AGE_',''),(123,'Customer First Name','text','customer_first_name',100,'customer_first_name','',0,'on','on','on','on','bstock_orders',0,'1262179288','1262179288',0,0,'','1','','_FIRSTNAME_',''),(124,'Customer Last Name','text','customer_last_name',0,'customer_last_name','',0,'on','on','on','on','bstock_orders',0,'1262254685','1262254685',0,0,'','1','','_LASTNAME_',''),(126,'Total Amount','text','total_amount',0,'total_amount','',0,'on','on','on','on','bstock_orders',0,'1262254860','1262254860',0,0,'','1','','_NUMBER_',''),(127,'extra_comments','textarea','extra_comments',0,'extra_comments','',0,'on','on','on','on','bstock_orders',0,'1262255168','1262255168',0,0,'','1','','',''),(128,'Status','text','status_id',0,'status_id','',0,'on','on','on','on','bstock_orders',0,'1262256696','1262256696',0,0,'','1','','',''),(129,'Created Date','text','created_date',0,'created_date','',0,'on','on','on','on','bstock_orders',0,'1262259238','1262259238',0,0,'','1','','',''),(130,'Modified Date','text','modified_date',0,'modified_date','',0,'on','on','on','on','bstock_orders',0,'1262259264','1262259264',0,0,'','1','','',''),(146,'Carrier','option','carrier_id',0,'carrier_id','\'DHL\', \'Fedex\', \'UPS\', \'USPS\', \'Malca-Amit\', \'Brinks\', \'Lemiur\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263042946','1263042946',0,0,'','1','','',''),(147,'Vessel/Flight No.','text','flight_no',50,'flight_no','',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263043035','1263043035',0,0,'','1','','',''),(149,'Port Of Discharge','option','port_of_discharge',50,'port_of_discharge','\'NA\',\'India\',\'Belgium\',\'Hong Kong\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263043240','1263043240',0,0,'','1','','',''),(150,'Place of Receipt','option','place_of_receipt',0,'place_of_receipt','\'NA\',\'Mumbai\',\'Antwerp\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263044185','1263044185',0,0,'','1','','',''),(125,'Customer Id','text','customer_id',0,'customer_id','',0,'','on','','on','bstock_orders',0,'','',0,0,'','','','',''),(136,'Approved','radio','approved',0,'approved','\'Yes\',\'No\'',0,'on','on','on','on','bstock_customers',0,'1262692775','1262692775',0,1,'','1','','',''),(137,'Plugin Label','text','plugin_label',100,'plugin_label','',3,'off','on','on','on','bstock_plugins',0,'','',0,0,'','','','_NAME_','Plugin name is mandatory field!'),(138,'Description','text','plugin_desc',255,'plugin_desc','',2,'off','on','on','on','bstock_plugins',0,'','',0,0,'','','','',''),(140,'is Active','radio','is_active',0,'is_active','\'on\',\'off\'',1,'off','on','off','on','bstock_plugins',0,'','',0,0,'Is Active is mandatory.','1','','',''),(141,'Folder Name of Plugin','text','folder_name',50,'folder_name','',4,'off','on','on','on','bstock_plugins',0,'','',0,0,'Folder name is required','1','','',''),(142,'Class File Name','text','class_file_name',50,'class_file_name','',5,'off','on','on','on','bstock_plugins',0,'','1262952344',0,0,'Class file name field is mandatory','1','','_AGE_',''),(143,'Order Id','text','order_id',10,'order_id','',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263042701','1263042701',0,0,'','1','','_NUMBER_',''),(144,'Airway Bill No.','text','tracking_number',50,'tracking_number','',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263042803','1263042803',0,0,'','1','','',''),(145,'Date','text','sent_date',25,'sent_date','',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263042851','1263042851',0,0,'','1','','_DATE_',''),(151,'Port of Loading','option','port_of_loading',0,'port_of_loading','\'NA\',\'Mumbai\',\'Antwerp\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263044308','1263044308',0,0,'','1','','',''),(152,'City of Final Destination','option','city_of_destination',0,'city_of_destination','\'Mumbai\',\'Antwerp\',\'New York\',\'Hong Kong\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263044479','1263044479',0,0,'','1','','',''),(153,'Exporter Name','text','exporter_name',250,'exporter_name','',1,'on','on','on','on','bstock_exporters',0,'1263079298','1263079298',0,0,'Exporter name is mandatory.','1','','',''),(154,'Address','textarea','address',0,'address','',2,'on','on','on','on','bstock_exporters',0,'1263079930','1263079930',0,0,'','1','','',''),(155,'Phone 1','text','phone1',50,'phone1','',3,'on','on','on','on','bstock_exporters',0,'1263080046','1263080046',0,0,'Phone 1 is mandatory.','1','','',''),(156,'Phone 2','text','phone2',50,'phone2','',4,'on','on','on','on','bstock_exporters',0,'1263080086','1263080086',0,0,'','1','','',''),(157,'Fax','text','fax',50,'fax','',5,'on','on','on','on','bstock_exporters',0,'1263080106','1263080106',0,0,'','1','','',''),(158,'Exporter\'s Ref','text','reference_no',50,'reference_no','',6,'on','on','on','on','bstock_exporters',0,'1263080161','1263080161',0,0,'Exporters Reference is mandatory.','1','','',''),(159,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',0,'on','on','on','on','bstock_exporters',0,'1263186645','1263186645',0,1,'','1','','',''),(160,'IEC Number','text','iec_no',50,'iec_no','',0,'on','on','on','on','bstock_exporters',0,'1263212262','1263212262',0,0,'','1','','',''),(161,'Country of Origin of goods','option','country_of_origin',0,'country_of_origin','\'NA\',\'India\',\'Belgium\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263273123','1263273123',0,0,'','1','','',''),(162,'Country of Final Destination','option','country_of_destination',0,'country_of_destination','\'NA\',\'India\',\'Belgium\'',0,'on','on','on','on','bstock_ordershippinginfo',0,'1263273314','1263273314',0,0,'','1','','',''),(163,'Payment Terms','option','payment_terms_id',0,'payment_terms_id','\'NA\',\'120 Days D/A\',\'120 Days\',\'90 Days\'',0,'on','on','on','on','bstock_invoices',0,'1263279097','1263279097',0,0,'','1','','',''),(164,'Company Name','text','bank_name',250,'bank_name','',1,'on','on','on','on','bstock_angadia',0,'1263285663','1263285663',0,0,'Company Name is mandatory.','1','','',''),(165,'Address','textarea','bank_address',0,'bank_address','',2,'on','on','on','on','bstock_angadia',0,'1263285730','1263285730',0,0,'','1','','',''),(166,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',0,'on','on','on','on','bstock_angadia',0,'1263286352','1263286352',0,1,'','1','','',''),(167,'Certificate No.','text','certificate_id',50,'certificate_id','',3,'off','on','on','on','bstock_products',0,'1264597094','1264597094',0,0,'','1','','',''),(204,'Price P/CT (Rand)','text','inr_price',10,'inr_price','',37,'off','on','on','on','bstock_products',0,'','1283885750',0,0,'','1','','_AGE_',''),(169,'Serial No','text','serial_no',50,'serial_no','',17,'off','on','on','on','bstock_products',0,'1264597423','1264597423',0,0,'','1','','_NUMBER_',''),(170,'Discount','text','discount',50,'discount','',9,'off','on','on','on','bstock_products',0,'1264597484','1264597484',0,0,'','1','','',''),(175,'Measurement','text','measurement',50,'measurement','',22,'off','on','on','on','bstock_products',0,'1264597893','1264597893',0,0,'','1','','',''),(176,'Depth %','text','depth_percent',50,'depth_percent','',19,'off','on','on','on','bstock_products',0,'1264597980','1264597980',0,0,'','1','','',''),(177,'Table %','text','table_percent',50,'table_percent','',20,'off','on','on','on','bstock_products',0,'1264598000','1264598000',0,0,'','1','','_AGE_',''),(178,'Girdle','text','girdle',250,'girdle','',21,'off','on','on','on','bstock_products',0,'1264598208','1264598208',0,0,'','1','','',''),(179,'Country','option','country',0,'country','\'India\', \'Hong Kong\', \'USA\', \'Belgium\'',10,'off','on','off','on','bstock_products',0,'1264598444','1264598444',0,0,'','1','','',''),(180,'Quantity','text','qty',10,'qty','',23,'off','on','on','on','bstock_products',0,'1264679156','1264679156',0,0,'','1','','',''),(181,'Vendor Name','text','vendor_name',250,'vendor_name','',1,'on','on','on','on','bstock_vendors',0,'1263079298','1263079298',0,0,'Vendor name is mandatory.','1','','',''),(182,'Address','textarea','address',0,'address','',2,'on','on','on','on','bstock_vendors',0,'1263079930','1263079930',0,0,'','1','','',''),(183,'Phone 1','text','phone1',50,'phone1','',3,'on','on','on','on','bstock_vendors',0,'1263080046','1263080046',0,0,'Phone 1 is mandatory.','1','','',''),(184,'Phone 2','text','phone2',50,'phone2','',4,'on','on','on','on','bstock_vendors',0,'1263080086','1263080086',0,0,'','1','','',''),(185,'Fax','text','fax',50,'fax','',5,'on','on','on','on','bstock_vendors',0,'1263080106','1263080106',0,0,'','1','','',''),(186,'Vendorss Ref','text','reference_no',50,'reference_no','',6,'on','on','on','on','bstock_vendors',0,'1263080161','1263080161',0,0,'Vendors Reference is mandatory.','1','','',''),(187,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',0,'on','on','on','on','bstock_vendors',0,'1263186645','1263186645',0,1,'','1','','',''),(188,'IEC Number','text','iec_no',50,'iec_no','',0,'on','on','on','on','bstock_vendors',0,'1263212262','1263212262',0,0,'','1','','',''),(189,'Purchase Price','text','purchase_price',10,'purchase_price','',0,'off','on','on','off','bstock_products',0,'1272310192','1272310192',0,0,'','1','','_NUMBER_',''),(190,'Vendor Name','option','vendorname',0,'vendorname','\'None\',\'Bigg Stock\', \'Vendor 1\', \'Vendor 2\'',0,'off','on','on','on','bstock_products',0,'1272312993','1272312993',0,0,'Please select Vendor Name','1','','',''),(191,'Original Qty (Do not edit)','text','orignal_qty',100,'orignal_qty','0',0,'off','on','off','on','bstock_products',0,'1277444806','1277444806',0,0,'','1','','_NUMBER_',''),(192,'Type of Account','option','transaction_types',10,'transaction_types','\'All\',\'White\',\'Black\'',6,'on','on','on','on','bstock_userprofiles',0,'1277554424','1277554424',0,0,'','1','','_AGE_',''),(193,'Type of Account','option','transaction_types',10,'transaction_types','\'All\',\'White\',\'Black\'',6,'on','on','on','off','bstock_userprofiles',0,'1277554572','1277554572',0,0,'','1','','_AGE_',''),(194,'Divisor','text','divisor',0,'divisor','',0,'on','on','on','on','bstock_userprofiles',0,'1277554900','1277554900',0,0,'','1','','_NUMBER_',''),(195,'','','',0,'','',0,'on','on','on','on','',0,'1277557077','1277557077',0,0,'','1','','_AGE_',''),(196,'Broker Name','text','broker_name',255,'broker_name','',0,'on','on','on','on','bstock_brokers',0,'1281531239','1281531239',0,0,'Broker Name is mandatory.','1','','',''),(197,'Address','textarea','address',250,'address','',3,'on','on','on','on','bstock_brokers',0,'1281549714','1281549714',0,0,'','1','','',''),(198,'Phone 1','text','phone1',50,'phone1','',4,'on','on','on','on','bstock_brokers',0,'1281549897','1281549897',0,0,'','1','','',''),(199,'Phone 2','text','phone2',50,'phone2','',5,'on','on','on','on','bstock_brokers',0,'1281598101','1281598101',0,0,'','1','','',''),(200,'Fax','text','fax',50,'fax','',6,'on','on','on','on','bstock_brokers',0,'1281598269','1281598269',0,0,'','1','','',''),(201,'Reference Name','text','reference_name',255,'reference_name','',7,'on','on','on','on','bstock_brokers',0,'1281598379','1281598379',0,0,'','1','','',''),(202,'Reference Number','text','reference_no',50,'reference_no','',8,'on','on','on','on','bstock_brokers',0,'1281598411','1281598411',0,0,'','1','','',''),(203,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',9,'on','on','on','on','bstock_brokers',0,'1281601690','1281601690',0,1,'','1','','',''),(205,'Conversion Rate','text','conversion_rate',10,'conversion_rate','',36,'off','on','on','on','bstock_products',0,'1283886076','1283886076',0,0,'','1','','_AGE_',''),(207,'Cash Back','text','cash_back',10,'cash_back','',0,'off','on','on','on','bstock_products',0,'1283886145','1283886145',0,0,'','1','','_AGE_',''),(208,'Total Purchase Price (USD)','text','purchase_price_dollar',10,'purchase_price_dollar','',34,'off','on','on','on','bstock_products',0,'1283886171','1283886171',0,0,'','1','','_AGE_',''),(209,'Total Purchase Price (Rand)','text','purchase_price_inr',10,'purchase_price_inr','',38,'off','on','on','on','bstock_products',0,'1283886194','1283886194',0,0,'','1','','_AGE_',''),(210,'Jewelry Category','option','',0,'jwl_category','\'Ring\', \'Bangles\', \'Necklace\', \'Earnings\', \'Bracelet\', \'Nose Ring\', \'Painjan\', \'Bajuband\', \'KamarPata\'',0,'off','on','on','on','bstock_products',0,'','1285164924',0,0,'','1','','_AGE_',''),(213,'Type of Stone','option','typeofstone',0,'typeofstone','\'Loose\',\'Single\'',24,'off','on','on','on','bstock_products',0,'1285661515','1285661515',0,0,'','1','','',''),(214,'Piece Price (Rand)','text','piece_price_inr',10,'piece_price_inr','',26,'off','on','on','on','bstock_products',0,'1285694553','1285694553',0,0,'','1','','',''),(215,'Piece Price (USD)','text','piece_price_dollar',10,'piece_price_dollar','',32,'off','on','on','off','bstock_products',0,'1285694582','1285694582',0,0,'','1','','',''),(216,'Piece Price (USD)','text','piece_price_dollar',10,'piece_price_dollar','',27,'off','on','on','on','bstock_products',0,'1285694721','1285694721',0,0,'','1','','',''),(217,'Aadat','text','aadat',5,'aadat','',0,'off','on','on','on','bstock_products',0,'1286212567','1286212567',0,0,'','1','','',''),(218,'Item Number','text','barcode_number',20,'barcode_number','',1,'off','on','on','on','bstock_products',0,'1287814129','1287814129',0,0,'','1','','',''),(219,'Payment Terms','option','payment_terms_id',0,'payment_terms_id','\'COD\',\'30 Days\',\'60 Days\',\'90 Days\',\'120 Days\'',1,'on','on','on','on','bstock_customers',0,'1290108359','1290108359',0,0,'','1','','',''),(220,'Credit Amount','text','credit_amount',10,'credit_amount','',2,'on','on','on','on','bstock_customers',0,'1290108520','1290108520',0,0,'','1','','',''),(221,'Status','option','status',0,'status','\'In Stock\',\'Sold\',\'Approval Placed\',\'Approval Issued\',\'Approval Issued Partial\',\'Approval Couriered Full\',\'Approval Couriered Partial\',\'Approval Partially Returned\',\'Approval Returned Full\',\'Order Placed\',\'Order Issued\',\'Order Issued Partial\',\'Order Couriered Full\',\'Order Couriered Partial\',\'Order Partially Returned\',\'Order Returned Full\',\'Onhold\'',25,'off','on','on','on','bstock_products',0,'1290109528','1290109528',0,0,'','1','','',''),(222,'Certificate FIle Name','text','certificate_filename',250,'certificate_filename','',25,'on','on','on','on','bstock_products',0,'1291813008','1291813008',0,0,'','1','','',''),(223,'Sale Price P/Ct (Rand)','text','inr_sale_price_with_margin',10,'inr_sale_price_with_margin','',39,'off','on','on','on','bstock_products',0,'1294209813','1294209813',0,0,'','1','','',''),(224,'Sell Qty','text','sellqty',10,'sellqty','',0,'off','on','on','on','bstock_products',0,'1294210047','1294210047',0,0,'','1','','',''),(225,'Length','text','length',5,'length','',16,'off','on','on','on','bstock_products',0,'1294210082','1294210082',0,0,'','1','','',''),(226,'Width','text','width',5,'width','',17,'off','on','on','on','bstock_products',0,'1294210165','1294210165',0,0,'','1','','',''),(227,'Depth','text','depth',5,'depth','',0,'off','on','on','off','bstock_products',0,'1294210185','1294210185',0,0,'','1','','',''),(228,'Height','text','height',5,'height','',18,'off','on','on','on','bstock_products',0,'1294210202','1294210202',0,0,'','1','','',''),(229,'Brokerage','text','brokerage',5,'brokerage','',31,'off','on','on','on','bstock_products',0,'1294210319','1294210319',0,0,'','1','','',''),(230,'Margin','text','margin',5,'margin','',30,'off','on','on','on','bstock_products',0,'1294210341','1294210341',0,0,'','1','','',''),(231,'Current Rap Price P/ct (USD)','text','current_rap_price',10,'current_rap_price','',35,'off','on','on','on','bstock_products',0,'1294210388','1294210388',0,0,'','1','','',''),(232,'Rap Price @ Purchase (Do not edit)','text','rap_price',10,'rap_price','',0,'on','on','on','on','bstock_products',0,'1294210532','1294210532',0,0,'','1','','',''),(233,'Rapnet Uploaded?','radio','is_rapnet_uploaded',2,'is_rapnet_uploaded','\'Yes\',\'No\'',0,'on','on','on','on','bstock_products',0,'1294210659','1294210659',0,1,'','1','','',''),(234,'Special Stone?','radio','is_special_stone',2,'is_special_stone','\'Yes\',\'No\'',0,'on','on','on','on','bstock_products',0,'1294210958','1294210958',0,1,'','1','','',''),(235,'Verified?','radio','verified',2,'verified','\'Yes\',\'No\'',0,'on','on','on','on','bstock_products',0,'1294210981','1294210981',0,1,'','1','','',''),(236,'Description','text','description',250,'description','',0,'on','on','on','on','bstock_products',0,'1294655752','1294655752',0,0,'','1','','',''),(237,'Is Published','radio','published',0,'published','\'on\',\'off\'',55,'on','on','on','on','bstock_products',0,'1295964195','1295964195',0,1,'','1','','',''),(238,'Approx Sales Piece Price (Rand)','text','total_sales_piece_price_with_margin',10,'total_sales_piece_price_with_margin','',40,'on','on','on','on','bstock_products',0,'1297330008','1297330008',0,0,'','1','','',''),(239,'Username','text','user_name',20,'user_name','',1,'on','on','on','on','bstock_systemusers',0,'1298283309','1298283309',0,0,'','1','','',''),(240,'Password','password','password',25,'password','',2,'on','on','on','on','bstock_systemusers',0,'1298283361','1298283361',0,0,'','1','','',''),(241,'Email','text','email',50,'email','',0,'on','on','on','on','bstock_systemusers',0,'1298283406','1298283406',0,0,'','1','','',''),(242,'First Name','text','first_name',50,'first_name','',0,'on','on','on','on','bstock_systemusers',0,'1298283434','1298283434',0,0,'','1','','',''),(243,'Last Name','text','last_name',50,'last_name','',0,'on','on','on','on','bstock_systemusers',0,'1298283474','1298283474',0,0,'','1','','',''),(244,'Company','text','company_name',100,'company_name','',0,'on','on','on','on','bstock_systemusers',0,'1298283499','1298283499',0,0,'','1','','',''),(245,'Office Phone','text','office_phone_number',25,'office_phone_number','',0,'on','on','on','on','bstock_systemusers',0,'1298283523','1298283523',0,0,'','1','','',''),(246,'Mobile No','text','mobile_number',25,'mobile_number','',0,'on','on','on','on','bstock_systemusers',0,'1298283555','1298283555',0,0,'','1','','',''),(247,'Last Login','text','last_login',25,'last_login','',0,'on','on','on','on','bstock_systemusers',0,'1298283614','1298283614',0,0,'','1','','',''),(248,'Active','radio','is_active',2,'is_active','\'on\',\'off\'',10,'on','on','on','on','bstock_systemusers',0,'1298283697','1298283697',0,0,'','1','','',''),(249,'Profile','text','profile_id',10,'profile_id','',0,'on','on','on','on','bstock_systemusers',0,'1298357352','1298357352',0,0,'','1','','',''),(250,'Bank Name','text','bank_name',100,'bank_name','',1,'on','on','on','on','bstock_bank',0,'1306842023','1306842023',0,0,'','1','','',''),(251,'Address','textarea','bank_address',500,'bank_address','',2,'on','on','on','on','bstock_bank',0,'1306842137','1306842137',0,0,'','1','','',''),(252,'Account Number','text','account_number',50,'account_number','',3,'on','on','on','on','bstock_bank',0,'1306842217','1306842217',0,0,'','1','','',''),(253,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',4,'on','on','on','on','bstock_bank',0,'1306842251','1306842251',0,1,'','1','','',''),(254,'Account Name','text','account_name',100,'account_name','',0,'on','on','on','on','bstock_angadia',0,'1306864422','1306864422',0,0,'','1','','',''),(255,'Crown Height','text','crown_height',10,'crown_height','',41,'on','on','on','on','bstock_products',0,'1311319161','1311319161',0,0,'','1','','',''),(256,'Pavilion Height','text','pavilion_height',10,'pavilion_height','',42,'on','on','on','on','bstock_products',0,'1311319281','1311319281',0,0,'','1','','',''),(257,'Crown Angle','text','crown_angle',10,'crown_angle','',43,'on','on','on','on','bstock_products',0,'1311319318','1311319318',0,0,'','1','','',''),(258,'Pavilion Angle','text','pavilion_angle',10,'pavilion_angle','',44,'on','on','on','on','bstock_products',0,'1311319348','1311319348',0,0,'','1','','',''),(259,'Girdle Percentage','text','girdle_percentage',10,'girdle_percentage','',45,'on','on','on','on','bstock_products',0,'1311319378','1311319378',0,0,'','1','','',''),(260,'Culet','text','culet',20,'culet','',46,'on','on','on','on','bstock_products',0,'1311319406','1311319406',0,0,'','1','','',''),(261,'Report No','text','report_no',50,'report_no','',47,'on','on','on','on','bstock_products',0,'1311319442','1311319442',0,0,'','1','','',''),(262,'Laser Inscription','text','laser_inscription',25,'laser_inscription','',48,'on','on','on','on','bstock_products',0,'1311319487','1311319487',0,0,'','1','','',''),(263,'Laser Inclusion','text','laser_inclusion',50,'laser_inclusion','',49,'on','on','on','on','bstock_products',0,'1311319546','1311319546',0,0,'','1','','',''),(264,'Report Date','text','report_date',50,'report_date','',50,'on','on','on','on','bstock_products',0,'1311319581','1311319581',0,0,'','1','','',''),(265,'Report Comments','textarea','report_comments',500,'report_comments','',51,'on','on','on','on','bstock_products',0,'1311319620','1311319620',0,0,'','1','','',''),(266,'Key To Symbol','text','key_to_symbol',50,'key_to_symbol','',52,'on','on','on','on','bstock_products',0,'1311319647','1311319647',0,0,'','1','','',''),(267,'Table Inclusion','text','table_inclusion',50,'table_inclusion','',53,'on','on','on','on','bstock_products',0,'1311319680','1311319680',0,0,'','1','','',''),(268,'Black Inclusion','text','black_inclusion',50,'black_inclusion','',54,'on','on','on','on','bstock_products',0,'1311319714','1311319714',0,0,'','1','','',''),(269,'Is New Stone?','radio','is_new_stone',2,'is_new_stone','\'true\',\'false\'',55,'on','on','on','on','bstock_products',0,'1311319784','1311319784',0,1,'','1','','',''),(270,'Nick Name','text','nick_name',150,'nick_name','',0,'','on','on','on','bstock_customers',1,'','',0,0,'','','','','');

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

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

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

INSERT INTO `bstock_invoices` VALUES (1,1,'1','1309370696','',0,0,0,0,0.000,'1309370697','1309370697'),(2,2,'00000002','1309679125','',0,0,0,0,0.000,'1309679126','1309679126'),(3,23,'','11 Jul 2011','',0,0,1,0,0.000,'1310379975','1310379975'),(4,24,'','11 Jul 2011','',0,0,1,0,0.000,'1310380059','1310380059'),(5,25,'','15 Jul 2011','',0,0,1,0,0.000,'1310735678','1310735678'),(6,0,'','15 Jul 2011','',0,0,1,0,0.000,'1310735787','1310735787'),(7,0,'','15 Jul 2011','',0,0,1,0,0.000,'1310735881','1310735881'),(8,0,'','15 Jul 2011','',0,0,1,0,0.000,'1310736061','1310736061'),(9,26,'00000026','1311243922','',0,0,0,0,0.000,'1311243922','1311243922'),(10,27,'','21 Jul 2011','',0,0,1,0,0.000,'1311256532','1311256532'),(11,28,'','22 Jul 2011','',0,0,1,0,0.000,'1311326070','1311326070'),(12,29,'','22 Jul 2011','',0,0,1,0,0.000,'1311326910','1311326910'),(13,30,'','22 Jul 2011','',0,0,1,0,0.000,'1311336827','1311336827'),(14,31,'','22 Jul 2011','',0,0,1,0,0.000,'1311339726','1311339726'),(15,32,'','22 Jul 2011','',0,0,1,0,0.000,'1311341971','1311341971'),(16,33,'','27 Jul 2011','',0,0,1,0,0.000,'1311772723','1311772723'),(17,34,'','28 Jul 2011','',0,0,1,0,0.000,'1311855484','1311855484'),(18,35,'','28 Jul 2011','',0,0,1,0,0.000,'1311855578','1311855578'),(19,0,'','28 Jul 2011','',0,0,1,0,0.000,'1311855634','1311855634'),(20,0,'','28 Jul 2011','',0,0,1,0,0.000,'1311855640','1311855640'),(21,36,'','28 Jul 2011','',0,0,1,0,0.000,'1311855702','1311855702'),(22,37,'','29 Jul 2011','',0,0,1,0,0.000,'1311921877','1311921877'),(23,38,'','30 Jul 2011','',0,0,1,0,0.000,'1312009460','1312009460'),(24,39,'','01 Aug 2011','',0,0,1,0,0.000,'1312200209','1312200209'),(25,40,'','01 Aug 2011','',0,0,1,0,0.000,'1312200558','1312200558'),(26,41,'','03 Aug 2011','',0,0,1,0,0.000,'1312354270','1312354270'),(27,42,'','03 Aug 2011','',0,0,1,0,0.000,'1312365492','1312365492'),(28,43,'00000043','1312367639','',0,0,0,0,0.000,'1312367640','1312367640'),(29,44,'','07 Aug 2011','',0,0,1,0,0.000,'1312724227','1312724227'),(30,45,'','08 Aug 2011','',0,0,1,0,0.000,'1312788816','1312788816'),(31,46,'','08 Aug 2011','',0,0,1,0,0.000,'1312789133','1312789133'),(32,47,'','08 Aug 2011','',0,0,1,0,0.000,'1312789638','1312789638'),(33,48,'','08 Aug 2011','',0,0,1,0,0.000,'1312789845','1312789845'),(34,49,'','08 Aug 2011','',0,0,1,0,0.000,'1312790551','1312790551'),(35,50,'','08 Aug 2011','',0,0,1,0,0.000,'1312794018','1312794018'),(36,51,'','08 Aug 2011','',0,0,1,0,0.000,'1312806641','1312806641'),(37,52,'','08 Aug 2011','',0,0,1,0,0.000,'1312807922','1312807922'),(38,53,'','13 Aug 2011','',0,0,1,0,0.000,'1313216384','1313216384'),(39,54,'','13 Aug 2011','',0,0,1,0,0.000,'1313220544','1313220544'),(40,55,'','13 Aug 2011','',0,0,1,0,0.000,'1313232118','1313232118'),(41,56,'','13 Aug 2011','',0,0,1,0,0.000,'1313233565','1313233565'),(42,57,'','13 Aug 2011','',0,0,1,0,0.000,'1313234553','1313234553'),(43,58,'','17 Aug 2011','',0,0,1,0,0.000,'1313585176','1313585176'),(44,59,'','19 Aug 2011','',0,0,1,0,0.000,'1313746302','1313746302'),(45,60,'','19 Aug 2011','',0,0,1,0,0.000,'1313746328','1313746328'),(46,61,'00000061','1313746630','',0,0,0,0,0.000,'1313746631','1313746631'),(47,62,'','19 Aug 2011','',0,0,1,0,0.000,'1313746969','1313746969'),(48,63,'00000063','1313747027','',0,0,0,0,0.000,'1313747027','1313747027'),(49,64,'00000064','1313820282','',0,0,0,0,0.000,'1313820283','1313820283'),(50,65,'','22 Aug 2011','',0,0,1,0,0.000,'1314011684','1314011684'),(51,66,'','22 Aug 2011','',0,0,1,0,0.000,'1314011875','1314011875'),(52,67,'','22 Aug 2011','',0,0,1,0,0.000,'1314011950','1314011950'),(53,68,'','23 Aug 2011','',0,0,1,0,0.000,'1314078596','1314078596'),(54,69,'','23 Aug 2011','',0,0,1,0,0.000,'1314078675','1314078675'),(55,70,'','23 Aug 2011','',0,0,1,0,0.000,'1314078727','1314078727'),(56,71,'','23 Aug 2011','',0,0,1,0,0.000,'1314078771','1314078771'),(57,72,'','23 Aug 2011','',0,0,1,0,0.000,'1314079020','1314079020'),(58,73,'','23 Aug 2011','',0,0,1,0,0.000,'1314079094','1314079094'),(59,74,'','23 Aug 2011','',0,0,1,0,0.000,'1314079686','1314079686'),(60,75,'','23 Aug 2011','',0,0,1,0,0.000,'1314079843','1314079843'),(61,76,'','23 Aug 2011','',0,0,1,0,0.000,'1314086368','1314086368'),(62,77,'','23 Aug 2011','',0,0,1,0,0.000,'1314086678','1314086678'),(63,78,'','23 Aug 2011','',0,0,1,0,0.000,'1314087315','1314087315'),(64,79,'','23 Aug 2011','',0,0,1,0,0.000,'1314087514','1314087514'),(65,80,'','23 Aug 2011','',0,0,1,0,0.000,'1314087676','1314087676'),(66,81,'','23 Aug 2011','',0,0,1,0,0.000,'1314087879','1314087879'),(67,82,'','23 Aug 2011','',0,0,1,0,0.000,'1314088024','1314088024'),(68,83,'','23 Aug 2011','',0,0,1,0,0.000,'1314089570','1314089570'),(69,84,'','23 Aug 2011','',0,0,1,0,0.000,'1314089766','1314089766'),(70,85,'','23 Aug 2011','',0,0,1,0,0.000,'1314091038','1314091038'),(71,86,'','23 Aug 2011','',0,0,1,0,0.000,'1314091330','1314091330'),(72,87,'','23 Aug 2011','',0,0,1,0,0.000,'1314091373','1314091373'),(73,88,'','23 Aug 2011','',0,0,1,0,0.000,'1314092499','1314092499'),(74,89,'','23 Aug 2011','',0,0,1,0,0.000,'1314092734','1314092734'),(75,90,'','23 Aug 2011','',0,0,1,0,0.000,'1314093222','1314093222'),(76,91,'','23 Aug 2011','',0,0,1,0,0.000,'1314093874','1314093874'),(77,92,'','23 Aug 2011','',0,0,1,0,0.000,'1314093993','1314093993'),(78,93,'','23 Aug 2011','',0,0,1,0,0.000,'1314094052','1314094052'),(79,94,'','23 Aug 2011','',0,0,1,0,0.000,'1314094375','1314094375'),(80,95,'','23 Aug 2011','',0,0,1,0,0.000,'1314095128','1314095128'),(81,96,'','23 Aug 2011','',0,0,1,0,0.000,'1314100233','1314100233'),(82,97,'','24 Aug 2011','',0,0,1,0,0.000,'1314180703','1314180703'),(83,98,'','11 Nov 2011','',0,0,1,0,0.000,'1321000322','1321000322'),(84,99,'','13 Jan 2012','',0,0,1,0,0.000,'1326444554','1326444554');

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

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

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

INSERT INTO `bstock_invoicestatushistory` VALUES (1,1,0,'','1309370697','1309370697',1),(2,2,0,'','1309679126','1309679126',1),(3,3,0,'','1310379975','1310379975',1),(4,4,0,'','1310380059','1310380059',1),(5,5,0,'','1310735678','1310735678',0),(6,6,0,'','1310735787','1310735787',0),(7,7,0,'','1310735881','1310735881',0),(8,8,0,'','1310736061','1310736061',0),(9,9,0,'','1311243922','1311243922',1),(10,10,0,'','1311256532','1311256532',1),(11,11,0,'','1311326070','1311326070',0),(12,12,0,'','1311326910','1311326910',0),(13,13,0,'','1311336827','1311336827',1),(14,14,0,'','1311339726','1311339726',1),(15,15,0,'','1311341971','1311341971',1),(16,16,0,'','1311772723','1311772723',0),(17,17,0,'','1311855484','1311855484',0),(18,18,0,'','1311855578','1311855578',0),(19,19,0,'','1311855634','1311855634',0),(20,20,0,'','1311855640','1311855640',0),(21,21,0,'','1311855702','1311855702',0),(22,22,0,'','1311921877','1311921877',0),(23,23,0,'','1312009460','1312009460',0),(24,24,0,'','1312200209','1312200209',1),(25,25,0,'','1312200558','1312200558',0),(26,26,0,'','1312354270','1312354270',0),(27,27,0,'','1312365492','1312365492',0),(28,28,0,'','1312367640','1312367640',1),(29,29,0,'','1312724227','1312724227',1),(30,30,0,'','1312788816','1312788816',1),(31,31,0,'','1312789133','1312789133',1),(32,32,0,'','1312789638','1312789638',1),(33,33,0,'','1312789845','1312789845',1),(34,34,0,'','1312790551','1312790551',1),(35,35,0,'','1312794018','1312794018',1),(36,36,0,'','1312806641','1312806641',1),(37,37,0,'','1312807922','1312807922',1),(38,38,0,'','1313216384','1313216384',1),(39,39,0,'','1313220544','1313220544',1),(40,40,0,'','1313232118','1313232118',1),(41,41,0,'','1313233565','1313233565',1),(42,42,0,'','1313234553','1313234553',1),(43,43,0,'','1313585176','1313585176',1),(44,44,0,'','1313746302','1313746302',1),(45,45,0,'','1313746328','1313746328',1),(46,46,0,'','1313746631','1313746631',1),(47,47,0,'','1313746969','1313746969',1),(48,48,0,'','1313747027','1313747027',1),(49,49,0,'','1313820283','1313820283',1),(50,50,0,'','1314011684','1314011684',1),(51,51,0,'','1314011875','1314011875',1),(52,52,0,'','1314011950','1314011950',1),(53,53,0,'','1314078596','1314078596',0),(54,54,0,'','1314078675','1314078675',0),(55,55,0,'','1314078727','1314078727',0),(56,56,0,'','1314078771','1314078771',0),(57,57,0,'','1314079020','1314079020',0),(58,58,0,'','1314079094','1314079094',0),(59,59,0,'','1314079686','1314079686',0),(60,60,0,'','1314079843','1314079843',0),(61,61,0,'','1314086368','1314086368',0),(62,62,0,'','1314086678','1314086678',0),(63,63,0,'','1314087315','1314087315',0),(64,64,0,'','1314087514','1314087514',0),(65,65,0,'','1314087676','1314087676',0),(66,66,0,'','1314087879','1314087879',0),(67,67,0,'','1314088024','1314088024',0),(68,68,0,'','1314089570','1314089570',0),(69,69,0,'','1314089766','1314089766',0),(70,70,0,'','1314091038','1314091038',0),(71,71,0,'','1314091330','1314091330',0),(72,72,0,'','1314091373','1314091373',0),(73,73,0,'','1314092499','1314092499',1),(74,74,0,'','1314092734','1314092734',1),(75,75,0,'','1314093222','1314093222',1),(76,76,0,'','1314093874','1314093874',1),(77,77,0,'','1314093993','1314093993',1),(78,78,0,'','1314094052','1314094052',1),(79,79,0,'','1314094375','1314094375',1),(80,80,0,'','1314095128','1314095128',1),(81,81,0,'','1314100233','1314100233',1),(82,82,0,'','1314180703','1314180703',0),(83,83,0,'','1321000322','1321000322',1),(84,84,0,'','1326444554','1326444554',1);

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

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

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

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

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

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

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


--
-- Table structure for table `bstock_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_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_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,
  `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','1263281971','1263281971'),(2,'18','75','1263281971','1263281971'),(3,'18','83.33','1263281971','1263281971'),(4,'24','99.99','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=16 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,'','','on','',''),(10,'Vendors','bstock_vendors',0,'1','','on','',''),(11,'Brokers','bstock_brokers',0,'1','0','on','',''),(12,'SystemUsers','bstock_systemusers',0,'1','','on','',''),(13,'HomePage','bstock_homepage',11,'1','','on','',''),(14,'Bank','bstock_bank',0,'','','on','','');

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

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

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


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

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

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

INSERT INTO `bstock_options` VALUES (1,0,'stylesheet','Blue','yes'),(2,0,'template','Blue','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','home.php','yes'),(7,0,'default_from','harshad@biggventures.com','yes'),(8,0,'default_admin','harshad@biggventures.com','yes'),(9,0,'after_signup','thank-you.php','yes'),(10,0,'company_name','Golden Key','yes'),(11,0,'company_address','124, Amrit Diamond House, 1st Floor, Opera House, Mumbai-400004\r\nTEL: +91 22 23662101 </br> E-mail - aryajewel@yahoo.co.in ','yes'),(12,0,'ABN','VAT TIN NO. 27380629851 V w.e.f.8/10/07</br> \r\nCST TIN NO. 27380629851 C w.e.f.8/10/07','yes'),(13,0,'gst','0','yes'),(14,0,'usd_aud_rate','45','yes'),(15,0,'margin','0','yes'),(16,0,'default_so_id','1','yes'),(17,0,'default_po_id','1','yes'),(18,0,'default_jhangad_id','1','yes'),(19,0,'default_stone_id','009','yes'),(20,0,'product_interest_rate','1','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=102 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,2,6,'1310362523','1310362523'),(2,3,7,'1310367735','1310367735'),(3,4,8,'1310368829','1310368829'),(4,5,9,'1310368986','1310368986'),(5,6,10,'1310369142','1310369142'),(6,7,11,'1310374393','1310374393'),(7,8,12,'1310374964','1310374964'),(8,9,13,'1310375066','1310375066'),(9,10,14,'1310375709','1310375709'),(10,11,15,'1310376675','1310376675'),(11,12,16,'1310378562','1310378562'),(12,13,17,'1310378691','1310378691'),(13,14,18,'1310378898','1310378898'),(14,15,19,'1310378929','1310378929'),(15,16,20,'1310378971','1310378971'),(16,17,21,'1310379051','1310379051'),(17,18,22,'1310379144','1310379144'),(18,19,23,'1310379258','1310379258'),(19,20,24,'1310379503','1310379503'),(20,21,25,'1310379636','1310379636'),(21,22,26,'1310379747','1310379747'),(22,23,27,'1310379975','1310379975'),(23,24,28,'1310380058','1310380058'),(24,25,29,'1310735674','1310735674'),(25,0,29,'1310735786','1310735786'),(26,0,29,'1310735881','1310735881'),(27,0,29,'1310736061','1310736061'),(28,26,37,'1311255651','1311255651'),(29,27,38,'1311256532','1311256532'),(30,28,40,'1311326069','1311326069'),(31,29,41,'1311326910','1311326910'),(32,30,42,'1311336826','1311336826'),(33,31,43,'1311339725','1311339725'),(34,32,44,'1311341971','1311341971'),(35,33,45,'1311772723','1311772723'),(36,34,46,'1311855479','1311855479'),(37,35,47,'1311855578','1311855578'),(38,0,47,'1311855634','1311855634'),(39,0,47,'1311855640','1311855640'),(40,36,48,'1311855702','1311855702'),(41,37,49,'1311921877','1311921877'),(42,38,50,'1312009460','1312009460'),(43,39,51,'1312200209','1312200209'),(44,40,52,'1312200558','1312200558'),(45,41,53,'1312354270','1312354270'),(46,42,54,'1312365492','1312365492'),(47,44,56,'1312724226','1312724226'),(48,45,57,'1312788816','1312788816'),(49,46,58,'1312789133','1312789133'),(50,47,59,'1312789637','1312789637'),(51,48,60,'1312789845','1312789845'),(52,49,61,'1312790551','1312790551'),(53,50,62,'1312794017','1312794017'),(54,51,63,'1312806641','1312806641'),(55,52,64,'1312807922','1312807922'),(56,53,65,'1313216384','1313216384'),(57,54,66,'1313220544','1313220544'),(58,54,67,'1313228401','1313228401'),(59,54,68,'1313229095','1313229095'),(60,55,69,'1313232118','1313232118'),(61,56,70,'1313233565','1313233565'),(62,57,71,'1313234553','1313234553'),(63,58,74,'1313585176','1313585176'),(64,59,75,'1313746302','1313746302'),(65,60,76,'1313746328','1313746328'),(66,62,78,'1313746969','1313746969'),(67,65,81,'1314011684','1314011684'),(68,66,82,'1314011875','1314011875'),(69,67,83,'1314011950','1314011950'),(70,68,84,'1314078595','1314078595'),(71,69,85,'1314078675','1314078675'),(72,70,86,'1314078727','1314078727'),(73,71,87,'1314078771','1314078771'),(74,72,88,'1314079020','1314079020'),(75,73,89,'1314079094','1314079094'),(76,74,90,'1314079686','1314079686'),(77,75,91,'1314079843','1314079843'),(78,76,92,'1314086368','1314086368'),(79,77,93,'1314086677','1314086677'),(80,78,94,'1314087315','1314087315'),(81,79,95,'1314087508','1314087508'),(82,80,96,'1314087676','1314087676'),(83,81,97,'1314087878','1314087878'),(84,82,98,'1314088024','1314088024'),(85,83,99,'1314089569','1314089569'),(86,84,100,'1314089766','1314089766'),(87,85,101,'1314091038','1314091038'),(88,86,102,'1314091330','1314091330'),(89,87,103,'1314091373','1314091373'),(90,88,104,'1314092499','1314092499'),(91,89,105,'1314092733','1314092733'),(92,90,106,'1314093222','1314093222'),(93,91,107,'1314093874','1314093874'),(94,92,108,'1314093993','1314093993'),(95,93,109,'1314094052','1314094052'),(96,94,110,'1314094375','1314094375'),(97,95,111,'1314095128','1314095128'),(98,96,121,'1314100233','1314100233'),(99,97,122,'1314180700','1314180700'),(100,98,123,'1321000320','1321000320'),(101,99,124,'1326444554','1326444554');

--
-- 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.',
  `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,
  `interest_rate` decimal(10,2) NOT NULL COMMENT 'Interest rate to be applied if payment is overdue for this order.',
  `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_usd` decimal(10,2) NOT NULL COMMENT 'Carat selling price in USD',
  `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=117 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,2,0,0.00,0.00,'Order Placed',0.000,20.00,0.00,45.00,5.00,52136.00,2346120.00,0.00,0.00,0,2,0,0.00,0.00,0,0.00,-44102.0000,-441.0200,'1309370696','1309370696','','',0,0,0,0,24500.00,1102500.00,2.800,'PRINCESS 2.80 D/VVS1 Single-GIA/'),(2,00000002,3,0,0.00,0.00,'Order Returned Full',1.700,0.00,0.00,45.00,0.00,61200.00,2754000.00,0.00,0.00,0,2,0,0.00,0.00,0,0.00,-44102.0000,-441.0200,'1309679125','1309679125','','',0,0,0,0,36000.00,1620000.00,1.700,'ROUND 1.70 D/IF Single-GIA/'),(3,00000003,1,1,765000.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,765000.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310367735','1310367735','','',0,0,0,0,0.00,0.00,0.000,''),(4,00000003,4,1,0.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310367735','1310367735','','',0,0,0,0,0.00,0.00,0.000,''),(5,00000004,1,1,765000.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,765000.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310368829','1310368829','','',0,0,0,0,0.00,0.00,0.000,''),(6,00000004,4,1,0.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310368829','1310368829','','',0,0,0,0,0.00,0.00,0.000,''),(7,00000005,4,1,0.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310368986','1310368986','','',0,0,0,0,0.00,0.00,0.000,''),(8,00000006,1,1,765000.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,765000.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310369142','1310369142','','',0,0,0,0,0.00,0.00,0.000,''),(9,00000007,1,1,765000.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,765000.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310374393','1310374393','','',0,0,0,0,0.00,0.00,0.000,''),(10,00000007,4,1,0.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310374393','1310374393','','',0,0,0,0,0.00,0.00,0.000,''),(11,00000008,1,1,765000.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,765000.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310374964','1310374964','','',0,0,0,0,0.00,0.00,0.000,''),(12,00000009,4,1,0.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310375066','1310375066','','',0,0,0,0,0.00,0.00,0.000,''),(13,00000010,1,1,765000.00,0.00,'Order Returned Full',0.000,0.00,0.00,45.00,0.00,0.00,765000.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310375709','1310375709','','',0,0,0,0,0.00,0.00,0.000,''),(14,00000011,4,1,5666.10,0.00,'Order Returned Full',1.000,0.00,0.00,45.00,0.00,0.00,5666.10,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310376675','1310376675','','',0,0,0,0,0.00,0.00,1.000,'ROUND 1.00 G VERY GOOD Single-GIA'),(15,00000012,1,1,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310378562','1310378562','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(16,00000013,1,2,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310378691','1310378691','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(17,00000014,1,3,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310378898','1310378898','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(18,00000015,1,3,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310378929','1310378929','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(19,00000016,1,4,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310378971','1310378971','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(20,00000017,1,5,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379051','1310379051','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(21,00000018,1,6,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379144','1310379144','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(22,00000019,1,7,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379258','1310379258','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(23,00000020,1,7,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379503','1310379503','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(24,00000021,1,8,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379636','1310379636','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(25,00000022,1,1,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379747','1310379747','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(26,00000023,1,1,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310379975','1310379975','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(27,00000024,1,1,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310380058','1310380058','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(28,00000025,4,1,5666.10,0.00,'Order Returned Full',1.000,0.00,0.00,45.00,0.00,0.00,5666.10,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1310735674','1310735674','','',0,0,0,0,0.00,0.00,1.000,'ROUND 1.00 G VERY GOOD Single-GIA'),(29,00000026,1,-17,0.00,0.00,'Order Returned Full',1.400,5.00,0.00,45.00,0.00,26600.00,1197000.00,0.00,0.00,0,1,0,0.00,0.00,1,0.00,-44102.0000,-441.0200,'1311243922','1311243922','','',0,0,0,0,20000.00,900000.00,1.400,'ROUND 1.40 E/IF Single-GIA/ none'),(30,00000027,5,1,6999.30,0.00,'Order Returned Full',1.000,0.00,0.00,45.00,0.00,0.00,6999.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311256532','1311256532','','',0,0,0,0,0.00,0.00,1.000,'ROUND 1.00 F EXCELLENT Loose-GIA'),(31,00000027,4,1,5666.10,0.00,'Order Returned Full',1.000,0.00,0.00,45.00,0.00,0.00,5666.10,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311256532','1311256532','','',0,0,0,0,0.00,0.00,1.000,'ROUND 1.00 G VERY GOOD Single-GIA'),(32,00000028,3,1,59500.00,0.00,'Order Returned Full',1.700,0.00,0.00,45.00,0.00,0.00,59500.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311326069','1311326069','','',0,0,0,0,0.00,0.00,1.700,'ROUND 1.70 D ANY Single-GIA'),(33,00000029,1,4,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311326910','1311326910','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(34,00000030,8,1,19971.60,0.00,'Order Returned Full',1.870,0.00,0.00,45.00,0.00,0.00,19971.60,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311336826','1311336826','','',0,0,0,0,0.00,0.00,1.870,'PRINCESS 1.87 E VERY GOOD Loose-GIA'),(35,00000030,9,1,9852.30,0.00,'Order Returned Full',1.230,0.00,0.00,45.00,0.00,0.00,9852.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311336826','1311336826','','',0,0,0,0,0.00,0.00,1.230,'PRINCESS 1.23 D VERY GOOD Loose-GIA'),(36,00000031,9,1,19704.60,0.00,'Order Returned Full',2.460,0.00,0.00,45.00,0.00,0.00,19704.60,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311339725','1311339725','','',0,0,0,0,0.00,0.00,2.460,'PRINCESS 2.46 D VERY GOOD Loose-GIA'),(37,00000031,2,1,57120.00,0.00,'Order Returned Full',2.800,0.00,0.00,45.00,0.00,0.00,57120.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311339725','1311339725','','',0,0,0,0,0.00,0.00,2.800,'PRINCESS 2.80 D VERY GOOD Single-GIA'),(38,00000032,4,1,10350.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,10350.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311341971','1311341971','','',0,0,0,0,0.00,0.00,1.000,'ROUND 1.00 G VERY GOOD Single-GIA'),(39,00000032,5,1,60900.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,60900.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311341971','1311341971','','',0,0,0,0,0.00,0.00,2.000,'ROUND 2.00 F EXCELLENT Loose-GIA'),(40,00000033,1,1,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311772723','1311772723','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(41,00000034,2,1,57120.00,0.00,'Order Returned Full',2.800,0.00,0.00,45.00,0.00,0.00,57120.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311855479','1311855479','','',0,0,0,0,0.00,0.00,2.800,'PRINCESS 2.80 D VERY GOOD Single-GIA'),(42,00000035,2,1,57120.00,0.00,'Order Returned Full',2.800,0.00,0.00,45.00,0.00,0.00,57120.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311855578','1311855578','','',0,0,0,0,0.00,0.00,2.800,'PRINCESS 2.80 D VERY GOOD Single-GIA'),(43,00000036,3,1,59500.00,0.00,'Order Returned Full',1.700,0.00,0.00,45.00,0.00,0.00,59500.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311855702','1311855702','','',0,0,0,0,0.00,0.00,1.700,'ROUND 1.70 D ANY Single-GIA'),(44,00000037,9,1,39409.20,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,39409.20,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1311921877','1311921877','','',0,0,0,0,0.00,0.00,4.920,'PRINCESS 4.92 D VERY GOOD Loose-GIA'),(45,00000038,1,1,23799.30,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312009460','1312009460','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(46,00000039,8,1,39943.20,0.00,'Order Returned Full',3.740,0.00,0.00,45.00,0.00,0.00,39943.20,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312200209','1312200209','','',0,0,0,0,0.00,0.00,3.740,'PRINCESS 3.74 E VERY GOOD Loose-GIA'),(47,00000040,10,1,16020.00,0.00,'Order Returned Full',1.500,0.00,0.00,45.00,0.00,0.00,16020.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312200558','1312200558','','',0,0,0,0,0.00,0.00,1.500,'PRINCESS 1.50 E VERY GOOD Loose-GIA'),(48,00000041,11,1,8712.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,8712.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312354270','1312354270','','',0,0,0,0,0.00,0.00,1.100,'PRINCESS 1.10 D VERY GOOD Loose-GIA'),(49,00000041,12,1,23751.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,23751.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312354270','1312354270','','',0,0,0,0,0.00,0.00,2.100,'ROUND 2.10 F EXCELLENT Loose-IGI'),(50,00000042,14,1,11475.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,11475.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312365492','1312365492','','',0,0,0,0,0.00,0.00,0.900,'ROUND 0.90 D VERY GOOD Loose-GIA'),(51,00000043,17,1,0.00,0.00,'Order Returned Full',2.900,10.00,0.00,45.00,0.00,49590.00,2231550.00,0.00,0.00,0,1,0,0.00,0.00,1,0.00,-44102.0000,-441.0200,'1312367639','1312367639','','',0,0,0,0,19000.00,855000.00,2.900,''),(52,00000043,15,1,0.00,0.00,'Order Returned Full',1.900,0.00,0.00,45.00,0.00,20900.00,940500.00,0.00,0.00,0,1,0,0.00,0.00,1,0.00,-44102.0000,-441.0200,'1312367639','1312367639','','',0,0,0,0,11000.00,495000.00,1.900,''),(53,00000044,16,1,21248.00,0.00,'Order Returned Full',1.600,0.00,0.00,45.00,0.00,0.00,21248.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312724226','1312724226','','',0,0,0,0,0.00,0.00,1.600,'PEAR 1.60 D EXCELLENT Loose-GIA'),(54,00000045,13,1,27692.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,27692.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312788816','1312788816','','',0,0,0,0,0.00,0.00,2.300,'ROUND 2.30 H GOOD Loose-GIA'),(55,00000045,15,1,17556.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,17556.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312788816','1312788816','','',0,0,0,0,0.00,0.00,1.900,'PEAR 1.90 H VERY GOOD Loose-IGI'),(56,00000046,17,1,40426.00,0.00,'Order Returned Full',2.900,0.00,0.00,45.00,0.00,0.00,40426.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312789133','1312789133','','',0,0,0,0,0.00,0.00,2.900,'ROUND 2.90 D GOOD Loose-GIA'),(57,00000047,1,1,23799.30,0.00,'Order Returned Full',1.400,0.00,0.00,45.00,0.00,0.00,23799.30,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312789637','1312789637','','',0,0,0,0,0.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(58,00000047,2,1,57120.00,0.00,'Order Returned Full',2.800,0.00,0.00,45.00,0.00,0.00,57120.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312789637','1312789637','','',0,0,0,0,0.00,0.00,2.800,'PRINCESS 2.80 D VERY GOOD Single-GIA'),(59,00000048,3,1,59500.00,0.00,'Order Returned Full',1.700,0.00,0.00,45.00,0.00,0.00,59500.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312789845','1312789845','','',0,0,0,0,0.00,0.00,1.700,'ROUND 1.70 D ANY Single-GIA'),(60,00000048,4,1,10350.00,0.00,'Order Returned Full',1.000,0.00,0.00,45.00,0.00,0.00,10350.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312789845','1312789845','','',0,0,0,0,0.00,0.00,1.000,'ROUND 1.00 G VERY GOOD Single-GIA'),(61,00000049,5,1,60900.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,60900.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312790551','1312790551','','',0,0,0,0,0.00,0.00,2.000,'ROUND 2.00 F EXCELLENT Loose-GIA'),(62,00000049,9,1,39409.20,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,0.00,39409.20,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312790551','1312790551','','',0,0,0,0,0.00,0.00,4.920,'PRINCESS 4.92 D VERY GOOD Loose-GIA'),(63,00000050,8,1,39943.20,0.00,'Order Returned Full',3.740,11.00,0.00,45.00,0.00,39943.20,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312794017','1312794017','','',0,0,0,0,12000.00,0.00,3.740,'PRINCESS 3.74 E VERY GOOD Loose-GIA'),(64,00000051,11,1,8712.00,0.00,'Order Placed',0.000,12.00,0.00,45.00,0.00,8712.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312806641','1312806641','','',0,0,0,0,9000.00,0.00,1.100,'PRINCESS 1.10 D VERY GOOD Loose-GIA'),(65,00000052,12,1,23751.00,0.00,'Order Returned Full',2.100,13.00,0.00,45.00,0.00,23751.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1312807922','1312807922','','',0,0,0,0,13000.00,0.00,2.100,'ROUND 2.10 F EXCELLENT Loose-IGI'),(66,00000053,10,1,16020.00,0.00,'Order Returned Full',1.500,11.00,0.00,45.00,0.00,16020.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313216384','1313216384','','',0,0,0,0,12000.00,0.00,1.500,'PRINCESS 1.50 E VERY GOOD Loose-GIA'),(67,00000054,16,2,21248.00,0.00,'Order Placed',0.000,17.00,0.00,45.00,0.00,21248.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313220544','1313220544','','',0,0,0,0,16000.00,0.00,1.600,'PEAR 1.60 D EXCELLENT Loose-GIA'),(68,00000055,14,1,11475.00,0.00,'Order Returned Full',0.900,15.00,0.00,45.00,0.00,11475.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313232118','1313232118','','',0,0,0,0,15000.00,0.00,0.900,'ROUND 0.90 D VERY GOOD Loose-GIA'),(69,00000056,17,1,40426.00,0.00,'Order Placed',0.000,18.00,0.00,45.00,0.00,40426.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313233565','1313233565','','',0,0,0,0,17000.00,0.00,2.900,'ROUND 2.90 D GOOD Loose-GIA'),(70,00000057,15,1,17556.00,0.00,'Order Returned Full',1.900,16.00,0.00,45.00,0.00,17556.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313234553','1313234553','','',0,0,0,0,11000.00,0.00,1.900,'PEAR 1.90 H VERY GOOD Loose-IGI'),(71,00000058,13,1,27692.00,0.00,'Order Returned Full',2.300,14.00,0.00,45.00,0.00,27692.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313585176','1313585176','','',0,0,0,0,14000.00,0.00,2.300,'ROUND 2.30 H GOOD Loose-GIA'),(72,00000059,19,1,0.00,0.00,'Order Returned Full',1.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313746302','1313746302','','',0,0,0,0,18000.00,0.00,1.000,'ROUND 1.00 F EXCELLENT Single-GIA'),(73,00000060,20,1,0.00,0.00,'Order Returned Full',2.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313746328','1313746328','','',0,0,0,0,35000.00,0.00,2.000,'ROUND 2.00 F EXCELLENT Single-GIA'),(74,00000061,19,1,0.00,0.00,'Order Returned Full',1.000,0.00,0.00,45.00,0.00,18000.00,810000.00,0.00,0.00,0,10,0,0.00,0.00,1,0.00,-44102.0000,-441.0200,'1313746630','1313746630','','',0,0,0,0,18000.00,810000.00,1.000,'ROUND 1.00 F/IF Single-GIA/'),(75,00000062,19,1,0.00,0.00,'Order Returned Full',1.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1313746969','1313746969','','',0,0,0,0,18000.00,0.00,1.000,'ROUND 1.00 F EXCELLENT Single-GIA'),(76,00000063,20,1,0.00,0.00,'Order Returned Full',2.000,0.00,0.00,45.00,0.00,70000.00,3150000.00,0.00,0.00,0,10,0,0.00,0.00,1,0.00,-44102.0000,-441.0200,'1313747027','1313747027','','',0,0,0,0,35000.00,1575000.00,2.000,'ROUND 2.00 F/IF Single-GIA/'),(77,00000064,23,1,0.00,0.00,'Order Returned Full',2.800,0.00,0.00,45.00,0.00,148400.00,6678000.00,0.00,0.00,0,10,0,0.00,0.00,0,0.00,-44102.0000,-441.0200,'1313820282','1313820282','','',0,0,0,0,53000.00,2385000.00,2.800,'ROUND 2.80 D/IF Single-GIA/'),(78,00000064,24,1,0.00,0.00,'Order Returned Full',2.300,0.00,0.00,45.00,0.00,80500.00,3622500.00,0.00,0.00,0,10,0,0.00,0.00,0,0.00,-44102.0000,-441.0200,'1313820282','1313820282','','',0,0,0,0,35000.00,1575000.00,2.300,'ROUND 2.30 F/IF Single-GIA/'),(79,00000064,25,1,0.00,0.00,'Order Returned Full',1.900,0.00,0.00,45.00,0.00,42750.00,1923750.00,0.00,0.00,0,10,0,0.00,0.00,0,0.00,-44102.0000,-441.0200,'1313820282','1313820282','','',0,0,0,0,22500.00,1012500.00,1.900,'ROUND 1.90 F/IF Single-GIA/'),(80,00000064,26,1,0.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,25200.00,1134000.00,0.00,0.00,0,10,0,0.00,0.00,0,0.00,-44102.0000,-441.0200,'1313820282','1313820282','','',0,0,0,0,18000.00,810000.00,1.400,'ROUND 1.40 F/IF Single-GIA/'),(81,00000065,1,2,23799.30,0.00,'Order Placed',0.000,19.05,0.00,45.00,0.00,23799.30,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314011684','1314011684','','',0,0,0,0,21000.00,0.00,1.400,'ROUND 1.40 E ANY Single-GIA'),(82,00000065,2,2,57120.00,0.00,'Order Placed',0.000,15.00,0.00,45.00,0.00,57120.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314011684','1314011684','','',0,0,0,0,24000.00,0.00,2.800,'PRINCESS 2.80 D VERY GOOD Single-GIA'),(83,00000066,4,2,10350.00,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,10350.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314011875','1314011875','','',0,0,0,0,11500.00,0.00,1.000,'ROUND 1.00 G VERY GOOD Single-GIA'),(84,00000067,3,1,59500.00,0.00,'Order Placed',0.000,0.00,0.00,45.00,0.00,59500.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314011950','1314011950','','',0,0,0,0,35000.00,0.00,1.700,'ROUND 1.70 D ANY Single-GIA'),(85,00000068,5,1,60900.00,0.00,'Order Returned Full',2.000,13.00,0.00,45.00,0.00,60900.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314078595','1314078595','','',0,0,0,0,35000.00,0.00,2.000,'ROUND 2.00 F EXCELLENT Loose-GIA'),(86,00000069,10,1,48060.00,0.00,'Order Placed',0.000,11.00,0.00,45.00,0.00,48060.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314078675','1314078675','','',0,0,0,0,12000.00,0.00,4.500,'PRINCESS 4.50 E VERY GOOD Loose-GIA'),(87,00000070,12,1,0.00,0.00,'Order Returned Full',4.200,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314078727','1314078727','','',0,0,0,0,30500.00,0.00,4.200,'ROUND 4.20 F EXCELLENT Loose-IGI'),(88,00000071,14,1,0.00,0.00,'Order Returned Full',1.800,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314078771','1314078771','','',0,0,0,0,26000.00,0.00,1.800,'ROUND 1.80 D VERY GOOD Loose-GIA'),(89,00000072,15,1,35112.00,0.00,'Order Placed',0.000,16.00,0.00,45.00,0.00,35112.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314079020','1314079020','','',0,0,0,0,11000.00,0.00,3.800,'PEAR 3.80 H VERY GOOD Loose-IGI'),(90,00000073,19,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314079094','1314079094','','',0,0,0,0,18000.00,0.00,1.000,'ROUND 1.00 F EXCELLENT Single-GIA'),(91,00000074,16,1,42496.00,0.00,'Order Placed',0.000,17.00,0.00,45.00,0.00,42496.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314079686','1314079686','','',0,0,0,0,16000.00,0.00,3.200,'PEAR 3.20 D EXCELLENT Loose-GIA'),(92,00000075,20,1,0.00,0.00,'Order Returned Full',2.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314079843','1314079843','','',0,0,0,0,35000.00,0.00,2.000,'ROUND 2.00 F EXCELLENT Single-GIA'),(93,00000076,17,1,0.00,0.00,'Order Returned Full',5.800,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314086368','1314086368','','',0,0,0,0,24000.00,0.00,5.800,'ROUND 5.80 D GOOD Loose-GIA'),(94,00000077,21,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314086677','1314086677','','',0,0,0,0,22500.00,0.00,1.500,'ROUND 1.50 F EXCELLENT Single-GIA'),(95,00000078,24,1,0.00,0.00,'Order Returned Full',2.300,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314087315','1314087315','','',0,0,0,0,35000.00,0.00,2.300,'ROUND 2.30 F EXCELLENT Single-GIA'),(96,00000079,22,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314087508','1314087508','','',0,0,0,0,22500.00,0.00,1.600,'ROUND 1.60 F EXCELLENT Single-GIA'),(97,00000080,23,1,0.00,0.00,'Order Returned Full',2.800,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314087676','1314087676','','',0,0,0,0,53000.00,0.00,2.800,'ROUND 2.80 D EXCELLENT Single-GIA'),(98,00000081,25,1,0.00,0.00,'Order Returned Full',1.900,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314087878','1314087878','','',0,0,0,0,22500.00,0.00,1.900,'ROUND 1.90 F EXCELLENT Single-GIA'),(99,00000082,27,1,0.00,0.00,'Order Returned Full',2.400,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314088024','1314088024','','',0,0,0,0,35000.00,0.00,2.400,'ROUND 2.40 H EXCELLENT Single-GIA'),(100,00000083,28,1,0.00,0.00,'Order Returned Full',2.600,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314089569','1314089569','','',0,0,0,0,21000.00,0.00,2.600,'ROUND 2.60 G EXCELLENT Single-GIA'),(101,00000084,29,1,0.00,0.00,'Order Returned Full',2.300,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314089766','1314089766','','',0,0,0,0,35000.00,0.00,2.300,'ROUND 2.30 F EXCELLENT Single-GIA'),(102,00000085,30,1,0.00,0.00,'Order Returned Full',2.200,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314091038','1314091038','','',0,0,0,0,35000.00,0.00,2.200,'ROUND 2.20 F EXCELLENT Single-GIA'),(103,00000086,13,1,0.00,0.00,'Order Returned Full',4.600,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314091330','1314091330','','',0,0,0,0,15500.00,0.00,4.600,'ROUND 4.60 H GOOD Loose-GIA'),(104,00000087,18,1,4499.55,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,4499.55,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314091373','1314091373','','',0,0,0,0,3333.00,0.00,1.500,'PRINCESS 1.50 D GOOD Single-EGL Israel'),(105,00000088,12,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314092499','1314092499','','',0,0,0,0,30500.00,0.00,8.400,'ROUND 8.40 F EXCELLENT Loose-IGI'),(106,00000089,13,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314092733','1314092733','','',0,0,0,0,15500.00,0.00,9.200,'ROUND 9.20 H GOOD Loose-GIA'),(107,00000090,23,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314093222','1314093222','','',0,0,0,0,53000.00,0.00,2.800,'ROUND 2.80 D EXCELLENT Single-GIA'),(108,00000091,24,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314093874','1314093874','','',0,0,0,0,35000.00,0.00,2.300,'ROUND 2.30 F EXCELLENT Single-GIA'),(109,00000092,27,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314093993','1314093993','','',0,0,0,0,35000.00,0.00,2.400,'ROUND 2.40 H EXCELLENT Single-GIA'),(110,00000093,28,1,0.00,0.00,'Order Returned Full',2.600,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314094052','1314094052','','',0,0,0,0,21000.00,0.00,2.600,'ROUND 2.60 G EXCELLENT Single-GIA'),(111,00000094,29,1,0.00,0.00,'Order Placed',0.000,100.00,0.00,45.00,0.00,0.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314094375','1314094375','','',0,0,0,0,35000.00,0.00,2.300,'ROUND 2.30 F EXCELLENT Single-GIA'),(112,00000095,28,1,49140.00,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,49140.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314095128','1314095128','','',0,0,0,0,21000.00,0.00,2.600,'ROUND 2.60 G EXCELLENT Single-GIA'),(113,00000096,5,1,126000.00,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,126000.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314100233','1314100233','','',0,0,0,0,35000.00,0.00,4.000,'ROUND 4.00 F EXCELLENT Loose-GIA'),(114,00000097,25,1,38475.00,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,38475.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1314180700','1314180700','','',0,0,0,0,22500.00,0.00,1.900,'ROUND 1.90 F EXCELLENT Single-GIA'),(115,00000098,14,1,84240.00,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,84240.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1321000320','1321000320','','',0,0,0,0,26000.00,0.00,3.600,'ROUND 3.60 D VERY GOOD Loose-GIA'),(116,00000099,20,1,63000.00,0.00,'Order Placed',0.000,10.00,0.00,45.00,0.00,63000.00,0.00,0.00,0.00,0,0,0,0.00,0.00,0,0.00,0.0000,0.0000,'1326444554','1326444554','','',0,0,0,0,35000.00,0.00,2.000,'ROUND 2.00 F EXCELLENT Single-GIA');

--
-- 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=8 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,1,'','','1309370697',1),(2,2,'','','1309679125',1),(3,26,'','','1311243922',1),(4,43,'','','1312367639',1),(5,61,'','','1313746631',1),(6,63,'','','1313747027',1),(7,64,'','','1313820283',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_orderpaymentsdetails`
--

CREATE TABLE `bstock_orderpaymentsdetails` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `pm_token` varchar(255) NOT NULL,
  `pm_timestamp` varchar(255) NOT NULL,
  `pm_correlationid` varchar(255) NOT NULL,
  `pm_feeamt` decimal(10,2) NOT NULL,
  `pm_taxamt` decimal(10,2) NOT NULL,
  `pm_currencycode` varchar(200) NOT NULL,
  `order_id` int(10) NOT NULL,
  `payment_mode` int(2) NOT NULL COMMENT 'It will be a foriegn key from table- bstock_paymenttypes.',
  `pm_transactionid` varchar(255) NOT NULL,
  `pm_transactiontype` varchar(255) NOT NULL,
  `pm_accountholdername` varchar(500) NOT NULL,
  `pm_card_expiry` int(10) NOT NULL,
  `pm_transactionamt` decimal(10,2) NOT NULL,
  `pm_paymentstatus` varchar(255) NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_orderpaymentsdetails`
--

INSERT INTO `bstock_orderpaymentsdetails` VALUES (1,'EC-3DL91212D66627237','2010-12-31T08:33:40Z','85ea3f061fa7b',127.26,0.00,'USD',148,1,'69S96448JM950332L','expresscheckout','baba',2147483647,4378.00,'Success',1286637172,1286637172),(2,'EC-3DL91212D66627237','2010-12-31T08:33:40Z','85ea3f061fa7b',127.26,0.00,'USD',148,1,'69S96448JM950332L','expresscheckout','baba',2147483647,4378.00,'Success',1286637172,1286637172),(3,'EC-0PL64968899667946','2010-12-31T13:06:43Z','e18ca6e933425',63.78,0.00,'USD',171,1,'7YY46970LT058971S','expresscheckout','baba',0,2189.00,'Completed',1293800804,1293800804),(4,'','','',0.00,0.00,'',182,2,'V75A2DCE1479','credit card',' ',112,7.00,'Approved',1294061203,1294061203),(5,'EC-9BP427517X364061F','2011-01-06T06:24:49Z','6ac84deebe60a',0.36,0.00,'USD',11,1,'26890432W96146344','expresscheckout','baba',0,2.00,'Completed',1294295089,1294295089);

--
-- 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,
  `reference_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,
  `brokerage_total` decimal(10,2) NOT NULL COMMENT 'Total brokerage amount to be paid.',
  `brokerage_balance` decimal(10,2) NOT NULL COMMENT 'Balance remaining to be paid to broker.',
  `broker_id_1` int(11) NOT NULL,
  `brokerage_1` decimal(10,2) 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` decimal(10,2) NOT NULL COMMENT 'Total amount of the order.',
  `net_total` decimal(10,2) NOT NULL,
  `subtotal_usd` decimal(10,2) NOT NULL COMMENT 'Order subtotal in USD',
  `net_total_usd` decimal(10,2) NOT NULL COMMENT 'Order Net total in USD (including taxes)',
  `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=100 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,'1','Frank','','Frank','',2,5,0,0,0,0.00,0.00,0,0.00,1,150,'Cash','individual',0.00,0,0,0,0.000,2346120.00,2346120.00,52136.00,52136.00,0.00,46120.00,11,1,45.00,'',3,'terms and conditions comments',1322330696,'on',1309370696,'1309370696','1309370696',0,'so',0,0,'Admin','off'),(00000002,'00000002','','','Frank','',2,5,0,0,0,0.00,0.00,0,0.00,1,0,'Cash','individual',0.00,0,0,0,-27540.000,0.00,-27540.00,61200.00,61200.00,0.00,-2527540.00,11,7,45.00,'',3,'terms and conditions comments',1309679125,'on',1309679125,'1309679125','1309679125',0,'so',0,0,'Admin','off'),(00000003,'web','','','harshad','n',87,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310367735,'off',1310367735,'1310367735','1310367735',0,'so',0,0,'Web','off'),(00000004,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310368829,'off',1310368829,'1310368829','1310368829',0,'so',0,0,'Web','off'),(00000005,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1310368986,'off',1310368986,'1310368986','1310368986',0,'so',0,0,'Web','off'),(00000006,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310369142,'off',1310369142,'1310369142','1310369142',0,'so',0,0,'Web','off'),(00000007,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310374393,'off',1310374393,'1310374393','1310374393',0,'so',0,0,'Web','off'),(00000008,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310374964,'off',1310374964,'1310374964','1310374964',0,'so',0,0,'Web','off'),(00000009,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1310375066,'off',1310375066,'1310375066','1310375066',0,'so',0,0,'Web','off'),(00000010,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310375709,'off',1310375709,'1310375709','1310375709',0,'so',0,0,'Web','off'),(00000011,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1310376675,'off',1310376675,'1310376675','1310376675',0,'so',0,0,'Web','off'),(00000012,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310378562,'off',1310378562,'1310378562','1310378562',0,'so',0,0,'Web','off'),(00000013,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,15300.000,1530000.00,1545300.00,0.00,0.00,0.00,1545300.00,10,1,0.00,'',1,'',1310378691,'off',1310378691,'1310378691','1310378691',0,'so',0,0,'Web','off'),(00000014,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,22950.000,2295000.00,2317950.00,0.00,0.00,0.00,2317950.00,10,1,0.00,'',1,'',1310378898,'off',1310378898,'1310378898','1310378898',0,'so',0,0,'Web','off'),(00000015,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,22950.000,2295000.00,2317950.00,0.00,0.00,0.00,2317950.00,10,1,0.00,'',1,'',1310378929,'off',1310378929,'1310378929','1310378929',0,'so',0,0,'Web','off'),(00000016,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,30600.000,3060000.00,3090600.00,0.00,0.00,0.00,3090600.00,10,1,0.00,'',1,'',1310378971,'off',1310378971,'1310378971','1310378971',0,'so',0,0,'Web','off'),(00000017,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,38250.000,3825000.00,3863250.00,0.00,0.00,0.00,3863250.00,10,1,0.00,'',1,'',1310379051,'off',1310379051,'1310379051','1310379051',0,'so',0,0,'Web','off'),(00000018,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,45900.000,4590000.00,4635900.00,0.00,0.00,0.00,4635900.00,10,1,0.00,'',1,'',1310379144,'off',1310379144,'1310379144','1310379144',0,'so',0,0,'Web','off'),(00000019,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,53550.000,5355000.00,5408550.00,0.00,0.00,0.00,5408550.00,10,1,0.00,'',1,'',1310379258,'off',1310379258,'1310379258','1310379258',0,'so',0,0,'Web','off'),(00000020,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,53550.000,5355000.00,5408550.00,0.00,0.00,0.00,5408550.00,10,1,0.00,'',1,'',1310379503,'off',1310379503,'1310379503','1310379503',0,'so',0,0,'Web','off'),(00000021,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,61200.000,6120000.00,6181200.00,0.00,0.00,0.00,6181200.00,10,1,0.00,'',1,'',1310379636,'off',1310379636,'1310379636','1310379636',0,'so',0,0,'Web','off'),(00000022,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310379747,'off',1310379747,'1310379747','1310379747',0,'so',0,0,'Web','off'),(00000023,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,1,0.00,'',1,'',1310379975,'off',1310379975,'1310379975','1310379975',0,'so',0,0,'Web','off'),(00000024,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,7650.000,765000.00,772650.00,0.00,0.00,0.00,772650.00,10,7,0.00,'',1,'',1310380058,'on',1310380058,'1310380058','1310380058',0,'so',0,0,'Web','off'),(00000025,'web','','','harshad','n',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1310735674,'on',1310735674,'1310735674','1310735674',0,'so',0,0,'Web','off'),(00000026,'00000026','VK','VK','Harry ','',1,5,0,0,1,10985.00,10985.00,0,0.00,0,90,'Cash','individual',0.00,0,0,0,-12600.000,-63000.00,-75600.00,26600.00,26600.00,0.00,-75600.00,10,7,45.00,'',2,'test test',1319021010,'on',1311245010,'1311243922','1311245010',0,'so',0,0,'Admin','off'),(00000027,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,89.000,8888.00,8977.00,0.00,0.00,0.00,8977.00,10,7,0.00,'',1,'',1311256532,'on',1311256532,'1311256532','1311256532',0,'so',0,0,'Web','off'),(00000028,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,15750.000,1575000.00,1590750.00,0.00,0.00,0.00,1590750.00,10,7,0.00,'',1,'',1311326069,'on',1311326069,'1311326069','1311326069',0,'so',0,0,'Web','off'),(00000029,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,30600.000,3060000.00,3090600.00,0.00,0.00,0.00,3090600.00,10,7,0.00,'',1,'',1311326910,'on',1311326910,'1311326910','1311326910',0,'so',0,0,'Web','off'),(00000030,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,178.000,17776.00,17954.00,0.00,0.00,0.00,17954.00,10,7,0.00,'',1,'',1311336826,'on',1311336826,'1311336826','1311336826',0,'so',0,0,'Web','off'),(00000031,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,768.000,76825.00,77593.00,0.00,0.00,0.00,77593.00,10,7,0.00,'',1,'',1311339725,'on',1311339725,'1311339725','1311339725',0,'so',0,0,'Web','off'),(00000032,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,712.500,71250.00,71962.50,0.00,0.00,0.00,71962.50,10,1,0.00,'',1,'',1311341971,'on',1311341971,'1311341971','1311341971',0,'so',0,0,'Web','off'),(00000033,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,238.000,23799.00,24037.00,0.00,0.00,0.00,24037.00,10,7,0.00,'',1,'',1311772723,'on',1311772723,'1311772723','1311772723',0,'so',0,0,'Web','off'),(00000034,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,571.000,57120.00,57691.00,0.00,0.00,0.00,57691.00,10,7,0.00,'',1,'',1311855479,'on',1311855479,'1311855479','1311855479',0,'so',0,0,'Web','off'),(00000035,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,571.000,57120.00,57691.00,0.00,0.00,0.00,57691.00,10,7,0.00,'',1,'',1311855578,'on',1311855578,'1311855578','1311855578',0,'so',0,0,'Web','off'),(00000036,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,595.000,59500.00,60095.00,0.00,0.00,0.00,60095.00,10,7,0.00,'',1,'',1311855702,'on',1311855702,'1311855702','1311855702',0,'so',0,0,'Web','off'),(00000037,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,394.092,39409.20,39803.29,0.00,0.00,0.00,39803.29,10,1,0.00,'',1,'',1311921877,'on',1311921877,'1311921877','1311921877',0,'so',0,0,'Web','off'),(00000038,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,237.993,23799.30,24037.29,0.00,0.00,0.00,24037.29,10,1,0.00,'',1,'',1312009460,'on',1312009460,'1312009460','1312009460',0,'so',0,0,'Web','off'),(00000039,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,399.000,39943.00,40343.00,0.00,0.00,0.00,40343.00,10,7,0.00,'',1,'',1312200209,'on',1312200209,'1312200209','1312200209',0,'so',0,0,'Web','off'),(00000040,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,160.000,16020.00,16180.00,0.00,0.00,0.00,16180.00,10,7,0.00,'',1,'',1312200558,'on',1312200558,'1312200558','1312200558',0,'so',0,0,'Web','off'),(00000041,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,324.630,32463.00,32787.63,0.00,0.00,0.00,32787.63,10,1,0.00,'',1,'',1312354270,'on',1312354270,'1312354270','1312354270',0,'so',0,0,'Web','off'),(00000042,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,114.750,11475.00,11589.75,0.00,0.00,0.00,11589.75,10,1,0.00,'',1,'',1312365492,'on',1312365492,'1312365492','1312365492',0,'so',0,0,'Web','off'),(00000043,'00000043','','','Harry','',1,5,0,0,1,20860.25,20860.25,0,0.00,1,0,'Cash','individual',0.00,0,0,0,-34200.000,-247950.00,-282150.00,70490.00,70490.00,0.00,-282150.00,10,7,45.00,'',3,'terms and conditions comments',1312367639,'on',1312367639,'1312367639','1312367639',0,'so',0,0,'Admin','off'),(00000044,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,21248.00,21248.00,0.00,0.00,0.00,21248.00,10,7,0.00,'',1,'',1312724226,'on',1312724226,'1312724226','1312724226',0,'so',0,0,'Web','off'),(00000045,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,90496.00,90496.00,0.00,0.00,0.00,90496.00,10,1,0.00,'',1,'',1312788816,'on',1312788816,'1312788816','1312788816',0,'so',0,0,'Web','off'),(00000046,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,80852.00,80852.00,0.00,0.00,0.00,80852.00,10,7,0.00,'',1,'',1312789133,'on',1312789133,'1312789133','1312789133',0,'so',0,0,'Web','off'),(00000047,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,161839.00,161839.00,0.00,0.00,0.00,161839.00,10,7,0.00,'',1,'',1312789637,'on',1312789637,'1312789637','1312789637',0,'so',0,0,'Web','off'),(00000048,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,69850.00,69850.00,0.00,0.00,0.00,69850.00,10,7,0.00,'',1,'',1312789845,'on',1312789845,'1312789845','1312789845',0,'so',0,0,'Web','off'),(00000049,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,1003.092,0.00,0.00,100309.20,101312.29,0.00,101312.29,10,1,0.00,'',1,'',1312790551,'on',1312790551,'1312790551','1312790551',0,'so',0,0,'Web','off'),(00000050,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,399.000,0.00,0.00,39943.20,40342.63,0.00,40343.00,10,7,0.00,'',1,'',1312794017,'on',1312794017,'1312794017','1312794017',0,'so',0,0,'Web','off'),(00000051,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,87.120,0.00,0.00,8712.00,8799.12,0.00,8799.12,10,1,0.00,'',1,'',1312806641,'on',1312806641,'1312806641','1312806641',0,'so',0,0,'Web','off'),(00000052,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,238.000,0.00,0.00,23751.00,23988.51,0.00,23989.00,10,7,0.00,'',1,'',1312807922,'on',1312807922,'1312807922','1312807922',0,'so',0,0,'Web','off'),(00000053,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,160.000,0.00,0.00,16020.00,16180.20,0.00,16180.00,10,7,0.00,'',1,'',1313216384,'on',1313216384,'1313216384','1313216384',0,'so',0,0,'Web','off'),(00000054,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,424.960,0.00,0.00,42496.00,42920.96,0.00,42920.96,10,1,0.00,'',1,'',1313220544,'on',1313220544,'1313220544','1313220544',0,'so',0,0,'Web','off'),(00000055,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,115.000,0.00,0.00,11475.00,11589.75,0.00,11590.00,10,7,0.00,'',1,'',1313232118,'on',1313232118,'1313232118','1313232118',0,'so',0,0,'Web','off'),(00000056,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,404.260,0.00,0.00,40426.00,40830.26,0.00,40830.26,10,1,0.00,'',1,'',1313233565,'on',1313233565,'1313233565','1313233565',0,'so',0,0,'Web','off'),(00000057,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,176.000,0.00,0.00,17556.00,17731.56,0.00,17732.00,10,7,0.00,'',1,'',1313234553,'on',1313234553,'1313234553','1313234553',0,'so',0,0,'Web','off'),(00000058,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,27692.00,27692.00,0.00,27692.00,10,7,0.00,'',1,'',1313585176,'on',1313585176,'1313585176','1313585176',0,'so',0,0,'Web','off'),(00000059,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1313746302,'on',1313746302,'1313746302','1313746302',0,'so',0,0,'Web','off'),(00000060,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1313746328,'on',1313746328,'1313746328','1313746328',0,'so',0,0,'Web','off'),(00000061,'00000061','','','test','',10,5,0,0,1,8100.00,8100.00,0,0.00,1,20,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,18000.00,18000.00,0.00,0.00,10,7,45.00,'',3,'terms and conditions comments',1315474630,'on',1313746630,'1313746630','1313746630',0,'so',0,0,'Admin','off'),(00000062,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1313746969,'on',1313746969,'1313746969','1313746969',0,'so',0,0,'Web','off'),(00000063,'00000063','','','','',10,5,0,0,1,20750.00,20750.00,0,0.00,1,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,70000.00,70000.00,0.00,0.00,10,7,45.00,'',3,'terms and conditions comments',1313747027,'on',1313747027,'1313747027','1313747027',0,'so',0,0,'Admin','off'),(00000064,'00000064','','','','',10,5,0,0,0,0.00,0.00,0,0.00,1,0,'Cash','individual',0.00,0,0,0,0.000,1134000.00,1134000.00,296850.00,296850.00,0.00,1134000.00,10,6,45.00,'',3,'terms and conditions comments',1313820282,'on',1313820282,'1313820282','1313820282',0,'so',0,0,'Admin','off'),(00000065,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,161838.60,161838.60,0.00,161838.60,10,1,0.00,'',1,'',1314011684,'on',1314011684,'1314011684','1314011684',0,'so',0,0,'Web','off'),(00000066,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,20700.00,20700.00,0.00,20700.00,10,1,0.00,'',1,'',1314011875,'on',1314011875,'1314011875','1314011875',0,'so',0,0,'Web','off'),(00000067,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,59500.00,59500.00,0.00,59500.00,10,1,0.00,'',1,'',1314011950,'on',1314011950,'1314011950','1314011950',0,'so',0,0,'Web','off'),(00000068,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,60900.00,60900.00,0.00,60900.00,10,7,0.00,'',1,'',1314078595,'on',1314078595,'1314078595','1314078595',0,'so',0,0,'Web','off'),(00000069,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,48060.00,48060.00,0.00,48060.00,10,1,0.00,'',1,'',1314078675,'on',1314078675,'1314078675','1314078675',0,'so',0,0,'Web','off'),(00000070,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314078727,'on',1314078727,'1314078727','1314078727',0,'so',0,0,'Web','off'),(00000071,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314078771,'on',1314078771,'1314078771','1314078771',0,'so',0,0,'Web','off'),(00000072,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,35112.00,35112.00,0.00,35112.00,10,1,0.00,'',1,'',1314079020,'on',1314079020,'1314079020','1314079020',0,'so',0,0,'Web','off'),(00000073,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314079094,'on',1314079094,'1314079094','1314079094',0,'so',0,0,'Web','off'),(00000074,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,42496.00,42496.00,0.00,42496.00,10,1,0.00,'',1,'',1314079686,'on',1314079686,'1314079686','1314079686',0,'so',0,0,'Web','off'),(00000075,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314079843,'on',1314079843,'1314079843','1314079843',0,'so',0,0,'Web','off'),(00000076,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314086368,'on',1314086368,'1314086368','1314086368',0,'so',0,0,'Web','off'),(00000077,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314086677,'on',1314086677,'1314086677','1314086677',0,'so',0,0,'Web','off'),(00000078,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314087315,'on',1314087315,'1314087315','1314087315',0,'so',0,0,'Web','off'),(00000079,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314087508,'on',1314087508,'1314087508','1314087508',0,'so',0,0,'Web','off'),(00000080,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314087676,'on',1314087676,'1314087676','1314087676',0,'so',0,0,'Web','off'),(00000081,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314087878,'on',1314087878,'1314087878','1314087878',0,'so',0,0,'Web','off'),(00000082,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314088024,'on',1314088024,'1314088024','1314088024',0,'so',0,0,'Web','off'),(00000083,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314089569,'on',1314089569,'1314089569','1314089569',0,'so',0,0,'Web','off'),(00000084,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314089766,'on',1314089766,'1314089766','1314089766',0,'so',0,0,'Web','off'),(00000085,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314091038,'on',1314091038,'1314091038','1314091038',0,'so',0,0,'Web','off'),(00000086,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314091330,'on',1314091330,'1314091330','1314091330',0,'so',0,0,'Web','off'),(00000087,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,4499.55,4499.55,0.00,4499.55,10,1,0.00,'',1,'',1314091373,'on',1314091373,'1314091373','1314091373',0,'so',0,0,'Web','off'),(00000088,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314092499,'on',1314092499,'1314092499','1314092499',0,'so',0,0,'Web','off'),(00000089,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314092733,'on',1314092733,'1314092733','1314092733',0,'so',0,0,'Web','off'),(00000090,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314093222,'on',1314093222,'1314093222','1314093222',0,'so',0,0,'Web','off'),(00000091,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314093874,'on',1314093874,'1314093874','1314093874',0,'so',0,0,'Web','off'),(00000092,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314093993,'on',1314093993,'1314093993','1314093993',0,'so',0,0,'Web','off'),(00000093,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,7,0.00,'',1,'',1314094052,'on',1314094052,'1314094052','1314094052',0,'so',0,0,'Web','off'),(00000094,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,0.00,0.00,0.00,0.00,10,1,0.00,'',1,'',1314094375,'on',1314094375,'1314094375','1314094375',0,'so',0,0,'Web','off'),(00000095,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,49140.00,49140.00,0.00,49140.00,10,1,0.00,'',1,'',1314095128,'on',1314095128,'1314095128','1314095128',0,'so',0,0,'Web','off'),(00000096,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,126000.00,126000.00,0.00,126000.00,10,1,0.00,'',1,'',1314100233,'on',1314100233,'1314100233','1314100233',0,'so',0,0,'Web','off'),(00000097,'web','','','sachin','tendulkar',10,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,38475.00,38475.00,0.00,38475.00,10,1,0.00,'',1,'',1314180700,'on',1314180700,'1314180700','1314180700',0,'so',0,0,'Web','off'),(00000098,'web','','','Vishal','Kothari',8,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,84240.00,84240.00,0.00,84240.00,10,1,0.00,'',1,'',1321000320,'on',1321000320,'1321000320','1321000320',0,'so',0,0,'Web','off'),(00000099,'web','','','Harshad','Narvekar',3,0,0,0,0,0.00,0.00,0,0.00,0,0,'Cash','individual',0.00,0,0,0,0.000,0.00,0.00,63000.00,63000.00,0.00,63000.00,10,1,0.00,'',1,'',1326444554,'on',1326444554,'1326444554','1326444554',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=97 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,2,6,'','1310362523','1310362523'),(2,3,7,'','1310367735','1310367735'),(3,4,8,'','1310368829','1310368829'),(4,5,9,'','1310368986','1310368986'),(5,6,10,'','1310369142','1310369142'),(6,7,11,'','1310374393','1310374393'),(7,8,12,'','1310374964','1310374964'),(8,9,13,'','1310375066','1310375066'),(9,10,14,'','1310375709','1310375709'),(10,11,15,'','1310376675','1310376675'),(11,12,16,'','1310378562','1310378562'),(12,13,17,'','1310378691','1310378691'),(13,14,18,'','1310378898','1310378898'),(14,15,19,'','1310378929','1310378929'),(15,16,20,'','1310378971','1310378971'),(16,17,21,'','1310379051','1310379051'),(17,18,22,'','1310379144','1310379144'),(18,19,23,'','1310379258','1310379258'),(19,20,24,'','1310379503','1310379503'),(20,21,25,'','1310379636','1310379636'),(21,22,26,'','1310379747','1310379747'),(22,23,27,'','1310379975','1310379975'),(23,24,28,'','1310380058','1310380058'),(24,25,29,'','1310735674','1310735674'),(25,26,37,'','1311255651','1311255651'),(26,27,38,'','1311256532','1311256532'),(27,28,40,'','1311326069','1311326069'),(28,29,41,'','1311326910','1311326910'),(29,30,42,'','1311336826','1311336826'),(30,31,43,'','1311339725','1311339725'),(31,32,44,'','1311341971','1311341971'),(32,33,45,'','1311772723','1311772723'),(33,34,46,'','1311855479','1311855479'),(34,35,47,'','1311855578','1311855578'),(35,36,48,'','1311855702','1311855702'),(36,37,49,'','1311921877','1311921877'),(37,38,50,'','1312009460','1312009460'),(38,39,51,'','1312200209','1312200209'),(39,40,52,'','1312200558','1312200558'),(40,41,53,'','1312354270','1312354270'),(41,42,54,'','1312365492','1312365492'),(42,44,56,'','1312724226','1312724226'),(43,45,57,'','1312788816','1312788816'),(44,46,58,'','1312789133','1312789133'),(45,47,59,'','1312789637','1312789637'),(46,48,60,'','1312789845','1312789845'),(47,49,61,'','1312790551','1312790551'),(48,50,62,'','1312794017','1312794017'),(49,51,63,'','1312806641','1312806641'),(50,52,64,'','1312807922','1312807922'),(51,53,65,'','1313216384','1313216384'),(52,54,66,'','1313220544','1313220544'),(53,54,67,'','1313228401','1313228401'),(54,54,68,'','1313229095','1313229095'),(55,55,69,'','1313232118','1313232118'),(56,56,70,'','1313233565','1313233565'),(57,57,71,'','1313234553','1313234553'),(58,58,74,'','1313585176','1313585176'),(59,59,75,'','1313746302','1313746302'),(60,60,76,'','1313746328','1313746328'),(61,62,78,'','1313746969','1313746969'),(62,65,81,'','1314011684','1314011684'),(63,66,82,'','1314011875','1314011875'),(64,67,83,'','1314011950','1314011950'),(65,68,84,'','1314078595','1314078595'),(66,69,85,'','1314078675','1314078675'),(67,70,86,'','1314078727','1314078727'),(68,71,87,'','1314078771','1314078771'),(69,72,88,'','1314079020','1314079020'),(70,73,89,'','1314079094','1314079094'),(71,74,90,'','1314079686','1314079686'),(72,75,91,'','1314079843','1314079843'),(73,76,92,'','1314086368','1314086368'),(74,77,93,'','1314086677','1314086677'),(75,78,94,'','1314087315','1314087315'),(76,79,95,'','1314087508','1314087508'),(77,80,96,'','1314087676','1314087676'),(78,81,97,'','1314087878','1314087878'),(79,82,98,'','1314088024','1314088024'),(80,83,99,'','1314089569','1314089569'),(81,84,100,'','1314089766','1314089766'),(82,85,101,'','1314091038','1314091038'),(83,86,102,'','1314091330','1314091330'),(84,87,103,'','1314091373','1314091373'),(85,88,104,'','1314092499','1314092499'),(86,89,105,'','1314092733','1314092733'),(87,90,106,'','1314093222','1314093222'),(88,91,107,'','1314093874','1314093874'),(89,92,108,'','1314093993','1314093993'),(90,93,109,'','1314094052','1314094052'),(91,94,110,'','1314094375','1314094375'),(92,95,111,'','1314095128','1314095128'),(93,96,121,'','1314100233','1314100233'),(94,97,122,'','1314180700','1314180700'),(95,98,123,'','1321000320','1321000320'),(96,99,124,'','1326444554','1326444554');

--
-- 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=116 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,00010181,'','','NA','','','','','',1,'','1303542363','1303542363','',''),(57,00010181,'','','NA','','','','','',1,'','1303550501','1303550501','',''),(58,00010181,'','','NA','','','','','',1,'','1303550878','1303550878','',''),(59,00010181,'','','NA','','','','','',1,'','1303550943','1303550943','',''),(60,00010181,'','','NA','','','','','',1,'','1303551111','1303551111','',''),(61,00010181,'','','NA','','','','','',1,'','1303552191','1303552191','',''),(62,00010181,'','','NA','','','','','',1,'','1303552457','1303552457','',''),(63,00010181,'','','NA','','','','','',1,'','1303552630','1303552630','',''),(64,00010181,'','','NA','','','','','',1,'','1303552653','1303552653','',''),(65,00010181,'','','NA','','','','','',1,'','1303552909','1303552909','',''),(66,00010181,'','','NA','','','','','',1,'','1303553272','1303553272','',''),(67,00010181,'','','NA','','','','','',1,'','1303558581','1303558581','',''),(68,00010185,'','','Drop off','','','','','',1,'','1304412423','1304412423','',''),(69,00010185,'','','Drop off','','','','','',1,'','1304413549','1304413549','',''),(70,00010185,'','','Courier','','','','','',1,'','1304970675','1304970675','',''),(71,00010187,'','','Courier','','','','','',1,'','1305233004','1305233004','',''),(72,00010189,'','','Courier','','','','','',1,'','1305284645','1305284645','',''),(73,00010190,'','','Courier','','','','','',1,'','1305634197','1305634197','',''),(74,00010190,'','','Courier','','','','','',1,'','1305726721','1305726721','',''),(75,00010191,'','','Courier','','','','','',1,'','1305786976','1305786976','',''),(76,00010189,'','','Courier','','','','','',1,'','1305806117','1305806117','',''),(77,00010199,'','','Courier','','','','','',1,'','1305833617','1305833617','',''),(78,00000002,'','','Courier','','','','','',1,'','1305874014','1305874014','',''),(79,00000002,'','','Courier','','','','','',1,'','1305874059','1305874059','',''),(80,00000002,'','','Courier','','','','','',1,'','1305874117','1305874117','',''),(81,00000007,'','','Courier','','','','','',1,'','1305900991','1305900991','',''),(82,00000007,'','','Courier','','','','','',1,'','1305901030','1305901030','',''),(83,00000007,'','','Courier','','','','','',1,'','1305901630','1305901630','',''),(84,00000007,'','','Courier','','','','','',1,'','1305919425','1305919425','',''),(85,00000010,'','','Courier','','','','','',1,'','1305962861','1305962861','',''),(86,00000011,'','','Courier','','','','','',1,'','1305964810','1305964810','',''),(87,00000011,'','','Courier','','','','','',1,'','1305964958','1305964958','',''),(88,00000011,'','','Courier','','','','','',1,'','1305964992','1305964992','',''),(89,00000012,'','','Courier','','','','','',1,'','1305965240','1305965240','',''),(90,00000018,'','','Courier','','','','','',1,'','1306235241','1306235241','',''),(91,00000018,'','','Courier','','','','','',1,'','1306235441','1306235441','',''),(92,00000018,'','','Courier','','','','','',1,'','1306236679','1306236679','',''),(93,00000018,'','','Courier','','','','','',1,'','1306245239','1306245239','',''),(94,00000018,'','','Courier','','','','','',1,'','1306245896','1306245896','',''),(95,00000018,'','','Courier','','','','','',1,'','1306245938','1306245938','',''),(96,00000018,'','','Courier','','','','','',1,'','1306246014','1306246014','',''),(97,00000018,'','','Courier','','','','','',1,'','1306246038','1306246038','',''),(98,00000018,'','','Courier','','','','','',1,'','1306246098','1306246098','',''),(99,00000018,'','','Courier','','','','','',1,'','1306246166','1306246166','',''),(100,00000018,'','','Courier','','','','','',1,'','1306246424','1306246424','',''),(101,00000018,'','','Courier','','','','','',1,'','1306246459','1306246459','',''),(102,00000018,'','','Courier','','','','','',1,'','1306246555','1306246555','',''),(103,00000018,'','','Courier','','','','','',1,'','1306246609','1306246609','',''),(104,00000014,'','','Courier','','','','','',1,'','1306317050','1306317050','',''),(105,00000022,'','','Courier','','','','','',1,'','1306391109','1306391109','',''),(106,00000023,'','','Courier','','','','','',1,'','1306391441','1306391441','',''),(107,00000023,'','','Courier','','','','','',1,'','1306391524','1306391524','',''),(108,00000022,'','','Courier','','','','','',1,'','1306394251','1306394251','',''),(109,00000026,'','','Courier','','','','','',1,'','1306407287','1306407287','',''),(110,00000016,'','','Courier','','','','','',1,'','1306841779','1306841779','',''),(111,00000011,'','','Courier','','','','','',1,'','1307367355','1307367355','',''),(112,00000001,'','','Courier','','','','','',1,'','1307703567','1307703567','',''),(113,00000001,'','','Courier','','','','','',1,'','1307703600','1307703600','',''),(114,00000001,'','','Courier','','','','','',1,'','1307703844','1307703844','',''),(115,00000026,'','','Courier','','','','','',1,'','1311245010','1311245010','','');

--
-- 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=104 DEFAULT CHARSET=latin1 COMMENT='Here we record all the transactions when the order status is';

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

INSERT INTO `bstock_orderstatushistory` VALUES (1,1,0,'1309370697','1309370697',1),(2,2,0,'1309679125','1309679125',1),(3,2,1,'1310362523','1310362523',0),(4,3,10,'1310367735','1310367735',0),(5,4,10,'1310368829','1310368829',0),(6,5,10,'1310368986','1310368986',0),(7,6,10,'1310369142','1310369142',0),(8,7,10,'1310374393','1310374393',0),(9,8,10,'1310374964','1310374964',0),(10,9,10,'1310375066','1310375066',0),(11,10,10,'1310375709','1310375709',0),(12,11,10,'1310376675','1310376675',0),(13,12,10,'1310378562','1310378562',0),(14,13,10,'1310378691','1310378691',0),(15,14,10,'1310378898','1310378898',0),(16,15,10,'1310378929','1310378929',0),(17,16,10,'1310378971','1310378971',0),(18,17,10,'1310379051','1310379051',0),(19,18,10,'1310379144','1310379144',0),(20,19,10,'1310379258','1310379258',0),(21,20,10,'1310379503','1310379503',0),(22,21,10,'1310379636','1310379636',0),(23,22,10,'1310379747','1310379747',0),(24,23,10,'1310379975','1310379975',0),(25,24,10,'1310380058','1310380058',0),(26,25,10,'1310735674','1310735674',0),(27,26,0,'1311243922','1311243922',1),(28,26,1,'1311255651','1311255651',0),(29,27,10,'1311256532','1311256532',0),(30,28,10,'1311326069','1311326069',0),(31,29,10,'1311326910','1311326910',0),(32,30,10,'1311336826','1311336826',0),(33,31,10,'1311339725','1311339725',0),(34,32,10,'1311341971','1311341971',0),(35,33,10,'1311772723','1311772723',0),(36,34,10,'1311855479','1311855479',0),(37,35,10,'1311855578','1311855578',0),(38,36,10,'1311855702','1311855702',0),(39,37,10,'1311921877','1311921877',0),(40,38,10,'1312009460','1312009460',0),(41,39,10,'1312200209','1312200209',0),(42,40,10,'1312200558','1312200558',0),(43,41,10,'1312354270','1312354270',0),(44,42,10,'1312365492','1312365492',0),(45,43,0,'1312367639','1312367639',1),(46,44,10,'1312724226','1312724226',0),(47,45,10,'1312788816','1312788816',0),(48,46,10,'1312789133','1312789133',0),(49,47,10,'1312789637','1312789637',0),(50,48,10,'1312789845','1312789845',0),(51,49,10,'1312790551','1312790551',0),(52,50,10,'1312794017','1312794017',0),(53,51,10,'1312806641','1312806641',0),(54,52,10,'1312807922','1312807922',0),(55,53,10,'1313216384','1313216384',0),(56,54,10,'1313220544','1313220544',0),(57,54,1,'1313228401','1313228401',0),(58,54,1,'1313229095','1313229095',0),(59,55,10,'1313232118','1313232118',0),(60,56,10,'1313233565','1313233565',0),(61,57,10,'1313234553','1313234553',0),(62,58,10,'1313585176','1313585176',0),(63,59,10,'1313746302','1313746302',0),(64,60,10,'1313746328','1313746328',0),(65,61,0,'1313746631','1313746631',1),(66,62,10,'1313746969','1313746969',0),(67,63,0,'1313747027','1313747027',1),(68,64,0,'1313820283','1313820283',1),(69,65,10,'1314011684','1314011684',0),(70,66,10,'1314011875','1314011875',0),(71,67,10,'1314011950','1314011950',0),(72,68,10,'1314078595','1314078595',0),(73,69,10,'1314078675','1314078675',0),(74,70,10,'1314078727','1314078727',0),(75,71,10,'1314078771','1314078771',0),(76,72,10,'1314079020','1314079020',0),(77,73,10,'1314079094','1314079094',0),(78,74,10,'1314079686','1314079686',0),(79,75,10,'1314079843','1314079843',0),(80,76,10,'1314086368','1314086368',0),(81,77,10,'1314086677','1314086677',0),(82,78,10,'1314087315','1314087315',0),(83,79,10,'1314087508','1314087508',0),(84,80,10,'1314087676','1314087676',0),(85,81,10,'1314087878','1314087878',0),(86,82,10,'1314088024','1314088024',0),(87,83,10,'1314089569','1314089569',0),(88,84,10,'1314089766','1314089766',0),(89,85,10,'1314091038','1314091038',0),(90,86,10,'1314091330','1314091330',0),(91,87,10,'1314091373','1314091373',0),(92,88,10,'1314092499','1314092499',0),(93,89,10,'1314092733','1314092733',0),(94,90,10,'1314093222','1314093222',0),(95,91,10,'1314093874','1314093874',0),(96,92,10,'1314093993','1314093993',0),(97,93,10,'1314094052','1314094052',0),(98,94,10,'1314094375','1314094375',0),(99,95,10,'1314095128','1314095128',0),(100,96,10,'1314100233','1314100233',0),(101,97,10,'1314180700','1314180700',0),(102,98,10,'1321000321','1321000321',0),(103,99,10,'1326444554','1326444554',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=12 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_pages`
--

CREATE TABLE `bstock_pages` (
  `ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `page_author` bigint(20) unsigned NOT NULL DEFAULT '0',
  `page_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `page_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `page_content` longtext NOT NULL,
  `page_title` text NOT NULL,
  `page_hyper_link` varchar(255) NOT NULL,
  `menu_display` enum('yes','no') NOT NULL DEFAULT 'no',
  `header_menu` enum('yes','no') NOT NULL DEFAULT 'no',
  `page_category` int(4) NOT NULL DEFAULT '0',
  `page_excerpt` text NOT NULL,
  `page_status` varchar(20) NOT NULL DEFAULT 'publish',
  `comment_status` varchar(20) NOT NULL DEFAULT 'open',
  `ping_status` varchar(20) NOT NULL DEFAULT 'open',
  `page_password` varchar(20) NOT NULL DEFAULT '',
  `page_name` varchar(200) NOT NULL DEFAULT '',
  `to_ping` text NOT NULL,
  `pinged` text NOT NULL,
  `page_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `page_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `page_content_filtered` text NOT NULL,
  `page_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
  `guid` varchar(255) NOT NULL DEFAULT '',
  `menu_order` int(11) NOT NULL DEFAULT '0',
  `page_type` varchar(20) NOT NULL DEFAULT 'post',
  `page_mime_type` varchar(100) NOT NULL DEFAULT '',
  `comment_count` bigint(20) NOT NULL DEFAULT '0',
  `user-voice_username` varchar(128) NOT NULL DEFAULT '',
  `user-voice_slug` varchar(128) NOT NULL DEFAULT 'general',
  `user-voice_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `user-voice_alignment` enum('left','right') NOT NULL DEFAULT 'right',
  `user-voice_color` char(6) NOT NULL DEFAULT '00BCBA',
  PRIMARY KEY (`ID`),
  KEY `page_name` (`page_name`),
  KEY `type_status_date` (`page_type`,`page_status`,`page_date`,`ID`),
  KEY `page_parent` (`page_parent`)
) ENGINE=MyISAM AUTO_INCREMENT=527 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pages`
--

INSERT INTO `bstock_pages` VALUES (1,1,'2008-06-17 11:35:57','2008-06-17 11:35:57','<h1>Demo Company</h1>\r\n\r\n<h3>Diamond Importers, Manufacturers and Exporters</h3>\r\n\r\nThe business consists of both rough and polished diamonds. It manufactures diamonds of all sizes.<br/>\r\n\r\nBesides being manufacturers, the company ranks among the top-most dealers (traders) in the market in both polished and rough diamonds.<br/>\r\n\r\n<h2>We believe in quality, consistency and relationship.</h2>','Golden Key Jewel','Home','yes','yes',0,'','publish','open','open','','home','','','2009-10-14 19:16:00','2009-10-14 19:16:00','',0,'http://narvekar.co.in/?p=1',1,'page','',0,'','general',0,'right','00BCBA'),(2,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','<div class=\"education\">\r\n<h1 style=\"text-align:justify;\">Diamond Exporters</h1>\r\n\r\n<p style=\"text-align:justify;\">The company prides itself on the loyalty of its customers. This loyalty arises from the service provided and also the preparation of the goods. That is the core reason why most of the customers that work with it, work solely with it.</p>\r\n\r\n<p style=\"text-align:justify;\">The company prides itself on the loyalty of its customers. This loyalty arises from the service provided and also the preparation of the goods. That is the core reason why most of the customers that work with it, work solely with it.</p>\r\n\r\n<p style=\"text-align:justify;\">The company prides itself on the loyalty of its customers. This loyalty arises from the service provided and also the preparation of the goods. That is the core reason why most of the customers that work with it, work solely with it.</p>\r\n\r\n<p style=\"text-align:justify;\">The company prides itself on the loyalty of its customers. This loyalty arises from the service provided and also the preparation of the goods. That is the core reason why most of the customers that work with it, work solely with it.</p>\r\n\r\n<p style=\"text-align:justify;\">The company prides itself on the loyalty of its customers. This loyalty arises from the service provided and also the preparation of the goods. That is the core reason why most of the customers that work with it, work solely with it.</p>\r\n\r\n</div>','Golden Key Jewel - About Us','About Us','yes','yes',0,'','publish','open','open','','about-us','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',3,'page','',0,'','general',0,'right','00BCBA'),(3,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is Buy Online or can be called search page','Golden Key Jewel - Search Stock','Buy Online','yes','yes',0,'','publish','open','open','','searchresult','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',2,'page','',0,'','general',0,'right','00BCBA'),(4,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is contact us. ','Golden Key Jewel - Contact Us','Contact Us','yes','yes',0,'','publish','open','open','','contact-us','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',8,'page','',0,'','general',0,'right','00BCBA'),(5,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is career page','Demo Company - Career Opportunities','Career','yes','no',0,'','publish','open','open','','career','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',5,'page','',0,'','general',0,'right','00BCBA'),(6,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is the login page','Golden Key Jewel','Login','no','no',0,'','publish','open','open','','login','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',6,'page','',0,'','general',0,'right','00BCBA'),(7,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is the password page','Golden Key Jewel - Forgot Password','Forgot Password','no','no',0,'','publish','open','open','','forgot-password','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',7,'page','',0,'','general',0,'right','00BCBA'),(8,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is the new user sign up page','Golden Key Jewel - Create Account','Sign Up','no','no',0,'','publish','open','open','','sign-up','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',8,'page','',0,'','general',0,'right','00BCBA'),(9,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is orders page.','View Orders','Orders','no','yes',0,'','publish','open','open','','orders','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',9,'page','',0,'','general',0,'right','00BCBA'),(10,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is Wishlist page','View Wishlist','Wishlist','no','no',0,'','publish','open','open','','wishlist','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',10,'page','',0,'','general',0,'right','00BCBA'),(11,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is Offers page.','View Offers','Offers','no','no',0,'','publish','open','open','','offers','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',11,'page','',0,'','general',0,'right','00BCBA'),(12,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is demands page.','View Demands','Demands','no','no',0,'','publish','open','open','','demands','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',12,'page','',0,'','general',0,'right','00BCBA'),(13,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is my account page.','Golden Key Jewel - View & Edit your Account Information','My Account','yes','no',0,'','publish','open','open','','my-account','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',13,'page','',0,'','general',0,'right','00BCBA'),(522,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is the search result page.','Search Results','Search Result','no','no',0,'','publish','open','open','','searchresult','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',14,'page','',0,'','general',0,'right','00BCBA'),(523,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is the checkout page.','Demo Company - Checkout','Check out','no','no',0,'','publish','open','open','','check-out','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',15,'page','',0,'','general',0,'right','00BCBA'),(524,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is Thank you page.','Demo Company - Thank you for placing your order.','Thank you page','no','no',0,'','publish','open','open','','thank-you','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',16,'page','',0,'','general',0,'right','00BCBA'),(17,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','This is the order detail page.','View Order Details','Order Detail Page','no','no',0,'','publish','open','open','','order-details','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',17,'page','',0,'','general',0,'right','00BCBA'),(525,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','<div class=\"education\">\r\n<p style=\"text-align:justify;\"><strong>INTRODUCTION</strong></p>\r\n<p style=\"text-align:justify;\">These terms and conditions apply to the Golden Key Web site located at www.goldenkeyjewel.co.za, and all associated Web sites linked to www.goldenkeyjewel.co.za by Golden Key, its subsidiaries and affiliates, including Golden Key\'s sites around the world (collectively \'the Site\'). Please read these terms and conditions (the \'Terms and Conditions\') carefully. BY USING THE SITE, YOU AGREE TO BE BOUND BY THESE TERMS AND CONDITIONS.</p>\r\n<p style=\"text-align:justify;\">These Terms and Conditions govern your use of, and any purchase from, the Golden Key Site, and constitute an agreement between you and Golden Key. Golden Key reserves the right to change or modify any of these Terms and Conditions or any policy or guideline of the Site at any time, and in its sole discretion. Any change or modification will be effective immediately upon posting of the revisions on the Site. Your continued use of the Site following the posting of its changes or modifications will constitute your acceptance of such changes or modifications. Therefore, you should frequently review these Terms and Conditions and any other applicable policies from time-to-time to understand the terms and conditions that apply to your use of the Site. If you do not agree to the amended terms, you must stop using the Site.</p>\r\n<p style=\"text-align:justify;\"><strong>&nbsp;</strong></p>\r\n<p style=\"text-align:justify;\"><strong>PRIVACY</strong></p>\r\n<p style=\"text-align:justify;\">Please review our Privacy Policy, which applies to your visit to and use of the<br /> Site.</p>\r\n<p style=\"text-align:justify;\"><strong>INTELLECTUAL PROPERTY</strong></p>\r\n<p style=\"text-align:justify;\">We own and operate this Site.&nbsp; All text, graphics, logos, icons, images, artwork, audio and video clips and software are our property or licensed by us, and they are protected by Australian and international intellectual property laws, including copyright.</p>\r\n<p style=\"text-align:justify;\">Please use this Site only for your personal and non-commercial purposes.&nbsp; Except to the extent permitted by relevant law, please do not use, copy, modify, transmit, store, publish or distribute the material on this Site, or create any other material using materials on this Site, without obtaining our prior written consent.</p>\r\n<p style=\"text-align:justify;\"><br /></p><p style=\"text-align:justify;\"><strong>YOUR ACCOUNT</strong></p>\r\n<p style=\"text-align:justify;\">If you access or use this Site, you are responsible for maintaining the confidentiality of your account and for restricting access to your computer. You agree to be responsible for all activities that occur under your account or password. If you are under 18 years old, you may use this Site only with the involvement of a parent or guardian. We reserve the right to refuse service, terminate accounts, remove or edit content or cancel orders in our sole discretion.</p>\r\n<p style=\"text-align:justify;\"><strong>COMMENTS AND SUGGESTIONS</strong></p>\r\n<p style=\"text-align:justify;\">We appreciate hearing from our customers and welcome your comments and suggestions regarding the Site and the products we offer for sale, provided that such comments and suggestions are not illegal, obscene, threatening, defamatory, invasive of privacy, infringements of intellectual property rights or otherwise objectionable or injurious to third parties and do not contain or consist of viruses, political campaigning, commercial solicitation, chain letters, mass mailings or any form of \"spam.\" You may not use a false email address, impersonate any person, or otherwise mislead us as to the origin of any comment or suggestion.</p>\r\n<p style=\"text-align:justify;\">If you do submit comments or suggestions, you should be aware that our policies do not permit us to accept or consider creative ideas, suggestions, inventions or materials other than those that we have specifically requested.&nbsp; We value your feedback on our products and our service but requests that you be specific in your comments and not submit creative ideas, inventions, suggestions or materials. Any feedback, comments or suggestions that you do send to us will become the property of Golden Key and shall not be subject to any obligation of confidentiality on the part of Golden Key. Golden Key shall not be liable for any use or disclosure of any such feedback, comments or suggestions. We shall be entitled to unrestricted use of any such feedback, comments or suggestions for any purpose whatsoever, commercial or otherwise, without compensation to you or any other person who submitted the information. &nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>PRODUCT DESCRIPTIONS</strong></p>\r\n<p style=\"text-align:justify;\">&nbsp;</p>\r\n<p style=\"text-align:justify;\">We makes all reasonable efforts to display the products listed for sale on our Site as accurately as possible. However, the colours we use, as well as the display and color capabilities of your computer monitor, will affect the colours that you actually see on your screen. We cannot guarantee that your monitor\'s display of any product color, texture or detail will be accurate. In addition, we do not warrant that product descriptions or other content are accurate, complete, reliable current or error free. While we make every effort to ensure that our products are described and priced accurately, in the event that an item is deemed to be priced incorrectly, we reserve the right to refuse sale of that item. If a product offered by Golden Key is not as described, your sole remedy is to return it in unused condition.</p>\r\n<p style=\"text-align:justify;\"><strong>LINKS TO OTHER SITES</strong></p>\r\n<p style=\"text-align:justify;\">&nbsp;</p>\r\n<p style=\"text-align:justify;\">This Site contains links to web sites that are not maintained or updated by Golden Key.&nbsp; These links are provided for your convenience only. We are not responsible for the content or accuracy of other web sites and cannot guarantee that such web sites will not change without our knowledge. The linking of any other web sites to this Site should not be construed as an endorsement of those other sites or their products and services. If you decide to use any links to access other web sites, we accept no liability if you suffer any loss or damage as a result of using them.</p>\r\n<p style=\"text-align:justify;\"><strong>SECURITY</strong></p>\r\n<p style=\"text-align:justify;\">Whilst we use the latest in Secure Sockets Layer (SSL) technology software for transactions with our customers, we will not be responsible for any damages, consequential losses (whether direct or indirect) suffered by a customer whose credit card is fraudulently used or is used in an unauthorised manner.</p>\r\n<p style=\"text-align:justify;\"><strong>INDEMNITY</strong></p>\r\n<p style=\"text-align:justify;\">You indemnify us and our officers, employees and agents against all losses, costs, damages, claims and expenses arising from:</p>\r\n<p style=\"text-align:justify;\">a.&nbsp;&nbsp; any breach of these Terms by you;</p>\r\n<p style=\"text-align:justify;\">b.&nbsp; any act or omission by you or an officer, employee or agent of you; or</p>\r\n<p style=\"text-align:justify;\">c.&nbsp;&nbsp; any claim, action, demand or proceeding by a third party against us or our officers, employees or agents caused or contributed to by you or an officer, employee or agent of you.</p>\r\n<p style=\"text-align:justify;\">&nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>BEST PRICE PROMISE</strong></p>\r\n<p style=\"text-align:justify;\">As part of our commitment to providing you with the best available price, we will beat any genuine price Available for a Comparable Product provided by an Australian registered businesses.</p>\r\n<p style=\"text-align:justify;\">We have the absolute discretion to refuse to accept a verbal quote and we may request that you provide to us a written quote.&nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>CANCELLATIONS POLICY</strong></p>\r\n<p style=\"text-align:justify;\">If you change your mind within 24 hours after you have placed the order, you can cancel your order and have the deposit returned to you. On the day after the end of this time period, Golden Key will start manufacturing the goods and we will not accept any cancellations after this time.&nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>RETURN POLICY</strong></p>\r\n<p style=\"text-align:justify;\">If you are not completely satisfied with the goods you can return the item provided that it is in its original condition with the Golden Key product tag intact, within 14 days of the date of shipment for a refund or an exchange.</p>\r\n<p style=\"text-align:justify;\">Once we receive your returned item and we accept it, we will process your refund or new item in a few days.&nbsp;</p>\r\n<p style=\"text-align:justify;\">When we receive your returned item, we will examine the item.</p>\r\n<p style=\"text-align:justify;\">Please note that items showing signs of wear or those that have been engraved, altered, resized (by anyone other than Golden Key), or damaged in any way cannot be accepted for return. We cannot accept the return of diamonds that are laser inscribed.</p>\r\n<p style=\"text-align:justify;\">We will not accept any returns without a Golden Key return authorisation code or packages that are improperly packaged or uninsured.</p>\r\n<p style=\"text-align:justify;\">&nbsp;</p>\r\n<p style=\"text-align:justify;\">If your item was delivered with a valuation certificate and that certificate is not returned, you may be liable for the $250 replacement cost.</p>\r\n<p style=\"text-align:justify;\">If your item was delivered with a diamond grading certificate and that certificate is not returned, you may be liable for the $500 replacement cost.</p>\r\n<p style=\"text-align:justify;\">For security reasons, do not write Golden Key anywhere on the outside of the box.</p>\r\n<p style=\"text-align:justify;\">3.&nbsp; Insure your package.</p>\r\n<p style=\"text-align:justify;\">&nbsp;</p>\r\n<p style=\"text-align:justify;\">You must follow these instructions exactly, failure to do so will prevent the processing of your return.</p>\r\n<p style=\"text-align:justify;\">If you have any questions about our return procedure, please contact us at info@goldenkeyjewel.co.za</p>\r\n<p style=\"text-align:justify;\">Please note that Golden Key will not be responsible for loss or damage of return shipments.</p>\r\n<p style=\"text-align:justify;\"><strong>LIFETIME WARRANTY </strong></p>\r\n<p style=\"text-align:justify;\">All of our diamond jewellery is manufactured using the highest quality materials and is inspected by us and our gemmologist (Independent Valuation Report) prior to shipment. Once you receive your jewellery item you can have it inspected by an independent jeweller or valuer.&nbsp; Most jewellery stores perform these inspection services for free. Sometimes a piece of jewellery may contain finger marks or polish residue, these can be clean by a jeweller or you can clean it yourself using jewellery cleaner or a toothbrush and warm soapy water.&nbsp;</p>\r\n<p style=\"text-align:justify;\">&nbsp;</p>\r\n<p style=\"text-align:justify;\">We stand behind everything we sell and warrant that all items will be free from any manufacturing defects at the time of delivery.&nbsp; In the event that there is ever a problem with your jewellery, it can be mailed back to our offices for inspection.&nbsp; If the problem is deemed to be from a structural defect, we will repair or replace the item at no charge to you.&nbsp; If the damage is caused by normal wear-and-tear, then our offices will repair your jewellery at cost.&nbsp; You may also return your jewellery to our offices for free claw (prong) tightening, repolishing, rhodium plating and cleaning for the life of your fine jewellery (service offered to all our customers once a year).&nbsp;</p>\r\n<p style=\"text-align:justify;\">Please contact our office if you have questions or would like to return your item for any of our free warranty services.</p>\r\n<p style=\"text-align:justify;\">Email: info@goldenkeyjewel.co.za</p>\r\n<p style=\"text-align:justify;\"><strong>DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY</strong></p>\r\n<p style=\"text-align:justify;\">This Site is provided by us on an &ldquo;as is&rdquo; basis.</p>\r\n<p style=\"text-align:justify;\">We make no representations or warranties of any kind, express or implied, as to the operation of this Site or its content or any of the products made available on the Site.</p>\r\n<p style=\"text-align:justify;\">You agree that your access to, and use of the Site is at your own risk and that to the maximum extent permitted by law, we disclaim all representations and warranties (whether express or implied) including, without limitation, implied warranties of merchantability and fitness for a particular purpose.</p>\r\n<p style=\"text-align:justify;\">We do not warrant that this Site, its servers, or email sent from us are free of viruses or other harmful components.&nbsp; We will not be liable for any damages of any kind arising from your use of this site, including, without limitation, indirect, incidental, punitive or consequential damages.</p>\r\n<p style=\"text-align:justify;\"><strong>AMENDMENTS</strong></p>\r\n<p style=\"text-align:justify;\">Except as otherwise specified, we may amend these Terms at any time without notice to you by posting amended Terms on the Site. The amended Terms will take effect immediately when they are posted on the Site.&nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>TERMINATION</strong></p>\r\n<p style=\"text-align:justify;\">We may terminate this agreement, your registration with or ability to access this Site and/or any other service provided to you by us and any other agreement between us, immediately if you breach any of these Terms.</p>\r\n<ol>\r\n<li><strong>OUR      RELATIONSHIP</strong></li>\r\n</ol>\r\n<p style=\"text-align:justify;\">No agency, partnership, joint venture, employee-employer or franchisor-franchisee relationship is intended to be created between you and us by these Terms.&nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>FORCE MAJEURE</strong></p>\r\n<p style=\"text-align:justify;\">We will not be liable for any delay in performing any of our obligations under these Terms if such delay is caused by circumstances beyond our reasonable control, and we are entitled to a reasonable extension of time for the performance of our obligations in such circumstances.&nbsp; &nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>BREACH</strong></p>\r\n<p style=\"text-align:justify;\">If we do not act in relation to a breach by you or others of these Terms, this does not waive our right to act with respect to subsequent or similar breaches. &nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>SEVERANCE</strong></p>\r\n<p style=\"text-align:justify;\">If any of these Terms are invalid or unenforceable, it will be struck out, and the remaining Terms will remain in force. &nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>NOTICES</strong></p>\r\n<p style=\"text-align:justify;\">Except as required by law or otherwise specified by us, you must provide any notices to us by email to <a href=\"mailto:info@goldenkeyjewel.co.za\" target=\"_blank\">mailto:info@goldenkeyjewel.co.za</a>. We will provide any notices to you by email to any email address provided by you. Notices will be taken to have been received 24 hours after the email is sent, unless the sending party receives notice that the address is invalid or that the email has not been received.</p>\r\n<p style=\"text-align:justify;\"><strong>GOVERNING LAW</strong></p>\r\n<p style=\"text-align:justify;\">These Terms shall be governed by and construed in accordance with the laws of Queensland, Australia. You irrevocably and unconditionally submit to the non-exclusive jurisdiction of the courts of Queensland, Australia and waive any right that you may have to object to an action being brought in those courts. &nbsp;</p>\r\n<p style=\"text-align:justify;\"><strong>CURRENCY OF TERMS AND CONDITIONS</strong></p>\r\n<p style=\"text-align:justify;\">These Terms were last updated on 31 January 2011</p>\r\n</p>\r\n</div>','Golden Key Jewel - Terms and Conditions','Terms and Conditions','yes','yes',0,'','publish','open','open','','terms-conditions','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',8,'page','',0,'','general',0,'right','00BCBA'),(526,0,'0000-00-00 00:00:00','0000-00-00 00:00:00','<div class=\"education\">\r\n<p style=\"text-align:justify;\">\r\n<strong>INTRODUCTION </strong><br /> Thank you for visiting Golden Key. We want you to know that your privacy is important to us. Our customers are at the heart of everything we do, and we strive to ensure your experience with Golden Key is one that you will want to repeat and share with your friends. Part of our commitment to you is to respect and protect the privacy of the personal information you provide to us. The information below is designed to inform you of what information we collect, why we collect such information, and how we use the information we collect. This Privacy Policy is incorporated into our Terms of Service.<br /><br />\r\n<strong>COLLECTION OF PERSONAL INFORMATION </strong><br /> Generally we will collect personal information directly from you when we provide our goods and services to you. \r\nGenerally this will be collected by us when you deal with us either in person, by telephone, letter, facsimile, email or when you visit our website. We may request information about you when you purchase or make enquires about our goods and services, register for promotions or when you request other information from us. \r\nWe may also collect information when we invite you to complete surveys or provide us with feedback. We do not disclose your information to market research organizations. <br /><br />\r\n<strong>TYPE OF PERSONAL INFORMATION COLLECTED </strong><br /> We collect personal information about you to the extent necessary for us to provide you with our goods and services. For example, we may collect details such as your name, mailing address, email address, telephone number, mobile number, credit card number and expiry date. As a general rule, we do not collect sensitive information. However, if we do so, it will be for the purposes of providing our goods and services to you. \r\nWhere we are required by law to obtain your consent to the collection of sensitive information, we will seek your consent prior to collection. <br /><br />\r\n<strong>USE AND DISCLOSURE OF PERSONAL INFORMATION </strong><br /> We will use your personal information to provide you with our goods and services. We will tell you why we are collecting the information at the time we collect it and how we intend to use it unless these are obvious at the time of collection. \r\nWe may use and disclose your personal information for the purposes for which it was collected, or for a related or ancillary purpose such as any one or more of the following purposes: (a) notify you of changes to our online shopping facility or special promotions we think may be of interest to you; (b) to analyse trends in sales; (c) for our marketing activities; and (d) for our internal accounting and administration purposes. Before we notify you of changes to our online shopping facility or special promotions, we will provide you with an opportunity to give us permission. \r\nYou can notify us at any time that you do not wish to receive such notices by emailing us at info@goldenkeyjewel.co.za. We do not require you to provide us with any personal information when you visit our website. However, we may need to obtain your information from our website to provide you with any services that you request by submitting an online enquiry form. \r\nWe will not disclose your personal information unless the disclosure is required or authorised by law, you have consented to us disclosing the information about you, or for another purpose (related to the primary purpose for which the information was collected). \r\nSECURITY We have in place appropriate procedures to protect the security of personal information under our control from loss, misuse, modification, destruction or unauthorised access. We take reasonable steps to hold information securely in electronic or physical form. <br /><br />\r\n<strong>ACCESS AND CORRECTION </strong><br /> You can request access at any time to personal information we hold about you. We may charge you a reasonable fee where access is provided. We may refuse to provide access if the National Privacy Principles allow us to do so. If we refuse to give you access, we will provide you with reasons for our refusal. <br /><br />\r\n<strong>OPT OUT </strong><br /> If you no longer wish to receive communications from us, send us an email at info@goldenkeyjewel.co.za. <br /><br />\r\n<strong>COOKIES </strong><br /> We use cookies to enhance your interaction and convenience with our website and do not use cookies to record any personal information. <br /><br />\r\n<strong>LINKS TO OTHER SITES </strong><br /> Our website contains links to other sites. We are not responsible for the privacy practices or the content of linked web sites. We encourage you to read the privacy statements of any linked sites as their privacy policy may be different from ours. <br /><br />\r\n<strong>FURTHER INFORMATION OR COMPLAINTS </strong><br /> If you would like further information about the way we manage personal information which we hold about you, or you wish to make a complaint please contact us at info@goldenkeyjewel.co.za. <br /><br />\r\n\r\n<strong>CHANGES TO OUR POLICY </strong>\r\n<br /> From time to time it may be necessary for us to revise our privacy policy. \r\nAny changes will be in accordance with the Privacy Act 1988 (Cth) and the National Privacy Principles. \r\nWe may notify you about changes to our privacy policy by posting an updated version on our website. If you require any further information about the Privacy Act 1988 (Cth) and the National Privacy Principles, you can visit the Office of the Australian Information Commissioner&rsquo;s website at www.oaic.gov.au. Office of the Australian Information Commissioner</p>\r\n</div>','Golden Key Jewel - Privacy Policy','Privacy Policy','yes','no',0,'','publish','open','open','','privacy-policy','','','0000-00-00 00:00:00','0000-00-00 00:00:00','',0,'',5,'page','',0,'','general',0,'right','00BCBA');

--
