--
-- Host: localhost    Database: reenakak_diam
-- ------------------------------------------------------


--
-- Current Database: `reenakak_diam`
--

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

USE `reenakak_diam`;

--
-- 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=13 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'),(12,'Dummy','','on',0,'1312282560','1312282560','Nishil AH');

--
-- 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` int(10) NOT NULL,
  `phone2` int(10) 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 DEFAULT CHARSET=latin1;

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


--
-- 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','on'),(841,'Israel','ISR','IS','on'),(842,'Australia','AU','AU','on');

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

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

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

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

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

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

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


--
-- 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.',
  `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` varchar(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store details of customers. They are not system users.';

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


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

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

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


--
-- 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=7 DEFAULT CHARSET=latin1 COMMENT='Stores exporter related information like Name, Address, etc.';

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

INSERT INTO `bstock_exporters` VALUES (1,'Sankalp','Seepz, Andheri.','1234567','9999999','1111111','2222222','on','','1263212323',''),(2,'Star Asia','PRASAD CHAMBERS,\r\nOPERA HOUSE,MUMBAI 400 004','2224512','1253412','12355312','','on','','1212356342','0388256202'),(3,'Narvekar exporter','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=256 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\'',4,'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\'',5,'off','on','on','on','bstock_products',0,'1261227023','1261227023',0,1,'','1','','',''),(116,'Cut','option','cut',0,'cut','\'Excellent\',\'Very Good\',\'Good\',\'Fair\'',8,'off','on','on','on','bstock_products',0,'1261226805','1261226805',0,1,'','1','','',''),(115,'Polish','option','polish',0,'polish','\'Excellent\',\'Very Good\',\'Good\',\'Fair\'',6,'off','on','on','on','bstock_products',0,'1261226062','1261226062',0,1,'','1','','',''),(114,'Symmetry','option','symmetry',0,'symmetry','\'Excellent\',\'Very Good\',\'Good\',\'Fair\'',7,'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\'',8,'off','on','on','on','bstock_products',0,'1261225488','1261225488',0,0,'','1','','',''),(112,'Flourescence','option','flourescence',0,'flourescence','\'None\',\'Faint\',\'Medium\',\'Strong\',\'Very Strong\'',9,'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','',3,'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\'',2,'off','on','on','on','bstock_products',0,'1261221691','1261221691',0,0,'Please select Shape.','1','','',''),(107,'Lot No.','text','stoneid',50,'stoneid','',11,'off','on','on','on','bstock_products',0,'1261220658','1261220658',0,0,'Please enter Stone Id.','1','','',''),(119,'Certificate','file','certificate',1,'certificate','\'pdf\',\'doc\'',11,'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,'RAP Price ($)','text','price',100,'price','0',15,'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','','',''),(167,'Certificate ID','text','certificate_id',50,'certificate_id','',6,'off','on','on','on','bstock_products',0,'1264597094','1264597094',0,0,'','1','','',''),(204,'Price in AUD','text','inr_price',0,'inr_price','',0,'off','on','on','off','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','',18,'off','on','on','on','bstock_products',0,'1264597484','1264597484',0,0,'','1','','',''),(175,'Measurement','text','measurement',50,'measurement','',7,'off','on','on','on','bstock_products',0,'1264597893','1264597893',0,0,'','1','','',''),(176,'Depth %','text','depth_percent',50,'depth_percent','',22,'off','on','on','on','bstock_products',0,'1264597980','1264597980',0,0,'','1','','',''),(177,'Table %','text','table_percent',50,'table_percent','',23,'off','on','on','on','bstock_products',0,'1264598000','1264598000',0,0,'','1','','_AGE_',''),(178,'Girdle','text','girdle',250,'girdle','',24,'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','',9,'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','on','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,'orignal_qty','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',0,'address','',3,'on','on','on','on','bstock_brokers',0,'1281549714','1281549714',0,0,'','1','','',''),(198,'Phone 1','text','phone1',25,'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',0,'conversion_rate','',0,'off','on','on','on','bstock_products',0,'1283886076','1283886076',0,0,'','1','','_AGE_',''),(207,'Cash Back','text','cash_back',0,'cash_back','',0,'off','on','on','on','bstock_products',0,'1283886145','1283886145',0,0,'','1','','_AGE_',''),(208,'Purchase Price (Dollar)','text','purchase_price_dollar',0,'purchase_price_dollar','',11,'off','on','on','on','bstock_products',0,'1283886171','1283886171',0,0,'','1','','_AGE_',''),(209,'Purchase Price (INR)','text','purchase_price_inr',0,'purchase_price_inr','',0,'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,'Category','option','category',0,'category','\'Loose\',\'Single\'',30,'off','on','on','on','bstock_products',0,'1285661515','1285661515',0,0,'','1','','',''),(214,'Piece Price (INR)','text','piece_price_inr',10,'piece_price_inr','',31,'off','on','on','on','bstock_products',0,'1285694553','1285694553',0,0,'','1','','',''),(215,'Piece Price (USD)','text','piece_price_dollar',0,'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','',32,'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,'Barcode 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\',\'Jhangad Placed\',\'Jhangad Issued\',\'Jhangad Issued Partial\',\'Jhangad Couriered Full\',\'Jhangad Couriered Partial\',\'Jhangad Partially Returned\',\'Jhangad Returned Full\',\'Order Placed\',\'Order Issued\',\'Order Issued Partial\',\'Order Couriered Full\',\'Order Couriered Partial\',\'Order Partially Returned\',\'Order Returned Full\'',13,'off','on','on','on','bstock_products',0,'1290109528','1290109528',0,0,'','1','','',''),(222,'Certificate FIle Name','text','certificate_filename',250,'certificate_filename','',34,'on','on','on','on','bstock_products',0,'1291813008','1291813008',0,0,'','1','','',''),(223,'Sale Price','text','inr_sale_price_with_margin',10,'inr_sale_price_with_margin','',0,'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','',0,'off','on','on','on','bstock_products',0,'1294210082','1294210082',0,0,'','1','','',''),(226,'Width','text','width',5,'width','',0,'off','on','on','on','bstock_products',0,'1294210165','1294210165',0,0,'','1','','',''),(227,'Depth','text','depth',5,'depth','',0,'off','on','on','on','bstock_products',0,'1294210185','1294210185',0,0,'','1','','',''),(228,'Height','text','height',5,'height','',0,'off','on','on','on','bstock_products',0,'1294210202','1294210202',0,0,'','1','','',''),(229,'Brokerage','text','brokerage',5,'brokerage','',0,'off','on','on','on','bstock_products',0,'1294210319','1294210319',0,0,'','1','','',''),(230,'Margin','text','margin',5,'margin','',0,'off','on','on','on','bstock_products',0,'1294210341','1294210341',0,0,'','1','','',''),(231,'Current Rap Price','text','current_rap_price',10,'current_rap_price','',0,'off','on','on','on','bstock_products',0,'1294210388','1294210388',0,0,'','1','','',''),(232,'rap_price','text','rap_price',10,'rap_price','',0,'off','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,'Username','text','user_name',20,'user_name','',1,'on','on','on','on','bstock_systemusers',0,'1298283309','1298283309',0,0,'','1','','',''),(238,'Password','password','password',25,'password','',2,'on','on','on','on','bstock_systemusers',0,'1298283361','1298283361',0,0,'','1','','',''),(239,'Email','text','email',50,'email','',0,'on','on','on','on','bstock_systemusers',0,'1298283406','1298283406',0,0,'','1','','',''),(240,'First Name','text','first_name',50,'first_name','',0,'on','on','on','on','bstock_systemusers',0,'1298283434','1298283434',0,0,'','1','','',''),(241,'Last Name','text','last_name',50,'last_name','',0,'on','on','on','on','bstock_systemusers',0,'1298283474','1298283474',0,0,'','1','','',''),(242,'Company','text','company_name',100,'company_name','',0,'on','on','on','on','bstock_systemusers',0,'1298283499','1298283499',0,0,'','1','','',''),(243,'Office Phone','text','office_phone_number',25,'office_phone_number','',0,'on','on','on','on','bstock_systemusers',0,'1298283523','1298283523',0,0,'','1','','',''),(244,'Mobile No','text','mobile_number',25,'mobile_number','',0,'on','on','on','on','bstock_systemusers',0,'1298283555','1298283555',0,0,'','1','','',''),(245,'Last Login','text','last_login',25,'last_login','',0,'on','on','on','on','bstock_systemusers',0,'1298283614','1298283614',0,0,'','1','','',''),(246,'Active','radio','is_active',2,'is_active','\'on\',\'off\'',10,'on','on','on','on','bstock_systemusers',0,'1298283697','1298283697',0,0,'','1','','',''),(247,'Profile','text','profile_id',10,'profile_id','',0,'on','on','on','on','bstock_systemusers',0,'1298357352','1298357352',0,0,'','1','','',''),(248,'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','','',''),(249,'Address','textarea','bank_address',0,'bank_address','',2,'on','on','on','on','bstock_angadia',0,'1263285730','1263285730',0,0,'','1','','',''),(250,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',0,'on','on','on','on','bstock_angadia',0,'1263286352','1263286352',0,1,'','1','','',''),(251,'Account Name','text','account_name',100,'account_name','',0,'on','on','on','on','bstock_angadia',0,'1306864422','1306864422',0,0,'','1','','',''),(252,'Bank Name','text','bank_name',100,'bank_name','',1,'on','on','on','on','bstock_bank',0,'1306842023','1306842023',0,0,'','1','','',''),(253,'Address','textarea','bank_address',500,'bank_address','',2,'on','on','on','on','bstock_bank',0,'1306842137','1306842137',0,0,'','1','','',''),(254,'Account Number','text','account_number',50,'account_number','',3,'on','on','on','on','bstock_bank',0,'1306842217','1306842217',0,0,'','1','','',''),(255,'Is Active','radio','is_active',0,'is_active','\'on\',\'off\'',4,'on','on','on','on','bstock_bank',0,'1306842251','1306842251',0,1,'','1','','','');

--
-- Table structure for table `bstock_importers`
--

CREATE TABLE `bstock_importers` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primary key.',
  `importer_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_importers`
--

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

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

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

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


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

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

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


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

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

INSERT INTO `bstock_jhangadshipping` VALUES (1,1,168,'','1269635676','1269635676'),(2,2,169,'','1274699151','1274699151'),(3,8,169,'','',''),(4,2,228,'','1287440192','1287440192'),(5,2,228,'','1287469249','1287469249'),(6,3,229,'','1287470320','1287470320'),(7,3,231,'','1287484925','1287484925'),(8,3,232,'','1287485044','1287485044'),(9,3,233,'','1287486252','1287486252'),(10,3,234,'','1287486379','1287486379'),(11,4,235,'','1287487210','1287487210'),(12,4,236,'','1287488972','1287488972'),(13,6,237,'','1287489071','1287489071'),(14,7,238,'','1287490367','1287490367'),(15,18,249,'','1287836434','1287836434'),(16,21,252,'','1287999740','1287999740'),(17,22,253,'','1288000212','1288000212'),(18,23,254,'','1288007248','1288007248'),(19,24,255,'','1288033322','1288033322'),(20,25,256,'','1288034161','1288034161'),(21,26,258,'','1288092542','1288092542'),(22,27,259,'','1288092995','1288092995'),(23,28,260,'','1288094472','1288094472'),(24,29,261,'','1288095139','1288095139'),(25,30,262,'','1288095673','1288095673'),(26,31,263,'','1288095939','1288095939'),(27,32,264,'','1288095943','1288095943'),(28,33,265,'','1288414966','1288414966');

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

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


--
-- 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=151 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);

--
-- 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 & Co1.','','','harshad.narvekar@gmail.com','Seepz, Andheri.','1234567','9999999','1111111','India','2222222','on','','1272312433','12345'),(2,'Harshad & Co2.','','','harshad.narvekar@gmail.com','PRASAD CHAMBERS,\r\nOPERA HOUSE,MUMBAI 400 004','2224512','1253412','12355312','India','','on','1265801481','1212356342','0388256202'),(3,'Narvekars3','','','harshad.narvekar@gmail.com','Avenue\r\nNew Link Rd\r\nMalad East','77772222243','2222333344','989899999','UK','Website','on','1265801481','1265801481','EIC234111'),(4,'Bigg Stock4','','','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=15 DEFAULT CHARSET=latin1 COMMENT='Store the modifiable as well as non-modifiable(prod) modules';

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

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

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

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

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


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

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

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

INSERT INTO `bstock_options` VALUES (1,0,'stylesheet','MM','yes'),(2,0,'template','MM','yes'),(3,0,'home_title','This is my home page title','yes'),(4,0,'logo','logo.jpg','yes'),(5,0,'homepage','home.php','yes'),(6,0,'after_login','searchresult.php','yes'),(7,0,'default_from','admin@biggventures.com','yes'),(8,0,'default_admin','admin@biggventures.com','yes'),(9,0,'after_signup','thank-you.php','yes'),(10,0,'company_name','NISHIL DIAMONDS','yes'),(11,0,'company_address','Suite 12, Level 4 Dymocks Building,\r\n428 George Street Sydney, \r\nNSW 2000 Australia','yes'),(12,0,'ABN','ABN 24 686 583 176','yes'),(13,0,'gst','10','yes'),(14,0,'usd_aud_rate','45','yes'),(15,0,'margin','0','yes'),(16,0,'default_so_id','9','yes'),(17,0,'default_po_id','1','yes'),(18,0,'default_jhangad_id','9','yes'),(19,0,'default_stone_id','1','yes'),(20,0,'default_po_parcel_no','A','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=313 DEFAULT CHARSET=latin1 COMMENT='Store the billing address of the customer for an order.';

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

INSERT INTO `bstock_orderbilling` VALUES (1,0,1,'1262110181','1262110181'),(2,0,1,'1262110240','1262110240'),(5,3,26,'1262111641','1262111641'),(6,4,27,'1262157798','1262157798'),(7,5,28,'1262179789','1262179789'),(8,6,29,'1262180252','1262180252'),(9,7,30,'1262264490','1262264490'),(10,8,31,'1262264686','1262264686'),(11,9,32,'1262265725','1262265725'),(12,10,33,'1262265922','1262265922'),(13,11,34,'1262266505','1262266505'),(14,12,35,'1262266611','1262266611'),(15,0,35,'1262266659','1262266659'),(16,13,36,'1262343767','1262343767'),(17,14,37,'1262343919','1262343919'),(18,0,37,'1262343970','1262343970'),(19,0,37,'1262344009','1262344009'),(20,0,37,'1262344033','1262344033'),(21,0,37,'1262344068','1262344068'),(22,0,37,'1262344117','1262344117'),(23,0,37,'1262344164','1262344164'),(24,0,37,'1262344214','1262344214'),(25,0,37,'1262344271','1262344271'),(26,0,37,'1262344330','1262344330'),(27,0,37,'1262344389','1262344389'),(28,0,37,'1262344443','1262344443'),(29,0,37,'1262344508','1262344508'),(30,15,38,'1262367422','1262367422'),(31,16,39,'1262367559','1262367559'),(32,17,40,'1262629987','1262629987'),(33,18,41,'1262630113','1262630113'),(34,19,42,'1262631878','1262631878'),(35,20,43,'1262632114','1262632114'),(36,21,44,'1262693035','1262693035'),(37,22,45,'1262693226','1262693226'),(38,0,45,'1262693246','1262693246'),(39,23,46,'1262693351','1262693351'),(40,24,47,'1262693468','1262693468'),(41,25,48,'1262693539','1262693539'),(42,26,49,'1262693803','1262693803'),(43,27,50,'1262693872','1262693872'),(44,28,51,'1262694014','1262694014'),(45,29,52,'1262694087','1262694087'),(46,30,53,'1262694108','1262694108'),(47,31,54,'1262694472','1262694472'),(48,32,55,'1262710721','1262710721'),(49,33,56,'1262716822','1262716822'),(50,34,57,'1262717528','1262717528'),(51,35,58,'1262719518','1262719518'),(52,36,59,'1262719625','1262719625'),(53,37,60,'1262719701','1262719701'),(54,38,61,'1262719744','1262719744'),(55,39,62,'1262719836','1262719836'),(56,40,63,'1262757505','1262757505'),(57,41,64,'1262799020','1262799020'),(58,42,65,'1262799087','1262799087'),(59,43,66,'1262799327','1262799327'),(60,44,67,'1262799450','1262799450'),(61,45,68,'1262799831','1262799831'),(62,46,69,'1262800122','1262800122'),(63,47,70,'1262800379','1262800379'),(64,48,71,'1262800497','1262800497'),(65,49,72,'1262800908','1262800908'),(66,50,73,'1262801270','1262801270'),(67,51,74,'1262801392','1262801392'),(68,52,75,'1262801452','1262801452'),(69,53,76,'1262801536','1262801536'),(70,54,77,'1262801643','1262801643'),(71,55,78,'1262801863','1262801863'),(72,56,79,'1262802073','1262802073'),(73,57,80,'1262802533','1262802533'),(74,58,81,'1262802776','1262802776'),(75,59,82,'1262803192','1262803192'),(76,60,83,'1262803561','1262803561'),(77,61,84,'1262803720','1262803720'),(78,62,85,'1262803801','1262803801'),(79,63,86,'1262803864','1262803864'),(80,64,87,'1263215539','1263215539'),(81,65,88,'1263216890','1263216890'),(82,66,89,'1263491902','1263491902'),(83,67,90,'1263495012','1263495012'),(84,0,88,'1263637450','1263637450'),(85,0,88,'1263637482','1263637482'),(86,68,88,'1263637641','1263637641'),(87,69,88,'1263637671','1263637671'),(88,70,88,'1263637675','1263637675'),(89,71,88,'1263637721','1263637721'),(90,72,88,'1263637786','1263637786'),(91,73,88,'1263637795','1263637795'),(92,74,88,'1263637836','1263637836'),(93,75,88,'1263637873','1263637873'),(94,76,88,'1263638265','1263638265'),(95,77,88,'1263638342','1263638342'),(96,78,88,'1263638369','1263638369'),(97,79,88,'1263638484','1263638484'),(98,80,88,'1263638638','1263638638'),(99,81,88,'1263639344','1263639344'),(100,82,88,'1263639524','1263639524'),(101,83,88,'1263639564','1263639564'),(102,84,91,'1263639823','1263639823'),(103,85,92,'1263643677','1263643677'),(104,86,93,'1263821521','1263821521'),(105,87,94,'1263904720','1263904720'),(106,88,95,'1263905305','1263905305'),(107,89,96,'1264224678','1264224678'),(108,90,97,'1264234581','1264234581'),(109,91,98,'1264412854','1264412854'),(110,92,99,'1264415024','1264415024'),(111,93,100,'1264415258','1264415258'),(112,94,101,'1264415374','1264415374'),(113,95,102,'1264415586','1264415586'),(114,96,103,'1264415715','1264415715'),(115,97,104,'1264415820','1264415820'),(116,98,105,'1264415936','1264415936'),(117,99,106,'1264416016','1264416016'),(118,100,107,'1264416120','1264416120'),(119,101,108,'1264416237','1264416237'),(120,102,109,'1264416407','1264416407'),(121,103,110,'1264416476','1264416476'),(122,104,111,'1264416530','1264416530'),(123,105,112,'1264416614','1264416614'),(124,106,113,'1264675367','1264675367'),(125,107,114,'1264675417','1264675417'),(126,108,115,'1264675515','1264675515'),(127,109,116,'1264675570','1264675570'),(128,110,117,'1264675609','1264675609'),(129,111,118,'1264675663','1264675663'),(130,112,119,'1265031295','1265031295'),(131,113,120,'1265031538','1265031538'),(132,114,121,'1265031671','1265031671'),(133,115,122,'1265107631','1265107631'),(134,116,125,'1265295719','1265295719'),(135,117,126,'1265298600','1265298600'),(136,118,127,'1265303985','1265303985'),(137,119,128,'1265651857','1265651857'),(138,120,129,'1265651981','1265651981'),(139,121,130,'1265652252','1265652252'),(140,122,131,'1265652542','1265652542'),(141,123,132,'1265652613','1265652613'),(142,124,133,'1265652952','1265652952'),(143,125,134,'1265652954','1265652954'),(144,126,135,'1265653003','1265653003'),(145,127,136,'1265653041','1265653041'),(146,128,137,'1265653232','1265653232'),(147,129,138,'1265712794','1265712794'),(148,130,139,'1265787624','1265787624'),(149,131,144,'1266476450','1266476450'),(150,0,144,'1266476818','1266476818'),(151,132,145,'1266477098','1266477098'),(152,133,147,'1266488192','1266488192'),(153,134,148,'1266495976','1266495976'),(154,135,149,'1266496008','1266496008'),(155,136,154,'1266593869','1266593869'),(156,137,155,'1266594074','1266594074'),(157,138,156,'1266594797','1266594797'),(158,139,157,'1266594911','1266594911'),(159,140,158,'1266594985','1266594985'),(160,141,159,'1266595012','1266595012'),(161,142,160,'1266648337','1266648337'),(162,143,162,'1266668803','1266668803'),(163,144,164,'1266669304','1266669304'),(164,145,165,'1266669471','1266669471'),(165,1,168,'1269635676','1269635676'),(166,2,169,'1274699151','1274699151'),(167,2,226,'1287440192','1287440192'),(168,2,226,'1287469249','1287469249'),(169,3,227,'1287470320','1287470320'),(170,3,229,'1287484925','1287484925'),(171,3,230,'1287485044','1287485044'),(172,0,230,'1287485177','1287485177'),(173,3,231,'1287486252','1287486252'),(174,3,232,'1287486379','1287486379'),(175,4,233,'1287487210','1287487210'),(176,4,234,'1287488972','1287488972'),(177,6,235,'1287489071','1287489071'),(178,7,236,'1287490367','1287490367'),(179,0,236,'1287491788','1287491788'),(180,0,236,'1287492007','1287492007'),(181,0,236,'1287492115','1287492115'),(182,18,247,'1287836434','1287836434'),(183,21,250,'1287999740','1287999740'),(184,22,251,'1288000212','1288000212'),(185,23,252,'1288007248','1288007248'),(186,24,253,'1288033322','1288033322'),(187,25,254,'1288034161','1288034161'),(188,26,256,'1288092542','1288092542'),(189,27,257,'1288092995','1288092995'),(190,28,258,'1288094472','1288094472'),(191,29,259,'1288095139','1288095139'),(192,30,260,'1288095673','1288095673'),(193,31,261,'1288095939','1288095939'),(194,32,262,'1288095943','1288095943'),(195,33,263,'1288414966','1288414966'),(196,51,283,'1290243844','1290243844'),(197,52,284,'1290244447','1290244447'),(198,53,285,'1290244661','1290244661'),(199,0,285,'1290245457','1290245457'),(200,54,286,'1290245503','1290245503'),(201,55,287,'1290246366','1290246366'),(202,56,288,'1290247462','1290247462'),(203,62,294,'1291169752','1291169752'),(204,72,303,'1291898826','1291898826'),(205,73,304,'1291902181','1291902181'),(206,74,311,'1291983626','1291983626'),(207,75,312,'1292044596','1292044596'),(208,0,312,'1292045595','1292045595'),(209,76,313,'1292045678','1292045678'),(210,77,314,'1292048166','1292048166'),(211,78,315,'1292049171','1292049171'),(212,79,316,'1292049538','1292049538'),(213,80,317,'1292049867','1292049867'),(214,81,318,'1292050040','1292050040'),(215,82,319,'1292050390','1292050390'),(216,83,320,'1292050568','1292050568'),(217,84,321,'1292125964','1292125964'),(218,85,322,'1292675716','1292675716'),(219,86,323,'1292827867','1292827867'),(220,87,324,'1292827925','1292827925'),(221,88,325,'1292828068','1292828068'),(222,89,326,'1292828103','1292828103'),(223,90,327,'1292830562','1292830562'),(224,91,328,'1292830930','1292830930'),(225,0,328,'1292831743','1292831743'),(226,92,329,'1292831872','1292831872'),(227,128,361,'1293431611','1293431611'),(228,129,362,'1293520185','1293520185'),(229,0,362,'1293520238','1293520238'),(230,0,362,'1293520972','1293520972'),(231,0,362,'1293521302','1293521302'),(232,0,362,'1293521663','1293521663'),(233,0,362,'1293521709','1293521709'),(234,0,362,'1293522958','1293522958'),(235,0,362,'1293522979','1293522979'),(236,0,362,'1293523622','1293523622'),(237,0,362,'1293525142','1293525142'),(238,0,218,'1293532045','1293532045'),(239,130,363,'1293620438','1293620438'),(240,131,364,'1293626412','1293626412'),(241,132,365,'1293626491','1293626491'),(242,133,366,'1293626565','1293626565'),(243,134,367,'1293627261','1293627261'),(244,135,368,'1293627691','1293627691'),(245,136,369,'1293627749','1293627749'),(246,137,370,'1293627836','1293627836'),(247,138,371,'1293628036','1293628036'),(248,139,372,'1293628931','1293628931'),(249,140,373,'1293779677','1293779677'),(250,141,374,'1293781696','1293781696'),(251,0,374,'1293781736','1293781736'),(252,142,375,'1293781762','1293781762'),(253,143,376,'1293783071','1293783071'),(254,144,377,'1293783143','1293783143'),(255,145,378,'1293783238','1293783238'),(256,146,379,'1293784165','1293784165'),(257,147,380,'1293784246','1293784246'),(258,148,381,'1293784319','1293784319'),(259,149,382,'1293784417','1293784417'),(260,150,383,'1293796544','1293796544'),(261,0,383,'1293796575','1293796575'),(262,151,384,'1293796629','1293796629'),(263,0,384,'1293796633','1293796633'),(264,152,385,'1293796762','1293796762'),(265,153,386,'1293796839','1293796839'),(266,0,386,'1293796845','1293796845'),(267,154,387,'1293796958','1293796958'),(268,155,388,'1293797059','1293797059'),(269,0,388,'1293797065','1293797065'),(270,156,389,'1293797144','1293797144'),(271,0,389,'1293797150','1293797150'),(272,157,390,'1293797231','1293797231'),(273,158,391,'1293797317','1293797317'),(274,0,391,'1293797322','1293797322'),(275,159,392,'1293797501','1293797501'),(276,0,392,'1293797507','1293797507'),(277,160,393,'1293797649','1293797649'),(278,161,394,'1293797785','1293797785'),(279,0,394,'1293797794','1293797794'),(280,162,395,'1293798203','1293798203'),(281,0,395,'1293798207','1293798207'),(282,163,396,'1293798268','1293798268'),(283,0,396,'1293798272','1293798272'),(284,164,397,'1293799261','1293799261'),(285,165,398,'1293799384','1293799384'),(286,166,399,'1293799605','1293799605'),(287,0,399,'1293799610','1293799610'),(288,167,400,'1293799800','1293799800'),(289,0,400,'1293799807','1293799807'),(290,168,401,'1293799972','1293799972'),(291,0,401,'1293799978','1293799978'),(292,169,402,'1293800306','1293800306'),(293,0,402,'1293800314','1293800314'),(294,170,403,'1293800471','1293800471'),(295,171,404,'1293800800','1293800800'),(296,172,405,'1294051168','1294051168'),(297,0,405,'1294051190','1294051190'),(298,173,406,'1294053440','1294053440'),(299,174,407,'1294054010','1294054010'),(300,175,408,'1294054428','1294054428'),(301,176,409,'1294056274','1294056274'),(302,177,410,'1294056728','1294056728'),(303,178,411,'1294057947','1294057947'),(304,179,412,'1294060148','1294060148'),(305,180,413,'1294060850','1294060850'),(306,181,414,'1294061080','1294061080'),(307,182,415,'1294061203','1294061203'),(308,4,4,'1294223395','1294223395'),(309,5,5,'1294225065','1294225065'),(310,9,6,'1294294922','1294294922'),(311,10,7,'1294294971','1294294971'),(312,11,8,'1294295086','1294295086');

--
-- 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','Placed','on','',''),(2,'Order Issued','Issued','on','',''),(3,'Order Issued Partial','Issued Partial','on','',''),(4,'Order Couriered Full','Fully Couriered','on','',''),(5,'Order Couriered Partial','Partial Couriered ','on','',''),(6,'Order Partially Returned','Partially Returned','on','',''),(7,'Order Returned Full','Fully Returned','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 DEFAULT CHARSET=latin1 COMMENT='Store the individual product items of an order.';

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


--
-- 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 DEFAULT CHARSET=latin1 COMMENT='Record the notifications sent to each customer by the system';

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


--
-- 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 AUTO_INCREMENT=238 DEFAULT CHARSET=latin1 COMMENT='Store the tax related information for every order.';

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

INSERT INTO `bstock_orderpaymentstaxes` VALUES (14,3,'52',2,'1263592477','1263592477'),(13,3,'52',1,'1263592477','1263592477'),(4,1,'',1,'1263502864','1263502864'),(5,1,'',2,'1263502864','1263502864'),(6,1,'',4,'1263502864','1263502864'),(7,7,'5.84',1,'1263505135','1263505135'),(10,8,'3.34',1,'1263537440','1263537440'),(11,8,'3.34',2,'1263537440','1263537440'),(12,8,'40',4,'1263537440','1263537440'),(15,3,'4',4,'1263592477','1263592477'),(16,33,'8',1,'1263961877','1263961877'),(17,33,'8',2,'1263961877','1263961877'),(18,33,'-16',4,'1263961877','1263961877'),(19,33,'8',1,'1263961966','1263961966'),(20,33,'8',2,'1263961966','1263961966'),(21,33,'-16',4,'1263961966','1263961966'),(22,33,'8',1,'1263962772','1263962772'),(23,33,'8',2,'1263962772','1263962772'),(24,33,'-16',4,'1263962772','1263962772'),(25,33,'8',1,'1263962929','1263962929'),(26,33,'8',2,'1263962929','1263962929'),(27,33,'-16',4,'1263962929','1263962929'),(28,35,'6.96',1,'1263963365','1263963365'),(29,35,'6.96',2,'1263963365','1263963365'),(30,35,'0',4,'1263963365','1263963365'),(31,35,'6.96',1,'1263963657','1263963657'),(32,35,'6.96',2,'1263963657','1263963657'),(33,35,'0',4,'1263963657','1263963657'),(34,36,'6.96',1,'1263963827','1263963827'),(35,36,'6.96',2,'1263963827','1263963827'),(36,36,'0',4,'1263963827','1263963827'),(37,37,'1533.76',1,'1263963939','1263963939'),(38,37,'1993.89',2,'1263963939','1263963939'),(39,37,'1256.15',4,'1263963939','1263963939'),(40,38,'617.12',1,'1263964517','1263964517'),(41,38,'802.26',2,'1263964517','1263964517'),(42,38,'505.42',4,'1263964517','1263964517'),(43,39,'133.32',1,'1263965600','1263965600'),(44,39,'173.32',2,'1263965600','1263965600'),(45,39,'109.19',4,'1263965600','1263965600'),(46,42,'538.56',1,'1263990258','1263990258'),(47,42,'700.13',2,'1263990258','1263990258'),(48,42,'441.08',4,'1263990258','1263990258'),(49,43,'222.2',1,'1263990837','1263990837'),(50,43,'288.86',2,'1263990837','1263990837'),(51,43,'181.98',4,'1263990837','1263990837'),(52,44,'31.02',1,'1263992419','1263992419'),(53,44,'31.02',2,'1263992419','1263992419'),(54,44,'13',4,'1263992419','1263992419'),(55,50,'12.21',1,'1264048879','1264048879'),(56,50,'12.21',2,'1264048879','1264048879'),(57,50,'20',4,'1264048879','1264048879'),(58,51,'184.8',1,'1264049581','1264049581'),(59,51,'240.24',2,'1264049581','1264049581'),(60,51,'151.35',4,'1264049581','1264049581'),(61,45,'15.51',1,'1264055292','1264055292'),(62,45,'15.51',2,'1264055292','1264055292'),(63,45,'1',4,'1264055292','1264055292'),(64,45,'15.51',1,'1264055837','1264055837'),(65,45,'15.51',2,'1264055837','1264055837'),(66,45,'1',4,'1264055837','1264055837'),(67,45,'15.51',1,'1264056272','1264056272'),(68,45,'15.51',2,'1264056272','1264056272'),(69,45,'1',4,'1264056272','1264056272'),(70,45,'15.51',1,'1264056770','1264056770'),(71,45,'15.51',2,'1264056770','1264056770'),(72,45,'1',4,'1264056770','1264056770'),(73,45,'15.51',1,'1264057208','1264057208'),(74,45,'15.51',2,'1264057208','1264057208'),(75,45,'1',4,'1264057208','1264057208'),(76,45,'15.51',1,'1264057776','1264057776'),(77,45,'15.51',2,'1264057776','1264057776'),(78,45,'1',4,'1264057776','1264057776'),(79,45,'15.51',1,'1264058113','1264058113'),(80,45,'15.51',2,'1264058113','1264058113'),(81,45,'1',4,'1264058113','1264058113'),(82,45,'15.51',1,'1264058730','1264058730'),(83,45,'15.51',2,'1264058730','1264058730'),(84,45,'1',4,'1264058730','1264058730'),(85,45,'31.02',1,'1264058867','1264058867'),(86,45,'31.02',2,'1264058867','1264058867'),(87,45,'10',4,'1264058867','1264058867'),(88,45,'31.02',1,'1264059139','1264059139'),(89,45,'31.02',2,'1264059139','1264059139'),(90,45,'10',4,'1264059139','1264059139'),(91,88,'3.34',1,'1264060692','1264060692'),(92,88,'6.68',2,'1264060692','1264060692'),(93,88,'5',4,'1264060692','1264060692'),(94,88,'3.34',1,'1264060767','1264060767'),(95,88,'6.68',2,'1264060767','1264060767'),(96,88,'5',4,'1264060767','1264060767'),(97,41,'355.52',1,'1264421348','1264421348'),(98,41,'462.18',2,'1264421348','1264421348'),(99,41,'291.17',4,'1264421348','1264421348'),(100,65,'-8.55',1,'1264422051','1264422051'),(101,65,'0',2,'1264422051','1264422051'),(102,65,'0',4,'1264422051','1264422051'),(103,66,'0',1,'1264423686','1264423686'),(104,66,'',2,'1264423686','1264423686'),(105,66,'5',4,'1264423686','1264423686'),(106,40,'0',1,'1264423991','1264423991'),(107,40,'0',2,'1264423991','1264423991'),(108,40,'6',4,'1264423991','1264423991'),(109,117,'0',1,'1265299106','1265299106'),(110,117,'-9.24',2,'1265299106','1265299106'),(111,117,'-3',4,'1265299106','1265299106'),(112,118,'15.12',1,'1265304239','1265304239'),(113,118,'15.12',2,'1265304239','1265304239'),(114,118,'1',4,'1265304239','1265304239'),(115,114,'16.43',1,'1265700565','1265700565'),(116,114,'16.43',2,'1265700565','1265700565'),(117,114,'0',4,'1265700565','1265700565'),(118,114,'16.43',1,'1265702463','1265702463'),(119,114,'16.43',2,'1265702463','1265702463'),(120,114,'10',4,'1265702463','1265702463'),(121,114,'16.43',1,'1265702577','1265702577'),(122,114,'16.43',2,'1265702577','1265702577'),(123,114,'10',4,'1265702577','1265702577'),(124,105,'30.24',1,'1265702761','1265702761'),(125,105,'30.24',2,'1265702761','1265702761'),(126,105,'20',4,'1265702761','1265702761'),(127,129,'0',1,'1265713901','1265713901'),(128,129,'',2,'1265713901','1265713901'),(129,129,'6',4,'1265713901','1265713901'),(130,129,'70.06',1,'1265714827','1265714827'),(131,129,'70.06',2,'1265714827','1265714827'),(132,129,'6',4,'1265714827','1265714827'),(133,129,'140.12',1,'1265716823','1265716823'),(134,129,'140.12',2,'1265716823','1265716823'),(135,129,'6.21',4,'1265716823','1265716823'),(136,129,'',1,'1265720700','1265720700'),(137,129,'',2,'1265720700','1265720700'),(138,129,'',4,'1265720700','1265720700'),(139,130,'-19.249999999999996',1,'1265788591','1265788591'),(140,130,'0',2,'1265788591','1265788591'),(141,130,'1',4,'1265788591','1265788591'),(142,133,'62.44',1,'1266491308','1266491308'),(143,133,'62.44',2,'1266491308','1266491308'),(144,133,'10',4,'1266491308','1266491308'),(151,24,'84.36',1,'1276271025','1276271025'),(152,24,'109.67',2,'1276271027','1276271027'),(153,24,'69.09',4,'1276271031','1276271031'),(154,25,'337.44',1,'1276271039','1276271039'),(155,25,'438.67',2,'1276271039','1276271039'),(156,25,'276.36',4,'1276271039','1276271039'),(157,26,'204.48',1,'1276522281','1276522281'),(158,26,'265.82',2,'1276522281','1276522281'),(159,26,'167.47',4,'1276522281','1276522281'),(160,27,'673.2',1,'1276522985','1276522985'),(161,27,'875.16',2,'1276522985','1276522985'),(162,27,'551.35',4,'1276522985','1276522985'),(163,28,'673.2',1,'1276523038','1276523038'),(164,28,'875.16',2,'1276523038','1276523038'),(165,28,'551.35',4,'1276523038','1276523038'),(166,29,'110',1,'1276523268','1276523268'),(167,29,'143',2,'1276523268','1276523268'),(168,29,'90.09',4,'1276523268','1276523268'),(169,30,'114.4',1,'1276523353','1276523353'),(170,30,'148.72',2,'1276523353','1276523353'),(171,30,'93.69',4,'1276523353','1276523353'),(172,31,'162.8',1,'1276523825','1276523825'),(173,31,'211.64',2,'1276523825','1276523825'),(174,31,'133.33',4,'1276523825','1276523825'),(175,32,'98.8',1,'1276523978','1276523978'),(176,32,'128.44',2,'1276523978','1276523978'),(177,32,'80.92',4,'1276523978','1276523978'),(178,33,'98.8',1,'1276524038','1276524038'),(179,33,'128.44',2,'1276524038','1276524038'),(180,33,'80.92',4,'1276524038','1276524038'),(181,34,'98.8',1,'1276524132','1276524132'),(182,34,'128.44',2,'1276524132','1276524132'),(183,34,'80.92',4,'1276524132','1276524132'),(184,35,'130.64',1,'1276524168','1276524168'),(185,35,'169.83',2,'1276524168','1276524168'),(186,35,'106.99',4,'1276524168','1276524168'),(187,36,'47.52',1,'1276524306','1276524306'),(188,36,'61.78',2,'1276524306','1276524306'),(189,36,'38.92',4,'1276524306','1276524306'),(190,37,'1533.76',1,'1276524420','1276524420'),(191,37,'1993.89',2,'1276524420','1276524420'),(192,37,'1256.15',4,'1276524420','1276524420'),(193,38,'617.12',1,'1276582157','1276582157'),(194,38,'802.26',2,'1276582157','1276582157'),(195,38,'505.42',4,'1276582157','1276582157'),(196,39,'133.32',1,'1276586153','1276586153'),(197,39,'173.32',2,'1276586153','1276586153'),(198,39,'109.19',4,'1276586153','1276586153'),(199,40,'120',1,'1276876364','1276876364'),(200,40,'156',2,'1276876364','1276876364'),(201,40,'98.28',4,'1276876364','1276876364'),(202,41,'355.52',1,'1276876467','1276876467'),(203,41,'462.18',2,'1276876467','1276876467'),(204,41,'291.17',4,'1276876467','1276876467'),(205,42,'538.56',1,'1276876900','1276876900'),(206,42,'700.13',2,'1276876900','1276876900'),(207,42,'441.08',4,'1276876900','1276876900'),(208,43,'222.2',1,'1276955065','1276955065'),(209,43,'288.86',2,'1276955065','1276955065'),(210,43,'181.98',4,'1276955065','1276955065'),(211,44,'98.8',1,'1277233812','1277233812'),(212,44,'128.44',2,'1277233812','1277233812'),(213,44,'80.92',4,'1277233812','1277233812'),(215,45,'',2,'1277976955','1277976955'),(214,45,'',1,'1277976955','1277976955'),(216,45,'',4,'1277976955','1277976955'),(217,46,'396',1,'1277982372','1277982372'),(218,46,'514.8',2,'1277982372','1277982372'),(219,46,'324.32',4,'1277982373','1277982373'),(220,47,'NaN',1,'1277986270','1277986270'),(221,47,'NaN',2,'1277986271','1277986271'),(222,47,'NaN',4,'1277986272','1277986272'),(223,48,'80',1,'1277986481','1277986481'),(224,48,'104',2,'1277986481','1277986481'),(225,48,'65.52',4,'1277986481','1277986481'),(226,49,'292.16',1,'1277986542','1277986542'),(227,49,'379.81',2,'1277986542','1277986542'),(228,49,'239.28',4,'1277986542','1277986542'),(229,50,'218.56',1,'1280226928','1280226928'),(230,50,'284.13',2,'1280226928','1280226928'),(231,50,'179',4,'1280226928','1280226928'),(232,51,'184.8',1,'1282119125','1282119125'),(233,51,'240.24',2,'1282119125','1282119125'),(234,51,'151.35',4,'1282119125','1282119125'),(235,2,'',1,'1286562371','1286562371'),(236,2,'',2,'1286562371','1286562371'),(237,2,'',4,'1286562371','1286562371');

--
-- 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.',
  `local_or_export` enum('Local','Export') NOT NULL DEFAULT 'Local',
  `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 DEFAULT CHARSET=latin1 COMMENT='Store order related information. Order items are stored in s';

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


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

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

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


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

CREATE TABLE `bstock_ordershipping` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key for the orders table & is mapped to it''s primary key.',
  `shipping_address_id` int(10) NOT NULL COMMENT 'This is the foriegn key of the shipping address(customershipping) & is mapped to it''s primary key.',
  `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=117 DEFAULT CHARSET=latin1 COMMENT='Store the shipping address of the customer for an order.';

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

INSERT INTO `bstock_ordershipping` VALUES (1,1,168,'','1269635676','1269635676'),(2,2,169,'','1274699151','1274699151'),(3,8,169,'','',''),(4,2,228,'','1287440192','1287440192'),(5,2,228,'','1287469249','1287469249'),(6,3,229,'','1287470320','1287470320'),(7,3,231,'','1287484925','1287484925'),(8,3,232,'','1287485044','1287485044'),(9,3,233,'','1287486252','1287486252'),(10,3,234,'','1287486379','1287486379'),(11,4,235,'','1287487210','1287487210'),(12,4,236,'','1287488972','1287488972'),(13,6,237,'','1287489071','1287489071'),(14,7,238,'','1287490367','1287490367'),(15,18,249,'','1287836434','1287836434'),(16,21,252,'','1287999740','1287999740'),(17,22,253,'','1288000212','1288000212'),(18,23,254,'','1288007248','1288007248'),(19,24,255,'','1288033322','1288033322'),(20,25,256,'','1288034161','1288034161'),(21,26,258,'','1288092542','1288092542'),(22,27,259,'','1288092995','1288092995'),(23,28,260,'','1288094472','1288094472'),(24,29,261,'','1288095139','1288095139'),(25,30,262,'','1288095673','1288095673'),(26,31,263,'','1288095939','1288095939'),(27,32,264,'','1288095943','1288095943'),(28,33,265,'','1288414966','1288414966'),(29,51,285,'','1290243844','1290243844'),(30,52,286,'','1290244447','1290244447'),(31,53,287,'','1290244661','1290244661'),(32,54,288,'','1290245503','1290245503'),(33,55,289,'','1290246366','1290246366'),(34,56,290,'','1290247462','1290247462'),(35,62,296,'','1291169752','1291169752'),(36,72,305,'','1291898826','1291898826'),(37,73,306,'','1291902181','1291902181'),(38,74,313,'','1291983626','1291983626'),(39,75,314,'','1292044596','1292044596'),(40,76,315,'','1292045678','1292045678'),(41,77,316,'','1292048166','1292048166'),(42,78,317,'','1292049171','1292049171'),(43,79,318,'','1292049538','1292049538'),(44,80,319,'','1292049867','1292049867'),(45,81,320,'','1292050040','1292050040'),(46,82,321,'','1292050390','1292050390'),(47,83,322,'','1292050568','1292050568'),(48,84,323,'','1292125964','1292125964'),(49,85,324,'','1292675716','1292675716'),(50,86,325,'','1292827867','1292827867'),(51,87,326,'','1292827925','1292827925'),(52,88,327,'','1292828068','1292828068'),(53,89,328,'','1292828103','1292828103'),(54,90,329,'','1292830562','1292830562'),(55,91,330,'','1292830930','1292830930'),(56,92,331,'','1292831872','1292831872'),(57,128,363,'','1293431611','1293431611'),(58,129,364,'','1293520185','1293520185'),(59,130,365,'','1293620438','1293620438'),(60,131,366,'','1293626412','1293626412'),(61,132,367,'','1293626491','1293626491'),(62,133,368,'','1293626565','1293626565'),(63,134,369,'','1293627261','1293627261'),(64,135,370,'','1293627691','1293627691'),(65,136,371,'','1293627749','1293627749'),(66,137,372,'','1293627836','1293627836'),(67,138,373,'','1293628036','1293628036'),(68,139,374,'','1293628931','1293628931'),(69,140,375,'','1293779677','1293779677'),(70,141,376,'','1293781696','1293781696'),(71,142,377,'','1293781762','1293781762'),(72,143,378,'','1293783071','1293783071'),(73,144,379,'','1293783143','1293783143'),(74,145,380,'','1293783238','1293783238'),(75,146,381,'','1293784165','1293784165'),(76,147,382,'','1293784246','1293784246'),(77,148,383,'','1293784319','1293784319'),(78,149,384,'','1293784417','1293784417'),(79,150,385,'','1293796544','1293796544'),(80,151,386,'','1293796629','1293796629'),(81,152,387,'','1293796762','1293796762'),(82,153,388,'','1293796839','1293796839'),(83,154,389,'','1293796958','1293796958'),(84,155,390,'','1293797059','1293797059'),(85,156,391,'','1293797144','1293797144'),(86,157,392,'','1293797231','1293797231'),(87,158,393,'','1293797317','1293797317'),(88,159,394,'','1293797501','1293797501'),(89,160,395,'','1293797649','1293797649'),(90,161,396,'','1293797785','1293797785'),(91,162,397,'','1293798203','1293798203'),(92,163,398,'','1293798268','1293798268'),(93,164,399,'','1293799261','1293799261'),(94,165,400,'','1293799384','1293799384'),(95,166,401,'','1293799605','1293799605'),(96,167,402,'','1293799800','1293799800'),(97,168,403,'','1293799972','1293799972'),(98,169,404,'','1293800306','1293800306'),(99,170,405,'','1293800471','1293800471'),(100,171,406,'','1293800800','1293800800'),(101,172,407,'','1294051168','1294051168'),(102,173,408,'','1294053440','1294053440'),(103,174,409,'','1294054010','1294054010'),(104,175,410,'','1294054428','1294054428'),(105,176,411,'','1294056274','1294056274'),(106,177,412,'','1294056728','1294056728'),(107,178,413,'','1294057947','1294057947'),(108,179,414,'','1294060148','1294060148'),(109,180,415,'','1294060850','1294060850'),(110,181,416,'','1294061080','1294061080'),(111,182,417,'','1294061203','1294061203'),(112,4,4,'','1294223395','1294223395'),(113,5,5,'','1294225065','1294225065'),(114,9,6,'','1294294922','1294294922'),(115,10,7,'','1294294971','1294294971'),(116,11,8,'','1294295086','1294295086');

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

CREATE TABLE `bstock_ordershippinginfo` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `order_id` int(10) NOT NULL COMMENT 'This is the foreign key, it''s the Primary key of orders table & will contain the order id.',
  `tracking_number` varchar(50) NOT NULL COMMENT 'This will be the tracking number of the shipment.',
  `sent_date` varchar(50) NOT NULL COMMENT 'This will be the timestamp. It will contain the date when the shipment has been delivered.',
  `carrier_id` enum('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=107 DEFAULT CHARSET=latin1 COMMENT='This table is used to store the shipping details of every or';

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

INSERT INTO `bstock_ordershippinginfo` VALUES (1,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260059','1274260059','NA','NA'),(2,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260063','1274260063','NA','NA'),(3,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260063','1274260063','NA','NA'),(4,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260064','1274260064','NA','NA'),(5,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260065','1274260065','NA','NA'),(6,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260066','1274260066','NA','NA'),(7,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260083','1274260083','NA','NA'),(8,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260085','1274260085','NA','NA'),(9,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260086','1274260086','NA','NA'),(10,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260087','1274260087','NA','NA'),(11,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260087','1274260087','NA','NA'),(12,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260088','1274260088','NA','NA'),(13,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260089','1274260089','NA','NA'),(14,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260090','1274260090','NA','NA'),(15,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260091','1274260091','NA','NA'),(16,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260093','1274260093','NA','NA'),(17,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260094','1274260094','NA','NA'),(18,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260095','1274260095','NA','NA'),(19,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260097','1274260097','NA','NA'),(20,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260098','1274260098','NA','NA'),(21,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260101','1274260101','NA','NA'),(22,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260106','1274260106','NA','NA'),(23,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260108','1274260108','NA','NA'),(24,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260109','1274260109','NA','NA'),(25,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260111','1274260111','NA','NA'),(26,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260111','1274260111','NA','NA'),(27,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260112','1274260112','NA','NA'),(28,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260113','1274260113','NA','NA'),(29,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260114','1274260114','NA','NA'),(30,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260115','1274260115','NA','NA'),(31,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260117','1274260117','NA','NA'),(32,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260119','1274260119','NA','NA'),(33,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260120','1274260120','NA','NA'),(34,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260122','1274260122','NA','NA'),(35,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260123','1274260123','NA','NA'),(36,1,'','','','','NA','NA','NA','Mumbai',1,'','1274260124','1274260124','NA','NA'),(37,1,'42343','1272445749','','','NA','NA','NA','Mumbai',1,'','1274260149','1274260149','NA','NA'),(38,1,'42343','1272445750','','','NA','NA','NA','Mumbai',1,'','1274260150','1274260150','NA','NA'),(39,1,'42343','1272445751','','','NA','NA','NA','Mumbai',1,'','1274260151','1274260151','NA','NA'),(49,7,'3452354','1287682389','Platinium Express Post','','','','','',1,'','1287595989','1287595989','',''),(74,12,'43543543','','Platinium Express Post','','','','','',1,'','1288684988','1288684988','',''),(75,13,'','','NA','','','','','',1,'','1288685299','1288685299','',''),(76,13,'','','NA','','','','','',1,'','1288685324','1288685324','',''),(77,43,'','1289412343','NA','','','','','',1,'','1289412343','1289412343','',''),(78,43,'234324','1289412400','Drop off','','','','','',1,'dfgd','1289412400','1289412400','',''),(79,43,'234324','1289412460','Platinium Express Post','','','','','',1,'dfgd','1289412460','1289412460','',''),(80,44,'333','1289474882','Platinium Express Post','','','','','',1,'','1289561282','1289561282','',''),(81,45,'1111','1289635713','Drop off','','','','','',1,'1234RIBFForder couriered','1289635713','1289635713','',''),(82,57,'111','1291032339','Drop off','','','','','',1,'test','1291032339','1291032339','',''),(83,57,'233','1291033992','Express Post','','','','','',1,'testtest','1291033992','1291033992','',''),(84,57,'245','1291034570','Drop off','','','','','',1,'test test','1291034570','1291034570','',''),(85,57,'555','1291035000','Courier','','','','','',1,'test test','1291035000','1291035000','',''),(86,57,'445','1291035184','Express Post','','','','','',1,'','1291035184','1291035184','',''),(87,57,'678','1291036010','Courier','','','','','',1,'test test','1291036010','1291036010','',''),(88,57,'567','1291037086','Platinium Express Post','','','','','',1,'test','1291037086','1291037086','',''),(89,57,'121','1291037631','Express Post','','','','','',1,'','1291037631','1291037631','',''),(90,1,'555','1294140962','NA','','','','','',1,'666','1294140962','1294140962','',''),(91,2,'33452','1294147528','Platinium Express Post','','','','','',1,'sending full order.','1294147528','1294147528','',''),(92,1,'','1294147787','Drop off','','','','','',1,'','1294147787','1294147787','',''),(93,8,'','','','','','','','',1,'','1294295376','1294295376','',''),(94,13,'','','','','','','','',1,'','1294380808','1294380808','',''),(95,13,'','','','','','','','',1,'','1294380825','1294380825','',''),(96,13,'','','','','','','','',1,'','1294380847','1294380847','',''),(97,14,'','','','','','','','',1,'','1294448428','1294448428','',''),(98,21,'','','NA','','','','','',1,'','1312444083','1312444083','',''),(99,21,'','','NA','','','','','',1,'','1312444146','1312444146','',''),(100,21,'','','NA','','','','','',1,'','1312453966','1312453966','',''),(101,20,'','','NA','','','','','',1,'','1312462446','1312462446','',''),(102,22,'','','NA','','','','','',1,'','1313602500','1313602500','',''),(103,23,'','','NA','','','','','',1,'','1313645987','1313645987','',''),(104,26,'','','NA','','','','','',1,'','1313992128','1313992128','',''),(105,26,'','','NA','','','','','',1,'','1313992276','1313992276','',''),(106,26,'','','NA','','','','','',1,'','1313992357','1313992357','','');

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

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


--
-- 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=525 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>','Demo Company - Diamond Importers, Manufacturers and Exporters','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>About Us <br><br>\r\nDiamond & Jewelry Manufacturers and Exporters\r\n</h1>\r\n\r\n<p>Ever since the incorporation of the company, all its partners have had diversified operations. Each partner handles his own department to his utmost potential and strives for the overall advancement of the firm.</p>\r\n\r\n<p>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<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n<br>\r\n</div>','About Demo Company','Company','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','Demo Company - 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. ','Demo Company - 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','Demo Company - Login','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','Demo Company - 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','Demo Company - 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.','Demo Company - 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');

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

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

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


--
-- Table structure for table `bstock_partners`
--

CREATE TABLE `bstock_partners` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This will be the primary key.',
  `company_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=7 DEFAULT CHARSET=latin1 COMMENT='Actual user for whom this is imported.';

--
-- Dumping data for table `bstock_partners`
--

INSERT INTO `bstock_partners` VALUES (1,'Nishil','','','harshad.narvekar@gmail.com','Seepz, Andheri.','1234567','9999999','1111111','India','2222222','on','','1272312433','12345'),(2,'Ashish','','','harshad.narvekar@gmail.com','PRASAD CHAMBERS,\r\nOPERA HOUSE,MUMBAI 400 004','2224512','1253412','12355312','India','','on','1265801481','1212356342','0388256202'),(3,'Nishil-Ashish','','','harshad.narvekar@gmail.com','Avenue\r\nNew Link Rd\r\nMalad East','77772222243','2222333344','989899999','UK','Website','on','1265801481','1265801481','EIC234111');

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

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

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


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

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

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

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

--
-- Table structure for table `bstock_pl_dailycashentries`
--

CREATE TABLE `bstock_pl_dailycashentries` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `party_id` int(10) NOT NULL COMMENT 'Customer ID or Vendor ID or Karigar ID',
  `party_type` varchar(50) NOT NULL COMMENT 'Table name for each party id i.e. bstock_customers, bstock_vendors, _jwl_labour_info',
  `payment_type` varchar(50) NOT NULL COMMENT 'Type of payment made / received.',
  `payment_mode` varchar(25) NOT NULL COMMENT 'Cash or Angadia',
  `angadia_id` int(10) NOT NULL COMMENT 'ID of Angadia company',
  `from_account` varchar(100) NOT NULL COMMENT 'Name on Angadia account of party transferring funds.',
  `to_account` varchar(100) NOT NULL COMMENT 'Name on Angadia account of party receiving funds.',
  `entry_type` enum('Debit','Credit') NOT NULL COMMENT 'Debit or Credit',
  `amount` decimal(10,2) NOT NULL COMMENT 'Amount to be debited or credit.',
  `vataav` decimal(10,2) NOT NULL COMMENT '''Vataav'' in case of cash payments. Amount + Vataav will be adjusted against balance.',
  `cheque_no` varchar(20) NOT NULL COMMENT 'Keeping varchar as sometimes this can have 1,2 or 3 zeroes preceeding the cheque no.',
  `closing_balance` decimal(10,2) NOT NULL COMMENT 'This is to store the closing balance after every transaction.',
  `date` varchar(15) NOT NULL COMMENT 'Timestamp of date for this entry.',
  `date_timestamp` int(10) NOT NULL COMMENT 'Timestamp format of date for the entry.',
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  `remarks` varchar(500) NOT NULL COMMENT 'Remarks or comments for a cash entry.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Stores daily cashbook entries.';

--
-- Dumping data for table `bstock_pl_dailycashentries`
--


--
-- Table structure for table `bstock_pl_dailycashentries_logs`
--

CREATE TABLE `bstock_pl_dailycashentries_logs` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `dce_id` int(10) NOT NULL COMMENT 'Primary key of bstock_dailycashentries table',
  `order_id` int(10) NOT NULL COMMENT 'Purchase order id or Sale order id.',
  `order_no` int(10) NOT NULL COMMENT 'PO or SO Number.',
  `amount_paid` decimal(10,2) NOT NULL COMMENT 'Actual amount paid by the customer.',
  `previous_balance` decimal(10,2) NOT NULL COMMENT 'Balance payment for this order before this payment.',
  `new_balance` decimal(10,2) NOT NULL COMMENT 'Balance payment for this order after this payment.',
  `payment_date` varchar(15) NOT NULL COMMENT 'Timestamp when the payment was made.',
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Stores orders affected by each cashbook entry.';

--
-- Dumping data for table `bstock_pl_dailycashentries_logs`
--


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

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

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

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

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

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

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

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

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

CREATE TABLE `bstock_pl_dm_expense` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `barcode` varchar(500) NOT NULL,
  `surrogate_id` varchar(150) NOT NULL,
  `parcel_id` int(10) NOT NULL,
  `lot_no` int(10) NOT NULL,
  `stage_id` int(10) NOT NULL,
  `karigar_id` int(10) NOT NULL,
  `in_out_status` enum('In','Out') NOT NULL DEFAULT 'In',
  `rate` decimal(10,3) NOT NULL,
  `size` decimal(10,5) NOT NULL,
  `loss` decimal(10,2) NOT NULL,
  `assigned_date` int(10) NOT NULL COMMENT 'This field will store the date when the stone is assigned to the manu',
  `due_date` int(10) NOT NULL,
  `dollar_rate` decimal(10,2) NOT NULL,
  `remarks` varchar(500) NOT NULL,
  `stage_status_id` int(11) NOT NULL DEFAULT '1',
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `surrogate_id` (`surrogate_id`),
  UNIQUE KEY `surrogate_id_2` (`surrogate_id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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


--
-- Table structure for table `bstock_pl_dm_inout_history`
--

CREATE TABLE `bstock_pl_dm_inout_history` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `parcel_id` int(10) NOT NULL COMMENT 'this field will store the main parcel_id from bstock_pl_roughstones table',
  `expense_primary_key` int(10) NOT NULL COMMENT 'this will store the expense primary key from bstock_pl_dm_expense table',
  `productdetails_primary_key` int(5) NOT NULL COMMENT 'this field will store the primary key from the bstock_pl_dm_productdetails of that record',
  `stage_id` int(5) NOT NULL COMMENT 'Will store the stage_id',
  `karigar_id` int(5) NOT NULL,
  `in_out_status` enum('In','Out') NOT NULL DEFAULT 'In',
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT','CHOKHI') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','  U','V') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','SI3','I1','I2','I3') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `no_of_diamonds` int(10) NOT NULL,
  `price_per_carat` decimal(10,2) 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=455 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_dm_inout_history`
--

INSERT INTO `bstock_pl_dm_inout_history` VALUES (1,21,4,1,1,1,'In','ROUND','F','VVS2',1.00,1,0.00,'on',0,0),(2,21,4,2,1,1,'In','PEAR','E','VVS1',1.30,1,0.00,'on',0,0),(3,20,7,0,1,1,'Out','PRINCESS','F','VVS1',1.00,11,0.00,'on',1315292821,1315292821),(4,20,7,0,1,1,'Out','MARQUISE','G','VVS1',1.10,12,0.00,'on',1315292821,1315292821),(6,14,1,6,1,1,'In','PRINCESS','G','VS1',2.30,10,0.00,'on',1315294466,1315294466),(7,14,1,6,1,1,'Out','PRINCESS','G','VS1',2.30,10,0.00,'on',1315294682,1315294682),(8,14,1,6,1,1,'In','PRINCESS','G','VS1',2.30,10,0.00,'on',1315294893,1315294893),(9,14,1,6,1,1,'Out','PRINCESS','G','VS1',2.30,10,0.00,'on',1315295501,1315295501),(10,14,1,6,1,1,'In','PRINCESS','G','VS1',2.30,10,0.00,'on',1315299178,1315299178),(11,14,2,7,2,1,'In','PRINCESS','G','VS1',2.30,10,0.00,'on',1315299178,1315299178),(12,14,2,7,2,1,'Out','PRINCESS','G','VS1',2.25,10,0.00,'on',1315301178,1315301178),(13,14,2,7,2,1,'In','PRINCESS','G','VS1',2.20,10,0.00,'on',1315301610,1315301610),(14,14,3,8,8,1,'In','PRINCESS','G','VS1',2.20,10,0.00,'on',1315301610,1315301610),(15,14,3,8,8,3,'Out','PRINCESS','G','VS1',2.20,10,0.00,'on',1315302133,1315302133),(16,14,3,8,8,1,'In','PRINCESS','G','VS1',2.15,10,0.00,'on',1315302596,1315302596),(17,14,3,8,8,1,'Out','PRINCESS','G','VS1',2.15,10,0.00,'on',1315302742,1315302742),(18,14,3,8,8,1,'In','PRINCESS','G','VS1',2.10,10,0.00,'on',1315303936,1315303936),(19,19,10,9,1,3,'In','MARQUISE','F','VVS2',2.00,0,0.00,'on',1315305959,1315305959),(20,19,10,9,1,1,'Out','MARQUISE','F','VVS2',2.00,0,0.00,'on',1315306037,1315306037),(21,19,10,9,1,1,'In','MARQUISE','F','VVS2',1.90,0,0.00,'on',1315306166,1315306166),(22,19,11,10,2,1,'In','MARQUISE','F','VVS2',1.90,0,0.00,'on',1315306166,1315306166),(23,19,11,10,2,1,'Out','MARQUISE','F','VVS2',1.90,0,0.00,'on',1315307004,1315307004),(24,19,11,10,2,1,'In','MARQUISE','F','VVS2',1.80,0,0.00,'on',1315307032,1315307032),(25,19,12,11,8,1,'In','MARQUISE','F','VVS2',1.80,0,0.00,'on',1315307032,1315307032),(26,19,12,11,8,3,'Out','MARQUISE','F','VVS2',1.80,0,0.00,'on',1315307058,1315307058),(27,19,12,11,8,3,'In','MARQUISE','F','VVS2',1.70,0,0.00,'on',1315307105,1315307105),(28,17,13,12,1,3,'In','MARQUISE','G','VVS1',1.75,0,0.00,'on',1315307416,1315307416),(29,17,13,12,1,4,'Out','MARQUISE','G','VVS1',1.75,0,0.00,'on',1315307445,1315307445),(30,17,13,12,1,4,'In','MARQUISE','G','VVS1',1.70,0,0.00,'on',1315307470,1315307470),(31,17,14,13,2,4,'In','MARQUISE','G','VVS1',1.70,0,0.00,'on',1315307470,1315307470),(32,17,14,13,2,3,'Out','MARQUISE','G','VVS1',1.70,0,0.00,'on',1315307503,1315307503),(33,17,14,13,2,1,'In','MARQUISE','G','VVS1',1.65,0,0.00,'on',1315307521,1315307521),(34,17,15,14,8,1,'In','MARQUISE','G','VVS1',1.65,0,0.00,'on',1315307521,1315307521),(35,16,16,15,1,1,'In','ROUND','E','VVS1',1.75,0,0.00,'on',1315382107,1315382107),(36,16,16,15,1,1,'Out','ROUND','E','VVS1',1.75,0,0.00,'on',1315382135,1315382135),(37,16,16,15,1,1,'In','ROUND','E','VVS1',1.70,0,0.00,'on',1315382160,1315382160),(38,16,17,16,2,1,'In','ROUND','E','VVS1',1.70,0,0.00,'on',1315382160,1315382160),(39,16,17,16,2,3,'Out','ROUND','E','VVS1',1.70,0,0.00,'on',1315382187,1315382187),(40,16,17,16,2,1,'In','ROUND','E','VVS1',1.65,0,0.00,'on',1315382224,1315382224),(41,16,18,17,8,1,'In','ROUND','E','VVS1',1.65,0,0.00,'on',1315382224,1315382224),(42,22,19,18,1,2,'In','ROUND','F','VVS2',1.01,0,0.00,'on',1323077571,1323077571),(43,22,19,18,1,2,'In','ROUND','E','VVS2',0.40,0,0.00,'on',1323077571,1323077571),(45,22,19,0,1,2,'Out','ROUND','F','VVS2',1.01,0,0.00,'on',1323078737,1323078737),(46,22,19,0,1,1,'In','ROUND','F','VVS2',1.00,0,0.00,'on',1323078780,1323078780),(47,22,20,19,2,1,'In','ROUND','F','VVS2',1.00,0,0.00,'on',1323078780,1323078780),(48,22,20,0,2,1,'Out','ROUND','F','VVS2',1.00,0,0.00,'on',1323078806,1323078806),(49,22,20,0,2,1,'In','ROUND','F','IF',0.90,0,0.00,'on',1323078829,1323078829),(50,22,21,20,8,1,'In','ROUND','F','IF',0.90,0,0.00,'on',1323078829,1323078829),(51,22,21,0,8,1,'Out','ROUND','F','IF',0.90,0,0.00,'on',1323078869,1323078869),(52,22,21,0,8,1,'In','ROUND','E','IF',0.78,0,0.00,'on',1323078893,1323078893),(53,22,0,21,9,1,'In','ROUND','E','IF',0.78,0,0.00,'on',1323078893,1323078893),(54,23,22,22,1,1,'In','ROUND','G','VVS1',2.20,0,0.00,'on',1323080628,1323080628),(55,23,22,0,1,1,'In','ROUND','H','VS1',2.50,0,0.00,'on',1323080628,1323080628),(56,23,22,0,1,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323080628,1323080628),(57,24,25,23,1,1,'In','ROUND','F','VVS2',2.60,0,0.00,'on',1323081653,1323081653),(58,24,25,24,1,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323081653,1323081653),(59,24,25,25,1,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323081653,1323081653),(60,24,25,26,1,1,'In','ROUND','F','VVS2',2.60,0,0.00,'on',1323081833,1323081833),(61,24,25,27,1,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323081833,1323081833),(62,24,25,0,1,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323081833,1323081833),(63,24,25,0,1,1,'Out','ROUND','F','VVS2',2.60,0,0.00,'on',1323082144,1323082144),(64,24,25,0,1,1,'Out','ROUND','G','VVS2',1.50,0,0.00,'on',1323082144,1323082144),(65,24,25,0,1,1,'Out','ROUND','I','VS1',1.20,0,0.00,'on',1323082144,1323082144),(66,24,25,0,1,1,'In','ROUND','F','VVS2',2.60,0,0.00,'on',1323082185,1323082185),(67,24,25,0,1,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323082185,1323082185),(68,24,25,0,1,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323082185,1323082185),(69,24,26,28,2,1,'In','ROUND','F','VVS2',2.60,0,0.00,'on',1323082185,1323082185),(70,24,26,29,2,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323082185,1323082185),(71,24,26,30,2,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323082185,1323082185),(72,0,0,31,0,1,'In','ROUND','F','VVS2',2.00,0,0.00,'on',1323083079,1323083079),(73,0,0,32,0,1,'In','ROUND','F','VVS2',2.00,0,0.00,'on',1323083079,1323083079),(74,13,28,33,1,1,'In','ROUND','F','VVS2',2.00,0,0.00,'on',1323083140,1323083140),(75,13,28,0,1,1,'In','ROUND','S','VVS1',1.50,0,0.00,'on',1323083140,1323083140),(76,13,28,0,1,1,'Out','ROUND','F','VVS2',2.00,0,0.00,'on',1323083164,1323083164),(77,12,31,34,1,1,'In','ROUND','F','VVS2',1.50,0,0.00,'on',1323083842,1323083842),(78,12,31,0,1,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323083842,1323083842),(79,0,0,35,0,1,'In','ROUND','F','VVS1',1.50,0,0.00,'on',1323083956,1323083956),(80,0,0,36,0,1,'In','ROUND','F','VVS2',5.20,0,0.00,'on',1323083956,1323083956),(81,0,0,37,0,1,'In','ROUND','G','VVS2',6.50,0,0.00,'on',1323083956,1323083956),(82,0,0,38,0,1,'In','ROUND','F','VVS2',2.50,0,0.00,'on',1323083956,1323083956),(83,9,37,39,1,1,'In','ROUND','D','IF',0.25,0,0.00,'on',1323085323,1323085323),(84,9,37,40,1,1,'In','ROUND','F','VVS2',0.25,0,0.00,'on',1323085323,1323085323),(85,9,37,41,1,1,'In','ROUND','H','VS1',0.25,0,0.00,'on',1323085323,1323085323),(86,9,37,42,1,1,'In','ROUND','F','VS1',0.25,0,0.00,'on',1323085323,1323085323),(87,9,37,0,1,1,'Out','ROUND','D','IF',0.25,0,0.00,'on',1323085388,1323085388),(88,9,37,0,1,1,'Out','ROUND','F','VVS2',0.25,0,0.00,'on',1323085388,1323085388),(89,9,37,0,1,1,'Out','ROUND','H','VS1',0.25,0,0.00,'on',1323085388,1323085388),(90,9,37,0,1,1,'Out','ROUND','F','VS1',0.25,0,0.00,'on',1323085388,1323085388),(91,9,37,0,1,1,'In','ROUND','D','IF',0.25,0,0.00,'on',1323085404,1323085404),(92,9,37,0,1,1,'In','ROUND','F','VVS2',0.25,0,0.00,'on',1323085404,1323085404),(93,9,37,0,1,1,'In','ROUND','H','VS1',0.25,0,0.00,'on',1323085404,1323085404),(94,9,37,0,1,1,'In','ROUND','F','VS1',0.25,0,0.00,'on',1323085404,1323085404),(95,9,38,43,2,1,'In','ROUND','D','IF',0.25,0,0.00,'on',1323085404,1323085404),(96,9,38,44,2,1,'In','ROUND','F','VVS2',0.25,0,0.00,'on',1323085404,1323085404),(97,9,38,45,2,1,'In','ROUND','H','VS1',0.25,0,0.00,'on',1323085404,1323085404),(98,9,38,46,2,1,'In','ROUND','F','VS1',0.25,0,0.00,'on',1323085404,1323085404),(99,9,38,0,2,1,'Out','ROUND','D','IF',0.23,0,0.00,'on',1323085431,1323085431),(100,9,38,0,2,1,'Out','ROUND','F','VVS2',0.23,0,0.00,'on',1323085431,1323085431),(101,9,38,0,2,1,'Out','ROUND','H','VS1',0.23,0,0.00,'on',1323085431,1323085431),(102,9,38,0,2,1,'Out','ROUND','F','VS1',0.23,0,0.00,'on',1323085431,1323085431),(103,9,38,0,2,1,'In','ROUND','D','IF',0.23,0,0.00,'on',1323085467,1323085467),(104,9,38,0,2,1,'In','ROUND','F','VVS2',0.23,0,0.00,'on',1323085467,1323085467),(105,9,38,0,2,1,'In','ROUND','I','VS1',0.23,0,0.00,'on',1323085467,1323085467),(106,9,38,0,2,1,'In','ROUND','F','VS1',0.23,0,0.00,'on',1323085467,1323085467),(107,9,39,47,8,1,'In','ROUND','D','IF',0.23,0,0.00,'on',1323085467,1323085467),(108,9,39,48,8,1,'In','ROUND','F','VVS2',0.23,0,0.00,'on',1323085467,1323085467),(109,9,39,49,8,1,'In','ROUND','I','VS1',0.23,0,0.00,'on',1323085467,1323085467),(110,9,39,50,8,1,'In','ROUND','F','VS1',0.23,0,0.00,'on',1323085467,1323085467),(111,9,39,0,8,1,'Out','ROUND','D','IF',0.22,0,0.00,'on',1323085670,1323085670),(112,9,39,0,8,1,'Out','ROUND','F','VVS2',0.22,0,0.00,'on',1323085670,1323085670),(113,9,39,0,8,1,'Out','ROUND','I','VS1',0.22,0,0.00,'on',1323085670,1323085670),(114,9,39,0,8,1,'Out','ROUND','F','VS1',0.22,0,0.00,'on',1323085670,1323085670),(115,9,39,0,8,1,'In','ROUND','D','IF',0.22,0,0.00,'on',1323085701,1323085701),(116,9,39,0,8,1,'In','ROUND','F','VVS2',0.22,0,0.00,'on',1323085701,1323085701),(117,9,39,0,8,1,'In','ROUND','I','VS1',0.22,0,0.00,'on',1323085701,1323085701),(118,9,39,0,8,1,'In','ROUND','F','VS1',0.22,0,0.00,'on',1323085701,1323085701),(119,9,0,51,9,1,'In','ROUND','D','IF',0.22,0,0.00,'on',1323085701,1323085701),(120,9,0,52,9,1,'In','ROUND','F','VVS2',0.22,0,0.00,'on',1323085701,1323085701),(121,9,0,53,9,1,'In','ROUND','I','VS1',0.22,0,0.00,'on',1323085701,1323085701),(122,9,0,54,9,1,'In','ROUND','F','VS1',0.22,0,0.00,'on',1323085701,1323085701),(123,25,40,55,1,1,'In','ROUND','F','VVS2',1.50,0,0.00,'on',1323086514,1323086514),(124,25,40,56,1,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323086514,1323086514),(125,25,40,0,1,1,'Out','ROUND','F','VVS2',1.50,0,0.00,'on',1323086547,1323086547),(126,25,40,0,1,1,'Out','ROUND','G','VVS2',1.50,0,0.00,'on',1323086547,1323086547),(127,25,40,0,1,1,'In','ROUND','F','VVS2',1.50,0,0.00,'on',1323086582,1323086582),(128,25,40,0,1,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323086582,1323086582),(129,25,41,57,2,1,'In','ROUND','F','VVS2',1.50,0,0.00,'on',1323086582,1323086582),(130,25,41,58,2,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323086582,1323086582),(131,25,41,0,2,1,'Out','ROUND','F','VVS2',1.50,0,0.00,'on',1323086698,1323086698),(132,25,41,0,2,1,'Out','ROUND','G','VVS2',1.50,0,0.00,'on',1323086698,1323086698),(133,25,41,57,2,1,'In','ROUND','F','VVS2',1.50,0,0.00,'on',1323087027,1323087027),(134,25,41,58,2,1,'In','ROUND','G','VVS2',1.50,0,0.00,'on',1323087027,1323087027),(135,25,41,57,2,1,'Out','ROUND','F','VVS2',1.50,0,0.00,'on',1323087080,1323087080),(136,25,41,58,2,1,'Out','ROUND','G','VVS2',1.50,0,0.00,'on',1323087080,1323087080),(137,25,41,57,2,1,'In','ROUND','F','VVS2',1.45,0,0.00,'on',1323087132,1323087132),(138,25,41,58,2,1,'In','ROUND','F','VVS2',1.45,0,0.00,'on',1323087132,1323087132),(139,25,42,59,8,1,'In','ROUND','F','VVS2',1.45,0,0.00,'on',1323087132,1323087132),(140,25,42,60,8,1,'In','ROUND','F','VVS2',1.45,0,0.00,'on',1323087132,1323087132),(141,25,42,59,8,1,'Out','ROUND','F','VVS2',1.40,0,0.00,'on',1323087528,1323087528),(142,25,42,60,8,1,'Out','ROUND','F','VVS2',1.40,0,0.00,'on',1323087528,1323087528),(143,25,42,59,8,1,'In','ROUND','F','VVS2',1.40,0,0.00,'on',1323087568,1323087568),(144,25,42,60,8,1,'In','ROUND','F','VVS2',1.40,0,0.00,'on',1323087568,1323087568),(145,25,0,61,9,1,'In','ROUND','F','VVS2',1.40,0,0.00,'on',1323087568,1323087568),(146,25,0,62,9,1,'In','ROUND','F','VVS2',1.40,0,0.00,'on',1323087568,1323087568),(147,35,43,63,1,1,'In','ROUND','G','VVS2',1.00,0,0.00,'on',1323149979,1323149979),(148,35,43,64,1,1,'In','ROUND','G','VS2',1.40,0,0.00,'on',1323149979,1323149979),(149,35,43,63,1,1,'Out','ROUND','G','VVS2',1.00,0,0.00,'on',1323150338,1323150338),(150,35,43,64,1,1,'Out','ROUND','G','VS2',1.40,0,0.00,'on',1323150338,1323150338),(151,35,43,63,1,1,'In','ROUND','G','VVS2',1.00,0,0.00,'on',1323150346,1323150346),(152,35,43,64,1,1,'In','ROUND','G','VS2',1.40,0,0.00,'on',1323150346,1323150346),(153,35,44,65,2,1,'In','ROUND','G','VVS2',1.00,0,0.00,'on',1323150346,1323150346),(154,35,44,66,2,1,'In','ROUND','G','VS2',1.40,0,0.00,'on',1323150346,1323150346),(155,35,44,65,2,1,'Out','ROUND','G','VVS2',1.00,0,0.00,'on',1323150387,1323150387),(156,35,44,66,2,1,'Out','ROUND','G','VS2',1.40,0,0.00,'on',1323150387,1323150387),(157,35,44,65,2,1,'In','ROUND','G','VVS2',0.90,0,0.00,'on',1323150408,1323150408),(158,35,44,66,2,1,'In','ROUND','G','VS2',1.35,0,0.00,'on',1323150408,1323150408),(159,35,44,65,2,1,'Out','ROUND','G','VVS2',0.90,0,0.00,'on',1323150418,1323150418),(160,35,44,66,2,1,'Out','ROUND','G','VS2',1.35,0,0.00,'on',1323150418,1323150418),(161,35,44,65,2,1,'In','ROUND','G','VVS2',0.90,0,0.00,'on',1323150427,1323150427),(162,35,44,66,2,1,'In','ROUND','G','VS2',1.35,0,0.00,'on',1323150427,1323150427),(163,35,45,67,8,1,'In','ROUND','G','VVS2',0.90,0,0.00,'on',1323150427,1323150427),(164,35,45,68,8,1,'In','ROUND','G','VS2',1.35,0,0.00,'on',1323150427,1323150427),(165,35,45,67,8,1,'Out','ROUND','G','VVS2',0.90,0,0.00,'on',1323150468,1323150468),(166,35,45,68,8,1,'Out','ROUND','G','VS2',1.35,0,0.00,'on',1323150468,1323150468),(167,35,45,67,8,1,'In','ROUND','G','VVS2',0.80,0,0.00,'on',1323150492,1323150492),(168,35,45,68,8,1,'In','ROUND','G','VS2',1.25,0,0.00,'on',1323150492,1323150492),(169,35,0,69,9,1,'In','ROUND','G','VVS2',0.80,0,0.00,'on',1323150492,1323150492),(170,35,0,70,9,1,'In','ROUND','G','VS2',1.25,0,0.00,'on',1323150492,1323150492),(171,1,1,1,1,1,'In','ROUND','F','VS1',1.01,0,0.00,'on',1323151862,1323151862),(172,1,1,2,1,1,'In','ROUND','H','VS2',0.80,0,0.00,'on',1323151862,1323151862),(173,1,1,1,1,1,'Out','ROUND','F','VS1',1.01,0,0.00,'on',1323151874,1323151874),(174,1,1,2,1,1,'Out','ROUND','H','VS2',0.80,0,0.00,'on',1323151874,1323151874),(175,1,1,1,1,1,'In','ROUND','F','VS1',1.01,0,0.00,'on',1323151883,1323151883),(176,1,1,2,1,1,'In','ROUND','H','VS2',0.80,0,0.00,'on',1323151883,1323151883),(177,1,2,3,2,1,'In','ROUND','F','VS1',1.01,0,0.00,'on',1323151883,1323151883),(178,1,2,4,2,1,'In','ROUND','H','VS2',0.80,0,0.00,'on',1323151883,1323151883),(179,1,2,3,2,1,'Out','ROUND','F','VS1',1.01,0,0.00,'on',1323152022,1323152022),(180,1,2,4,2,1,'Out','ROUND','H','VS2',0.80,0,0.00,'on',1323152022,1323152022),(181,1,2,3,2,1,'In','ROUND','F','VS1',1.00,0,0.00,'on',1323152065,1323152065),(182,1,2,4,2,1,'In','ROUND','H','VS2',0.80,0,0.00,'on',1323152065,1323152065),(183,1,3,5,8,1,'In','ROUND','F','VS1',1.00,0,0.00,'on',1323152065,1323152065),(184,1,3,6,8,1,'In','ROUND','H','VS2',0.80,0,0.00,'on',1323152065,1323152065),(185,1,3,5,8,1,'Out','ROUND','F','VS1',1.00,0,0.00,'on',1323152075,1323152075),(186,1,3,6,8,1,'Out','ROUND','H','VS2',0.80,0,0.00,'on',1323152075,1323152075),(187,1,3,5,8,1,'In','ROUND','F','VS1',0.90,0,0.00,'on',1323152098,1323152098),(188,1,3,6,8,1,'In','ROUND','H','VS2',0.70,0,0.00,'on',1323152098,1323152098),(189,1,0,7,9,1,'In','ROUND','F','VS1',0.90,0,0.00,'on',1323152098,1323152098),(190,1,0,8,9,1,'In','ROUND','H','VS2',0.70,0,0.00,'on',1323152098,1323152098),(191,2,4,9,1,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323153078,1323153078),(192,2,4,10,1,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153078,1323153078),(193,2,4,9,1,1,'Out','ROUND','I','VS1',1.20,0,0.00,'on',1323153376,1323153376),(194,2,4,10,1,1,'Out','ROUND','F','VS1',0.60,0,0.00,'on',1323153376,1323153376),(195,2,4,9,1,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323153399,1323153399),(196,2,4,10,1,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153399,1323153399),(197,2,5,11,2,1,'In','ROUND','I','VS1',1.20,0,0.00,'on',1323153399,1323153399),(198,2,5,12,2,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153399,1323153399),(199,2,5,11,2,1,'Out','ROUND','I','VS1',1.20,0,0.00,'on',1323153414,1323153414),(200,2,5,12,2,1,'Out','ROUND','F','VS1',0.60,0,0.00,'on',1323153414,1323153414),(201,2,5,11,2,1,'In','ROUND','I','VS1',1.15,0,0.00,'on',1323153428,1323153428),(202,2,5,12,2,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153428,1323153428),(203,2,6,13,8,1,'In','ROUND','I','VS1',1.15,0,0.00,'on',1323153428,1323153428),(204,2,6,14,8,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153428,1323153428),(205,2,6,13,8,1,'Out','ROUND','I','VS1',1.15,0,0.00,'on',1323153443,1323153443),(206,2,6,14,8,1,'Out','ROUND','F','VS1',0.60,0,0.00,'on',1323153443,1323153443),(207,2,6,13,8,1,'In','ROUND','I','VS1',1.10,0,0.00,'on',1323153458,1323153458),(208,2,6,14,8,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153458,1323153458),(209,2,0,15,9,1,'In','ROUND','I','VS1',1.10,0,0.00,'on',1323153458,1323153458),(210,2,0,16,9,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323153458,1323153458),(211,3,7,17,1,1,'In','ROUND','G','VS1',1.20,0,0.00,'on',1323153790,1323153790),(212,3,7,18,1,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153790,1323153790),(213,3,7,17,1,1,'Out','ROUND','G','VS1',1.20,0,0.00,'on',1323153798,1323153798),(214,3,7,18,1,1,'Out','ROUND','I','VS2',0.50,0,0.00,'on',1323153798,1323153798),(215,3,7,17,1,1,'In','ROUND','G','VS1',1.20,0,0.00,'on',1323153805,1323153805),(216,3,7,18,1,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153805,1323153805),(217,3,8,19,2,1,'In','ROUND','G','VS1',1.20,0,0.00,'on',1323153805,1323153805),(218,3,8,20,2,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153805,1323153805),(219,3,8,19,2,1,'Out','ROUND','G','VS1',1.20,0,0.00,'on',1323153817,1323153817),(220,3,8,20,2,1,'Out','ROUND','I','VS2',0.50,0,0.00,'on',1323153817,1323153817),(221,3,8,19,2,1,'In','ROUND','G','VS1',1.15,0,0.00,'on',1323153832,1323153832),(222,3,8,20,2,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153832,1323153832),(223,3,9,21,8,1,'In','ROUND','G','VS1',1.15,0,0.00,'on',1323153832,1323153832),(224,3,9,22,8,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153832,1323153832),(225,3,9,21,8,2,'Out','ROUND','G','VS1',1.15,0,0.00,'on',1323153840,1323153840),(226,3,9,22,8,2,'Out','ROUND','I','VS2',0.50,0,0.00,'on',1323153841,1323153841),(227,3,9,21,8,1,'In','ROUND','G','VS1',1.15,0,0.00,'on',1323153853,1323153853),(228,3,9,22,8,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153853,1323153853),(229,3,9,21,8,1,'Out','ROUND','G','VS1',1.15,0,0.00,'on',1323153860,1323153860),(230,3,9,22,8,1,'Out','ROUND','I','VS2',0.50,0,0.00,'on',1323153860,1323153860),(231,3,9,21,8,1,'In','ROUND','G','VS1',1.10,0,0.00,'on',1323153870,1323153870),(232,3,9,22,8,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153870,1323153870),(233,3,0,23,9,1,'In','ROUND','G','VS1',1.10,0,0.00,'on',1323153870,1323153870),(234,3,0,24,9,1,'In','ROUND','I','VS2',0.50,0,0.00,'on',1323153870,1323153870),(235,4,10,25,1,1,'In','ROUND','G','VVS2',1.20,0,0.00,'on',1323154387,1323154387),(236,4,10,26,1,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154388,1323154388),(237,4,10,25,1,1,'Out','ROUND','G','VVS2',1.20,0,0.00,'on',1323154402,1323154402),(238,4,10,26,1,1,'Out','ROUND','F','VS1',0.60,0,0.00,'on',1323154402,1323154402),(239,4,10,25,1,1,'In','ROUND','G','VVS2',1.10,0,0.00,'on',1323154412,1323154412),(240,4,10,26,1,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154412,1323154412),(241,4,11,27,2,1,'In','ROUND','G','VVS2',1.10,0,0.00,'on',1323154412,1323154412),(242,4,11,28,2,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154412,1323154412),(243,4,11,27,2,1,'Out','ROUND','G','VVS2',1.10,0,0.00,'on',1323154741,1323154741),(244,4,11,28,2,1,'Out','ROUND','F','VS1',0.60,0,0.00,'on',1323154741,1323154741),(245,4,11,27,2,1,'In','ROUND','G','VVS2',1.01,0,0.00,'on',1323154753,1323154753),(246,4,11,28,2,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154753,1323154753),(247,4,12,29,8,1,'In','ROUND','G','VVS2',1.01,0,0.00,'on',1323154753,1323154753),(248,4,12,30,8,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154753,1323154753),(249,4,12,29,8,1,'Out','ROUND','G','VVS2',1.01,0,0.00,'on',1323154760,1323154760),(250,4,12,30,8,1,'Out','ROUND','F','VS1',0.60,0,0.00,'on',1323154760,1323154760),(251,4,12,29,8,1,'In','ROUND','G','VVS2',1.00,0,0.00,'on',1323154770,1323154770),(252,4,12,30,8,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154770,1323154770),(253,4,0,31,9,1,'In','ROUND','G','VVS2',1.00,0,0.00,'on',1323154770,1323154770),(254,4,0,32,9,1,'In','ROUND','F','VS1',0.60,0,0.00,'on',1323154770,1323154770),(255,5,13,33,1,1,'In','ROUND','H','VS1',1.20,0,0.00,'on',1323155515,1323155515),(256,5,13,34,1,1,'In','ROUND','G','VVS1',0.75,0,0.00,'on',1323155515,1323155515),(257,5,13,33,1,1,'Out','ROUND','H','VS1',1.20,0,0.00,'on',1323155523,1323155523),(258,5,13,34,1,1,'Out','ROUND','G','VVS1',0.75,0,0.00,'on',1323155523,1323155523),(259,5,13,33,1,1,'In','ROUND','H','VS1',1.20,0,0.00,'on',1323155542,1323155542),(260,5,13,34,1,1,'In','ROUND','G','VVS1',0.75,0,0.00,'on',1323155542,1323155542),(261,5,14,35,2,1,'In','ROUND','H','VS1',1.20,0,0.00,'on',1323155542,1323155542),(262,5,14,36,2,1,'In','ROUND','G','VVS1',0.75,0,0.00,'on',1323155542,1323155542),(263,5,14,35,2,2,'Out','ROUND','H','VS1',1.20,0,0.00,'on',1323155559,1323155559),(264,5,14,36,2,2,'Out','ROUND','G','VVS1',0.75,0,0.00,'on',1323155559,1323155559),(265,5,14,35,2,1,'In','ROUND','H','VS1',1.15,0,0.00,'on',1323155576,1323155576),(266,5,14,36,2,1,'In','ROUND','G','VVS1',0.70,0,0.00,'on',1323155576,1323155576),(267,5,15,37,8,1,'In','ROUND','H','VS1',1.15,0,0.00,'on',1323155576,1323155576),(268,5,15,38,8,1,'In','ROUND','G','VVS1',0.70,0,0.00,'on',1323155576,1323155576),(269,5,15,37,8,1,'Out','ROUND','H','VS1',1.15,0,0.00,'on',1323155588,1323155588),(270,5,15,38,8,1,'Out','ROUND','G','VVS1',0.70,0,0.00,'on',1323155588,1323155588),(271,5,15,37,8,1,'In','ROUND','H','VS1',1.10,0,0.00,'on',1323155601,1323155601),(272,5,15,38,8,1,'In','ROUND','G','VVS1',0.68,0,0.00,'on',1323155601,1323155601),(273,5,15,37,8,1,'Out','ROUND','H','VS1',1.10,0,0.00,'on',1323155610,1323155610),(274,5,15,38,8,1,'Out','ROUND','G','VVS1',0.68,0,0.00,'on',1323155610,1323155610),(275,5,15,37,8,1,'In','ROUND','H','VS1',1.10,0,0.00,'on',1323155617,1323155617),(276,5,15,38,8,1,'In','ROUND','G','VVS1',0.68,0,0.00,'on',1323155617,1323155617),(277,5,0,39,9,1,'In','ROUND','H','VS1',1.10,0,0.00,'on',1323155617,1323155617),(278,5,0,40,9,1,'In','ROUND','G','VVS1',0.68,0,0.00,'on',1323155617,1323155617),(279,7,16,41,1,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323753907,1323753907),(280,7,16,42,1,1,'In','ROUND','I','VS2',2.70,0,0.00,'on',1323753907,1323753907),(281,7,16,41,1,1,'Out','ROUND','G','VS2',2.20,0,0.00,'on',1323753920,1323753920),(282,7,16,42,1,1,'Out','ROUND','I','VS2',2.70,0,0.00,'on',1323753920,1323753920),(283,7,16,41,1,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323753944,1323753944),(284,7,16,42,1,1,'In','ROUND','I','VS2',2.70,0,0.00,'on',1323753944,1323753944),(285,7,17,43,2,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323753944,1323753944),(286,7,17,44,2,1,'In','ROUND','I','VS2',2.70,0,0.00,'on',1323753944,1323753944),(287,7,17,43,2,1,'Out','ROUND','G','VS2',2.20,0,0.00,'on',1323753956,1323753956),(288,7,17,44,2,1,'Out','ROUND','I','VS2',2.70,0,0.00,'on',1323753956,1323753956),(289,7,17,43,2,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323754004,1323754004),(290,7,17,44,2,1,'In','ROUND','I','VS2',2.70,0,0.00,'on',1323754004,1323754004),(291,7,18,45,8,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323754004,1323754004),(292,7,18,46,8,1,'In','ROUND','I','VS2',2.70,0,0.00,'on',1323754004,1323754004),(293,7,18,45,8,1,'Out','ROUND','G','VS2',2.20,0,0.00,'on',1323754025,1323754025),(294,7,18,46,8,1,'Out','ROUND','H','VS2',2.60,0,0.00,'on',1323754025,1323754025),(295,7,18,45,8,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323754060,1323754060),(296,7,18,46,8,1,'In','ROUND','H','VS2',2.60,0,0.00,'on',1323754060,1323754060),(297,7,0,47,9,1,'In','ROUND','G','VS2',2.20,0,0.00,'on',1323754060,1323754060),(298,7,0,48,9,1,'In','ROUND','H','VS2',2.60,0,0.00,'on',1323754060,1323754060),(299,6,19,49,1,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754205,1323754205),(300,6,19,50,1,1,'In','ROUND','ANY','ANY',2.25,0,0.00,'on',1323754205,1323754205),(301,6,19,51,1,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754205,1323754205),(302,6,19,49,1,1,'Out','ROUND','E','VVS1',2.10,0,0.00,'on',1323754213,1323754213),(303,6,19,50,1,1,'Out','ROUND','ANY','ANY',2.25,0,0.00,'on',1323754213,1323754213),(304,6,19,51,1,1,'Out','ROUND','E','VVS1',0.20,0,0.00,'on',1323754213,1323754213),(305,6,19,49,1,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754222,1323754222),(306,6,19,50,1,1,'In','ROUND','ANY','ANY',2.25,0,0.00,'on',1323754222,1323754222),(307,6,19,51,1,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754222,1323754222),(308,6,20,52,2,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754222,1323754222),(309,6,20,53,2,1,'In','ROUND','ANY','ANY',2.25,0,0.00,'on',1323754222,1323754222),(310,6,20,54,2,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754222,1323754222),(311,6,20,52,2,1,'Out','ROUND','E','VVS1',2.10,0,0.00,'on',1323754232,1323754232),(312,6,20,53,2,1,'Out','ROUND','ANY','ANY',2.25,0,0.00,'on',1323754232,1323754232),(313,6,20,54,2,1,'Out','ROUND','E','VVS1',0.20,0,0.00,'on',1323754232,1323754232),(314,6,20,52,2,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754242,1323754242),(315,6,20,53,2,1,'In','ROUND','ANY','ANY',2.20,0,0.00,'on',1323754242,1323754242),(316,6,20,54,2,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754242,1323754242),(317,6,21,55,8,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754242,1323754242),(318,6,21,56,8,1,'In','ROUND','ANY','ANY',2.20,0,0.00,'on',1323754242,1323754242),(319,6,21,57,8,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754242,1323754242),(320,6,21,55,8,1,'Out','ROUND','E','VVS1',2.10,0,0.00,'on',1323754250,1323754250),(321,6,21,56,8,1,'Out','ROUND','ANY','ANY',2.20,0,0.00,'on',1323754250,1323754250),(322,6,21,57,8,1,'Out','ROUND','E','VVS1',0.20,0,0.00,'on',1323754250,1323754250),(323,6,21,55,8,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754263,1323754263),(324,6,21,56,8,1,'In','ROUND','ANY','ANY',2.10,0,0.00,'on',1323754263,1323754263),(325,6,21,57,8,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754263,1323754263),(326,6,0,58,9,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323754263,1323754263),(327,6,0,59,9,1,'In','ROUND','ANY','ANY',2.10,0,0.00,'on',1323754263,1323754263),(328,6,0,60,9,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323754263,1323754263),(329,0,0,61,0,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323762820,1323762820),(330,0,0,62,0,1,'In','ROUND','ANY','ANY',2.10,0,0.00,'on',1323762821,1323762821),(331,0,0,63,0,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323762821,1323762821),(332,0,19,64,1,1,'In','ROUND','E','VVS1',2.10,0,0.00,'on',1323762821,1323762821),(333,0,19,65,1,1,'In','ROUND','ANY','ANY',2.10,0,0.00,'on',1323762821,1323762821),(334,0,19,66,1,1,'In','ROUND','E','VVS1',0.20,0,0.00,'on',1323762821,1323762821),(335,8,22,67,1,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762855,1323762855),(336,8,22,68,1,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762856,1323762856),(337,8,22,69,1,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762856,1323762856),(338,8,22,67,1,1,'Out','ROUND','E','VVS2',1.50,0,0.00,'on',1323762865,1323762865),(339,8,22,68,1,1,'Out','ROUND','I','VVS2',1.50,0,0.00,'on',1323762865,1323762865),(340,8,22,69,1,1,'Out','ROUND','G','VVS2',0.60,0,0.00,'on',1323762865,1323762865),(341,8,22,67,1,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762876,1323762876),(342,8,22,68,1,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762876,1323762876),(343,8,22,69,1,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762876,1323762876),(344,8,23,70,2,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762876,1323762876),(345,8,23,71,2,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762876,1323762876),(346,8,23,72,2,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762876,1323762876),(347,8,23,70,2,1,'Out','ROUND','E','VVS2',1.50,0,0.00,'on',1323762893,1323762893),(348,8,23,71,2,1,'Out','ROUND','I','VVS2',1.50,0,0.00,'on',1323762893,1323762893),(349,8,23,72,2,1,'Out','ROUND','G','VVS2',0.60,0,0.00,'on',1323762893,1323762893),(350,8,23,70,2,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762900,1323762900),(351,8,23,71,2,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762900,1323762900),(352,8,23,72,2,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762900,1323762900),(353,8,24,73,8,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762900,1323762900),(354,8,24,74,8,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762900,1323762900),(355,8,24,75,8,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762900,1323762900),(356,8,24,73,8,2,'Out','ROUND','E','VVS2',1.50,0,0.00,'on',1323762917,1323762917),(357,8,24,74,8,2,'Out','ROUND','I','VVS2',1.50,0,0.00,'on',1323762917,1323762917),(358,8,24,75,8,2,'Out','ROUND','G','VVS2',0.60,0,0.00,'on',1323762917,1323762917),(359,8,24,73,8,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762926,1323762926),(360,8,24,74,8,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762926,1323762926),(361,8,24,75,8,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762926,1323762926),(362,8,0,76,9,1,'In','ROUND','E','VVS2',1.50,0,0.00,'on',1323762926,1323762926),(363,8,0,77,9,1,'In','ROUND','I','VVS2',1.50,0,0.00,'on',1323762926,1323762926),(364,8,0,78,9,1,'In','ROUND','G','VVS2',0.60,0,0.00,'on',1323762926,1323762926),(365,1,1,1,1,2,'In','ROUND','G','VS1',1.20,0,0.00,'on',1323763348,1323763348),(366,1,1,2,1,2,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763348,1323763348),(367,1,1,1,1,1,'Out','ROUND','G','VS1',1.20,0,0.00,'on',1323763356,1323763356),(368,1,1,2,1,1,'Out','ROUND','G','ANY',0.80,0,0.00,'on',1323763356,1323763356),(369,1,1,1,1,1,'In','ROUND','G','VS1',1.20,0,0.00,'on',1323763366,1323763366),(370,1,1,2,1,1,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763366,1323763366),(371,1,2,3,2,1,'In','ROUND','G','VS1',1.20,0,0.00,'on',1323763366,1323763366),(372,1,2,4,2,1,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763366,1323763366),(373,1,2,3,2,1,'Out','ROUND','G','VS1',1.15,0,0.00,'on',1323763378,1323763378),(374,1,2,4,2,1,'Out','ROUND','G','ANY',0.80,0,0.00,'on',1323763378,1323763378),(375,1,2,3,2,1,'In','ROUND','G','VS1',1.15,0,0.00,'on',1323763387,1323763387),(376,1,2,4,2,1,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763387,1323763387),(377,1,3,5,8,1,'In','ROUND','G','VS1',1.15,0,0.00,'on',1323763387,1323763387),(378,1,3,6,8,1,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763387,1323763387),(379,1,3,5,8,1,'Out','ROUND','G','VS1',1.15,0,0.00,'on',1323763397,1323763397),(380,1,3,6,8,1,'Out','ROUND','G','ANY',0.80,0,0.00,'on',1323763397,1323763397),(381,1,3,5,8,1,'In','ROUND','G','VS1',1.10,0,0.00,'on',1323763425,1323763425),(382,1,3,6,8,1,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763425,1323763425),(383,1,0,7,9,1,'In','ROUND','G','VS1',1.10,0,0.00,'on',1323763425,1323763425),(384,1,0,8,9,1,'In','ROUND','G','ANY',0.80,0,0.00,'on',1323763425,1323763425),(385,2,4,9,1,1,'In','ROUND','E','VVS1',3.50,0,0.00,'on',1325836423,1325836423),(386,2,4,10,1,1,'In','ROUND','G','VVS1',3.00,0,0.00,'on',1325836423,1325836423),(387,2,4,11,1,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836423,1325836423),(388,2,4,9,1,1,'Out','ROUND','E','VVS1',3.50,0,0.00,'on',1325836432,1325836432),(389,2,4,10,1,1,'Out','ROUND','G','VVS1',3.00,0,0.00,'on',1325836432,1325836432),(390,2,4,11,1,1,'Out','ROUND','F','VVS2',3.00,0,0.00,'on',1325836432,1325836432),(391,2,4,9,1,1,'In','ROUND','E','VVS1',3.50,0,0.00,'on',1325836442,1325836442),(392,2,4,10,1,1,'In','ROUND','G','VVS1',3.00,0,0.00,'on',1325836442,1325836442),(393,2,4,11,1,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836442,1325836442),(394,2,5,12,2,1,'In','ROUND','E','VVS1',3.50,0,0.00,'on',1325836442,1325836442),(395,2,5,13,2,1,'In','ROUND','G','VVS1',3.00,0,0.00,'on',1325836442,1325836442),(396,2,5,14,2,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836442,1325836442),(397,2,5,12,2,1,'Out','ROUND','E','VVS1',3.45,0,0.00,'on',1325836470,1325836470),(398,2,5,13,2,1,'Out','ROUND','G','VVS1',3.02,0,0.00,'on',1325836470,1325836470),(399,2,5,14,2,1,'Out','ROUND','F','VVS2',3.00,0,0.00,'on',1325836470,1325836470),(400,2,5,12,2,1,'In','ROUND','E','VVS1',3.45,0,0.00,'on',1325836481,1325836481),(401,2,5,13,2,1,'In','ROUND','G','VVS1',3.02,0,0.00,'on',1325836481,1325836481),(402,2,5,14,2,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836481,1325836481),(403,2,6,15,8,1,'In','ROUND','E','VVS1',3.45,0,0.00,'on',1325836481,1325836481),(404,2,6,16,8,1,'In','ROUND','G','VVS1',3.02,0,0.00,'on',1325836481,1325836481),(405,2,6,17,8,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836481,1325836481),(406,2,6,15,8,1,'Out','ROUND','E','VVS1',3.45,0,0.00,'on',1325836489,1325836489),(407,2,6,16,8,1,'Out','ROUND','G','VVS1',3.02,0,0.00,'on',1325836489,1325836489),(408,2,6,17,8,1,'Out','ROUND','F','VVS2',3.00,0,0.00,'on',1325836489,1325836489),(409,2,6,15,8,1,'In','ROUND','E','VVS1',3.45,0,0.00,'on',1325836497,1325836497),(410,2,6,16,8,1,'In','ROUND','G','VVS1',3.02,0,0.00,'on',1325836497,1325836497),(411,2,6,17,8,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836497,1325836497),(412,2,0,18,9,1,'In','ROUND','E','VVS1',3.45,0,0.00,'on',1325836497,1325836497),(413,2,0,19,9,1,'In','ROUND','G','VVS1',3.02,0,0.00,'on',1325836497,1325836497),(414,2,0,20,9,1,'In','ROUND','F','VVS2',3.00,0,0.00,'on',1325836497,1325836497),(415,1,1,1,1,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837239,1325837239),(416,1,1,2,1,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837239,1325837239),(417,1,1,1,1,1,'Out','ROUND','G','VVS2',2.40,0,0.00,'on',1325837523,1325837523),(418,1,1,2,1,1,'Out','ROUND','F','VVS2',1.25,0,0.00,'on',1325837523,1325837523),(419,1,1,1,1,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837530,1325837530),(420,1,1,2,1,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837530,1325837530),(421,1,2,3,2,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837530,1325837530),(422,1,2,4,2,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837530,1325837530),(423,1,2,3,2,1,'Out','ROUND','G','VVS2',2.40,0,0.00,'on',1325837537,1325837537),(424,1,2,4,2,1,'Out','ROUND','F','VVS2',1.25,0,0.00,'on',1325837537,1325837537),(425,1,2,3,2,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837544,1325837544),(426,1,2,4,2,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837544,1325837544),(427,1,3,5,8,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837544,1325837544),(428,1,3,6,8,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837544,1325837544),(429,1,3,5,8,1,'Out','ROUND','G','VVS2',2.40,0,0.00,'on',1325837552,1325837552),(430,1,3,6,8,1,'Out','ROUND','F','VVS2',1.25,0,0.00,'on',1325837552,1325837552),(431,1,3,5,8,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837560,1325837560),(432,1,3,6,8,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837560,1325837560),(433,1,0,7,9,1,'In','ROUND','G','VVS2',2.40,0,0.00,'on',1325837560,1325837560),(434,1,0,8,9,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325837560,1325837560),(435,3,4,9,1,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838565,1325838565),(436,3,4,10,1,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838565,1325838565),(437,3,4,9,1,1,'Out','ROUND','G','VVS2',3.25,0,0.00,'on',1325838571,1325838571),(438,3,4,10,1,1,'Out','ROUND','F','VVS2',1.25,0,0.00,'on',1325838571,1325838571),(439,3,4,9,1,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838578,1325838578),(440,3,4,10,1,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838578,1325838578),(441,3,5,11,2,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838578,1325838578),(442,3,5,12,2,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838578,1325838578),(443,3,5,11,2,1,'Out','ROUND','G','VVS2',3.25,0,0.00,'on',1325838583,1325838583),(444,3,5,12,2,1,'Out','ROUND','F','VVS2',1.25,0,0.00,'on',1325838583,1325838583),(445,3,5,11,2,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838594,1325838594),(446,3,5,12,2,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838594,1325838594),(447,3,6,13,8,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838594,1325838594),(448,3,6,14,8,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838594,1325838594),(449,3,6,13,8,1,'Out','ROUND','G','VVS2',3.25,0,0.00,'on',1325838601,1325838601),(450,3,6,14,8,1,'Out','ROUND','F','VVS2',1.25,0,0.00,'on',1325838601,1325838601),(451,3,6,13,8,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838608,1325838608),(452,3,6,14,8,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838608,1325838608),(453,3,0,15,9,1,'In','ROUND','G','VVS2',3.25,0,0.00,'on',1325838608,1325838608),(454,3,0,16,9,1,'In','ROUND','F','VVS2',1.25,0,0.00,'on',1325838608,1325838608);

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

CREATE TABLE `bstock_pl_dm_productdetails` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `expense_primary_key` int(10) NOT NULL COMMENT 'this field will be primary key of pl_dm_expense table',
  `surrogate_id` int(10) NOT NULL COMMENT 'This field is combination of lot_no and stage_id. This is to use Replace query in php code',
  `stage_id` int(10) NOT NULL DEFAULT '1' COMMENT 'Can be used in future if multiple  stores are added.',
  `in_out_status` enum('In','Out') NOT NULL,
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `parcel_id` int(10) NOT NULL,
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT') NOT NULL,
  `no_of_diamonds` int(10) NOT NULL DEFAULT '1',
  `size` decimal(10,2) NOT NULL,
  `laser_lot_no` varchar(500) NOT NULL COMMENT 'This field will store the laser lot no. This will be used to store for girdle polishing also. Here in girdle polishing it will be use to identify from which laser stone has to polished generated.',
  `lot_no` varchar(250) NOT NULL,
  `karigar_id` int(5) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `is_polished` enum('on','off') NOT NULL DEFAULT 'off' COMMENT 'this field will show if the current product is published as polish or not',
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL DEFAULT 'NONE',
  `lab` enum('All Labs','GIA','IGI','HRD','AGS','EGL','IGC') NOT NULL,
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V') NOT NULL,
  `certificate` varchar(255) NOT NULL,
  `pavilion` decimal(10,3) NOT NULL,
  `crown` decimal(10,3) NOT NULL DEFAULT '0.000',
  `certificate_id` varchar(50) NOT NULL,
  `rap_price` varchar(50) NOT NULL,
  `rap_total` varchar(50) NOT NULL,
  `discount` varchar(50) NOT NULL,
  `piece_price` varchar(50) NOT NULL,
  `carat_price` varchar(50) NOT NULL,
  `temporary_estimation_sales_price` decimal(10,2) NOT NULL COMMENT 'Will store temp sales price of the stone. This will also be used as the purchae price of the stone. This will be used as sell price also, if stone is sold before all the stones from that parcel are published. ',
  `length` varchar(50) NOT NULL,
  `width` varchar(50) NOT NULL,
  `height` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `girdle` varchar(250) NOT NULL,
  `vendorname` enum('None','Bigg Stock','Vendor 1','Vendor 2') NOT NULL,
  `comments` varchar(500) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

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


--
-- Table structure for table `bstock_pl_dm_returnedproducts`
--

CREATE TABLE `bstock_pl_dm_returnedproducts` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `expense_primary_key` int(10) NOT NULL COMMENT ' this field will be primary key of pl_dm_expe',
  `parcel_id` int(10) NOT NULL COMMENT 'parcel_id - this field will store the rough stone id (bstock_pl_roughstones). this field will be used to show the returned rough stones of that parcel in history',
  `size` decimal(10,3) NOT NULL,
  `lot_no` varchar(50) NOT NULL COMMENT 'This will store the packet no. of the rough stone',
  `stage_id` int(10) NOT NULL COMMENT 'This will tell us from where is this stone returned',
  `no_of_diamonds` int(10) NOT NULL,
  `temporary_estimation_sales_price` decimal(10,2) NOT NULL COMMENT 'Will store temp sales price of the rough stone. This valuation will be used to find the actual purchase price of the polished stone.',
  `comments` varchar(1000) NOT NULL,
  `is_polished` enum('on','off') NOT NULL DEFAULT 'off',
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_dm_returnedproducts`
--


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

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

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

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

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

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

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

INSERT INTO `bstock_pl_dm_stagestatus` VALUES (1,'Not Processed','','1',0,0),(2,'In Process','','1',0,0),(3,'Fully Processed','Paid','1',1267005563,1267005563);

--
-- Table structure for table `bstock_pl_ems`
--

CREATE TABLE `bstock_pl_ems` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `customer_id` int(10) NOT NULL COMMENT 'Foriegn key - This will be the foriegn key from bstock_customers table',
  `contact_person` varchar(500) NOT NULL,
  `source` enum('Email Marketing','Website','Internet Search') NOT NULL,
  `priority` enum('High','Medium','Low') NOT NULL,
  `referred_by` varchar(500) NOT NULL,
  `attended_by_id` int(10) NOT NULL,
  `status_id` int(10) NOT NULL,
  `remarks` varchar(1000) 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=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_ems`
--

INSERT INTO `bstock_pl_ems` VALUES (1,4,'VK','Email Marketing','Low','',0,1,'','on',1294299399,1294299399),(2,2,'VK','Email Marketing','Low','',0,0,'','on',1294299725,1294300767),(3,0,'Vishal','Internet Search','Low','Harshad',0,1,'','on',1294301118,1294301118),(4,0,'Vishal','Internet Search','Low','Harshad',0,1,'','on',1294301163,1294301163),(5,7,'Vishal','Internet Search','Low','Harshad',0,1,'','on',1294301587,1294301587),(6,8,'Vishal','Internet Search','Low','Harshad',0,1,'','on',1294302526,1294302526),(7,2,'','Email Marketing','Low','',0,0,'','on',1294379012,1294379047);

--
-- Table structure for table `bstock_pl_ems_enquiry_products`
--

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

--
-- Dumping data for table `bstock_pl_ems_enquiry_products`
--

INSERT INTO `bstock_pl_ems_enquiry_products` VALUES (1,12,'1270013022','1269667422','Permanently Deactive','\'ROUND\'','2','1','F','D','VVS2','IF','FAIR','EXCELLENT','FAIR','EXCELLENT','FAIR','EXCELLENT','STRONG','NONE','GIA',0.000,0.000,'All',0,0,'40','45','1269667422','1269667422'),(2,1,'1286750167','1286750167','Active','\'Round\'','0.5','1.5','D','E','IF','VVS1','','','','','','','','','',0.000,0.000,'',0,0,'','','','');

--
-- Table structure for table `bstock_pl_ems_followup`
--

CREATE TABLE `bstock_pl_ems_followup` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `enquiry_id` int(10) NOT NULL,
  `followup_date` int(10) NOT NULL,
  `follow_up_type` enum('Fax','Mail','Personal Visit','Phone') NOT NULL,
  `follow_up_remarks` varchar(1000) NOT NULL,
  `next_followup_date` int(10) NOT NULL,
  `next_followup_date_mmddyy` varchar(50) NOT NULL,
  `next_followup_remarks` varchar(1000) NOT NULL,
  `remind_me` enum('on','off') NOT NULL,
  `status` enum('closed','open') NOT NULL,
  `created_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_ems_followup`
--

INSERT INTO `bstock_pl_ems_followup` VALUES (1,1,1286637173,'Personal Visit','wasnt available on cal',1286637600,'','need to call backs','off','closed',1286637172,1286637172),(16,10,1284113575,'Personal Visit','safs',1305022375,'17/10/2010',' sdfas','on','open',1286878375,1286878375),(15,10,1286705533,'Personal Visit','test',1305022333,'17/10/2010','test2','on','open',1286878333,1286878333),(6,4,1284150707,'Mail','test',1289424707,'11/10/2010','ares asfs fasd df','off','open',1286656307,1286656307),(7,5,1284151800,'Mail','444',1289425800,'11/10/2010','t sre','off','open',1286657400,1286657400),(8,18,1286713308,'Phone','',1297344108,'14/10/2010','','off','open',1286799708,1286799708),(9,19,1286713381,'Phone','',1297344181,'14/10/2010','','off','open',1286799781,1286799781),(10,20,1286713687,'Mail','',1297344487,'14/10/2010','','off','open',1286800087,1286800087),(11,10,1286713822,'Fax','',1297344622,'14/10/2010','14/10/2010','off','open',1286800222,1286800222),(12,20,0,'Fax','',0,'','','off','open',1286823513,1286823513),(13,20,0,'Fax','',0,'','','off','open',1286826509,1286826509),(14,20,1289422222,'Mail','test',1299790222,'15/10/2010','test 2','on','open',1286826622,1286826622),(17,10,1286878814,'Fax','',1287310814,'10/17/2010','','on','open',1286878814,1286878814),(18,27,1286776316,'Phone','test',1289458316,'11/10/2010','','off','open',1290063116,1290063116),(19,28,1284184359,'Mail','testt',1289458359,'11/10/2010','es','off','open',1290063159,1290063159),(20,32,0,'Fax','',0,'','','off','open',1290577418,1290577418),(21,33,0,'Fax','',0,'','','off','open',1290577462,1290577462),(22,33,0,'Fax','',0,'','','off','open',1290577462,1290577462),(23,33,0,'Fax','',0,'','','off','open',1290577462,1290577462),(24,34,0,'Fax','',0,'','','off','open',1290577545,1290577545),(25,34,0,'Fax','',0,'','','off','open',1290577545,1290577545),(26,34,0,'Fax','',0,'','','off','open',1290577545,1290577545),(27,48,0,'','',0,'','','off','open',1291814667,1291814667),(28,48,2147483647,'Mail','atest',2147483647,'11/12/20101','test','off','open',1291814667,1291814667),(29,49,0,'','',0,'','','off','open',1291814767,1291814767),(30,49,0,'','',0,'','','off','open',1291814767,1291814767),(31,49,1263302767,'Mail','est  rs',1289568367,'11/12/2010','','off','open',1291814767,1291814767),(32,50,1263302931,'Mail','est  rs',1289568531,'11/12/2010','','off','open',1291814931,1291814931),(33,51,1263303063,'Fax','',0,'','','on','open',1291815063,1291815063),(34,51,1263303237,'Fax','',0,'','','on','open',1291815237,1291815237),(35,51,1263303350,'Fax','',0,'','','on','open',1291815350,1291815350),(36,51,1263303359,'Fax','',0,'','','on','open',1291815359,1291815359);

--
-- Table structure for table `bstock_pl_emsitems`
--

CREATE TABLE `bstock_pl_emsitems` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `enquiry_id` int(10) NOT NULL,
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `product_id` int(50) NOT NULL,
  `finestar_price` decimal(10,2) NOT NULL,
  `client_offer_price` decimal(10,2) NOT NULL,
  `discount_percent` decimal(10,0) NOT NULL,
  `discount_amount` decimal(10,0) NOT NULL,
  `remarks` varchar(1000) NOT NULL,
  `shape` enum('ROUND','PRINCESS','PAN','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT','CHOKHI') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY   SLIGHT','PC-2','PC-4','PC-5','M') NOT NULL DEFAULT 'NONE',
  `lab` enum('All Labs','GIA','IGI','HRD','AGS','EGL','IGC') NOT NULL,
  `quantity` int(11) NOT NULL,
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3','M-VVS','L-SI','M-SI','I-SI','L-VVS','M-VS','LB','PK','PK-1','M-VS1','J-VVS','G-SI2','F-SI2','F-SI2','K-PK','J-SI','F-VVS','H-VVS','K-VVS','G-VS','K-SI','PTS','J-VS','K-VS','E-VVS','PC-16','J-SI','I-VVS') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','  U','V','NC','NC-I','NC-M','N-O') NOT NULL,
  `certificate_id` varchar(50) NOT NULL,
  `width` decimal(10,2) NOT NULL,
  `height` decimal(10,2) NOT NULL,
  `measurement` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

--
-- Dumping data for table `bstock_pl_emsitems`
--

INSERT INTO `bstock_pl_emsitems` VALUES (1,1,'1294299399','1294299399',24,0.00,0.00,0,0,'','ROUND',1.50,'NONE','All Labs',0,'ANY','ANY','ANY','IF','D','',0.00,0.00,'','',''),(2,2,'1294299725','1294299725',24,0.00,0.00,0,0,'','ROUND',1.50,'NONE','All Labs',0,'ANY','ANY','ANY','IF','D','',0.00,0.00,'','',''),(3,3,'1294301118','1294301118',14,2200.00,0.00,0,0,'','PRINCESS',0.50,'NONE','All Labs',0,'ANY','ANY','ANY','VS1','D','',0.00,0.00,'','',''),(4,3,'1294301118','1294301118',0,1800.00,1400.00,0,0,'','ROUND',1.00,'NONE','All Labs',0,'ANY','ANY','ANY','VS2','E','',0.00,0.00,'','',''),(5,4,'1294301163','1294301163',14,2200.00,0.00,0,0,'','PRINCESS',0.50,'NONE','All Labs',0,'ANY','ANY','ANY','VS1','D','',0.00,0.00,'','',''),(6,4,'1294301163','1294301163',0,1800.00,1400.00,0,0,'','ROUND',1.00,'NONE','All Labs',0,'ANY','ANY','ANY','VS2','E','',0.00,0.00,'','',''),(7,5,'1294301587','1294301587',14,2200.00,0.00,0,0,'','PRINCESS',0.50,'NONE','All Labs',0,'ANY','ANY','ANY','VS1','D','',0.00,0.00,'','',''),(8,5,'1294301587','1294301587',0,1800.00,1400.00,0,0,'','ROUND',1.00,'NONE','All Labs',0,'ANY','ANY','ANY','VS2','E','',0.00,0.00,'','',''),(9,6,'1294302526','1294302526',14,2200.00,0.00,0,0,'','PRINCESS',0.50,'NONE','All Labs',0,'ANY','ANY','ANY','VS1','D','',0.00,0.00,'','',''),(10,6,'1294302526','1294302526',0,1800.00,1400.00,0,0,'','ROUND',1.00,'NONE','All Labs',0,'ANY','ANY','ANY','VS2','E','',0.00,0.00,'','',''),(11,7,'1294379012','1294379012',24,2250.00,2100.00,0,0,'He will call back ','ROUND',1.50,'NONE','All Labs',0,'ANY','ANY','ANY','IF','D','',0.00,0.00,'','','');

--
-- Table structure for table `bstock_pl_emsstatus`
--

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

--
-- Dumping data for table `bstock_pl_emsstatus`
--


--
-- Table structure for table `bstock_pl_inwardjhgstatustypes`
--

CREATE TABLE `bstock_pl_inwardjhgstatustypes` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `status` varchar(255) NOT NULL,
  `desc` varchar(255) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(11) NOT NULL,
  `modified_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_pl_inwardjhgstatustypes`
--

INSERT INTO `bstock_pl_inwardjhgstatustypes` VALUES (1,'InwardJhangad Created','Jhangad Created','on',0,0),(2,'InwardJhangad Assigned','Jhangad Assigned','on',0,0),(3,'InwardJhangad Assigned Partial','Jhangad Assigned Partial','on',1267005563,1267005563),(4,'InwardJhangad Partially Returned','Jhangad Partially Returned','on',0,0),(5,'InwardJhangad Returned Full','Jhangad Returned Full','on',0,0);

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

CREATE TABLE `bstock_pl_jhangad` (
  `id` int(8) unsigned zerofill NOT NULL AUTO_INCREMENT,
  `jhangad_number` varchar(255) NOT NULL,
  `customer_id` int(10) NOT NULL,
  `broker_id` int(10) NOT NULL,
  `giver_id` int(11) NOT NULL,
  `transaction_date` int(11) NOT NULL,
  `carrier_id` int(10) NOT NULL,
  `tracking_number` varchar(50) NOT NULL,
  `status_id` int(11) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `due_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  `gst` decimal(10,3) NOT NULL,
  `subtotal` decimal(10,2) NOT NULL,
  `net_total` decimal(10,2) NOT NULL,
  `adjustment` decimal(10,2) 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',
  `type_of_jhangad` enum('Memo','Consignment') NOT NULL DEFAULT 'Memo' COMMENT 'Memo means local jhangad, consignment means out of country jhangad.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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


--
-- Table structure for table `bstock_pl_jhangad_inward`
--

CREATE TABLE `bstock_pl_jhangad_inward` (
  `id` int(8) unsigned zerofill NOT NULL AUTO_INCREMENT,
  `jhangad_number` varchar(255) NOT NULL,
  `customer_id` int(10) NOT NULL,
  `purchase_order_id` int(10) NOT NULL COMMENT 'ID of purchase order that is created from this Jhangad.',
  `karigar_id` int(10) NOT NULL,
  `design_id` int(10) NOT NULL,
  `broker_id` int(11) NOT NULL COMMENT 'This will store the id of the broker who has taken the jhangad',
  `giver_id` int(11) NOT NULL,
  `transaction_date` int(11) NOT NULL,
  `carrier_id` int(10) NOT NULL,
  `tracking_number` varchar(50) NOT NULL,
  `status_id` int(11) NOT NULL,
  `is_active` enum('on','off') NOT NULL,
  `created_date` int(10) NOT NULL,
  `due_date` int(10) NOT NULL,
  `modified_date` int(10) NOT NULL,
  `gst` decimal(10,3) NOT NULL,
  `subtotal` decimal(10,2) NOT NULL,
  `net_total` decimal(10,2) NOT NULL,
  `adjustment` decimal(10,2) 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',
  `type_of_jhangad` enum('Memo','Consignment') NOT NULL DEFAULT 'Memo' COMMENT 'Memo means local jhangad, consignment means out of country jhangad.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
