-- Table structure for table `bstock_pl_reportcolumns`
--

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

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

INSERT INTO `bstock_pl_reportcolumns` VALUES (1,1,0,0,'bstock_pl_purchaseorder:tracking_no:PurchaseOrder_Tracking_No:tracking_no:V',0,0),(2,1,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_Contact_Person:contact_person:V',0,0),(3,1,0,3,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_Subtotal:subtotal:V',0,0),(8,1,0,4,'bstock_pl_purchaseorder:net_total:PurchaseOrder_Net_Total:net_total:V',0,0),(9,1,0,2,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_Brokerage:brokerage:V',0,0),(28,7,0,6,'bstock_vendors:vendor_name:PurchaseOrder_Vendor_Name:vendor_name:V',0,0),(26,7,0,4,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276586667,1276586667),(27,7,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276586667,1276586667),(25,7,0,3,'bstock_pl_purchaseorder:exciseduty:PurchaseOrder_exciseduty:exciseduty:I',1276586667,1276586667),(24,7,0,2,'bstock_pl_purchaseorder:octroi:PurchaseOrder_octroi:octroi:I',1276586667,1276586667),(23,7,0,1,'bstock_pl_purchaseorder:packaging:PurchaseOrder_packaging:packaging:I',1276586667,1276586667),(22,7,0,0,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276586667,1276586667),(35,9,0,2,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276590739,1276590739),(34,9,0,1,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276590739,1276590739),(33,9,0,0,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276590739,1276590739),(36,9,0,3,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276590739,1276590739),(37,9,0,4,'bstock_pl_purchaseorder:broker_id:PurchaseOrder_broker_id:broker_id:I',1276590739,1276590739),(38,10,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276591966,1276591966),(39,10,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276591967,1276591967),(40,10,0,2,'bstock_pl_purchaseorder:carrier_id:PurchaseOrder_carrier_id:carrier_id:I',1276591967,1276591967),(41,10,0,3,'bstock_pl_purchaseorder:assigned_to_id:PurchaseOrder_assigned_to_id:assigned_to_id:I',1276591967,1276591967),(42,10,0,4,'bstock_pl_purchaseorder:vendor_id:PurchaseOrder_vendor_id:vendor_id:I',1276591967,1276591967),(43,10,0,5,'bstock_pl_purchaseorder:broker_id:PurchaseOrder_broker_id:broker_id:I',1276591967,1276591967),(44,10,0,6,'bstock_pl_purchaseorder:tracking_no:PurchaseOrder_tracking_no:tracking_no:V',1276591967,1276591967),(45,10,0,7,'bstock_pl_purchaseorder:postatus_id:PurchaseOrder_postatus_id:postatus_id:I',1276591967,1276591967),(46,10,0,8,'bstock_pl_purchaseorder:payment_terms_id:PurchaseOrder_payment_terms_id:payment_terms_id:I',1276591967,1276591967),(47,10,0,9,'bstock_pl_purchaseorder:dollar_rate:PurchaseOrder_dollar_rate:dollar_rate:I',1276591967,1276591967),(48,10,0,10,'bstock_pl_purchaseorder:type_of_tax:PurchaseOrder_type_of_tax:type_of_tax:V',1276591967,1276591967),(49,10,0,11,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276591967,1276591967),(50,10,0,12,'bstock_pl_purchaseorder:packaging:PurchaseOrder_packaging:packaging:I',1276591967,1276591967),(51,10,0,13,'bstock_pl_purchaseorder:octroi:PurchaseOrder_octroi:octroi:I',1276591967,1276591967),(52,10,0,14,'bstock_pl_purchaseorder:exciseduty:PurchaseOrder_exciseduty:exciseduty:I',1276591967,1276591967),(53,10,0,15,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276591967,1276591967),(54,10,0,16,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276591967,1276591967),(55,11,0,0,'bstock_pl_purchaseorder:id:PurchaseOrder_id:id:I',1276593721,1276593721),(56,11,0,1,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276593724,1276593724),(57,11,0,2,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276593726,1276593726),(58,11,0,3,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276593726,1276593726),(59,11,0,4,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276593726,1276593726),(60,11,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276593726,1276593726),(61,12,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276598759,1276598759),(62,12,0,1,'bstock_pl_postatustypes:name:PurchaseOrder_name:name:V',1276598761,1276598761),(63,12,0,2,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276598761,1276598761),(64,12,0,3,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276598761,1276598761),(65,12,0,4,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276598761,1276598761),(66,13,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276608007,1276608007),(67,13,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276608009,1276608009),(68,13,0,2,'bstock_vendors:vendor_name:Vendors_vendor_name:vendor_name:V',1276608011,1276608011),(69,13,0,3,'bstock_pl_postatustypes:name:PurchaseOrder_name:name:V',1276608011,1276608011),(70,13,0,4,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276608014,1276608014),(71,13,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276608014,1276608014),(72,14,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276608489,1276608489),(73,14,0,1,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1276608489,1276608489),(74,14,0,2,'bstock_brokers:broker_name:Brokers_broker_name:broker_name:V',1276608489,1276608489),(75,14,0,3,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1276608489,1276608489),(76,14,0,4,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1276608489,1276608489),(77,14,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1276608489,1276608489),(78,15,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1276684106,1276684106),(79,15,0,1,'bstock_pl_pobilladd:po_bill_firstname:PurchaseOrder_po_bill_firstname:po_bill_firstname:V',1276684108,1276684108),(80,15,0,2,'bstock_pl_pobilladd:po_bill_lastname:PurchaseOrder_po_bill_lastname:po_bill_lastname:V',1276684108,1276684108),(81,15,0,3,'bstock_pl_pobilladd:po_bill_city:PurchaseOrder_po_bill_city:po_bill_city:V',1276684108,1276684108),(82,15,0,4,'bstock_pl_pobilladd:po_bill_state:PurchaseOrder_po_bill_state:po_bill_state:I',1276684108,1276684108),(83,15,0,5,'bstock_pl_pobilladd:po_bill_contry:PurchaseOrder_po_bill_contry:po_bill_contry:I',1276684108,1276684108),(84,15,0,6,'bstock_pl_pobilladd:po_bill_address:PurchaseOrder_po_bill_address:po_bill_address:V',1276684108,1276684108),(85,15,0,7,'bstock_pl_pobilladd:po_bill_postcode:PurchaseOrder_po_bill_postcode:po_bill_postcode:I',1276684108,1276684108),(86,15,0,8,'bstock_pl_pobilladd:phone_number:PurchaseOrder_phone_number:phone_number:V',1276684108,1276684108),(87,15,0,9,'bstock_pl_poshipadd:po_ship_firstname:PurchaseOrder_po_ship_firstname:po_ship_firstname:V',1276684108,1276684108),(88,15,0,10,'bstock_pl_poshipadd:po_ship_lastname:PurchaseOrder_po_ship_lastname:po_ship_lastname:V',1276684108,1276684108),(89,15,0,11,'bstock_pl_poshipadd:po_ship_city:PurchaseOrder_po_ship_city:po_ship_city:V',1276684108,1276684108),(90,15,0,12,'bstock_pl_poshipadd:po_ship_state:PurchaseOrder_po_ship_state:po_ship_state:I',1276684108,1276684108),(91,15,0,13,'bstock_pl_poshipadd:po_ship_contry:PurchaseOrder_po_ship_contry:po_ship_contry:I',1276684108,1276684108),(92,15,0,14,'bstock_pl_poshipadd:po_ship_address:PurchaseOrder_po_ship_address:po_ship_address:V',1276684108,1276684108),(93,15,0,15,'bstock_pl_poshipadd:po_ship_postcode:PurchaseOrder_po_ship_postcode:po_ship_postcode:I',1276684108,1276684108),(94,15,0,16,'bstock_pl_poshipadd:phone_number:PurchaseOrder_phone_number:phone_number:V',1276684108,1276684108),(95,16,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276687488,1276687488),(96,16,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276687488,1276687488),(97,16,0,2,'bstock_brokers:broker_name:Brokers_broker_name:broker_name:V',1276687488,1276687488),(98,16,0,3,'bstock_orders:brokerage:SalesOrder_brokerage:brokerage:I',1276687488,1276687488),(99,16,0,4,'bstock_orders:subtotal:SalesOrder_subtotal:subtotal:V',1276687488,1276687488),(100,16,0,5,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1276687488,1276687488),(101,16,0,6,'bstock_orderstatustypes:name:SalesOrder_Status:name:V',0,0),(102,17,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276691933,1276691933),(103,17,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276691933,1276691933),(104,17,0,2,'bstock_orders:subtotal:SalesOrder_subtotal:subtotal:V',1276691933,1276691933),(105,17,0,3,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1276691933,1276691933),(106,17,0,4,'bstock_orderstatustypes:name:SalesOrder_name:name:V',1276691933,1276691933),(115,18,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276692763,1276692763),(116,18,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276692763,1276692763),(117,18,0,2,'bstock_customers:username:Customers_username:username:V',1276692763,1276692763),(118,18,0,3,'bstock_customers:customer_password:Customers_customer_password:customer_password:V',1276692768,1276692768),(119,18,0,4,'bstock_customers:email:Customers_email:email:V',1276692768,1276692768),(120,18,0,5,'bstock_customers:first_name:Customers_first_name:first_name:V',1276692768,1276692768),(121,18,0,6,'bstock_customers:last_name:Customers_last_name:last_name:V',1276692768,1276692768),(122,18,0,7,'bstock_customers:company_name:Customers_company_name:company_name:V',1276692768,1276692768),(123,18,0,8,'bstock_customers:mobile_number:Customers_mobile_number:mobile_number:V',1276692768,1276692768),(124,19,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276693256,1276693256),(125,19,0,1,'bstock_orderpaymentstaxes:tax_amount:SalesOrder_tax_amount:tax_amount:V',1276693256,1276693256),(126,19,0,2,'bstock_orderpaymentstaxes:tax_id:SalesOrder_tax_id:tax_id:I',1276693256,1276693256),(127,20,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276693459,1276693459),(128,20,0,1,'bstock_taxtypes:name:SalesOrder_name:name:V',1276693459,1276693459),(129,20,0,2,'bstock_orderpaymentstaxes:tax_amount:SalesOrder_tax_amount:tax_amount:V',1276693459,1276693459),(130,21,0,0,'bstock_orders:id:SalesOrder_id:id:I',1276693749,1276693749),(131,21,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276693749,1276693749),(132,21,0,2,'bstock_orderitems:product_id:SalesOrder_product_id:product_id:I',1276693749,1276693749),(133,21,0,3,'bstock_orderitems:quantity:SalesOrder_quantity:quantity:I',1276693749,1276693749),(134,21,0,4,'bstock_orderitems:price:SalesOrder_price:price:V',1276693749,1276693749),(1012,22,0,5,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1285053610,1285053610),(662,47,0,6,'bstock_pl_poitems:listprice:DetailedSalesReports_listprice:listprice:I',1280293802,1280293802),(1229,23,0,6,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1306316963,1306316963),(1228,23,0,5,'bstock_orderstatustypes:status:SalesOrder_status:status:V',1306316963,1306316963),(1227,23,0,4,'bstock_customers:office_phone_number:Customers_office_phone_number:office_phone_number:V',1306316963,1306316963),(1226,23,0,3,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1306316963,1306316963),(318,24,0,7,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1278674856,1278674856),(317,24,0,6,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1278674856,1278674856),(316,24,0,5,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1278674856,1278674856),(315,24,0,4,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_brokerage:brokerage:I',1278674856,1278674856),(314,24,0,3,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V',1278674856,1278674856),(313,24,0,2,'bstock_vendors:last_name:Vendors_last_name:last_name:V',1278674856,1278674856),(311,24,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1278674856,1278674856),(158,25,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1276767496,1276767496),(159,25,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1276767496,1276767496),(160,25,0,2,'bstock_orders:customer_first_name:SalesOrder_customer_first_name:customer_first_name:V',1276767496,1276767496),(161,25,0,3,'bstock_orders:customer_last_name:SalesOrder_customer_last_name:customer_last_name:V',1276767496,1276767496),(162,25,0,4,'bstock_orders:brokerage:SalesOrder_brokerage:brokerage:I',1276767496,1276767496),(163,25,0,5,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1276767496,1276767496),(164,25,0,6,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1276767496,1276767496),(165,25,0,7,'bstock_orderstatustypes:status:SalesOrder_name:status:V',1276767496,1276767496),(166,25,0,8,'bstock_customers:company_name:Customers_company_name:company_name:V',1276767496,1276767496),(167,26,0,0,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V',1276773443,1276773443),(168,26,0,1,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V',1276773443,1276773443),(169,26,0,2,'bstock_customers:company_name:CustomersOrderItems_company_name:company_name:V',1276773444,1276773444),(170,26,0,3,'bstock_customers:mobile_number:CustomersOrderItems_mobile_number:mobile_number:V',1276773445,1276773445),(171,26,0,4,'bstock_orderitems:price:CustomersOrderItems_price:price:V',1276773445,1276773445),(172,26,0,5,'bstock_orderitems:profit_amount:CustomersOrderItems_profit_amount:profit_amount:I',1276773445,1276773445),(173,26,0,6,'bstock_orderitems:profit_percent:CustomersOrderItems_profit_percent:profit_percent:I',1276773445,1276773445),(174,27,0,0,'bstock_orderitems:price:CustomersOrderItems_price:price:V',1276775241,1276775241),(175,27,0,1,'bstock_orderitems:profit_amount:CustomersOrderItems_profit_amount:profit_amount:I',1276775241,1276775241),(176,27,0,2,'bstock_orderitems:profit_percent:CustomersOrderItems_profit_percent:profit_percent:I',1276775241,1276775241),(177,27,0,3,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V',1276775241,1276775241),(178,27,0,4,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V',1276775241,1276775241),(179,27,0,5,'bstock_customers:mobile_number:CustomersOrderItems_mobile_number:mobile_number:V',1276775241,1276775241),(180,28,0,0,'bstock_customers:username:CustomersOrderItems_username:username:V',1276780008,1276780008),(181,28,0,1,'bstock_customers:customer_password:CustomersOrderItems_customer_password:customer_password:V',1276780008,1276780008),(182,28,0,2,'bstock_customers:email:CustomersOrderItems_email:email:V',1276780008,1276780008),(183,28,0,3,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V',1276780008,1276780008),(184,28,0,4,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V',1276780008,1276780008),(185,28,0,5,'bstock_customers:company_name:CustomersOrderItems_company_name:company_name:V',1276780008,1276780008),(186,28,0,6,'bstock_customers:office_phone_number:CustomersOrderItems_office_phone_number:office_phone_number:V',1276780008,1276780008),(204,30,0,0,'bstock_customers:email:BestCustomer_email:email:V',1277189888,1277189888),(205,30,0,1,'bstock_customers:first_name:BestCustomer_first_name:first_name:V',1277189888,1277189888),(246,29,0,2,'bstock_customers:last_name:BestCustomer_last_name:last_name:V',1277299808,1277299808),(245,29,0,1,'bstock_customers:first_name:BestCustomer_first_name:first_name:V',1277299808,1277299808),(244,29,0,0,'bstock_customers:email:BestCustomer_email:email:V',1277299808,1277299808),(206,30,0,2,'bstock_customers:last_name:BestCustomer_last_name:last_name:V',1277189888,1277189888),(207,30,0,3,'bstock_customers:company_name:BestCustomer_company_name:company_name:V',1277189888,1277189888),(208,31,0,0,'bstock_vendors:vendor_name:BestVendor_vendor_name:vendor_name:V',1277199611,1277199611),(209,31,0,1,'bstock_vendors:email:BestVendor_email:email:V',1277199612,1277199612),(213,32,0,1,'bstock_vendors:email:BestVendor_email:email:V',1277202389,1277202389),(212,32,0,0,'bstock_vendors:vendor_name:BestVendor_vendor_name:vendor_name:V',1277202388,1277202388),(235,34,0,1,'bstock_orderitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277294934,1277294934),(234,34,0,0,'bstock_orderitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277294934,1277294934),(233,33,0,1,'bstock_orderitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277292443,1277292443),(232,33,0,0,'bstock_orderitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277292443,1277292443),(236,35,0,0,'bstock_orderitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277295055,1277295055),(237,35,0,1,'bstock_orderitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277295055,1277295055),(241,36,0,1,'bstock_pl_poitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277297631,1277297631),(240,36,0,0,'bstock_pl_poitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277297630,1277297630),(242,37,0,0,'bstock_pl_poitems:broker_id_1:BestBroker_broker_id_1:broker_id_1:I',1277297943,1277297943),(243,37,0,1,'bstock_pl_poitems:broker_id_2:BestBroker_broker_id_2:broker_id_2:I',1277297943,1277297943),(247,29,0,3,'bstock_customers:company_name:BestCustomer_company_name:company_name:V',1277299808,1277299808),(254,39,0,0,'bstock_countries:name:SalesOrder_name:name:V',1277373930,1277373930),(255,40,0,0,'bstock_pl_purchaseorder:id:Ledger_id:id:I',1277803475,1277803475),(1225,23,0,2,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1306316963,1306316963),(312,24,0,1,'bstock_vendors:first_name:Vendors_first_name:first_name:V',1278674856,1278674856),(1011,22,0,4,'bstock_pl_purchaseorder:subtotal:PurchaseOrder_subtotal:subtotal:I',1285053610,1285053610),(1010,22,0,3,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1285053610,1285053610),(1008,22,0,1,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1285053610,1285053610),(509,42,0,0,'trial_balance_entries:particulars:Accounting_particulars:particulars:V',1280208747,1280208747),(1935,41,0,13,'bstock_products:purchase_price_inr:Products_purchase_price_inr:purchase_price_inr:I',1320649790,1320649790),(1934,41,0,12,'bstock_products:piece_price_dollar:Products_piece_price_dollar:piece_price_dollar:I',1320649790,1320649790),(1933,41,0,11,'bstock_products:piece_price_inr:Products_piece_price_inr:piece_price_inr:I',1320649790,1320649790),(510,42,0,1,'trial_balance_entries:debit:Accounting_debit:debit:I',1280208747,1280208747),(511,42,0,2,'trial_balance_entries:credit:Accounting_credit:credit:I',1280208747,1280208747),(512,42,0,3,'trial_balance_entries:created_date:Accounting_created_date:created_date:I',1280208747,1280208747),(529,43,0,7,'bstock_orderitems:profit_percent:DetailedSalesReports_profit_percent:profit_percent:I',1280210777,1280210777),(528,43,0,6,'bstock_orderitems:profit_amount:DetailedSalesReports_profit_amount:profit_amount:I',1280210777,1280210777),(527,43,0,5,'bstock_orderitems:price:DetailedSalesReports_price:price:V',1280210777,1280210777),(526,43,0,4,'bstock_pl_poitems:listprice:DetailedSalesReports_listprice:listprice:I',1280210777,1280210777),(525,43,0,3,'bstock_products:color:DetailedSalesReports_color:color:V',1280210777,1280210777),(524,43,0,2,'bstock_products:size:DetailedSalesReports_size:size:I',1280210777,1280210777),(523,43,0,1,'bstock_products:shape:DetailedSalesReports_shape:shape:V',1280210777,1280210777),(522,43,0,0,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V',1280210777,1280210777),(530,43,0,8,'bstock_customers:company_name:DetailedSalesReports_company_name:company_name:V',1280210777,1280210777),(531,43,0,9,'bstock_customers:email:DetailedSalesReports_email:email:V',1280210777,1280210777),(540,44,0,3,'bstock_products:color:DetailedSalesReports_color:color:V',1280212568,1280212568),(539,44,0,2,'bstock_products:size:DetailedSalesReports_size:size:I',1280212568,1280212568),(538,44,0,1,'bstock_products:shape:DetailedSalesReports_shape:shape:V',1280212568,1280212568),(537,44,0,0,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V',1280212568,1280212568),(541,44,0,4,'bstock_orderitems:price:DetailedSalesReports_price:price:I',1280212568,1280212568),(542,45,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1280213104,1280213104),(543,45,0,1,'bstock_vendors:vendor_name:Vendors_vendor_name:vendor_name:V',1280213104,1280213104),(544,45,0,2,'bstock_products:shape:PurchaseOrder_shape:shape:V',1280213104,1280213104),(545,45,0,3,'bstock_products:size:PurchaseOrder_size:size:I',1280213104,1280213104),(546,45,0,4,'bstock_products:color:PurchaseOrder_color:color:V',1280213104,1280213104),(547,45,0,5,'bstock_pl_poitems:listprice:PurchaseOrder_listprice:listprice:I',1280213104,1280213104),(548,45,0,6,'bstock_pl_poitems:qty:PurchaseOrder_qty:qty:I',1280213104,1280213104),(971,46,0,5,'bstock_products:qty:StockReports_qty:qty:I',1285048636,1285048636),(970,46,0,4,'bstock_products:color:StockReports_color:color:V',1285048636,1285048636),(969,46,0,3,'bstock_products:size:StockReports_size:size:I',1285048636,1285048636),(968,46,0,2,'bstock_products:shape:StockReports_shape:shape:V',1285048636,1285048636),(967,46,0,1,'bstock_pl_purchaseorder:po_number:StockReports_po_number:po_number:V',1285048636,1285048636),(966,46,0,0,'bstock_customers:company_name:StockReports_company_name:company_name:V',1285048636,1285048636),(1009,22,0,2,'bstock_customers:company_name:Customers_company_name:company_name:V',1285053610,1285053610),(1224,23,0,1,'bstock_orders:contact_person:SalesOrder_contact_person:contact_person:V',1306316963,1306316963),(1932,41,0,10,'bstock_products:price:Products_price:price:V',1320649790,1320649790),(1931,41,0,9,'bstock_products:symmetry:Products_symmetry:symmetry:V',1320649790,1320649790),(1223,23,0,0,'bstock_customers:company_name:Customers_company_name:company_name:V',1306316963,1306316963),(661,47,0,5,'bstock_pl_poitems:qty:DetailedSalesReports_qty:qty:I',1280293802,1280293802),(660,47,0,4,'bstock_exporters:exporter_name:DetailedSalesReports_exporter_name:exporter_name:V',1280293802,1280293802),(659,47,0,3,'bstock_products:color:DetailedSalesReports_color:color:V',1280293802,1280293802),(658,47,0,2,'bstock_products:size:DetailedSalesReports_size:size:I',1280293802,1280293802),(657,47,0,1,'bstock_products:shape:DetailedSalesReports_shape:shape:V',1280293802,1280293802),(656,47,0,0,'bstock_vendors:vendor_name:DetailedSalesReports_vendor_name:vendor_name:V',1280293802,1280293802),(663,47,0,7,'bstock_pl_poitems:created_date:DetailedSalesReports_created_date:created_date:I',1280293802,1280293802),(688,48,0,7,'bstock_pl_poitems:listprice:StockReports_listprice:listprice:I',1281116408,1281116408),(689,48,0,8,'bstock_pl_poitems:created_date:StockReports_created_date:created_date:I',1281116408,1281116408),(687,48,0,6,'bstock_pl_poitems:qty:StockReports_qty:qty:I',1281116408,1281116408),(686,48,0,5,'bstock_products:color:StockReports_color:color:V',1281116408,1281116408),(684,48,0,3,'bstock_products:size:StockReports_size:size:I',1281116408,1281116408),(685,48,0,4,'bstock_products:flourescence:StockReports_flourescence:flourescence:I',1281116408,1281116408),(683,48,0,2,'bstock_products:shape:StockReports_shape:shape:V',1281116408,1281116408),(682,48,0,1,'bstock_products:stoneid:StockReports_stoneid:stoneid:V',1281116408,1281116408),(681,48,0,0,'bstock_pl_poitems:po_number_id:StockReports_po_number_id:po_number_id:I',1281116408,1281116408),(1007,22,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1285053610,1285053610),(1930,41,0,8,'bstock_products:polish:Products_polish:polish:V',1320649790,1320649790),(885,49,0,13,'bstock_products:cash_back:Products_cash_back:cash_back:I',1283874192,1283874192),(886,49,0,14,'bstock_products:conversion_rate:Products_conversion_rate:conversion_rate:I',1283874192,1283874192),(887,49,0,15,'bstock_orderstatustypes:status:SalesOrder_status:status:V',1283874192,1283874192),(884,49,0,12,'bstock_products:discount:Products_discount:discount:V',1283874192,1283874192),(881,49,0,9,'bstock_products:flourescence:Products_flourescence:flourescence:I',1283874192,1283874192),(883,49,0,11,'bstock_products:inr_price:Products_inr_price:inr_price:I',1283874192,1283874192),(882,49,0,10,'bstock_products:rap_price:Products_rap_price:rap_price:I',1283874192,1283874192),(880,49,0,8,'bstock_products:clarity:Products_clarity:clarity:V',1283874192,1283874192),(879,49,0,7,'bstock_products:color:Products_color:color:V',1283874192,1283874192),(878,49,0,6,'bstock_products:size:Products_size:size:I',1283874192,1283874192),(877,49,0,5,'bstock_products:shape:Products_shape:shape:V',1283874192,1283874192),(875,49,0,3,'bstock_orderitems:total_in_inr:SalesOrder_total_in_inr:total_in_inr:I',1283874192,1283874192),(876,49,0,4,'bstock_products:purchase_price_inr:Products_purchase_price_inr:purchase_price_inr:I',1283874192,1283874192),(874,49,0,2,'bstock_orders:balance:SalesOrder_balance:balance:I',1283874192,1283874192),(873,49,0,1,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1283874192,1283874192),(872,49,0,0,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1283874192,1283874192),(941,50,0,15,'bstock_products:conversion_rate:PurchaseOrder_conversion_rate:conversion_rate:I',1283892330,1283892330),(940,50,0,14,'bstock_products:cash_back:PurchaseOrder_cash_back:cash_back:I',1283892330,1283892330),(939,50,0,13,'bstock_products:discount:PurchaseOrder_discount:discount:V',1283892330,1283892330),(938,50,0,12,'bstock_products:inr_price:PurchaseOrder_inr_price:inr_price:I',1283892330,1283892330),(937,50,0,11,'bstock_products:price:PurchaseOrder_price:price:I',1283892330,1283892330),(935,50,0,9,'bstock_products:clarity:PurchaseOrder_clarity:clarity:V',1283892330,1283892330),(936,50,0,10,'bstock_products:flourescence:PurchaseOrder_flourescence:flourescence:I',1283892330,1283892330),(934,50,0,8,'bstock_products:color:PurchaseOrder_color:color:V',1283892330,1283892330),(932,50,0,6,'bstock_products:shape:PurchaseOrder_shape:shape:V',1283892330,1283892330),(933,50,0,7,'bstock_products:size:PurchaseOrder_size:size:I',1283892330,1283892330),(931,50,0,5,'bstock_products:purchase_price_dollar:Products_purchase_price_dollar:purchase_price_dollar:I',1283892330,1283892330),(930,50,0,4,'bstock_products:purchase_price_inr:PurchaseOrder_purchase_price_inr:purchase_price_inr:I',1283892330,1283892330),(904,51,0,0,'bstock_brokers:broker_name:BestBroker_broker_name:broker_name:V',1283892221,1283892221),(905,51,0,1,'bstock_orderitems:order_id:BestBroker_order_id:order_id:I',1283892221,1283892221),(906,51,0,2,'bstock_orderitems:product_id:BestBroker_product_id:product_id:I',1283892221,1283892221),(907,51,0,3,'bstock_orderitems:brokerage_1:BestBroker_brokerage_1:brokerage_1:I',1283892221,1283892221),(908,51,0,4,'bstock_orderitems:brokerage_1_amt_inr:BestBroker_brokerage_1_amt_inr:brokerage_1_amt_inr:I',1283892221,1283892221),(929,50,0,3,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1283892330,1283892330),(928,50,0,2,'bstock_pl_purchaseorder:balance:PurchaseOrder_balance:balance:I',1283892330,1283892330),(927,50,0,1,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1283892330,1283892330),(926,50,0,0,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1283892330,1283892330),(942,50,0,16,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1283892330,1283892330),(943,52,0,0,'bstock_pl_purchaseorder:id:Ledger_id:id:I',1283895447,1283895447),(955,53,0,3,'bstock_karigar:karigar_name:KarigarReports_karigar_name:karigar_name:V',1283898236,1283898236),(954,53,0,2,'bstock_jwl_labour_info:balance:KarigarReports_balance:balance:I',1283898236,1283898236),(952,53,0,0,'bstock_orders:so_number:KarigarReports_so_number:so_number:V',1283898236,1283898236),(953,53,0,1,'bstock_jwl_labour_info:price:KarigarReports_price:price:V',1283898236,1283898236),(956,53,0,4,'bstock_jwl_labour_info:status:KarigarReports_status:status:V',1283898236,1283898236),(1106,54,0,4,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1294057547,1294057547),(1105,54,0,3,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1294057547,1294057547),(1104,54,0,2,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1294057547,1294057547),(972,46,0,6,'bstock_pl_poitems:listprice:StockReports_listprice:listprice:I',1285048636,1285048636),(1103,54,0,1,'bstock_pl_purchaseorder:transaction_date:PurchaseOrder_transaction_date:transaction_date:I',1294057547,1294057547),(1102,54,0,0,'bstock_pl_purchaseorder:id:PurchaseOrder_id:id:I',1294057547,1294057547),(1100,55,0,4,'bstock_orders:transaction_date:SalesOrder_transaction_date:transaction_date:I',1294044165,1294044165),(1099,55,0,3,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1294044165,1294044165),(1098,55,0,2,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1294044165,1294044165),(1097,55,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1294044165,1294044165),(1096,55,0,0,'bstock_orders:id:SalesOrder_id:id:I',1294044165,1294044165),(1050,56,0,3,'bstock_karigar_metal_info:date_given_timestamp:KarigarReports_date_given_timestamp:date_given_timestamp:I',1285678547,1285678547),(1047,56,0,0,'bstock_karigar_metal_info:id:KarigarReports_id:id:I',1285678547,1285678547),(1048,56,0,1,'bstock_karigar_metal_info:karigar_id:KarigarReports_karigar_id:karigar_id:I',1285678547,1285678547),(1049,56,0,2,'bstock_karigar_metal_info:metal_weight:KarigarReports_metal_weight:metal_weight:I',1285678547,1285678547),(1929,41,0,7,'bstock_products:cut:Products_cut:cut:V',1320649790,1320649790),(1928,41,0,6,'bstock_products:lab:Products_lab:lab:V',1320649790,1320649790),(1927,41,0,5,'bstock_products:flourescence:Products_flourescence:flourescence:I',1320649790,1320649790),(1926,41,0,4,'bstock_products:clarity:Products_clarity:clarity:V',1320649790,1320649790),(1506,57,0,7,'bstock_pl_purchaseorder:net_total_usd:PurchaseOrder_net_total_usd:net_total_usd:I',1306404640,1306404640),(1507,57,0,8,'bstock_pl_purchaseorder:dollar_rate:PurchaseOrder_dollar_rate:dollar_rate:I',1306404640,1306404640),(1503,57,0,4,'bstock_pl_purchaseorder:balance:PurchaseOrder_balance:balance:I',1306404640,1306404640),(1504,57,0,5,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1306404640,1306404640),(1505,57,0,6,'bstock_pl_purchaseorder:vendor_id:PurchaseOrder_vendor_id:vendor_id:I',1306404640,1306404640),(1679,58,0,3,'bstock_orders:balance:SalesOrder_balance:balance:I',1306470982,1306470982),(1680,58,0,4,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1306470982,1306470982),(1681,58,0,5,'bstock_orders:transaction_date:SalesOrder_transaction_date:transaction_date:I',1306470982,1306470982),(1682,58,0,6,'bstock_orders:customer_id:SalesOrder_customer_id:customer_id:I',1306470982,1306470982),(1101,55,0,5,'bstock_orders:balance:SalesOrder_balance:balance:I',1294044165,1294044165),(1107,54,0,5,'bstock_pl_purchaseorder:balance:PurchaseOrder_balance:balance:I',1294057547,1294057547),(1686,58,0,10,'bstock_brokers:broker_name:Brokers_broker_name:broker_name:V',1306470982,1306470982),(1685,58,0,9,'bstock_orderstatustypes:status:SalesOrder_status:status:V',1306470982,1306470982),(1744,59,0,4,'bstock_pl_jhangad:due_date:Approval_due_date:due_date:I',1306746624,1306746624),(1745,59,0,5,'bstock_pl_jhangad:transaction_date:Approval_transaction_date:transaction_date:I',1306746624,1306746624),(1741,59,0,1,'bstock_pl_jhangad:jhangad_number:Approval_jhangad_number:jhangad_number:V',1306746624,1306746624),(1742,59,0,2,'bstock_pl_jhangad:customer_id:Approval_customer_id:customer_id:I',1306746624,1306746624),(2083,60,0,8,'bstock_pl_dailycashentries:closing_balance:CashBookReports_closing_balance:closing_balance:I',1321433215,1321433215),(2084,60,0,9,'bstock_pl_dailycashentries:payment_mode:CashBookReports_payment_mode:payment_mode:V',1321433215,1321433215),(2085,60,0,10,'bstock_pl_dailycashentries:id:CashBookReports_id:id:I',1321433215,1321433215),(2082,60,0,7,'bstock_pl_dailycashentries:amount:CashBookReports_amount:amount:I',1321433215,1321433215),(2081,60,0,6,'bstock_pl_dailycashentries:entry_type:CashBookReports_entry_type:entry_type:V',1321433215,1321433215),(2175,61,0,6,'bstock_orders:brokerage_total:SalesOrder_brokerage_total:brokerage_total:I',1321531402,1321531402),(2174,61,0,5,'bstock_orders:brokerage_amount_value:SalesOrder_brokerage_amount_value:brokerage_amount_value:I',1321531402,1321531402),(2173,61,0,4,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1321531402,1321531402),(2172,61,0,3,'bstock_orders:brokerage_balance:SalesOrder_brokerage_balance:brokerage_balance:I',1321531402,1321531402),(2195,62,0,16,'bstock_orderitems:percent_back:ProfitLossReports_percent_back:percent_back:I',1321531535,1321531535),(2194,62,0,15,'bstock_pl_poitems:partner_id:ProfitLossReports_partner_id:partner_id:I',1321531535,1321531535),(2193,62,0,14,'bstock_pl_purchaseorder:vendor_id:ProfitLossReports_vendor_id:vendor_id:I',1321531535,1321531535),(2192,62,0,13,'bstock_pl_poitems:po_number_id:ProfitLossReports_po_number_id:po_number_id:I',1321531535,1321531535),(2191,62,0,12,'bstock_orders:dollar_rate:ProfitLossReports_dollar_rate:dollar_rate:I',1321531535,1321531535),(2190,62,0,11,'bstock_products:purchase_price_inr:ProfitLossReports_purchase_price_inr:purchase_price_inr:I',1321531535,1321531535),(2189,62,0,10,'bstock_products:purchase_price_dollar:ProfitLossReports_purchase_price_dollar:purchase_price_dollar:I',1321531535,1321531535),(2188,62,0,9,'bstock_orderitems:size:ProfitLossReports_size:size:I',1321531535,1321531535),(2187,62,0,8,'bstock_orders:brokerage_total:ProfitLossReports_brokerage_total:brokerage_total:I',1321531535,1321531535),(2186,62,0,7,'bstock_orders:customer_id:ProfitLossReports_customer_id:customer_id:I',1321531535,1321531535),(1683,58,0,7,'bstock_orders:delivery_status_id:SalesOrder_delivery_status_id:delivery_status_id:I',1306470982,1306470982),(1684,58,0,8,'bstock_orders:net_total_usd:SalesOrder_net_total_usd:net_total_usd:I',1306470982,1306470982),(1501,57,0,2,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1306404640,1306404640),(1743,59,0,3,'bstock_pl_jhangad:net_total:Approval_net_total:net_total:I',1306746624,1306746624),(1832,63,0,8,'bstock_pl_purchaseorder:dollar_rate:PurchaseOrder_dollar_rate:dollar_rate:I',1309776381,1309776381),(1831,63,0,7,'bstock_pl_purchaseorder:vendor_id:PurchaseOrder_vendor_id:vendor_id:I',1309776381,1309776381),(1830,63,0,6,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1309776381,1309776381),(1829,63,0,5,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1309776381,1309776381),(1828,63,0,4,'bstock_pl_purchaseorder:balance:PurchaseOrder_balance:balance:I',1309776381,1309776381),(1869,64,0,9,'bstock_orderstatustypes:status:SalesOrder_status:status:V',1320066903,1320066903),(1868,64,0,8,'bstock_orders:net_total_usd:SalesOrder_net_total_usd:net_total_usd:I',1320066903,1320066903),(1732,65,0,0,'bstock_pl_jhangad:id:Approval_id:id:I',1306746599,1306746599),(1733,65,0,1,'bstock_pl_jhangad:jhangad_number:Approval_jhangad_number:jhangad_number:V',1306746599,1306746599),(1734,65,0,2,'bstock_pl_jhangad:customer_id:Approval_customer_id:customer_id:I',1306746599,1306746599),(1735,65,0,3,'bstock_pl_jhangad:net_total:Approval_net_total:net_total:I',1306746599,1306746599),(1736,65,0,4,'bstock_pl_jhangad:due_date:Approval_due_date:due_date:I',1306746599,1306746599),(1737,65,0,5,'bstock_pl_jhangad:transaction_date:Approval_transaction_date:transaction_date:I',1306746599,1306746599),(1738,65,0,6,'bstock_pl_jhangad:status_id:Approval_status_id:status_id:I',1306746599,1306746599),(1746,59,0,6,'bstock_pl_jhangad:status_id:Approval_status_id:status_id:I',1306746624,1306746624),(1740,59,0,0,'bstock_pl_jhangad:id:Approval_id:id:I',1306746624,1306746624),(1739,65,0,7,'bstock_pl_jhangad:broker_id:Approval_broker_id:broker_id:I',1306746599,1306746599),(1867,64,0,7,'bstock_orders:delivery_status_id:SalesOrder_delivery_status_id:delivery_status_id:I',1320066903,1320066903),(1827,63,0,3,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1309776381,1309776381),(1826,63,0,2,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1309776381,1309776381),(1502,57,0,3,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1306404640,1306404640),(1499,57,0,0,'bstock_pl_purchaseorder:id:PurchaseOrder_id:id:I',1306404640,1306404640),(1500,57,0,1,'bstock_pl_purchaseorder:transaction_date:PurchaseOrder_transaction_date:transaction_date:I',1306404640,1306404640),(1866,64,0,6,'bstock_orders:transaction_date:SalesOrder_transaction_date:transaction_date:I',1320066903,1320066903),(2171,61,0,2,'bstock_orders:transaction_date:SalesOrder_transaction_date:transaction_date:I',1321531402,1321531402),(2170,61,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1321531402,1321531402),(1825,63,0,1,'bstock_pl_purchaseorder:transaction_date:PurchaseOrder_transaction_date:transaction_date:I',1309776381,1309776381),(1824,63,0,0,'bstock_pl_purchaseorder:id:PurchaseOrder_id:id:I',1309776381,1309776381),(1508,57,0,9,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V',1306404640,1306404640),(2185,62,0,6,'bstock_orders:broker_id:ProfitLossReports_broker_id:broker_id:I',1321531535,1321531535),(2184,62,0,5,'bstock_orders:transaction_date:ProfitLossReports_transaction_date:transaction_date:I',1321531535,1321531535),(1865,64,0,5,'bstock_orders:due_date:SalesOrder_due_date:due_date:I',1320066903,1320066903),(1678,58,0,2,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1306470982,1306470982),(1676,58,0,0,'bstock_orders:id:SalesOrder_id:id:I',1306470982,1306470982),(1677,58,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1306470982,1306470982),(1687,58,0,11,'bstock_orders:dollar_rate:SalesOrder_dollar_rate:dollar_rate:I',1306470982,1306470982),(1864,64,0,4,'bstock_orders:balance:SalesOrder_balance:balance:I',1320066903,1320066903),(1863,64,0,3,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1320066903,1320066903),(2183,62,0,4,'bstock_orderitems:total_in_inr:ProfitLossReports_total_in_inr:total_in_inr:I',1321531535,1321531535),(2182,62,0,3,'bstock_orderitems:total_in_dollar:ProfitLossReports_total_in_dollar:total_in_dollar:I',1321531535,1321531535),(2181,62,0,2,'bstock_orderitems:invoice_note:ProfitLossReports_invoice_note:invoice_note:V',1321531535,1321531535),(2179,62,0,0,'bstock_orderitems:id:ProfitLossReports_id:id:I',1321531535,1321531535),(2180,62,0,1,'bstock_orderitems:product_id:ProfitLossReports_product_id:product_id:I',1321531535,1321531535),(1747,59,0,7,'bstock_pl_jhangad:broker_id:Approval_broker_id:broker_id:I',1306746624,1306746624),(2080,60,0,5,'bstock_pl_dailycashentries:remarks:CashBookReports_remarks:remarks:V',1321433215,1321433215),(2079,60,0,4,'bstock_bank:account_number:CashBookReports_account_number:account_number:V',1321433215,1321433215),(2077,60,0,2,'bstock_angadia:account_name:CashBookReports_account_name:account_name:V',1321433215,1321433215),(2078,60,0,3,'bstock_bank:bank_name:CashBookReports_bank_name:bank_name:V',1321433215,1321433215),(2076,60,0,1,'bstock_customers:company_name:CashBookReports_company_name:company_name:V',1321433215,1321433215),(1862,64,0,2,'bstock_orders:customer_id:SalesOrder_customer_id:customer_id:I',1320066903,1320066903),(1860,64,0,0,'bstock_orders:id:SalesOrder_id:id:I',1320066903,1320066903),(1861,64,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1320066903,1320066903),(1833,63,0,9,'bstock_pl_purchaseorder:net_total_usd:PurchaseOrder_net_total_usd:net_total_usd:I',1309776381,1309776381),(1834,63,0,10,'bstock_pl_purchaseorder:postatus_id:PurchaseOrder_postatus_id:postatus_id:I',1309776381,1309776381),(1835,63,0,11,'bstock_pl_purchaseorder:transaction_type_id:PurchaseOrder_transaction_type_id:transaction_type_id:I',1309776381,1309776381),(2169,61,0,0,'bstock_orders:id:SalesOrder_id:id:I',1321531402,1321531402),(1925,41,0,3,'bstock_products:size:Products_size:size:I',1320649790,1320649790),(1870,64,0,10,'bstock_orders:dollar_rate:SalesOrder_dollar_rate:dollar_rate:I',1320066903,1320066903),(1871,64,0,11,'bstock_brokers:broker_name:SalesOrder_broker_name:broker_name:V',1320066903,1320066903),(1872,64,0,12,'bstock_orders:transaction_type_id:SalesOrder_transaction_type_id:transaction_type_id:I',1320066903,1320066903),(1873,64,0,13,'bstock_orders:broker_id:SalesOrder_broker_id:broker_id:I',1320066903,1320066903),(2016,66,0,5,'partners_involved:id:PartnerReports_id:id:I',1321427847,1321427847),(2013,66,0,2,'partnership_details:name:PartnerReports_name:name:V',1321427847,1321427847),(2014,66,0,3,'bstock_partners:first_name:PartnerReports_first_name:first_name:V',1321427847,1321427847),(2015,66,0,4,'partners_involved:pending_partnership_due:PartnerReports_pending_partnership_due:pending_partnership_due:I',1321427847,1321427847),(2011,66,0,0,'partners_involved:partnership_id:PartnerReports_partnership_id:partnership_id:I',1321427847,1321427847),(2012,66,0,1,'partners_involved:partner_id:PartnerReports_partner_id:partner_id:I',1321427847,1321427847),(1897,67,0,0,'partners_involved:partnership_id:PartnerReports_partnership_id:partnership_id:I',1320489025,1320489025),(1898,67,0,1,'partners_involved:partner_id:PartnerReports_partner_id:partner_id:I',1320489025,1320489025),(1899,67,0,2,'partners_involved:id:PartnerReports_id:id:I',1320489025,1320489025),(1900,68,0,0,'bstock_partners:id:PartnerReports_id:id:I',1320647448,1320647448),(1901,68,0,1,'bstock_partners:company_name:PartnerReports_company_name:company_name:V',1320647448,1320647448),(1902,68,0,2,'bstock_partners:first_name:PartnerReports_first_name:first_name:V',1320647448,1320647448),(1903,68,0,3,'bstock_partners:last_name:PartnerReports_last_name:last_name:V',1320647448,1320647448),(1904,68,0,4,'bstock_partners:profit_balance:PartnerReports_profit_balance:profit_balance:I',1320647448,1320647448),(1905,68,0,5,'bstock_partners:total_profit:PartnerReports_total_profit:total_profit:I',1320647448,1320647448),(1923,41,0,1,'bstock_products:color:Products_color:color:V',1320649790,1320649790),(1924,41,0,2,'bstock_products:shape:Products_shape:shape:V',1320649790,1320649790),(1922,41,0,0,'bstock_products:stoneid:Products_stoneid:stoneid:V',1320649790,1320649790),(1936,41,0,14,'bstock_products:purchase_price_dollar:Products_purchase_price_dollar:purchase_price_dollar:I',1320649790,1320649790),(1937,41,0,15,'bstock_products:status:Products_status:status:V',1320649790,1320649790),(1943,69,0,0,'bstock_products:id:Products_id:id:I',1320664725,1320664725),(1944,69,0,1,'bstock_products:status:Products_status:status:V',1320664725,1320664725),(1945,69,0,2,'bstock_products:trading_account:Products_trading_account:trading_account:V',1320664725,1320664725),(2075,60,0,0,'bstock_pl_dailycashentries:date_timestamp:CashBookReports_date_timestamp:date_timestamp:I',1321433215,1321433215),(2225,70,0,12,'bstock_pl_purchaseorder:vendor_id:PurchaseOrder_vendor_id:vendor_id:I',1321617111,1321617111),(2221,70,0,8,'bstock_pl_purchaseorder:dollar_accuont_postatus_id:PurchaseOrder_dollar_accuont_postatus_id:dollar_accuont_postatus_id:I',1321617111,1321617111),(2222,70,0,9,'bstock_pl_purchaseorder:dollar_rate:PurchaseOrder_dollar_rate:dollar_rate:I',1321617111,1321617111),(2224,70,0,11,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I',1321617111,1321617111),(2223,70,0,10,'bstock_pl_purchaseorder:payment_terms_id:PurchaseOrder_payment_terms_id:payment_terms_id:I',1321617111,1321617111),(2219,70,0,6,'bstock_pl_purchaseorder:dollar_balance:PurchaseOrder_dollar_balance:dollar_balance:I',1321617111,1321617111),(2220,70,0,7,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I',1321617111,1321617111),(2218,70,0,5,'bstock_pl_purchaseorder:net_total_usd:PurchaseOrder_net_total_usd:net_total_usd:I',1321617111,1321617111),(2217,70,0,4,'bstock_pl_purchaseorder:broker_id:PurchaseOrder_broker_id:broker_id:I',1321617111,1321617111),(2216,70,0,3,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V',1321617111,1321617111),(2215,70,0,2,'bstock_pl_purchaseorder:transaction_date:PurchaseOrder_transaction_date:transaction_date:I',1321617111,1321617111),(2214,70,0,1,'bstock_pl_purchaseorder:id:PurchaseOrder_id:id:I',1321617111,1321617111),(2213,70,0,0,'bstock_pl_purchaseorder:dollar_account_party_id:PurchaseOrder_dollar_account_party_id:dollar_account_party_id:I',1321617111,1321617111),(2086,60,0,11,'bstock_pl_dailycashentries:party_id:CashBookReports_party_id:party_id:I',1321433215,1321433215),(2087,60,0,12,'bstock_pl_dailycashentries:party_type:CashBookReports_party_type:party_type:V',1321433215,1321433215),(2088,60,0,13,'bstock_pl_dailycashentries:payment_type:CashBookReports_payment_type:payment_type:V',1321433215,1321433215),(2163,71,0,12,'bstock_pl_purchaseorder:brokerage_amount_value:ProfitLossReports_brokerage_amount_value:brokerage_amount_value:I',1321514401,1321514401),(2164,71,0,13,'bstock_pl_purchaseorder:broker_id:ProfitLossReports_broker_id:broker_id:I',1321514401,1321514401),(2162,71,0,11,'bstock_pl_purchaseorder:vendor_id:ProfitLossReports_vendor_id:vendor_id:I',1321514401,1321514401),(2161,71,0,10,'bstock_pl_purchaseorder:payment_terms_id:ProfitLossReports_payment_terms_id:payment_terms_id:I',1321514401,1321514401),(2153,71,0,2,'bstock_pl_purchaseorder:po_number:ProfitLossReports_po_number:po_number:V',1321514401,1321514401),(2154,71,0,3,'bstock_pl_purchaseorder:net_total:ProfitLossReports_net_total:net_total:I',1321514401,1321514401),(2155,71,0,4,'bstock_pl_purchaseorder:subtotal_usd:ProfitLossReports_subtotal_usd:subtotal_usd:I',1321514401,1321514401),(2156,71,0,5,'bstock_pl_purchaseorder:net_total_usd:ProfitLossReports_net_total_usd:net_total_usd:I',1321514401,1321514401),(2157,71,0,6,'bstock_pl_purchaseorder:balance:ProfitLossReports_balance:balance:I',1321514401,1321514401),(2160,71,0,9,'bstock_pl_purchaseorder:dollar_rate:ProfitLossReports_dollar_rate:dollar_rate:I',1321514401,1321514401),(2159,71,0,8,'bstock_pl_purchaseorder:postatus_id:ProfitLossReports_postatus_id:postatus_id:I',1321514401,1321514401),(2158,71,0,7,'bstock_pl_purchaseorder:due_date:ProfitLossReports_due_date:due_date:I',1321514401,1321514401),(2151,71,0,0,'bstock_pl_purchaseorder:id:ProfitLossReports_id:id:I',1321514401,1321514401),(2152,71,0,1,'bstock_pl_purchaseorder:transaction_date:ProfitLossReports_transaction_date:transaction_date:I',1321514401,1321514401),(2168,72,0,3,'bstock_systemusers:user_name:SalesOrder_user_name:user_name:V',1321515042,1321515042),(2167,72,0,2,'bstock_orders:net_total:SalesOrder_net_total:net_total:I',1321515042,1321515042),(2166,72,0,1,'bstock_orders:so_number:SalesOrder_so_number:so_number:V',1321515042,1321515042),(2165,72,0,0,'bstock_orders:transaction_date:SalesOrder_transaction_date:transaction_date:I',1321515042,1321515042),(2176,61,0,7,'bstock_orders:broker_id:SalesOrder_broker_id:broker_id:I',1321531402,1321531402),(2177,61,0,8,'bstock_orders:customer_id:SalesOrder_customer_id:customer_id:I',1321531402,1321531402),(2178,61,0,9,'bstock_orders:dollar_rate:SalesOrder_dollar_rate:dollar_rate:I',1321531402,1321531402),(2196,62,0,17,'bstock_orderitems:aadat:ProfitLossReports_aadat:aadat:I',1321531535,1321531535),(2197,62,0,18,'bstock_orderitems:cash_back:ProfitLossReports_cash_back:cash_back:I',1321531535,1321531535),(2198,62,0,19,'bstock_orderitems:carat_selling_price_usd:ProfitLossReports_carat_selling_price_usd:carat_selling_price_usd:I',1321531535,1321531535),(2199,62,0,20,'bstock_orderitems:carat_selling_price:ProfitLossReports_carat_selling_price:carat_selling_price:I',1321531535,1321531535),(2200,62,0,21,'bstock_orders:brokerage_amount_value:ProfitLossReports_brokerage_amount_value:brokerage_amount_value:I',1321531535,1321531535),(2226,73,0,0,'bstock_karigar:karigar_name:KarigarReports_karigar_name:karigar_name:V',1321620455,1321620455),(2227,73,0,1,'bstock_products:stoneid:KarigarReports_stoneid:stoneid:V',1321620455,1321620455),(2228,73,0,2,'bstock_pl_product_karigar_mapping:labour_total:KarigarReports_labour_total:labour_total:I',1321620455,1321620455),(2229,73,0,3,'bstock_pl_product_karigar_mapping:labour_balance:KarigarReports_labour_balance:labour_balance:I',1321620455,1321620455),(2230,73,0,4,'bstock_karigarlabourstatustypes:status:KarigarReports_status:status:V',1321620455,1321620455);

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

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

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

INSERT INTO `bstock_pl_reportdatefilter` VALUES (1,1,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_Created_Date','thisfy','2010-01-01','2010-12-31',0,0),(4,7,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276586668,1276586668),(6,9,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276590739,1276590739),(7,10,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276591967,1276591967),(8,11,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276593741,1276593741),(9,12,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276598765,1276598765),(10,13,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276608023,1276608023),(11,14,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276608490,1276608490),(12,15,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1276684109,1276684109),(13,16,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276687488,1276687488),(14,17,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276691934,1276691934),(15,18,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276692773,1276692773),(16,19,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276693256,1276693256),(17,20,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276693459,1276693459),(18,21,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276693750,1276693750),(131,22,'bstock_pl_purchaseorder:due_date:due_date:PurchaseOrder_due_date','custom','2010-01-01','2010-12-31',1285053610,1285053610),(159,23,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1306316963,1306316963),(61,24,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1278674856,1278674856),(22,25,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1276767496,1276767496),(23,26,'bstock_customers:created_date:created_date:CustomersOrderItems_created_date','custom','0000-00-00','0000-00-00',1276773450,1276773450),(24,27,'bstock_customers:created_date:created_date:CustomersOrderItems_created_date','custom','0000-00-00','0000-00-00',1276775241,1276775241),(25,28,'bstock_customers:created_date:created_date:CustomersOrderItems_created_date','custom','0000-00-00','0000-00-00',1276780009,1276780009),(48,29,'Not Accessible','','0000-00-00','0000-00-00',1277299809,1277299809),(51,38,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1277302290,1277302290),(32,30,'bstock_customers:created_date:created_date:BestCustomer_created_date','custom','0000-00-00','0000-00-00',1277189889,1277189889),(33,31,'bstock_vendors:created_date:created_date:BestVendor_created_date','custom','0000-00-00','0000-00-00',1277199613,1277199613),(35,32,'bstock_vendors:created_date:created_date:BestVendor_created_date','custom','0000-00-00','0000-00-00',1277202389,1277202389),(42,33,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277292444,1277292444),(43,34,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277294934,1277294934),(44,35,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277295055,1277295055),(46,36,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277297631,1277297631),(47,37,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1277297943,1277297943),(52,39,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1277373932,1277373932),(53,40,'bstock_pl_purchaseorder:created_date:created_date:Ledger_created_date','custom','0000-00-00','0000-00-00',1277803475,1277803475),(232,41,'bstock_products:created_date:created_date:Products_created_date','custom','0000-00-00','0000-00-00',1320649790,1320649790),(78,42,'trial_balance_entries:created_date:created_date:Accounting_created_date','custom','0000-00-00','0000-00-00',1280208747,1280208747),(80,43,'bstock_orderitems:created_date:created_date:DetailedSalesReports_created_date','custom','0000-00-00','0000-00-00',1280210777,1280210777),(82,44,'bstock_orderitems:created_date:created_date:DetailedSalesReports_created_date','custom','0000-00-00','0000-00-00',1280212568,1280212568),(83,45,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1280213104,1280213104),(127,46,'bstock_pl_poitems:created_date:created_date:StockReports_created_date','custom','0000-00-00','0000-00-00',1285048636,1285048636),(97,47,'Not Accessible','','0000-00-00','0000-00-00',1280293802,1280293802),(100,48,'bstock_pl_poitems:created_date:created_date:StockReports_created_date','thisfy','2010-01-01','2010-12-31',1281116408,1281116408),(117,49,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1283874192,1283874192),(121,50,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1283892330,1283892330),(119,51,'bstock_brokers:created_date:created_date:BestBroker_created_date','custom','0000-00-00','0000-00-00',1283892221,1283892221),(122,52,'bstock_pl_purchaseorder:created_date:created_date:Ledger_created_date','custom','0000-00-00','0000-00-00',1283895447,1283895447),(125,53,'bstock_jwl_labour_info:created_date:created_date:KarigarReports_created_date','custom','0000-00-00','0000-00-00',1283898236,1283898236),(145,54,'bstock_pl_purchaseorder:created_date:created_date:PurchaseOrder_created_date','custom','0000-00-00','0000-00-00',1294057547,1294057547),(144,55,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1294044165,1294044165),(139,56,'bstock_jwl_labour_info:created_date:created_date:KarigarReports_created_date','custom','0000-00-00','0000-00-00',1285678547,1285678547),(194,57,'bstock_pl_purchaseorder:transaction_date:transaction_date:PurchaseOrder_transaction_date','custom','0000-00-00','0000-00-00',1306404640,1306404640),(208,58,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1306470982,1306470982),(213,59,'bstock_pl_jhangad:transaction_date:transaction_date:Approval_transaction_date','custom','0000-00-00','0000-00-00',1306746624,1306746624),(250,60,'Not Accessible','','0000-00-00','0000-00-00',1321433215,1321433215),(260,61,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1321531402,1321531402),(261,62,'bstock_orderitems:created_date:created_date:ProfitLossReports_created_date','custom','0000-00-00','0000-00-00',1321531535,1321531535),(221,63,'bstock_pl_purchaseorder:transaction_date:transaction_date:PurchaseOrder_transaction_date','custom','0000-00-00','0000-00-00',1309776381,1309776381),(224,64,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1320066903,1320066903),(212,65,'bstock_pl_jhangad:transaction_date:transaction_date:Approval_transaction_date','custom','0000-00-00','0000-00-00',1306746599,1306746599),(244,66,'partners_involved:created_date:created_date:PartnerReports_created_date','custom','0000-00-00','0000-00-00',1321427847,1321427847),(229,67,'partners_involved:created_date:created_date:PartnerReports_created_date','custom','0000-00-00','0000-00-00',1320489025,1320489025),(230,68,'partners_involved:created_date:created_date:PartnerReports_created_date','custom','0000-00-00','0000-00-00',1320647448,1320647448),(236,69,'partners_involved:created_date:created_date:PartnerReports_created_date','custom','0000-00-00','0000-00-00',1320664725,1320664725),(263,70,'bstock_pl_purchaseorder:transaction_date:transaction_date:PurchaseOrder_transaction_date','custom','0000-00-00','0000-00-00',1321617111,1321617111),(258,71,'bstock_orderitems:created_date:created_date:ProfitLossReports_created_date','custom','0000-00-00','0000-00-00',1321514401,1321514401),(259,72,'bstock_orders:due_date:due_date:SalesOrder_due_date','custom','0000-00-00','0000-00-00',1321515042,1321515042),(264,73,'bstock_pl_product_karigar_mapping:created_date:created_date:KarigarReports_created_date','custom','0000-00-00','0000-00-00',1321620455,1321620455);

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

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

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

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

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

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

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

INSERT INTO `bstock_pl_reportmodules` VALUES (1,1,'PurchaseOrder','Vendors',0,0),(3,7,'PurchaseOrder','Vendors',1276586667,1276586667),(5,9,'PurchaseOrder','Vendors',1276590739,1276590739),(6,10,'PurchaseOrder','Vendors',1276591967,1276591967),(7,11,'PurchaseOrder','Vendors',1276593726,1276593726),(8,12,'PurchaseOrder','Vendors',1276598761,1276598761),(9,13,'PurchaseOrder','Vendors',1276608018,1276608018),(10,14,'PurchaseOrder','Brokers',1276608489,1276608489),(11,15,'PurchaseOrder','',1276684108,1276684108),(12,16,'SalesOrder','Brokers',1276687488,1276687488),(13,17,'SalesOrder','Customers',1276691933,1276691933),(14,18,'SalesOrder','Customers',1276692770,1276692770),(15,19,'SalesOrder','Customers',1276693256,1276693256),(16,20,'SalesOrder','',1276693459,1276693459),(17,21,'SalesOrder','',1276693749,1276693749),(18,22,'PurchaseOrder','Customers',1276695042,1276695042),(19,23,'SalesOrder','Customers',1276763688,1276763688),(20,24,'PurchaseOrder','Vendors',1276767342,1276767342),(21,25,'SalesOrder','Customers',1276767496,1276767496),(22,26,'CustomersOrderItems','',1276773445,1276773445),(23,27,'CustomersOrderItems','',1276775241,1276775241),(24,28,'CustomersOrderItems','',1276780008,1276780008),(25,29,'BestCustomer','',1276780133,1276780133),(26,30,'BestCustomer','',1277189888,1277189888),(27,31,'BestVendor','',1277199612,1277199612),(28,32,'BestVendor','',1277201407,1277201407),(29,33,'BestBroker','',1277210594,1277210594),(30,34,'BestBroker','',1277294934,1277294934),(31,35,'BestBroker','',1277295055,1277295055),(32,36,'BestBroker','',1277295640,1277295640),(33,37,'BestBroker','',1277297943,1277297943),(35,39,'SalesOrder','',1277373930,1277373930),(36,40,'Ledger','',1277803475,1277803475),(37,41,'Products','',1280169197,1280169197),(38,42,'Accounting','',1280208747,1280208747),(39,43,'PeriodicReports','',1280210617,1280210617),(40,44,'PeriodicReports','',1280212486,1280212486),(41,45,'PurchaseOrder','Vendors',1280213104,1280213104),(42,46,'StockReports','',1280216443,1280216443),(43,47,'PeriodicReports','PO Items',1280233294,1280233294),(44,48,'StockReports','PO Items',1281116296,1281116296),(45,49,'SalesOrder','Products',1283868324,1283868324),(46,50,'PurchaseOrder','Products',1283886791,1283886791),(47,51,'BestBroker','Order Items',1283892221,1283892221),(48,52,'Ledger','',1283895447,1283895447),(49,53,'KarigarReports','',1283898167,1283898167),(50,54,'PurchaseOrder','CashBook',1284727408,1284727408),(51,55,'SalesOrder','CashBook',1285421632,1285421632),(52,56,'KarigarReports','Karigar Metal Info',1285669916,1285669916),(53,57,'PurchaseOrder','CashBook',1286260199,1286260199),(54,58,'SalesOrder','Brokers',1286279262,1286279262),(55,59,'Approval','',1299599072,1299599072),(56,60,'CashBookReports','DailyCashEntries',1305726771,1305726771),(57,61,'SalesOrder','Brokers',1305972075,1305972075),(58,62,'ProfitLossReports','Order Items',1306129485,1306129485),(59,63,'PurchaseOrder','CashBook',1306319667,1306319667),(60,64,'SalesOrder','Brokers',1306324374,1306324374),(61,65,'Approval','',1306325548,1306325548),(62,66,'PartnerReports','PO Partnership Transactions',1320414007,1320414007),(63,67,'PartnerReports','Partners Involved',1320489025,1320489025),(64,68,'PartnerReports','Partners',1320647448,1320647448),(65,69,'PartnerReports','Products',1320650095,1320650095),(66,70,'PurchaseOrder','Customers',1321358613,1321358613),(67,71,'ProfitLossReports','PurchaseOrder',1321439121,1321439121),(68,72,'SalesOrder','System Users',1321514026,1321514026),(69,73,'KarigarReports','Product_Karigar',1321620455,1321620455);

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

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

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

INSERT INTO `bstock_pl_reports` VALUES (1,1,'PurchaseOrder by Contacts','PurchaseOrder by Contacts','summary',0,'SAVED','1',0,0,0,'0'),(30,4,'Best Customer by Sale','Best Customer by Sale','summary',0,'SAVED','1',0,1277189888,1277189888,'1'),(22,1,'Outstanding Payables','Outstanding Payables - Pending PO Payments','summary',0,'CUSTOM','1',0,1276695038,1276695038,'0'),(23,2,'Outstanding Receivables','Outstanding Receivables - Pending SO Payments','summary',0,'CUSTOM','1',0,1276763685,1276763685,'0'),(24,1,'PO Details','PO Details','summary',0,'CUSTOM','1',0,1276767341,1276767341,'0'),(25,2,'SO Details','SO Details','tabular',0,'CUSTOM','1',0,1276767496,1276767496,'0'),(29,4,'Best Customer by Profit','Best Customer by Profit','summary',0,'SAVED','1',0,1276780133,1276780133,'1'),(31,4,'Best Vendor by Profit','Best Vendor by Profit','summary',0,'SAVED','1',0,1277199610,1277199610,'1'),(32,4,'Best Vendor by Purchase','Best Vendor by Purchase','tabular',0,'SAVED','1',0,1277201402,1277201402,'1'),(33,4,'Best Broker by Profit','Best Broker by Profit','summary',0,'SAVED','1',0,1277210594,1277210594,'1'),(34,4,'Best Broker by Brokerage - SO','Best Broker by Brokerage - SO','summary',0,'SAVED','1',0,1277294934,1277294934,'0'),(35,4,'Best Broker by Sale','Best Broker by Sale','summary',0,'SAVED','1',0,1277295055,1277295055,'1'),(36,4,'Best Broker by Purchase','Best Broker by Purchase','summary',0,'SAVED','1',0,1277295640,1277295640,'0'),(37,4,'Best Broker by Brokerage - PO','Best Broker by Brokerage - PO','summary',0,'SAVED','1',0,1277297943,1277297943,'0'),(39,2,'Country wise sales','Country wise sales','summary',0,'CUSTOM','1',0,1277373930,1277373930,'0'),(40,5,'Purchase & Sales Ledger','Purchase & Sales Ledger','summary',0,'CUSTOM','1',0,1277803475,1277803475,'0'),(41,10,'Stock Ledger','Stock Ledger','summary',0,'SAVED','0',0,1280169197,1280169197,'1'),(42,7,'Trial Balance','Trial Balance','tabular',0,'CUSTOM','1',0,1280208747,1280208747,'0'),(43,8,'Monthly Sales','Monthly Sales','tabular',0,'CUSTOM','1',0,1280210617,1280210617,'0'),(44,8,'Profit/Loss for Vishal & Co.','Profit/Loss for Vishal & Co.','tabular',0,'CUSTOM','1',0,1280212486,1280212486,'0'),(46,10,'Pending Stock Report','Pending Stock Report','tabular',0,'CUSTOM','1',0,1280216443,1280216443,'0'),(47,8,'Monthly Purchase','Monthly Purchase','summary',0,'CUSTOM','1',0,1280233294,1280233294,'0'),(48,10,'Purchase Details','Details of materials purchased date-wise','summary',0,'CUSTOM','1',0,1281116296,1281116296,'0'),(49,2,'Party wise Sales Ledger','Party wise Sales Ledger','summary',0,'CUSTOM','1',0,1283868324,1283868324,'0'),(51,8,'Calculated Brokerage for Brokers','This report will pull the brokerage amount of brokers for the specified period.','tabular',0,'CUSTOM','1',0,1283892221,1283892221,'1'),(52,5,'Quarterly Payments','Quarterly Payments','summary',0,'CUSTOM','1',0,1283895447,1283895447,'0'),(53,11,'Karigar Cash Ledger','Karigar Cash Ledger','summary',0,'CUSTOM','1',0,1283898167,1283898167,'1'),(54,1,'Vendor wise Purchase Ledger','Vendor wise Purchase Ledger','tabular',0,'CUSTOM','1',0,1284727408,1284727408,'0'),(55,2,'Customer wise Sales Ledger','Customer wise Sales Ledger','tabular',0,'CUSTOM','1',0,1285421632,1285421632,'0'),(56,11,'Karigar Metal Ledger','Karigar Metal Ledger','summary',0,'CUSTOM','1',0,1285669916,1285669916,'1'),(57,1,'Customer wise Purchase Report - Detailed','Customer wise Purchase Report - Detailed','summary',0,'SAVED','0',0,1286260199,1286260199,'1'),(58,2,'Customer wise Sales Report - Detailed','Customer wise Sales Report - Detailed','summary',0,'SAVED','0',0,1286279262,1286279262,'1'),(59,2,'Customer wise Approval Report - Detailed','Customer wise Approval Report - Detailed','tabular',0,'SAVED','0',0,1299599072,1299599072,'1'),(60,5,'Daily Cashbook Report','Daily Cashbook Report','summary',0,'SAVED','0',0,1305726771,1305726771,'1'),(61,5,'Broker wise Report','Broker wise Report','tabular',0,'SAVED','0',0,1305972075,1305972075,'1'),(62,5,'Profit / Loss Report','Profit / Loss Report','summary',0,'SAVED','0',0,1306129485,1306129485,'1'),(63,1,'Pending Payments','Pending Payments','summary',0,'SAVED','0',0,1306319667,1306319667,'1'),(64,2,'Pending Receivables','Pending Receivables','summary',0,'SAVED','0',0,1306324374,1306324374,'1'),(65,2,'Pending Approvals','Pending Approvals','tabular',0,'SAVED','0',0,1306325548,1306325548,'1'),(66,12,'Payment Receivables Partner wise','Payment Receivables Partner wise','tabular',0,'CUSTOM','1',0,1320414007,1320414007,'1'),(67,12,'Partners Capital','Partners Capital','tabular',0,'CUSTOM','1',0,1320489025,1320489025,'1'),(68,12,'Partners Paid Profit','Partners Paid Profit','tabular',0,'CUSTOM','1',0,1320647448,1320647448,'1'),(69,12,'All Stock - Partnership wise','All Stock - Partnership wise','tabular',0,'CUSTOM','1',0,1320650095,1320650095,'1'),(70,1,'Dollar Account Pending Purchase Report','This report will show the pending purchase due for foreign purchases','tabular',0,'CUSTOM','1',0,1321358613,1321358613,'1'),(71,5,'Daybook Report','Daybook Report','tabular',0,'CUSTOM','1',0,1321439121,1321439121,'1'),(72,2,'Sales Executive report','','tabular',0,'CUSTOM','1',0,1321514026,1321514026,'1'),(73,5,'Karigar Report','Karigar Report','tabular',0,'CUSTOM','1',0,1321620455,1321620455,'1');

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

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

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

INSERT INTO `bstock_pl_reportsortcol` VALUES (1,1,'bstock_pl_purchaseorder:net_total:PurchaseOrder_Net_Total:net_total:V','Descending',0,0),(2,1,'bstock_pl_purchaseorder:brokerage:PurchaseOrder_Brokerage:brokerage:V','Descending',0,0),(11,7,'none','Ascending',1276586668,1276586668),(10,7,'none','Ascending',1276586667,1276586667),(9,7,'none','Ascending',1276586667,1276586667),(17,9,'none','Ascending',1276590739,1276590739),(16,9,'none','Ascending',1276590739,1276590739),(15,9,'none','Ascending',1276590739,1276590739),(18,10,'none','Ascending',1276591967,1276591967),(19,10,'none','Ascending',1276591967,1276591967),(20,10,'none','Ascending',1276591967,1276591967),(21,11,'bstock_pl_purchaseorder:contact_person:PurchaseOrder_contact_person:contact_person:V','Ascending',1276593734,1276593734),(22,11,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I','Descending',1276593737,1276593737),(23,11,'none','Ascending',1276593741,1276593741),(24,12,'none','Ascending',1276598763,1276598763),(25,12,'none','Ascending',1276598764,1276598764),(26,12,'none','Ascending',1276598765,1276598765),(27,13,'none','Ascending',1276608020,1276608020),(28,13,'none','Ascending',1276608021,1276608021),(29,13,'none','Ascending',1276608022,1276608022),(30,14,'none','Ascending',1276608489,1276608489),(31,14,'none','Ascending',1276608489,1276608489),(32,14,'none','Ascending',1276608490,1276608490),(33,15,'none','Ascending',1276684108,1276684108),(34,15,'none','Ascending',1276684109,1276684109),(35,15,'none','Ascending',1276684109,1276684109),(36,16,'none','Ascending',1276687488,1276687488),(37,16,'none','Ascending',1276687488,1276687488),(38,16,'none','Ascending',1276687488,1276687488),(39,17,'none','Ascending',1276691933,1276691933),(40,17,'none','Ascending',1276691934,1276691934),(41,17,'none','Ascending',1276691934,1276691934),(42,18,'none','Ascending',1276692770,1276692770),(43,18,'none','Ascending',1276692770,1276692770),(44,18,'none','Ascending',1276692773,1276692773),(45,19,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1276693256,1276693256),(46,19,'none','Ascending',1276693256,1276693256),(47,19,'none','Ascending',1276693256,1276693256),(48,20,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1276693459,1276693459),(49,20,'none','Ascending',1276693459,1276693459),(50,20,'none','Ascending',1276693459,1276693459),(51,21,'bstock_orders:id:SalesOrder_id:id:I','Ascending',1276693749,1276693749),(52,21,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1276693750,1276693750),(53,21,'none','Ascending',1276693750,1276693750),(180,24,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I','Descending',1278674856,1278674856),(63,25,'none','Ascending',1276767496,1276767496),(64,25,'none','Ascending',1276767496,1276767496),(65,25,'none','Ascending',1276767496,1276767496),(66,26,'bstock_customers:id:CustomersOrderItems_id:id:I','Ascending',1276773447,1276773447),(67,26,'none','Ascending',1276773448,1276773448),(68,26,'none','Ascending',1276773450,1276773450),(69,27,'bstock_customers:id:CustomersOrderItems_id:id:I','Ascending',1276775241,1276775241),(70,27,'none','Ascending',1276775241,1276775241),(71,27,'none','Ascending',1276775241,1276775241),(72,28,'bstock_customers:first_name:CustomersOrderItems_first_name:first_name:V','Ascending',1276780008,1276780008),(73,28,'bstock_customers:last_name:CustomersOrderItems_last_name:last_name:V','Ascending',1276780008,1276780008),(74,28,'none','Ascending',1276780009,1276780009),(143,29,'none','Ascending',1277299808,1277299808),(142,29,'none','Ascending',1277299808,1277299808),(141,29,'none','Ascending',1277299808,1277299808),(93,30,'none','Ascending',1277189888,1277189888),(94,30,'none','Ascending',1277189889,1277189889),(95,30,'none','Ascending',1277189889,1277189889),(96,31,'none','Ascending',1277199613,1277199613),(97,31,'none','Ascending',1277199613,1277199613),(98,31,'none','Ascending',1277199613,1277199613),(104,32,'none','Ascending',1277202389,1277202389),(103,32,'none','Ascending',1277202389,1277202389),(102,32,'none','Ascending',1277202389,1277202389),(125,33,'none','Ascending',1277292444,1277292444),(124,33,'none','Ascending',1277292444,1277292444),(123,33,'none','Ascending',1277292444,1277292444),(126,34,'none','Ascending',1277294934,1277294934),(127,34,'none','Ascending',1277294934,1277294934),(128,34,'none','Ascending',1277294934,1277294934),(129,35,'none','Ascending',1277295055,1277295055),(130,35,'none','Ascending',1277295055,1277295055),(131,35,'none','Ascending',1277295055,1277295055),(137,36,'none','Ascending',1277297631,1277297631),(136,36,'none','Ascending',1277297631,1277297631),(135,36,'none','Ascending',1277297631,1277297631),(138,37,'none','Ascending',1277297943,1277297943),(139,37,'none','Ascending',1277297943,1277297943),(140,37,'none','Ascending',1277297943,1277297943),(151,38,'none','Ascending',1277302290,1277302290),(152,38,'none','Ascending',1277302290,1277302290),(150,38,'bstock_vendors:country:Vendors_country:country:V','Ascending',1277302290,1277302290),(153,39,'none','Ascending',1277373930,1277373930),(154,39,'none','Ascending',1277373932,1277373932),(155,39,'none','Ascending',1277373932,1277373932),(156,40,'none','Ascending',1277803475,1277803475),(157,40,'none','Ascending',1277803475,1277803475),(158,40,'none','Ascending',1277803475,1277803475),(476,23,'none','Descending',1306316963,1306316963),(182,24,'none','Descending',1278674856,1278674856),(181,24,'none','Descending',1278674856,1278674856),(392,22,'bstock_pl_purchaseorder:net_total:PurchaseOrder_net_total:net_total:I','Descending',1285053610,1285053610),(391,22,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V','Descending',1285053610,1285053610),(695,41,'none','Ascending',1320649790,1320649790),(231,42,'none','Ascending',1280208747,1280208747),(232,42,'none','Ascending',1280208747,1280208747),(233,42,'none','Ascending',1280208747,1280208747),(239,43,'none','Ascending',1280210777,1280210777),(238,43,'none','Ascending',1280210777,1280210777),(237,43,'none','Ascending',1280210777,1280210777),(245,44,'none','Ascending',1280212568,1280212568),(244,44,'none','Ascending',1280212568,1280212568),(243,44,'none','Ascending',1280212568,1280212568),(246,45,'none','Ascending',1280213104,1280213104),(247,45,'none','Ascending',1280213104,1280213104),(248,45,'none','Ascending',1280213104,1280213104),(380,46,'none','Ascending',1285048636,1285048636),(379,46,'none','Ascending',1285048636,1285048636),(378,46,'none','Ascending',1285048636,1285048636),(390,22,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I','Descending',1285053610,1285053610),(475,23,'bstock_orders:due_date:SalesOrder_due_date:due_date:I','Ascending',1306316963,1306316963),(288,47,'bstock_vendors:vendor_name:PeriodicReports_vendor_name:vendor_name:V','Ascending',1280293802,1280293802),(289,47,'none','Ascending',1280293802,1280293802),(290,47,'none','Ascending',1280293802,1280293802),(298,48,'none','Ascending',1281116408,1281116408),(299,48,'none','Ascending',1281116408,1281116408),(297,48,'bstock_pl_poitems:po_number_id:StockReports_po_number_id:po_number_id:I','Ascending',1281116408,1281116408),(474,23,'none','Ascending',1306316963,1306316963),(350,49,'bstock_orderstatustypes:status:SalesOrder_status:status:V','Ascending',1283874192,1283874192),(348,49,'bstock_orders:due_date:SalesOrder_due_date:due_date:I','Ascending',1283874192,1283874192),(349,49,'bstock_orders:so_number:SalesOrder_so_number:so_number:V','Ascending',1283874192,1283874192),(362,50,'bstock_pl_postatustypes:status:PurchaseOrder_status:status:V','Ascending',1283892330,1283892330),(360,50,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I','Ascending',1283892330,1283892330),(361,50,'bstock_pl_purchaseorder:po_number:PurchaseOrder_po_number:po_number:V','Ascending',1283892330,1283892330),(354,51,'none','Ascending',1283892221,1283892221),(355,51,'none','Ascending',1283892221,1283892221),(356,51,'none','Ascending',1283892221,1283892221),(363,52,'none','Ascending',1283895447,1283895447),(364,52,'none','Ascending',1283895447,1283895447),(365,52,'none','Ascending',1283895447,1283895447),(374,53,'none','Ascending',1283898236,1283898236),(373,53,'none','Ascending',1283898236,1283898236),(372,53,'none','Ascending',1283898236,1283898236),(433,54,'none','Ascending',1294057547,1294057547),(432,54,'bstock_pl_purchaseorder:due_date:PurchaseOrder_due_date:due_date:I','Ascending',1294057547,1294057547),(430,55,'none','Ascending',1294044165,1294044165),(429,55,'bstock_orders:due_date:SalesOrder_due_date:due_date:I','Ascending',1294044165,1294044165),(416,56,'none','Ascending',1285678547,1285678547),(415,56,'none','Ascending',1285678547,1285678547),(414,56,'none','Ascending',1285678547,1285678547),(581,57,'none','Ascending',1306404640,1306404640),(580,57,'none','Ascending',1306404640,1306404640),(579,57,'none','Ascending',1306404640,1306404640),(623,58,'none','Ascending',1306470982,1306470982),(622,58,'none','Ascending',1306470982,1306470982),(621,58,'none','Ascending',1306470982,1306470982),(431,55,'none','Ascending',1294044165,1294044165),(434,54,'none','Ascending',1294057547,1294057547),(638,59,'none','Ascending',1306746624,1306746624),(637,59,'none','Ascending',1306746624,1306746624),(636,59,'none','Ascending',1306746624,1306746624),(746,60,'none','Ascending',1321433215,1321433215),(745,60,'none','Ascending',1321433215,1321433215),(776,61,'none','Ascending',1321531402,1321531402),(775,61,'none','Ascending',1321531402,1321531402),(774,61,'none','Ascending',1321531402,1321531402),(779,62,'none','Ascending',1321531535,1321531535),(778,62,'none','Ascending',1321531535,1321531535),(777,62,'none','Ascending',1321531535,1321531535),(662,63,'none','Ascending',1309776381,1309776381),(661,63,'none','Ascending',1309776381,1309776381),(660,63,'none','Ascending',1309776381,1309776381),(671,64,'none','Ascending',1320066903,1320066903),(670,64,'none','Ascending',1320066903,1320066903),(669,64,'none','Ascending',1320066903,1320066903),(635,65,'none','Ascending',1306746599,1306746599),(634,65,'none','Ascending',1306746599,1306746599),(633,65,'none','Ascending',1306746599,1306746599),(694,41,'none','Ascending',1320649790,1320649790),(744,60,'bstock_pl_dailycashentries:date_timestamp:CashBookReports_date_timestamp:date_timestamp:I','Ascending',1321433215,1321433215),(728,66,'none','Ascending',1321427847,1321427847),(727,66,'none','Ascending',1321427847,1321427847),(726,66,'none','Ascending',1321427847,1321427847),(684,67,'none','Ascending',1320489025,1320489025),(685,67,'none','Ascending',1320489025,1320489025),(686,67,'none','Ascending',1320489025,1320489025),(687,68,'none','Ascending',1320647448,1320647448),(688,68,'none','Ascending',1320647448,1320647448),(689,68,'none','Ascending',1320647448,1320647448),(693,41,'bstock_products:color:Products_color:color:V','Ascending',1320649790,1320649790),(707,69,'none','Ascending',1320664725,1320664725),(706,69,'none','Ascending',1320664725,1320664725),(705,69,'none','Ascending',1320664725,1320664725),(785,70,'none','Ascending',1321617111,1321617111),(784,70,'none','Ascending',1321617111,1321617111),(783,70,'none','Ascending',1321617111,1321617111),(770,71,'none','Ascending',1321514401,1321514401),(769,71,'none','Ascending',1321514401,1321514401),(768,71,'none','Ascending',1321514401,1321514401),(773,72,'none','Ascending',1321515042,1321515042),(772,72,'none','Ascending',1321515042,1321515042),(771,72,'none','Ascending',1321515042,1321515042),(786,73,'none','Ascending',1321620455,1321620455),(787,73,'none','Ascending',1321620455,1321620455),(788,73,'none','Ascending',1321620455,1321620455);

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

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

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

INSERT INTO `bstock_pl_reportsummary` VALUES (1,1,0,'cb:bstock_orderitems:profit_percent:Avg_Profit_Percent_AVG:3',0,0),(2,1,2,'cb:bstock_pl_purchaseorder:net_total:Net_Total_SUM:2',0,0),(3,1,1,'cb:bstock_pl_purchaseorder:subtotal:Sub_Total_AVG:3',0,0),(4,1,3,'cb:bstock_pl_purchaseorder:net_total:Net_Total_AVG:3',0,0),(5,1,4,'cb:bstock_pl_purchaseorder:subtotal:Sub_Total_MIN:4',0,0),(6,1,5,'cb:bstock_pl_purchaseorder:net_total:Net_Total_MIN:4',0,0),(7,1,6,'cb:bstock_pl_purchaseorder:subtotal:Sub_Total_MAX:5',0,0),(8,1,7,'cb:bstock_pl_purchaseorder:net_total:Net_Total_MAX:5',0,0),(9,1,8,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_SUM:2',0,0),(10,1,9,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_AVG:3',0,0),(11,1,10,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_MIN:4',0,0),(12,1,11,'cb:bstock_pl_purchaseorder:brokerage:Brokerage_MAX:5',0,0),(13,9,0,'cb:bstock_pl_purchaseorder:subtotal:subtotal_SUM:2',1276590739,1276590739),(14,9,1,'cb:bstock_pl_purchaseorder:subtotal:subtotal_AVG:3',1276590740,1276590740),(15,9,2,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MIN:4',1276590740,1276590740),(16,9,3,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MAX:5',1276590740,1276590740),(17,9,4,'cb:bstock_pl_purchaseorder:brokerage:brokerage_AVG:3',1276590740,1276590740),(18,9,5,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1276590740,1276590740),(19,9,6,'cb:bstock_pl_purchaseorder:net_total:net_total_AVG:3',1276590740,1276590740),(20,9,7,'cb:bstock_pl_purchaseorder:net_total:net_total_MIN:4',1276590740,1276590740),(21,9,8,'cb:bstock_pl_purchaseorder:net_total:net_total_MAX:5',1276590740,1276590740),(22,11,0,'cb:bstock_pl_purchaseorder:subtotal:subtotal_SUM:2',1276593742,1276593742),(23,11,1,'cb:bstock_pl_purchaseorder:subtotal:subtotal_AVG:3',1276593745,1276593745),(24,11,2,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MIN:4',1276593746,1276593746),(25,11,3,'cb:bstock_pl_purchaseorder:subtotal:subtotal_MAX:5',1276593749,1276593749),(26,11,4,'cb:bstock_pl_purchaseorder:brokerage:brokerage_AVG:3',1276593749,1276593749),(27,11,5,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1276593750,1276593750),(28,11,6,'cb:bstock_pl_purchaseorder:net_total:net_total_AVG:3',1276593750,1276593750),(29,11,7,'cb:bstock_pl_purchaseorder:net_total:net_total_MIN:4',1276593750,1276593750),(30,11,8,'cb:bstock_pl_purchaseorder:net_total:net_total_MAX:5',1276593750,1276593750),(31,17,0,'cb:bstock_orders:brokerage:brokerage_SUM:2',1276691934,1276691934),(32,17,1,'cb:bstock_orders:brokerage:brokerage_AVG:3',1276691935,1276691935),(33,17,2,'cb:bstock_orders:brokerage:brokerage_MIN:4',1276691935,1276691935),(34,17,3,'cb:bstock_orders:brokerage:brokerage_MAX:5',1276691935,1276691935),(35,17,4,'cb:bstock_orders:net_total:net_total_SUM:2',1276691935,1276691935),(36,17,5,'cb:bstock_orders:net_total:net_total_AVG:3',1276691935,1276691935),(37,17,6,'cb:bstock_orders:net_total:net_total_MIN:4',1276691935,1276691935),(38,17,7,'cb:bstock_orders:net_total:net_total_MAX:5',1276691935,1276691935),(39,18,0,'cb:bstock_orders:net_total:net_total_SUM:2',1276692773,1276692773),(122,47,0,'cb:bstock_pl_poitems:listprice:listprice_SUM:2',1280293802,1280293802),(151,23,0,'cb:bstock_orders:net_total:net_total_SUM:2',1306316963,1306316963),(139,22,1,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1285053610,1285053610),(138,22,0,'cb:bstock_pl_purchaseorder:subtotal:subtotal_SUM:2',1285053610,1285053610),(55,31,0,'cb:bstock_orderitems:profit_amount:profit_amount_SUM:2',1277199613,1277199613),(56,31,1,'cb:bstock_orderitems:profit_amount:profit_amount_AVG:3',1277199613,1277199613),(57,31,2,'cb:bstock_orderitems:profit_percent:profit_percent_SUM:2',1277199613,1277199613),(58,31,3,'cb:bstock_orderitems:profit_percent:profit_percent_AVG:3',1277199613,1277199613),(103,42,0,'cb:trial_balance_entries:debit:debit_SUM:2',1280208747,1280208747),(104,42,1,'cb:trial_balance_entries:credit:credit_SUM:2',1280208747,1280208747),(106,44,0,'cb:bstock_orderitems:profit_amount:profit_amount_SUM:2',1280212568,1280212568),(125,48,0,'cb:bstock_pl_poitems:listprice:listprice_SUM:2',1281116408,1281116408),(135,51,0,'cb:bstock_orderitems:brokerage_1_amt_inr:brokerage_1_amt_inr_SUM:2',1283892221,1283892221),(140,54,0,'cb:bstock_pl_purchaseorder:dollar_rate:dollar_rate_SUM:2',1294057547,1294057547),(141,54,1,'cb:bstock_pl_purchaseorder:dollar_rate:dollar_rate_MIN:4',1294057547,1294057547),(142,54,2,'cb:bstock_pl_purchaseorder:dollar_rate:dollar_rate_MAX:5',1294057547,1294057547),(180,63,0,'cb:bstock_pl_purchaseorder:net_total:net_total_SUM:2',1309776381,1309776381),(181,64,0,'cb:bstock_orders:net_total:net_total_SUM:2',1320066903,1320066903),(187,72,0,'cb:bstock_orders:net_total:net_total_SUM:2',1321515042,1321515042);

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

INSERT INTO `bstock_plugins` VALUES (1,'Wishlist','Adding to wishlist','Wishlist','Wishlist','off','','1265469043','Wishlist.png'),(3,'AddToCart','AddToCart','AddToCart','AddToCart','off','','1263192828','home_big.gif'),(4,'SeeIt','SeeIt','SeeIt','SeeIt','on','','','home.gif'),(5,'ExportToExcel','ExportToExcel','ExportToExcel','ExportToExcel','off','1263281971','1263281971','home_big.gif'),(6,'PrintIt','PrintIt','PrintIt','PrintIt','on','1263298312','1263298312','home_big.gif'),(9,'Statistics','This will record the stats.','Statistics','Statistics','off','1264168261','1264168261','Statistics.png'),(10,'Product Upload','Uploading products to db using csv','ProductUpload','ProductUpload','on','','','home_big.gif'),(12,'SaveSearches','SaveSearches - this will save the searches made by client from the search result page - baba','SaveSearches','SaveSearches','off','','','home_big.gif'),(13,'ExportToExcelWithPercent','Export to Excel allowing the customer/broker to add a % to the price field.','ExportToExcelWithPercent','ExportToExcelWithPercent','off','','','home_big.gif'),(15,'Purchase Order','purchase order','PurchaseOrder','PurchaseOrder','on','','','home_big.gif'),(16,'Reports','Reports module','Reports','Report','on','','','home_big.gif'),(17,'Invoice','SalesOrder','SalesOrder','SalesOrder','on','1267005563','1267005563','home.gif'),(19,'Assemble Jewelry','Assemble Jewelry','Jewelry','Jewelry','off','','',''),(20,'Approval','Approval','Jhangad','Jhangad','on','1269635676','1269635676',''),(21,'Daily Cashbook Entries','Daily Cashbook Entries','DailyCashEntries','DailyCashEntries','on','','',''),(22,'Enquiry Management System','Enquiry Management System','Ems','Ems','on','1263281971','1263281971','enquiry_module.png'),(23,'Sticker Generation','Sticker Generation','StickerGeneration','StickerGeneration','on','','','barcode_generation.png'),(24,'Verify Stock','Verify Stock','VerifyStock','VerifyStock','on','','','verify_stock.png'),(25,'Courier Approval','Courier Management','Courier','Courier','on','','','home.gif'),(26,'Approval Issue','Approval Issue','JhangadIssued','JhangadIssued','on','','','approval_issue.png'),(27,'Approval Return','Approval Return','JhangadReturn','JhangadReturn','on','','','approval_return.png'),(28,'Parcel Mixing','Parcel Mixing','ParcelMixing','ParcelMixing','on','','','parcel_mixing.png'),(29,'Sales Order Issued','Sales Order Issued','SalesOrderIssued','SalesOrderIssued','on','','','salesorder_issue.png'),(30,'Sales Order Return','Sales Order Return','SalesOrderReturn','SalesOrderReturn','on','','','salesorder_return.png'),(31,'CourierSO','CourierSO','CourierSO','CourierSO','on','1286637172','1286637172','salesorder_courier.png'),(32,'Special Stones','Special stones','SpecialStones','SpecialStones','on','124534543','123435435','special_stones.png'),(33,'Rapnet Uploaded Stock','RapnetUploadedStock','RapnetUploadedStock','RapnetUploadedStock','on','124534543','123435435','rapnet_upload.png'),(34,'Customer Upload','Customer Upload','CustomerUpload','CustomerUpload','on','1213123213','1231231231','home.gif'),(35,'Jhangad Upload','Jhangad Upload','JhangadUpload','JhangadUpload','on','','','home.gif'),(36,'MyAccount','MyAccount','MyAccount','MyAccount','on','1213123213','1231231231','home.gif'),(37,'Update Sales Price','UpdateSalesPrice','UpdateSalesPrice','UpdateSalesPrice','on','','','home.gif'),(38,'Expense Tracking','Expense Tracking','ExpenseTracking','ExpenseTracking','on','','',''),(39,'Business Loans','Interest Finance - Loans taken / given','BusinessLoans','BusinessLoans','on','','','home.gif'),(40,'ParcelSplitting','Parcel Splitting','ParcelSplitting','ParcelSplitting','on','23432423432','23234234324',''),(41,'Partnership','Partnership','Partnership','Partnership','on','1263279097','1263279096',''),(43,'ProfitProcessing','ProfitProcessing','ProfitProcessing','ProfitProcessing','on','1263279097','1263279096',''),(44,'Jhangad Inward','Jhangad Inward','JhangadInward','JhangadInward','on','','','home.gif'),(45,'Jhangad Inward Return','Jhangad Inward Return','JhangadInwardReturn','JhangadInwardReturn','on','','','home.gif'),(46,'ProductUploadWithPO','ProductUploadWithPO','ProductUploadWithPO','ProductUploadWithPO','on','','',''),(47,'DMBReport','DMBReport','DMBReport','DMBReport','on','1263279097','1263279096',''),(48,'CBReport','CBReport','CBReport','CBReport','on','1262692781','1262692781','');

--
-- Table structure for table `bstock_po_partnership_transactions`
--

CREATE TABLE `bstock_po_partnership_transactions` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `po_id` int(10) NOT NULL COMMENT 'Purchase order id',
  `po_due_date` varchar(20) NOT NULL COMMENT 'Timestamp of due date, from purchase order table.',
  `product_id` int(10) NOT NULL,
  `partner_id` int(10) NOT NULL,
  `partnership_id` int(10) NOT NULL,
  `amount_receivable` decimal(10,2) NOT NULL,
  `amount_paid` decimal(10,2) NOT NULL,
  `balance` decimal(10,2) NOT NULL,
  `created_date` varchar(20) NOT NULL,
  `modified_date` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_po_partnership_transactions`
--


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

CREATE TABLE `bstock_product_discounts` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `order_id` int(10) NOT NULL COMMENT 'Will contain the product id of the product.',
  `purpose` varchar(255) NOT NULL COMMENT 'Expense purpose.',
  `price` varchar(20) NOT NULL COMMENT 'Actual Expenses Incurred.',
  `date` varchar(20) NOT NULL COMMENT 'Date of expense.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=latin1 COMMENT='Store the expenses of products in the system.';

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

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

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

CREATE TABLE `bstock_product_expenses` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `product_id` int(10) NOT NULL COMMENT 'Will contain the product id of the product.',
  `purpose` varchar(255) NOT NULL COMMENT 'Expense purpose.',
  `price` varchar(20) NOT NULL COMMENT 'Actual Expenses Incurred.',
  `percent` decimal(10,2) NOT NULL,
  `date` varchar(20) NOT NULL COMMENT 'Date of expense.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the expenses of products in the system.';

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


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

CREATE TABLE `bstock_product_history` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `stoneid` varchar(50) NOT NULL,
  `product_id` int(10) NOT NULL COMMENT 'Will contain the product id of the product.',
  `shape` enum('ROUND','PRINCESS','PEAR','MARQUISE','EMERALD','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY SLIGHT') NOT NULL DEFAULT 'NONE',
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','I1','I2','I3') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V') NOT NULL,
  `price` varchar(100) NOT NULL DEFAULT '0',
  `piece_price` varchar(50) NOT NULL,
  `carat_price` varchar(50) NOT NULL,
  `length` varchar(50) NOT NULL,
  `width` varchar(50) NOT NULL,
  `height` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `girdle` varchar(250) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1 COMMENT='Store the history of products in the system.';

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

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

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

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

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

INSERT INTO `bstock_product_master` VALUES (1,1,'20g Platinum',1,'',''),(2,2,'10g Gold',2,'',''),(3,5,'Men\'s Wedding Rings',3,'',''),(4,5,'Engagement Rings',4,'',''),(5,5,'Wedding Ring',0,'',''),(6,5,'Gemstone Rings',1,'',''),(7,5,'Diamond Studed Rings',2,'',''),(8,5,'Eternity Rings',3,'',''),(9,5,'Dedicated Rings',4,'',''),(10,5,'Wedding Rings',5,'',''),(11,5,'Engagement Rings',6,'',''),(12,5,'Designer Rings',7,'',''),(13,5,'Touch of Gold Rings',8,'',''),(14,5,'Touch of Silver Rings',9,'',''),(15,5,'Touch of Platinum Rings',10,'',''),(16,5,'Solitaire Ring',1,'',''),(17,5,'Solitaire Studed Ring',2,'',''),(18,5,'Solitaire Wedding Rings',3,'',''),(19,5,'Solitaire Engagement Rings',4,'',''),(20,5,'Solitaire Wedding Ring',0,'',''),(21,5,'Solitaire Gemstone Rings',1,'',''),(22,5,'Solitaire Diamond Studed Rings',2,'',''),(23,5,'Solitaire Eternity Rings',3,'',''),(24,5,'Solitaire Dedicated Rings',4,'',''),(25,5,'Sidestone Ring',1,'',''),(26,5,'Sidestone Studed Ring',2,'',''),(27,5,'Sidestone Wedding Rings',3,'',''),(28,5,'Sidestone Engagement Rings',4,'',''),(29,5,'Sidestone Wedding Ring',0,'',''),(30,5,'Sidestone Gemstone Rings',1,'',''),(31,5,'Sidestone Diamond Studed Rings',2,'',''),(32,5,'Sidestone Eternity Rings',3,'',''),(33,5,'Sidestone Dedicated Rings',4,'',''),(34,5,'Mone Ring',1,'',''),(35,5,'Mone Studed Ring',2,'',''),(36,5,'Mone Wedding Rings',3,'',''),(37,5,'Mone Engagement Rings',4,'',''),(38,5,'Mone Wedding Ring',0,'',''),(39,5,'Mone Gemstone Rings',1,'',''),(40,5,'Mone Diamond Studed Rings',2,'',''),(41,5,'Mone Eternity Rings',3,'',''),(42,5,'Mone Dedicated Rings',4,'',''),(43,5,'Tension Ring',1,'',''),(44,5,'Tension Studed Ring',2,'',''),(45,5,'Tension Wedding Rings',3,'',''),(46,5,'Tension Engagement Rings',4,'',''),(47,5,'Tension Wedding Ring',0,'',''),(48,5,'Tension Gemstone Rings',1,'',''),(49,5,'Tension Diamond Studed Rings',2,'',''),(50,5,'Tension Eternity Rings',3,'',''),(51,5,'Tension Dedicated Rings',4,'',''),(55,5,'Ring / Diamond 2k / 3.00gm',1,'1263281971','1263281971'),(56,5,'Ring with diamond',1,'123223223','123223223'),(57,5,'Jewelry',1,'1283757521','1283757521'),(58,5,'Jewelry',3,'1283759338','1283759338'),(59,5,'Jewelry',1,'1283777612','1283777612'),(60,5,'Jewelry',1,'1283852927','1283852927'),(61,5,'Jewelry',0,'1283873378','1283873378'),(62,5,'Jewelry',0,'1283873848','1283873848'),(63,5,'Jewelry',0,'1283875146','1283875146'),(64,5,'Jewelry',0,'1285668597','1285668597'),(65,5,'Jewelry',0,'1285668708','1285668708'),(66,5,'Jewelry',0,'1285668868','1285668868'),(67,5,'Jewelry',0,'1285668956','1285668956'),(68,5,'Jewelry',0,'1285669106','1285669106'),(69,5,'Jewelry',0,'1285676716','1285676716'),(70,5,'Jewelry',0,'1285678016','1285678016'),(71,5,'Jewelry',0,'1285678155','1285678155'),(72,5,'Jewelry',0,'1285678201','1285678201'),(73,5,'Jewelry',0,'1285678485','1285678485'),(74,5,'Jewelry',0,'1285680273','1285680273'),(75,5,'Jewelry',0,'1285680330','1285680330');

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

CREATE TABLE `bstock_products` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `store_id` int(10) NOT NULL DEFAULT '1' COMMENT 'Can be used in future if multiple  stores are added.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `stoneid` varchar(50) NOT NULL,
  `serial_no` int(11) NOT NULL,
  `typeofstone` enum('Loose','Single') NOT NULL DEFAULT 'Single' COMMENT 'This field will inform us that this field is loose or single stone',
  `shape` enum('ROUND','PRINCESS','PEAR','EMERALD','MARQUISE','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT','SQUARE EMERALD','TRILLIANT','EUROPEAN CUT','OLD MINER','FLANDERS','CUSHION MODIFIED','BAGUETTES','KITE','STAR','HALF MOON','TRAPEZOID','BULLETS','HEXAGONAL','LOZENGE','PENTAGONAL','ROSE','SHIELD','SQUARE CUT') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `location` enum('Mumbai','Delhi') NOT NULL DEFAULT 'Mumbai',
  `is_active` enum('on','off') NOT NULL,
  `flourescence` enum('ANY','NONE','FAINT','MEDIUM','STRONG','VERY STRONG','SLIGHT','VERY   SLIGHT') NOT NULL DEFAULT 'NONE',
  `lab` enum('All Labs','GIA','IGI','HRD','AGS','PGS','VGR','EGL USA','EGL Israel','EGL Other','DCLA','Uncertified','Other','EGL Belgium','EGL International','EGL Pre-Cert','EGL South Africa','GCAL','Gemscan') NOT NULL,
  `symmetry` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR','Ideal','Poor','G-VG','F-G') NOT NULL,
  `polish` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR','Ideal','Poor','G-VG','F-G') NOT NULL,
  `cut` enum('ANY','EXCELLENT','VERY GOOD','GOOD','FAIR','Ideal','Poor') NOT NULL,
  `clarity` enum('ANY','IF','VVS1','VVS2','VS1','VS2','SI1','SI2','SI3','I1','I2','I3','FL') NOT NULL,
  `color` enum('ANY','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z') NOT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'This field is used as RAP $ price instead of rap_price.',
  `rap_price` decimal(10,2) NOT NULL COMMENT 'This field is not being used for any calculations as the ''price'' field is used instead of this.',
  `inr_price` decimal(10,2) NOT NULL,
  `inr_sale_price_with_margin` decimal(10,2) NOT NULL COMMENT 'This will store the sales price of that diamond in aud- (inr_sale_price_with_margin = piece_price_dollar  * margin * conversion rate) ',
  `total_sales_piece_price_with_margin` decimal(10,2) NOT NULL,
  `current_rap_price` decimal(10,2) NOT NULL COMMENT 'This field will store the latest rap price of that product. this willbe updated during rap update',
  `total_piece_price_asper_rap` decimal(10,2) NOT NULL COMMENT 'This will store the total piece price as per the rapnet price per carat. ',
  `conversion_rate` decimal(10,3) NOT NULL,
  `margin` decimal(10,2) NOT NULL,
  `cash_back` decimal(10,2) NOT NULL,
  `aadat` decimal(10,2) NOT NULL,
  `brokerage` decimal(10,2) NOT NULL,
  `purchase_price_dollar` decimal(10,2) NOT NULL COMMENT 'Piece Purchase Price (after deductions)($)',
  `purchase_price_inr` decimal(10,0) NOT NULL COMMENT 'Piece Purchase Price (after deductions)(INR)',
  `certificate_id` varchar(50) NOT NULL,
  `certificate_status` enum('Given','Back') NOT NULL DEFAULT 'Back',
  `assigned_to_karigar_status` enum('Given','Back') NOT NULL DEFAULT 'Back',
  `is_repairing_stone` enum('Given','Back') NOT NULL DEFAULT 'Back' COMMENT 'this field will store if stone is given to karigar or it is back or not.',
  `discount` varchar(50) NOT NULL,
  `net_discount` varchar(50) NOT NULL,
  `length` decimal(10,0) NOT NULL,
  `width` varchar(5) NOT NULL,
  `no_of_pieces` varchar(25) NOT NULL,
  `flourescence_color` enum('BLUE','WHITE','YELLOW','ORANGE','RED','GREEN','NONE') NOT NULL,
  `pavilion_depth` varchar(25) NOT NULL,
  `girdle_to` varchar(25) NOT NULL,
  `culet_size` varchar(25) NOT NULL,
  `culet_condition` varchar(25) NOT NULL,
  `graining` varchar(25) NOT NULL,
  `height` varchar(5) NOT NULL,
  `measurement` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `country` enum('India','Mumbai (India)','Hong Kong','USA','BELGIUM') NOT NULL,
  `qty` varchar(10) NOT NULL DEFAULT '1',
  `orignal_qty` decimal(10,2) NOT NULL,
  `purchase_price` varchar(10) NOT NULL,
  `vendorname` varchar(500) NOT NULL,
  `sellqty` int(5) NOT NULL,
  `jwl_category` enum('Ring','Bangles','Necklace','Earnings','Bracelet','Nose Ring','Painjan','Bajuband','KamarPata') NOT NULL,
  `category` enum('Loose','Single') NOT NULL,
  `piece_price_inr` decimal(10,2) NOT NULL COMMENT 'inr_price * size',
  `piece_price_dollar` decimal(10,2) NOT NULL COMMENT 'price * size',
  `rough_to_polish_cost_price_dollar` decimal(10,2) NOT NULL COMMENT 'Cost price of the rough (in dollar) that is calculated while publishing the stone from ''RoughToPolish'' module.',
  `rough_to_polish_cost_price_inr` decimal(10,2) NOT NULL COMMENT 'Cost price of the rough (in INR) that is calculated while publishing the stone from ''RoughToPolish'' module.',
  `last_verified_date` int(50) NOT NULL COMMENT 'store the verification date',
  `status` enum('In Stock','Sold','Approval Placed','Approval Issued','Approval Issued Partial','Approval Couriered Full','Approval Couriered Partial','Approval Partially Returned','Approval Returned Full','Order Placed','Order Issued','Order Issued Partial','Order Couriered Full','Order Couriered Partial','Order Partially Returned','Order Returned Full','Onhold','Out Of Stock','On Approval','On Inward Jhangad','InwardJhangad Created','InwardJhangad Assigned','InwardJhangad Assigned Partial','InwardJhangad Partially Returned','InwardJhangad Returned Full','UnStock') NOT NULL COMMENT 'different status of the stock',
  `verified` enum('0','1','2') NOT NULL COMMENT 'Enum value to check and uncheck verification',
  `is_special_stone` enum('true','false') NOT NULL,
  `is_rapnet_uploaded` enum('true','false') NOT NULL,
  `barcode_number` varchar(20) NOT NULL,
  `parcel_id` int(10) NOT NULL COMMENT 'Stores the parcel id of the parcel of which this product is part of.',
  `girdle` varchar(255) NOT NULL,
  `certificate_filename` varchar(250) NOT NULL,
  `depth` varchar(5) NOT NULL,
  `description` varchar(250) NOT NULL,
  `published` enum('on','off') NOT NULL COMMENT 'published on website',
  `supplier_id` int(11) NOT NULL,
  `partner_id` int(11) NOT NULL,
  `crown_height` float(10,2) NOT NULL,
  `pavilion_height` float(10,2) NOT NULL,
  `crown_angle` float(10,2) NOT NULL,
  `pavilion_angle` float(10,2) NOT NULL,
  `girdle_percentage` float(10,2) NOT NULL,
  `culet` float(10,2) NOT NULL,
  `report_no` varchar(100) NOT NULL,
  `laser_inscription` varchar(50) NOT NULL,
  `laser_inclusion` float(10,2) NOT NULL,
  `report_date` int(10) NOT NULL,
  `report_comments` varchar(500) NOT NULL,
  `key_to_symbol` varchar(100) NOT NULL,
  `table_inclusion` float(10,2) NOT NULL,
  `black_inclusion` float(10,2) NOT NULL,
  `parent_product_id` int(11) NOT NULL DEFAULT '0',
  `inr_total_sale_price` decimal(10,2) NOT NULL,
  `is_profit_process_done` enum('yes','no') NOT NULL DEFAULT 'no',
  `trading_account` enum('no','yes') NOT NULL,
  `is_pair_separable` enum('yes','no') NOT NULL DEFAULT 'yes',
  `is_guarantee_available` enum('yes','no') NOT NULL DEFAULT 'no',
  `remarks` varchar(1000) NOT NULL,
  `supplier_stock_referance` varchar(75) NOT NULL,
  `fancy_color` enum('BLUE','WHITE','YELLOW','ORANGE','RED','GREEN','BLACK','BROWN','CHAMPAGNE','COGNAC','GRAY','PINK','PURPLE','VIOLET','OTHER') NOT NULL,
  `fancy_color_intensity` enum('F','VL','L','FCL','FC','FCD','I','FV','D') NOT NULL,
  `fancy_color_overtone` enum('BLUEISH','WHITEISH','YELLOWISH','ORANGEISH','REDISH','GREENISH','BLACKISH','BROWNISH','CHAMPAGNEISH','COGNACISH','GRAYISH','PINKISH','PURPLEISH','VIOLETISH','OTHER') NOT NULL,
  `state` varchar(50) NOT NULL,
  `city` varchar(50) NOT NULL,
  `pair_seperable` enum('YES','NO') NOT NULL,
  `availibility` enum('G','M','STPS','NA','YES','NO') NOT NULL,
  `treatment` enum('N','LD','IRR','CE','HPHT','COL','OT') NOT NULL,
  `girdle_thin` enum('XTK','VTK','TK','STK','M','TN','STN','VTN','XTN') NOT NULL,
  `girdle_thick` enum('XTK','VTK','TK','STK','M','TN','STN','VTN','XTN') NOT NULL,
  `girdle_condition` enum('P','F','B') NOT NULL,
  `markging` varchar(100) NOT NULL COMMENT 'this is special field for bulchi client only. they want to store some particular value in it.',
  `put_in_box_by` varchar(100) NOT NULL COMMENT 'this is special field for bulchi client only. they want to store persons name who stored the certificate for this product',
  `certi_issue_date` int(10) NOT NULL COMMENT 'this field will store the timestamp when the certification was issued',
  `original_discount` decimal(10,2) NOT NULL COMMENT 'this will store the original_discount when the product is brought',
  PRIMARY KEY (`id`),
  UNIQUE KEY `stoneid` (`stoneid`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

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

INSERT INTO `bstock_products` VALUES (1,1,NULL,'1325162668','RB1',0,'Single','ROUND',1.25,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','E',14900.00,14900.00,0.00,0.00,0.00,14900.00,0.00,0.000,0.00,0.00,0.00,0.00,9312.50,0,'113232132','Back','Back','Back','50','40',6,'7','','BLUE','','','','','','9','6X7X8','33','9','India','0',1.25,'','',0,'Ring','Loose',0.00,0.00,0.00,0.00,0,'Sold','0','true','true','RB1',0,'','','','','off',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','no','yes','no','','','BLUE','F','BLUEISH','','','YES','G','N','XTK','XTK','P','','',0,0.00),(2,1,'1324720762','1325147734','RB2',0,'Single','ROUND',1.35,'Mumbai','on','','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','H',6800.00,6800.00,0.00,0.00,0.00,6800.00,0.00,0.000,0.00,0.00,0.00,0.00,4590.00,0,'54545','Back','Back','Back','50','40',9,'10','','','','','','','','11','9X10X11','33','33','','0',1.35,'','',0,'Ring','Loose',0.00,9180.00,0.00,0.00,0,'On Approval','0','true','true','RB2',0,'','','11','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','','','no','56','','','','','','','YES','','','','','','','',0,50.00),(3,1,'1324721001','1325147799','RB3',0,'Single','ROUND',1.45,'Mumbai','on','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS1','H',8400.00,8400.00,0.00,0.00,0.00,8400.00,0.00,0.000,0.00,0.00,0.00,0.00,6090.00,0,'1132132','Back','Back','Back','50','40',6,'7','','','','','','','','8','6X7X8','1','1','','0',1.45,'','',0,'Ring','Loose',0.00,12180.00,0.00,0.00,0,'On Approval','0','true','true','RB3',0,'','','8','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','','','no','','','','','','','','YES','','','','','','','',0,50.00),(4,1,'1324721314','1324721314','RB4',0,'Single','ROUND',1.55,'Mumbai','on','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','H',13300.00,13300.00,346798.00,0.00,0.00,13300.00,0.00,0.000,0.00,0.00,0.00,0.00,10307.50,537536,'1321313','Back','Back','Back','50','40',11,'12','','','','','','','','15','11X12X15','55','55','','1',1.55,'','',0,'Ring','Loose',537536.90,20615.00,0.00,0.00,0,'In Stock','0','true','true','RB4',0,'','','15','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','','','no','','','','','','','','YES','','','','','','','',0,50.00),(5,1,'1325146910','1325146910','RB5',0,'Single','ROUND',1.50,'Mumbai','on','NONE','GIA','EXCELLENT','GOOD','VERY GOOD','VVS2','G',0.00,0.00,0.00,0.00,0.00,14400.00,0.00,0.000,0.00,0.00,0.00,0.00,0.00,0,'3121','Back','Back','Back','100','',6,'7','1','','','','','','','8','','12','12','','',1.50,'','',0,'Ring','Loose',0.00,0.00,0.00,0.00,0,'On Inward Jhangad','0','true','true','RB5',0,'','','','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','no','yes','no','','','BLUE','F','BLUEISH','','','YES','G','N','XTK','XTK','P','','',0,0.00),(6,1,'1325147093','1325147093','RB6',0,'Single','ROUND',1.60,'Mumbai','on','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VS1','H',11100.00,11100.00,0.00,0.00,0.00,11100.00,0.00,0.000,0.00,0.00,0.00,0.00,10656.00,0,'5465','Back','Back','Back','40','40',6,'7','','','','','','','','8','6X7X8','33','22','','1',1.60,'','',0,'Ring','Loose',0.00,17760.00,0.00,0.00,0,'In Stock','0','true','true','RB6',0,'','','8','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','','','no','','','','','','','','YES','','','','','','','',0,40.00),(7,1,'1325147285','1325147285','RB7',0,'Single','ROUND',1.70,'Mumbai','off','NONE','GIA','EXCELLENT','VERY GOOD','GOOD','VVS2','G',14400.00,14400.00,432000.00,0.00,0.00,14400.00,0.00,0.000,0.00,0.00,0.00,0.00,14688.00,734400,'s2222','Back','Back','Back','40','40',6,'7','','','','','','','','8','6X7X8','65','44','','1',1.70,'','',0,'Ring','Loose',734400.00,24480.00,0.00,0.00,0,'In Stock','0','true','true','RB7',0,'','','8','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','','','no','','','','','','','','YES','','','','','','','',0,40.00),(8,1,'1325147484','1325147484','RB8',0,'Single','ROUND',1.68,'Mumbai','off','NONE','GIA','ANY','ANY','ANY','VS1','F',14900.00,14900.00,0.00,0.00,0.00,14900.00,0.00,0.000,0.00,0.00,0.00,0.00,15019.20,0,'','Back','Back','Back','40','40',0,'','','','','','','','','','XX','','','','1',1.68,'','',0,'Ring','Loose',0.00,25032.00,0.00,0.00,0,'In Stock','0','true','true','RB8',0,'','','','','on',0,0,0.00,0.00,0.00,0.00,0.00,0.00,'','',0.00,0,'','',0.00,0.00,0,0.00,'no','','','no','','','','','','','','YES','','','','','','','',0,40.00);

--
-- Table structure for table `bstock_products_history`
--

CREATE TABLE `bstock_products_history` (
  `id` int(20) NOT NULL AUTO_INCREMENT COMMENT 'primary id for the table',
  `product_id` int(20) NOT NULL COMMENT 'Product 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_products` enum('In Stock','Sold','Approval Placed','Approval Issued','Approval Issued Partial','Approval Couriered Full','Approval Couriered Partial','Approval Partially Returned','Approval Returned Full','Order Placed','Order Issued','Order Issued Partial','Order Couriered Full','Order Couriered Partial','Order Partially Returned','Order Returned Full','Deleted','Onhold') 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='product life cycle in table structure';

--
-- Dumping data for table `bstock_products_history`
--


--
-- Table structure for table `bstock_products_history_new`
--

CREATE TABLE `bstock_products_history_new` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `product_id` int(10) NOT NULL,
  `status` enum('In Stock','Sold','Approval Placed','Approval Issued','Approval Issued Partial','Approval Couriered Full','Approval Couriered Partial','Approval Partially Returned','Approval Returned Full','Order Placed','Order Issued','Order Issued Partial','Order Couriered Full','Order Couriered Partial','Order Partially Returned','Order Returned Full','Onhold','Out Of Stock','On Approval','On Inward Jhangad','InwardJhangad Created','InwardJhangad Assigned','InwardJhangad Assigned Partial','InwardJhangad Partially Returned','InwardJhangad Returned Full','Sales Price Updated','Purchased','Mass Upload') NOT NULL,
  `size` decimal(10,3) NOT NULL,
  `amount` decimal(10,3) NOT NULL,
  `order_appro_id` int(8) unsigned zerofill NOT NULL COMMENT 'Order ID / Approval ID',
  `customer_id` int(10) NOT NULL,
  `old_price` decimal(10,3) NOT NULL COMMENT 'In case price being updated through Update Price module, this field will store the previous price of the stone.',
  `current_rap_price` float(10,2) NOT NULL,
  `discount` float(10,2) NOT NULL,
  `created_date` varchar(25) NOT NULL,
  `modified_date` varchar(25) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1 COMMENT='product life cycle in table structure';

--
-- Dumping data for table `bstock_products_history_new`
--

INSERT INTO `bstock_products_history_new` VALUES (1,1,'Purchased',1.250,0.000,00000001,1,0.000,0.00,50.00,'1324720758','1324720758'),(2,2,'Purchased',1.350,0.000,00000001,1,0.000,14900.00,50.00,'1324720762','1324720762'),(3,3,'Purchased',1.450,0.000,00000002,1,0.000,0.00,50.00,'1324721001','1324721001'),(4,4,'Purchased',1.550,537536.000,00000003,1,0.000,0.00,50.00,'1324721314','1324721314'),(5,1,'Order Placed',1.250,665924.210,00000001,2,0.000,0.00,30.00,'1324723198','1324723198'),(6,5,'On Inward Jhangad',1.500,0.000,00000001,0,0.000,0.00,0.00,'1325146910','1325146910'),(7,6,'Purchased',1.600,0.000,00000004,1,0.000,0.00,40.00,'1325147093','1325147093'),(8,7,'Purchased',1.700,734400.000,00000005,1,0.000,0.00,40.00,'1325147285','1325147285'),(9,8,'Purchased',1.680,0.000,00000006,1,0.000,0.00,40.00,'1325147484','1325147484'),(10,2,'Approval Placed',1.350,0.000,00000001,2,0.000,0.00,0.00,'1325147734','1325147734'),(11,3,'Approval Placed',1.450,12180.000,00000002,2,0.000,0.00,0.00,'1325147799','1325147799');

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

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

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

INSERT INTO `bstock_products_jwl` VALUES (1,0,0,5,45,2,0,'14k White Gold 1cttw Journey Diamond Pendant ','46080W','100','White','.1','24','.1','Fixed','New','on','',''),(2,0,0,4,0,2,0,'14k White Gold 1/2cttw Journey Diamond Pendant ','46071W','200','Gold','.1','24','.1','FIxed','New','on','',''),(3,0,0,3,45,3,0,'Walk down your memory lane with this 1/2 carat diamond pendant that represents your journey of love! Five bezel set brilliant diamonds descend in size as they bend and curve on a white gold path towards the largest diamond. This lovely gift comes on a 14 ','46072W','300','Silver','.1','24','.1','Fixed','New','on','',''),(4,0,0,2,0,3,0,'Stud Diamond Rings','46073W','400','Gold','.1','24','.1','Fixed','New','on','',''),(5,0,0,1,0,3,0,'Single Diamond Ring','46074W','300','Gold','30','30','30','Fixed','New','on','',''),(6,0,0,6,0,3,0,'Gemstone Ring with diamonds','46075W','100','Gold','.1','.1','5','Fixed','New','on','',''),(7,0,0,7,0,3,0,'Diamond Studed Rings with Gold','46076W','200','Gold','.2','.2','10','Fixed','New','on','',''),(8,0,0,8,0,3,0,'Eternity Rings with White Gold','46077W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(9,0,0,9,0,3,0,'Dedicated Rings with Silver platings','46078W','400','Silver','.4','.4','20','Fixed','New','on','',''),(10,0,0,10,0,3,0,'Wedding Ring for special occasions','46079W','500','Silver','.5','.5','25','Fixed','New','on','',''),(11,0,0,11,0,3,0,'Engagement Ring with Gold','46080W','600','Gold','.6','.6','30','Fixed','New','on','',''),(12,0,0,12,0,3,0,'Desinger Ring with Wide range of variety','46081W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(13,0,0,13,0,3,0,'Touch of Gold Ring in all range','46082W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(14,0,0,14,0,3,0,'Touch of Silver Ring in all range','46083W','900','Silver','.9','.9','45','Fixed','New','on','',''),(15,0,0,15,1,0,1,'','','1000','Gold','1.0','1.0','50','Fixed','New','on','','1283728343'),(16,0,0,16,0,4,0,'Solitaire Gemstone Ring with diamonds','46084W','100','Gold','.1','.1','5','Fixed','New','on','',''),(17,0,0,17,0,4,0,'Solitaire Diamond Studed Rings with Gold','46085W','200','Gold','.2','.2','10','Fixed','New','on','',''),(18,0,0,18,0,4,0,'Solitaire Eternity Rings with White Gold','46086W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(19,0,0,19,0,4,0,'Solitaire Dedicated Rings with Silver platings','46087W','400','Silver','.4','.4','20','Fixed','New','on','',''),(20,0,0,20,0,4,0,'Solitaire Wedding Ring for special occasions','46088W','500','Silver','.5','.5','25','Fixed','New','on','',''),(21,0,0,21,0,4,0,'Solitaire Engagement Ring with Gold','46089W','600','Gold','.6','.6','30','Fixed','New','on','',''),(22,0,0,22,0,4,0,'Solitaire Desinger Ring with Wide range of variety','46090W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(23,0,0,23,0,4,0,'Solitaire Touch of Gold Ring in all range','46091W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(24,0,0,24,0,4,0,'Solitaire Touch of Silver Ring in all range','46092W','900','Silver','.9','.9','45','Fixed','New','on','',''),(25,0,0,25,0,5,0,'Sidestone Gemstone Ring with diamonds','46093W','100','Gold','.1','.1','5','Fixed','New','on','',''),(26,0,0,26,0,5,0,'Sidestone Diamond Studed Rings with Gold','46095W','200','Gold','.2','.2','10','Fixed','New','on','',''),(27,0,0,27,0,5,0,'Sidestone Eternity Rings with White Gold','46096W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(28,0,0,28,0,5,0,'Sidestone Dedicated Rings with Silver platings','46097W','400','Silver','.4','.4','20','Fixed','New','on','',''),(29,0,0,29,0,5,0,'Sidestone Wedding Ring for special occasions','4609W','500','Silver','.5','.5','25','Fixed','New','on','',''),(30,0,55,55,0,5,0,'Sidestone Engagement Ring with Gold','46099','600','Gold','.6','.6','30','Fixed','New','on','',''),(31,0,0,31,0,5,0,'Sidestone Desinger Ring with Wide range of variety','4609W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(32,0,0,32,0,5,0,'Sidestone Touch of Gold Ring in all range','4601W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(33,0,0,33,0,5,0,'Sidestone Touch of Silver Ring in all range','4692W','900','Silver','.9','.9','45','Fixed','New','on','',''),(34,0,0,34,0,87,0,'Mone Gemstone Ring with diamonds','46093W','100','Gold','.1','.1','5','Fixed','New','on','',''),(35,0,0,35,0,87,0,'Mone Diamond Studed Rings with Gold','46095W','200','Gold','.2','.2','10','Fixed','New','on','',''),(36,0,0,36,0,87,0,'Mone Eternity Rings with White Gold','46096W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(37,0,0,37,0,87,0,'Mone Dedicated Rings with Silver platings','46097W','400','Silver','.4','.4','20','Fixed','New','on','',''),(38,0,0,38,0,87,0,'Mone Wedding Ring for special occasions','4609W','500','Silver','.5','.5','25','Fixed','New','on','',''),(39,0,0,39,0,87,0,'Mone Engagement Ring with Gold','46099','600','Gold','.6','.6','30','Fixed','New','on','',''),(40,0,0,40,0,87,0,'Mone Desinger Ring with Wide range of variety','4609W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(41,0,0,41,0,87,0,'Mone Touch of Gold Ring in all range','4601W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(42,0,0,42,0,87,0,'Mone Touch of Silver Ring in all range','4692W','900','Silver','.9','.9','45','Fixed','New','on','',''),(43,0,0,34,0,79,0,'Tension Gemstone Ring with diamonds','46093W','100','Gold','.1','.1','5','Fixed','New','on','',''),(44,0,0,35,0,79,0,'Tension Diamond Studed Rings with Gold','46095W','200','Gold','.2','.2','10','Fixed','New','on','',''),(45,0,0,36,0,79,0,'Tension Eternity Rings with White Gold','46096W','300','White Gold','.3','.3','15','Fixed','New','on','',''),(46,0,0,37,0,79,0,'Tension Dedicated Rings with Silver platings','46097W','400','Silver','.4','.4','20','Fixed','New','on','',''),(47,0,0,38,0,79,0,'Tension Wedding Ring for special occasions','4609W','500','Silver','.5','.5','25','Fixed','New','on','',''),(48,0,0,39,0,79,0,'Tension Engagement Ring with Gold','46099','600','Gold','.6','.6','30','Fixed','New','on','',''),(49,0,0,40,0,79,0,'Tension Desinger Ring with Wide range of variety','4609W','700','White Gold','.7','.7','35','Fixed','New','on','',''),(50,0,0,41,0,79,0,'Tension Touch of Gold Ring in all range','4601W','800','White Gold','.8','.8','40','Fixed','New','on','',''),(51,0,0,42,0,79,0,'Tension Touch of Silver Ring in all range','4692W','900','Silver','.9','.9','45','Fixed','New','on','',''),(52,0,58,56,1,0,1,'','','','','','','','','','on','1283757521','1283757521'),(53,0,59,58,1,0,1,'','','','','','','','','','on','1283759338','1283759338'),(54,0,60,59,1,0,1,'','','','','','','','','','on','1283777612','1283777612'),(55,0,62,60,1,0,1,'','','','','','','','','','on','1283852927','1283852927'),(56,0,70,61,1,0,1,'','','','','','','','','','on','1283873378','1283873378'),(57,0,71,62,1,0,1,'','','','','','','','','','on','1283873848','1283873848'),(58,0,72,63,1,0,1,'','','','','','','','','','on','1283875146','1283875146'),(59,0,79,64,1,0,1,'','','','','','','','','','on','1285668597','1285668597'),(60,0,80,65,1,0,1,'','','','','','','','','','on','1285668708','1285668708'),(61,0,81,66,1,0,1,'','','','','','','','','','on','1285668868','1285668868'),(62,0,82,67,1,0,1,'','','','','','','','','','on','1285668956','1285668956'),(63,0,83,68,1,0,1,'','','','','','','','','','on','1285669106','1285669106'),(64,0,84,69,1,0,1,'','','','','','','','','','on','1285676716','1285676716'),(65,0,85,70,1,0,1,'','','','','','','','','','on','1285678016','1285678016'),(66,0,86,71,1,0,1,'','','','','','','','','','on','1285678155','1285678155'),(67,0,87,72,1,0,1,'','','','','','','','','','on','1285678201','1285678201'),(68,0,88,73,1,0,1,'','','','','','','','','','on','1285678485','1285678485'),(69,0,89,74,1,0,1,'','','','','','','','','','on','1285680273','1285680273'),(70,0,90,75,1,0,1,'','','','','','','','','','on','1285680330','1285680330');

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

CREATE TABLE `bstock_products_metal_master` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'field is used as metal_id to get the detail of the metal purchased',
  `product_id` int(11) NOT NULL COMMENT 'this is used to get the name of the indivual product',
  `metal_type_id` int(11) NOT NULL,
  `price` varchar(10) NOT NULL,
  `weight` varchar(10) NOT NULL,
  `available_weight_for_sale` decimal(10,0) NOT NULL,
  `karat_id` varchar(10) 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_products_metal_master`
--

INSERT INTO `bstock_products_metal_master` VALUES (1,1,1,'100','100',100,'1','',''),(2,2,2,'200','200',200,'2','',''),(3,3,3,'300','300',300,'1','',''),(4,4,1,'400','400',400,'2','','');

--
-- Table structure for table `bstock_products_orig`
--

CREATE TABLE `bstock_products_orig` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `store_id` int(10) NOT NULL DEFAULT '1' COMMENT 'Can be used in future if multiple  stores are added.',
  `created_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was created.',
  `modified_date` varchar(50) DEFAULT NULL COMMENT 'This will contain the timestamp when this product was last modified.',
  `stoneid` varchar(50) NOT NULL,
  `serial_no` int(11) NOT NULL,
  `shape` enum('ROUND','PRINCESS','PAN','MARQUISE','CHOKHI','HEART','OVAL','CUSHION','TRIANGLE','ASCHER','RADIANT') NOT NULL,
  `size` decimal(10,2) NOT NULL,
  `location` enum('All','Antwerp','Hong Kong','Mumbai','New York') NOT NULL,
  `ABC` varchar(50) NOT NULL COMMENT 'This field corresponds to Location.',
  `is_active` enum('on','off') 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,
  `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` varchar(255) NOT NULL,
  `weight` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL DEFAULT '0',
  `certificate_id` varchar(50) NOT NULL,
  `discount` varchar(50) NOT NULL,
  `measurement` varchar(50) NOT NULL,
  `depth_percent` varchar(50) NOT NULL,
  `table_percent` varchar(50) NOT NULL,
  `percent` varchar(25) NOT NULL COMMENT 'Discount.',
  `country` enum('India','Hong Kong','USA','Belgium') NOT NULL,
  `qty` int(10) NOT NULL DEFAULT '1',
  `orignal_qty` int(11) NOT NULL,
  `purchase_price` varchar(10) NOT NULL,
  `vendorname` enum('None','Bigg Stock','Vendor 1','Vendor 2') NOT NULL,
  `customername` varchar(255) NOT NULL,
  `sellprice` varchar(20) NOT NULL,
  `sellqty` int(5) NOT NULL,
  `totalprice` varchar(20) NOT NULL,
  `comments` varchar(500) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=741 DEFAULT CHARSET=latin1 COMMENT='Store the products in the system.';

--
-- Dumping data for table `bstock_products_orig`
--

INSERT INTO `bstock_products_orig` VALUES (2,1,'1267005563','1267005563','90.60/9',0,'ROUND',0.90,'Mumbai','','off','FAINT','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI1','G','','','3366','1109747116','-0.34','','64','59','','India',-7,0,'','None','Vishal Kothari','200',2,'400','Good profits.'),(3,1,'1267005563','1267005563','90.60/10A',0,'PRINCESS',1.01,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','','VS2','J','','','2470','2106747260','-0.35','','75.8','79','','India',-3,0,'','None','Harshad','100',5,'500','Loss incurred.'),(4,1,'1267005563','1267005563','90.60/11',0,'ROUND',0.81,'Mumbai','','off','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','SI1','D','','','3266','5106747123','-0.29','','63.6','57','','India',-5,0,'','None','Bigg Stock','250',1,'250','Should yeild profit.'),(5,1,'1267005563','1267005563','90.60/12A',0,'ROUND',0.57,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','L','','','1188','2106747124','-0.34','','59.9','60','','India',-3,0,'','None','Vishal Kothari','4000',1,'4000','Looks good.'),(6,1,'1267005563','1267005563','90.60/14',0,'',1.51,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','2420','S2E77301','-0.45','','70.8','70.5','','India',2,0,'','None','','',0,'',''),(7,1,'1267005563','1267005563','90.60/22A',0,'ROUND',0.52,'Mumbai','','off','STRONG','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS2','E','','','2109','5106747122','-0.43','','61.8','58','','India',-1,0,'','None','','',0,'',''),(8,1,'1267005563','1267005563','90.60/25',0,'ROUND',0.76,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VS2','K','','','1440','2106747127','-0.4','','63.3','57','','India',1,0,'','None','','',0,'',''),(9,1,'1267005563','1267005563','90.60/32A',0,'PRINCESS',1.01,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4070','S2E77300','-0.45','','73.2','79','','India',0,0,'','None','','',0,'',''),(10,1,'1267005563','1267005563','90.60/34',0,'ROUND',0.90,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','I','','','2604','5106747117','-0.38','','62.5','57','','India',0,0,'','None','','',0,'',''),(12,1,'1267005563','1267005563','90.60/8',0,'ROUND',1.14,'Mumbai','','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','IF','N','','','0','S2E77303','-0.4','','63.2','55','','India',1,0,'','None','','',0,'',''),(13,1,'1267005563','1267005563','90.60/24',0,'',1.01,'Mumbai','','off','NONE','IGI','VERY GOOD','GOOD','','VVS2','I','','','2750','S2E77302','-0.45','','72.5','68.5','','India',2,0,'','None','','',0,'',''),(14,1,'1267005563','1267005563','90.60/30',0,'',1.09,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','I','','','2860','S2E79388','-0.45','','67','66.5','','India',0,0,'','None','','',0,'',''),(15,1,'1267005563','1267005563','90.60/37',0,'',0.92,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VS1','H','','','2530','S2E79387','-0.45','','66.4','64','','India',1,0,'','None','','',0,'',''),(16,1,'1267005563','1267005563','90.60/35',0,'ROUND',0.90,'Mumbai','','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','L','','','2108','S2E82366','-0.32','','63.4','57','','India',-1,0,'','None','','',0,'',''),(17,1,'1267005563','1267005563','90.60/40',0,'ROUND',1.07,'Mumbai','','off','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','I','','','4620','S2E82365','-0.3','','63.5','56.5','','India',1,0,'','None','','',0,'',''),(18,1,'1267005563','1267005563','90.60/2',0,'ROUND',1.13,'Mumbai','','off','NONE','IGI','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','K','','','3150','S2E84690','-0.37','','63.1','56','','India',1,0,'','None','','',0,'',''),(19,1,'1267005563','1267005563','90.60/28',0,'ROUND',1.00,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','K','','','3000','S2E84691','-0.4','','63.8','55','','India',1,0,'','None','','',0,'',''),(20,1,'1267005563','1267005563','90.60/4A',0,'ROUND',0.54,'Mumbai','','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','L','','','1300','2106790233','-0.35','','62.2','57','','India',1,0,'','None','','',0,'',''),(21,1,'1267005563','1267005563','90.60/20',0,'ROUND',0.76,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','H','','','3015','2106790229','-0.33','','62.3','59','','India',-2,0,'','None','','',0,'',''),(22,1,'1267005563','1267005563','90.60/26',0,'ROUND',0.91,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS2','F','','','5226','2106790231','-0.33','','61.6','59','','India',-2,0,'','None','','',0,'',''),(23,1,'1267005563','1267005563','90.60/36',0,'ROUND',0.82,'Mumbai','','off','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VS2','J','','','2044','5106790226','-0.27','','61.9','59','','India',-2,0,'','None','','',0,'',''),(24,1,'1267005563','1267005563','90.60/41',0,'ROUND',0.81,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS2','G','','','3774','5106790227','-0.26','','63.2','58','','India',1,0,'','None','','',0,'',''),(25,1,'1267005563','1267005563','90.60/1',0,'ROUND',1.23,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','3600','1109789950','-0.25','','62.3','57','','India',-1,0,'','None','','',0,'',''),(26,1,'1267005563','1267005563','90.60/42',0,'ROUND',0.70,'Mumbai','','off','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VVS1','G','','','3575','5106790225','-0.35','','63.2','56','','India',1,0,'','None','','',0,'',''),(27,1,'1267005563','1267005563','90.60/16B',0,'ROUND',0.60,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','G','','','2664','2106790232','-0.28','','62.6','59','','India',1,0,'','None','','',0,'',''),(28,1,'1267005563','1267005563','90.60/12B',0,'ROUND',0.56,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','L','','','1365','2106790230','-0.35','','61.3','61','','India',1,0,'','None','','',0,'',''),(29,1,'1267005563','1267005563','90.60/17',0,'ROUND',1.09,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS1','G','','','7275','2106789951','-0.25','','62.8','58','','India',1,0,'','None','','',0,'',''),(30,1,'1267005563','1267005563','90.60/5',0,'ROUND',0.70,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','E','','','3696','5106784511','-0.34','','62.8','58','','India',1,0,'','None','','',0,'',''),(31,1,'1267005563','1267005563','90.60/21',0,'ROUND',0.51,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','E','','','2479','5106784507','-0.33','','60.8','59','','India',1,0,'','None','','',0,'',''),(32,1,'1267005563','1267005563','90.60/21B',0,'ROUND',0.52,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','E','','','3111','5106781899','-0.39','','59.6','60','','India',1,0,'','None','','',0,'',''),(33,1,'1267005563','1267005563','90.60/27',0,'ROUND',0.80,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS1','H','','','4000','5106784001','-0.2','','63.5','57','','India',1,0,'','None','','',0,'',''),(34,1,'1267005563','1267005563','90.60/15',0,'ROUND',1.08,'Mumbai','','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','K','','','3150','S2E87266','-0.37','','62.1','59','','India',1,0,'','None','','',0,'',''),(35,1,'1267005563','1267005563','90.60/33',0,'ROUND',1.01,'Mumbai','','off','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','I','','','3850','S2E87265','-0.3','','63.3','57.5','','India',1,0,'','None','','',0,'',''),(36,1,'1267005563','1267005563','1',0,'ROUND',0.32,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','SI1','D','','','1280','','-0.36','','60.2','57','','India',1,0,'','None','','',0,'',''),(37,1,'1267005563','1267005563','2',0,'ROUND',0.30,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','VVS1','E','','','2142','','-0.37','','64.7','55','','India',1,0,'','None','','',0,'',''),(38,1,'1267005564','1267005564','3',0,'ROUND',0.73,'Mumbai','','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','SI1','H','','','1972','','-0.42','','58.9','59','','India',1,0,'','None','','',0,'',''),(39,1,'1267005563','1267005563','4',0,'ROUND',0.31,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VS1','E','','','1716','','-0.34','','61.6','57','','India',1,0,'','None','','',0,'',''),(40,1,'1267005564','1267005564','100',0,'ROUND',5.01,'Mumbai','','off','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','J','','','12600','','-0.4','','62.8','53.5','','India',1,0,'','None','','',0,'',''),(41,1,'1267005563','1267005563','5',0,'ROUND',0.36,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS1','E','','','1716','','-0.34','','58.8','62','','India',0,0,'','None','','',0,'',''),(42,1,'1267005563','1267005563','6',0,'ROUND',0.31,'Mumbai','','off','NONE','GIA','EXCELLENT','GOOD','VERY GOOD','VS2','E','','','1512','','-0.37','','60.4','59','','India',1,0,'','None','','',0,'',''),(43,1,'1267005564','1267005564','7',0,'ROUND',0.80,'Mumbai','','off','','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','J','','','1512','','-0.44','','61.5','59','','India',1,0,'','None','','',0,'',''),(44,1,'1267005563','1267005563','8',0,'ROUND',0.36,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','F','','','1608','','-0.33','','61.5','57','','India',1,0,'','None','','',0,'',''),(45,1,'1267005563','1267005563','9',0,'ROUND',0.32,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS2','F','','','1452','','-0.34','','61.2','58','','India',1,0,'','None','','',0,'',''),(46,1,'1267005564','1267005564','10',0,'ROUND',1.00,'Mumbai','','off','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','IF','F','','','8294','','-0.42','','60.6','61','','India',1,0,'','None','','',0,'',''),(47,1,'1267005564','1267005564','11',0,'ROUND',1.00,'Mumbai','','off','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','SI1','F','','','3900','','-0.4','','61.9','55.5','','India',1,0,'','None','','',0,'',''),(48,1,'1267005564','1267005564','12',0,'ROUND',1.00,'Mumbai','','off','','IGI','GOOD','VERY GOOD','VERY GOOD','VS1','G','','','4698','','-0.42','','59.2','60.5','','India',1,0,'','None','','',0,'',''),(49,1,'1267005564','1267005564','13',0,'ROUND',0.37,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS2','G','','','1292','','-0.32','','59.5','58','','India',1,0,'','None','','',0,'',''),(50,1,'1267005564','1267005564','14',0,'ROUND',0.52,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS2','D','','','3575','','-0.35','','62.8','59','','India',1,0,'','None','','',0,'',''),(51,1,'1267005564','1267005564','15',0,'ROUND',0.51,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','E','','','3468','','-0.32','','60.5','59','','India',1,0,'','None','','',0,'',''),(52,1,'1267005564','1267005564','16',0,'ROUND',0.51,'Mumbai','','off','NONE','GIA','VERY GOOD','GOOD','VERY GOOD','VVS2','E','','','3213','','-0.37','','57.9','62','','India',1,0,'','None','','',0,'',''),(53,1,'1267005564','1267005564','17',0,'ROUND',0.55,'Mumbai','','off','NONE','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','E','','','3417','','-0.33','','59.3','61','','India',1,0,'','None','','',0,'',''),(54,1,'1267005564','1267005564','19',0,'ROUND',0.51,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','GOOD','VS2','E','','','2183','','-0.41','','62','59','','India',1,0,'','None','','',0,'',''),(55,1,'1267005564','1267005564','21',0,'ROUND',1.16,'Mumbai','','off','','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS2','H','','','4030','','-0.35','','61.8','56.5','','India',1,0,'','None','','',0,'',''),(56,1,'1267005564','1267005564','89',0,'ROUND',0.55,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VS1','F','','','2560','','-0.36','','60.5','61','','India',1,0,'','None','','',0,'',''),(57,1,'1267005564','1267005564','22',0,'ROUND',1.06,'Mumbai','','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','H','','','3654','','-0.37','','62.5','59.5','','India',1,0,'','None','','',0,'',''),(58,1,'1267005564','1267005564','23',0,'ROUND',0.50,'Mumbai','','off','NONE','GIA','VERY GOOD','EXCELLENT','VERY GOOD','VS2','F','','','2240','','-0.36','','59','62','','India',1,0,'','None','','',0,'',''),(59,1,'1267005564','1267005564','90',0,'ROUND',0.52,'Mumbai','','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS1','G','','','2257','','-0.39','','62.1','58','','India',1,0,'','None','','',0,'',''),(60,1,'1267005564','1267005564','25',0,'ROUND',1.03,'Mumbai','','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','I','','','4554','','-0.31','','62.8','58','','India',1,0,'','None','','',0,'',''),(61,1,'1267005564','1267005564','27',0,'ROUND',1.02,'Mumbai','','off','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VS1','I','','','3245','','-0.45','','61.2','61','','India',1,0,'','None','','',0,'',''),(62,1,'1267005564','1267005564','28',0,'ROUND',0.71,'Mumbai','','off','NONE','GIA','GOOD','EXCELLENT','VERY GOOD','VS2','E','','','3050','','-0.39','','58.9','61','','India',1,0,'','None','','',0,'',''),(63,1,'1267005564','1267005564','30',0,'ROUND',1.15,'Mumbai','','off','NONE','IGI','EXCELLENT','VERY GOOD','EXCELLENT','VVS2','J','','','3696','','-0.34','','62.8','57','','India',1,0,'','None','','',0,'',''),(64,1,'1267005564','1267005564','117',0,'ROUND',2.04,'Mumbai','','off','SLIGHT','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS1','I','','','6510','','-0.38','','63','57','','India',1,0,'','None','','',0,'',''),(65,1,'1267005564','1267005564','34',0,'ROUND',0.70,'Mumbai','','off','MEDIUM','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI2','H','','','1643','','-0.47','','63.3','57','','India',1,0,'','None','','',0,'',''),(66,1,'1267005564','1267005564','35',0,'ROUND',0.81,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','3212','','-0.27','','64.1','55','','India',1,0,'','None','','',0,'',''),(67,1,'1267005564','1267005564','36',0,'ROUND',0.80,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VVS1','F','','','5332','','-0.14','','61.1','57','','India',1,0,'','None','','',0,'',''),(68,1,'1267005564','1267005564','102',0,'PRINCESS',1.07,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','G','','','4292','','-0.42','','70.3','80','','India',1,0,'','None','','',0,'',''),(69,1,'1267005564','1267005564','103',0,'ROUND',0.91,'Mumbai','','off','MEDIUM','GIA','EXCELLENT','VERY GOOD','EXCELLENT','VS1','E','','','4624','','-0.32','','61.5','58','','India',1,0,'','None','','',0,'',''),(70,1,'1267005564','1267005564','118',0,'ROUND',0.90,'Mumbai','','off','FAINT','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','F','','','3575','','-0.35','','62.6','59','','India',1,0,'','None','','',0,'',''),(71,1,'1267005564','1267005564','104',0,'ROUND',0.93,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','VERY GOOD','SI1','G','','','3213','','-0.37','','63.1','57','','India',1,0,'','None','','',0,'',''),(72,1,'1267005564','1267005564','39',0,'ROUND',1.11,'Mumbai','','off','NONE','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','E','','','8946','','-0.29','','61.7','57','','India',1,0,'','None','','',0,'',''),(73,1,'1267005564','1267005564','41',0,'ROUND',1.01,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','4760','','-0.3','','61.3','60','','India',1,0,'','None','','',0,'',''),(74,1,'1267005564','1267005564','91',0,'ROUND',1.04,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI1','E','','','4760','','-0.3','','63.3','57','','India',1,0,'','None','','',0,'',''),(75,1,'1267005564','1267005564','92',0,'ROUND',1.05,'Mumbai','','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','F','','','7820','','-0.32','','60.7','60','','India',1,0,'','None','','',0,'',''),(76,1,'1267005564','1267005564','111',0,'PRINCESS',0.90,'Mumbai','','off','NONE','IGI','VERY GOOD','GOOD','','VS1','L','','','1219','','-0.47','','75.7','79.7','','India',1,0,'','None','','',0,'',''),(77,1,'1267005564','1267005564','42',0,'ROUND',1.07,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','VS2','G','','','5112','','-0.29','','59.6','59','','India',0,0,'','None','','',0,'',''),(78,1,'1267005564','1267005564','112',0,'ROUND',1.05,'Mumbai','','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','G','','','3843','','-0.37','','62.7','57','','India',1,0,'','None','','',0,'',''),(79,1,'1267005564','1267005564','113',0,'ROUND',1.00,'Mumbai','','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','GOOD','SI2','G','','','3180','','-0.4','','63.3','60','','India',1,0,'','None','','',0,'',''),(80,1,'1267005564','1267005564','95',0,'ROUND',1.14,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','VERY GOOD','SI2','H','','','3417','','-0.33','','63.5','56','','India',1,0,'','None','','',0,'',''),(81,1,'1267005564','1267005564','43',0,'ROUND',1.21,'Mumbai','','off','NONE','IGI','VERY GOOD','EXCELLENT','EXCELLENT','IF','I','','','4896','','-0.32','','63.2','57.5','','India',1,0,'','None','','',0,'',''),(82,1,'1267005564','1267005564','96',0,'ROUND',1.33,'Mumbai','','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS1','F','','','7360','','-0.2','','61.6','57','','India',1,0,'','None','','',0,'',''),(83,1,'1267005564','1267005564','45',0,'ROUND',1.23,'Mumbai','','off','MEDIUM','GIA','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','H','','','5904','','-0.28','','61.1','61','','India',1,0,'','None','','',0,'',''),(84,1,'1267005564','1267005564','47',0,'ROUND',1.50,'Mumbai','','off','NONE','GIA','GOOD','EXCELLENT','VERY GOOD','VVS2','E','','','11900','','-0.3','','60','60','','India',1,0,'','None','','',0,'',''),(85,1,'1267005564','1267005564','48',0,'ROUND',1.51,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','G','','','9576','','-0.24','','62.9','55','','India',1,0,'','None','','',0,'',''),(86,1,'1267005564','1267005564','119',0,'ROUND',1.50,'Mumbai','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VS2','G','','','7056','','-0.28','','62.2','58','','India',1,0,'','None','','',0,'',''),(87,1,'1267005564','1267005564','114',0,'ROUND',1.56,'Mumbai','','off','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','H','','','7280','','-0.3','','61.9','57','','India',1,0,'','None','','',0,'',''),(88,1,'1267005564','1267005564','120',0,'ROUND',1.55,'Mumbai','','off','FAINT','GIA','EXCELLENT','VERY GOOD','VERY GOOD','VVS1','H','','','7575','','-0.25','','62.9','58','','India',1,0,'','None','','',0,'',''),(89,1,'1267005564','1267005564','54',0,'ROUND',1.24,'Mumbai','','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VVS2','J','','','3808','','-0.32','','62.9','58','','India',1,0,'','None','','',0,'',''),(90,1,'1267005564','1267005564','55',0,'ROUND',1.24,'Mumbai','','off','SLIGHT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','K','','','3276','','-0.37','','62.5','58','','India',1,0,'','None','','',0,'',''),(91,1,'1267005564','1267005564','56',0,'ROUND',1.26,'Mumbai','','off','STRONG','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS2','K','','','3000','','-0.4','','61.2','60','','India',1,0,'','None','','',0,'',''),(92,1,'1267005564','1267005564','105',0,'PRINCESS',1.02,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS2','K','','','1908','','-0.47','','73.9','73.5','','India',1,0,'','None','','',0,'',''),(93,1,'1267005564','1267005564','106',0,'',1.11,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','','VVS1','K','','','1776','','-0.52','','67.4','63.5','','India',1,0,'','None','','',0,'',''),(94,1,'1267005564','1267005564','58',0,'',0.50,'Mumbai','','off','NONE','GIA','GOOD','EXCELLENT','','VS1','G','','','1260','','-0.55','','60','78','','India',1,0,'','None','','',0,'',''),(95,1,'1267005564','1267005564','59',0,'ROUND',1.20,'Mumbai','','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','SI1','K','','','2440','','-0.39','','62.3','57','','India',1,0,'','None','','',0,'',''),(96,1,'1267005564','1267005564','60',0,'',0.76,'Mumbai','','off','NONE','GIA','GOOD','VERY GOOD','','VVS2','G','','','2070','','-0.55','','66.3','75','','India',1,0,'','None','','',0,'',''),(97,1,'1267005564','1267005564','61',0,'',0.91,'Mumbai','','off','NONE','GIA','VERY GOOD','VERY GOOD','','VS1','F','','','2800','','-0.5','','66.5','74','','India',1,0,'','None','','',0,'',''),(98,1,'1267005564','1267005564','62',0,'ROUND',1.51,'Mumbai','','off','NONE','IGI','VERY GOOD','EXCELLENT','VERY GOOD','VS1','H','','','5874','','-0.34','','64','55.5','','India',1,0,'','None','','',0,'',''),(99,1,'1267005564','1267005564','63',0,'ROUND',1.56,'Mumbai','','off','NONE','IGI','EXCELLENT','EXCELLENT','EXCELLENT','VS2','H','','','5893','','-0.29','','60.7','56.5','','India',1,0,'','None','','',0,'',''),(100,1,'1267005564','1267005564','64',0,'ROUND',1.50,'Mumbai','','off','NONE','IGI','VERY GOOD','VERY GOOD','VERY GOOD','VS2','H','','','5312','','-0.36','','64','55.5','','India',1,0,'','None','','',0,'',''),(643,1,NULL,'1272311174','111',0,'ROUND',5.00,'Antwerp','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D','','','1000','222','40','2','4','4','','India',5,0,'','None','','',0,'',''),(644,1,'1272313608','1272313608','999',0,'ROUND',1.00,'All','','off','FAINT','IGI','VERY GOOD','EXCELLENT','EXCELLENT','VVS1','D','','','2000','888','50','4','1','1','','India',5,0,'2000','Bigg Stock','Vishal Kothari','12000',1,'12000','Enter order comments here.'),(645,1,'1273274684','1273274684','abc',0,'ROUND',0.20,'All','','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','IF','D','','','4000','111','0.4','1','1','1','','India',1,0,'2000','Bigg Stock','Vishal Kothari','2500',1,'2500','small profit.'),(647,22,'1267005563','1267005563','323',0,'ROUND',1.00,'All','','off','FAINT','All Labs','ANY','ANY','ANY','ANY','ANY','2342','1','1000','1','10','1','1','1','','India',1,0,'111','Bigg Stock','test ','1000',1,'1111','comment comments'),(648,1275047202,'1275047202','time()','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','',',','','','','','','India',0,0,'','Bigg Stock','','',0,'','comments'),(649,1,'1275047690','1275047690','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','',',','','','','','','India',0,0,'','Bigg Stock','','',0,'','comments'),(650,1,'1275137955','1275137955','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','','ANY',' ','','ANY',',','','','','','','India',0,0,'ANY','Bigg Stock','','',0,'ANY','comments'),(651,1,'1275288300','1275288300','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(652,1,'1275288428','1275288428','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(653,1,'1275288459','1275288459','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(654,1,'1275288653','1275288653','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(655,1,'1275294070','1275294070','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(656,1,'1275297932','1275297932','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(657,1,'1275307959','1275307959','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(658,1,'1275309207','1275309207','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(659,1,'1275309370','1275309370','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(660,1,'1275309403','1275309403','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(661,1,'1275309422','1275309422','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(662,1,'1275309565','1275309565','',0,'',0.00,'','','off','','','','','ANY','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(663,1,'1275309593','1275309593','',0,'',0.00,'','','off','','','','','ANY','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(664,1,'1275310965','1275310965','',0,'',0.00,'','','off','','','','','ANY','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(665,1,'1275311141','1275311141','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','','EXCELLENT','','ANY',' ','','IF',',','','','','','','India',0,0,'IF','None','','',0,'IF','comments'),(666,1,'1275311452','1275311452','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','','EXCELLENT','IF','ANY',' ','','333',',','','','','','','India',2,0,'333','None','','',0,'333','comments'),(667,1,'1275311787','1275311787','34',0,'ROUND',1.00,'Antwerp','','off','FAINT','GIA','EXCELLENT','','EXCELLENT','IF','D',' ','','4444',',222222222','25','1','1','1','','',3,0,'4444','','','',0,'4444','comments'),(668,1,'1275315023','1275315023','2223',0,'PRINCESS',0.23,'All','','off','ANY','All Labs','ANY','GOOD','EXCELLENT','IF','D',' ','','2222',',34242','2','1','1','1','','India',2,0,'2222','','','',0,'2222','comments'),(669,1,'1275315857','1275315857','2222',0,'',1.00,'All','','off','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','E',' ','','2222',',222222222','22','2','5','7','','',3,0,'2222','Bigg Stock','','',0,'2222','comments'),(670,1,'1275315864','1275315864','2222',0,'',1.00,'All','','off','STRONG','GIA','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','E',' ','','2222',',222222222','22','2','5','7','','',2,0,'2222','Bigg Stock','','',0,'2222','comments'),(671,1,'1275388586','1275388586','111',0,'ROUND',2.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','786',',23234243243','65','1','1','1','','India',6,0,'786','Bigg Stock','','',0,'786','comments'),(672,1,'1275388661','1275388661','111',0,'ROUND',2.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','786',',23234243243','65','1','1','1','','India',6,0,'786','Bigg Stock','','',0,'786','comments'),(673,1,'1275389199','1275389199','2323',0,'PRINCESS',1.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','222',',3423423423','','1','11','1','','India',34,0,'222','','','',0,'222','comments'),(674,1,'1275397492','1275397492','',0,'',0.00,'','','off','','','','','','','',' ','','0',',','','','','','','',0,0,'0','','','',0,'0','comments'),(675,1,'1275449590','1275449590','2342',0,'MARQUISE',1.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',3242423423','12','1','1','1','','India',2,0,'333','','','',0,'333','comments'),(676,1,'1275458671','1275458671','',0,'ROUND',1.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','India',1,0,'33333','Bigg Stock','','',0,'33333','comments'),(677,1,'1275461287','1275461287','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','432',',','','','','','','India',2,0,'432','None','','',0,'432','comments'),(678,1,'1275485692','1275485692','3242',0,'ROUND',1.00,'Antwerp','','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','2342',',23423423423423432','2','2','1','1','','USA',2,0,'2342','','','',0,'2342','comments'),(679,1,'1275485721','1275485721','3242',0,'ROUND',1.00,'Antwerp','','off','FAINT','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','2342',',23423423423423432','2','2','1','1','','USA',2,0,'2342','','','',0,'2342','comments'),(680,1,'1275587069','1275587069','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2233',',','','','','','','India',22,0,'2233','','','',0,'2233','comments'),(681,1,'1275718232','1275718232','333',0,'RADIANT',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',555','1','1','1','1','','India',3,0,'322','','','',0,'322','comments'),(682,1,'1275718232','1275718232','333',0,'RADIANT',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',555','1','1','1','1','','India',3,0,'322','','','',0,'322','comments'),(683,1,'1275718232','1275718232','333',0,'RADIANT',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',555','1','1','1','1','','India',3,0,'322','','','',0,'322','comments'),(684,1,'1275718467','1275718467','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','India',2,0,'33333','Bigg Stock','','',0,'33333','comments'),(685,1,'1275718467','1275718467','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','India',2,0,'33333','Bigg Stock','','',0,'33333','comments'),(686,1,'1275718467','1275718467','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','33333',',','','','','','','India',2,0,'33333','Bigg Stock','','',0,'33333','comments'),(687,1,'1275718814','1275718814','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','India',1,0,'2342','Bigg Stock','','',0,'2342','comments'),(688,1,'1275719177','1275719177','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',','','','','','','India',3,0,'333','None','','',0,'333','comments'),(689,1,'1275719901','1275719901','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',','','','','','','India',2,0,'333','','','',0,'333','comments'),(690,1,'1275729302','1275729302','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','India',2,0,'2342','','','',0,'2342','comments'),(691,1,'1275730445','1275730445','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','India',2,0,'2342','','','',0,'2342','comments'),(692,1,'1275732085','1275732085','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','322',',','','','','','','India',1,0,'322','Bigg Stock','','',0,'322','comments'),(693,1,'1276066363','1276066363','',0,'ROUND',0.57,'','','off','','','','EXCELLENT','EXCELLENT','VS1','L',' ','','1188',',','','','','','','',1,0,'1188','','','',0,'1188','comments'),(694,1,'1276066604','1276066604','',0,'ROUND',0.57,'','','off','','','','EXCELLENT','EXCELLENT','VS1','L',' ','','1188',',','','','','','','',1,0,'1188','','','',0,'1188','comments'),(695,1,'1276094427','1276094427','',0,'ROUND',0.85,'','','off','','','','VERY GOOD','VERY GOOD','SI1','L',' ','','1400',',','','','','','','',1,0,'1400','','','',0,'1400','comments'),(696,1,'1276242984','1276242984','',0,'',1.51,'','','off','','','','VERY GOOD','','VVS1','K',' ','','2420',',','','','','','','',1,0,'2420','','','',0,'2420','comments'),(697,1,'1276520041','1276520041','9090',0,'PRINCESS',0.80,'New York','','off','ANY','IGI','FAIR','GOOD','VERY GOOD','VVS1','D',' ','','100',',1234','30','2','1','2','','USA',5,0,'100','','','',0,'100','comments'),(698,1,'1276520636','1276520636','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(699,1,'1276520636','1276520636','',0,'',2.00,'All','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','F',' ','','200',',','','','','','','India',2,0,'200','Bigg Stock','','',0,'200','comments'),(700,1,'1276520747','1276520747','',0,'',1.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','200',',','','','','','','India',2,0,'200','','','',0,'200','comments'),(701,1,'1276520863','1276520863','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(702,1,'1276520881','1276520881','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(703,1,'1276520953','1276520953','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(704,1,'1276521306','1276521306','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','100',',','','','','','','India',1,0,'100','Bigg Stock','','',0,'100','comments'),(705,1,'1276581400','1276581400','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2342',',','','','','','','India',2,0,'2342','','','',0,'2342','comments'),(706,1,'1276586239','1276586239','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(707,1,'1276586295','1276586295','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(708,1,'1276586447','1276586447','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(709,1,'1276586506','1276586506','',0,'',0.00,'','','off','','','','','','','',' ','','',',','','','','','','',0,0,'','','','',0,'','comments'),(710,1,'1277402702','1277402702','',0,'ROUND',2.00,'All','','off','ANY','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','3421',',','','','','','','India',22,0,'3421','None','','',0,'3421','comments'),(711,1,'1277402890','1277402890','',0,'ROUND',2.00,'All','','off','NONE','All Labs','EXCELLENT','EXCELLENT','EXCELLENT','VVS1','D',' ','','2342',',','','','','','','India',32,0,'2342','','','',0,'2342','comments'),(712,1,'1277402927','1277402927','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2343',',','','','','','','India',23,0,'2343','','','',0,'2343','comments'),(713,1,'1277403112','1277403112','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2343',',','','','','','','India',23,0,'2343','','','',0,'2343','comments'),(714,1,'1277405569','1277405569','',0,'ROUND',2.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3453',',','','','','','','India',23,0,'3453','','','',0,'3453','comments'),(715,1,'1277405654','1277405654','',0,'ROUND',2.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3453',',','','','','','','India',23,0,'3453','','','',0,'3453','comments'),(716,1,'1277809664','1277809664','',0,'ROUND',2.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2322',',','','','','','','India',2,2,'2322','Bigg Stock','','',0,'2322','comments'),(717,1,'1277812121','1277812121','',0,'ROUND',1.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2422',',','','','','','','India',2,2,'2422','Bigg Stock','','',0,'2422','comments'),(718,1,'1277812711','1277812711','',0,'ROUND',2.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3322',',','','','','','','India',2,2,'3322','','','',0,'3322','comments'),(719,1,'1277814773','1277814773','',0,'ROUND',1.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2322',',','','','','','','India',3,3,'2322','','','',0,'2322','comments'),(720,1,'1277814862','1277814862','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2322',',','','','','','','India',33,33,'2322','Bigg Stock','','',0,'2322','comments'),(721,1,'1277901971','1277901971','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','4.444',',','','','','','','India',3,3,'4.444','','','',0,'4.444','comments'),(722,1,'1277902017','1277902017','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','4.444',',','','','','','','India',3,3,'4.444','','','',0,'4.444','comments'),(723,1,'1277903024','1277903024','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3343',',','','','','','','India',2,2,'3343','Bigg Stock','','',0,'3343','comments'),(724,1,'1277903901','1277903901','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','333',',','','','','','','India',3,3,'333','','','',0,'333','comments'),(725,1,'1277904553','1277904553','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2222',',','','','','','','India',2,2,'2222','','','',0,'2222','comments'),(726,1,'1277904809','1277904809','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','4000',',','','','','','','India',2,2,'4000','','','',0,'4000','comments'),(727,1,'1277965748','1277965748','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3423',',','','','','','','India',2,0,'3423','','','',0,'3423','comments'),(728,1,'1277967705','1277967705','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','3.333',',','','','','','','India',3,0,'3.333','Bigg Stock','','',0,'3.333','comments'),(729,1,'1277969543','1277969543','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2222',',','','','','','','India',3,0,'2222','','','',0,'2222','comments'),(730,1,'1277970076','1277970076','',0,'ROUND',0.00,'All','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2.222',',','','','','','','India',3,0,'2.222','','','',0,'2.222','comments'),(731,1,'1278339932','1278339932','A12B',0,'',9.00,'Mumbai','','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','SI1','S',' ','','300',',ADC1234','12','10','4','4','','India',100,0,'300','','','',0,'300','comments'),(732,1,'1281616632','1281616632','111',0,'PRINCESS',0.90,'All','','off','NONE','GIA','VERY GOOD','VERY GOOD','EXCELLENT','VVS1','D','','','1200','222','-0.3','1','66','54','','India',1,0,'','None','','',0,'',''),(733,1,'1281619445','1281619445','111',0,'ROUND',0.90,'','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','1455',',222','-0.3','1','66','54','','',1,0,'1455','','','',0,'1455','comments'),(734,1,'1281619568','1281619568','222',0,'PRINCESS',1.20,'','','off','NONE','GIA','VERY GOOD','GOOD','VERY GOOD','VVS1','E',' ','','900',',333','0.35','1','64','52','','',1,0,'900','','','',0,'900','comments'),(735,1,'1281962239','1281962239','90909',0,'ROUND',0.80,'','','off','NONE','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','200',',1234','30','2','1','2','','',1,0,'200','','','',0,'200','comments'),(736,1,'1281965033','1281965033','9090',0,'ROUND',2.00,'','','off','MEDIUM','GIA','EXCELLENT','EXCELLENT','EXCELLENT','IF','D',' ','','4900',',','','','','','','',2,0,'4900','','','',0,'4900','comments'),(737,1,'1283364225','1283364225','',0,'ROUND',1.00,'','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','1000',',','','','','','','',2,0,'1000','','','',0,'1000','comments'),(738,1,'1283364225','1283364225','',0,'ROUND',2.00,'','','off','ANY','All Labs','VERY GOOD','VERY GOOD','EXCELLENT','VVS1','E',' ','','500',',','','','','','','',3,0,'500','','','',0,'500','comments'),(739,1,'1283367442','1283367442','',0,'ROUND',2.00,'','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','2500',',','','','','','','',2,0,'2500','','','',0,'2500','comments'),(740,1,'1283367442','1283367442','',0,'ROUND',1.00,'','','off','ANY','All Labs','ANY','ANY','ANY','ANY','ANY',' ','','1000',',','','','','','','',1,0,'1000','','','',0,'1000','comments');

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

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

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

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

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

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

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


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

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

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

INSERT INTO `bstock_profilefieldprivileges` VALUES (161,1,112,87,'on','on','on','user','','1324719391'),(159,1,110,87,'off','on','off','user','','1324719391'),(160,1,111,87,'off','on','off','user','','1324719391'),(152,3,103,87,'on','on','on','user','','1324719391'),(8,3,8,87,'on','on','on','user','','1324719391'),(9,3,9,87,'on','on','on','user','','1324719391'),(150,2,101,87,'on','on','on','user','','1283886221'),(11,2,11,87,'on','on','on','user','','1324719391'),(12,2,12,87,'off','on','off','user','','1324719391'),(13,2,13,87,'on','on','on','user','','1324719391'),(14,2,14,87,'on','on','on','user','','1324719391'),(15,2,15,87,'on','on','on','user','','1324719391'),(16,2,16,87,'on','on','on','user','','1324719391'),(17,2,17,87,'on','on','on','user','','1324719391'),(18,2,18,87,'on','on','on','user','','1324719391'),(19,2,19,87,'on','on','on','user','','1283886221'),(20,2,20,87,'on','on','on','user','','1283886221'),(151,3,102,87,'on','on','on','user','','1324719391'),(96,5,42,87,'on','on','on','user','','1324719391'),(81,4,35,87,'off','on','off','user','','1290113547'),(82,5,21,87,'on','on','on','user','','1324719391'),(83,5,22,87,'on','on','on','user','','1324719391'),(84,5,23,87,'on','on','on','user','','1324719391'),(85,5,24,87,'on','on','on','user','','1324719391'),(86,5,25,87,'on','on','on','user','','1324719391'),(87,5,26,87,'on','on','on','user','','1324719391'),(88,5,27,87,'on','on','on','user','','1324719391'),(89,5,28,87,'on','on','on','user','','1324719391'),(90,5,29,87,'on','on','on','user','','1324719391'),(91,5,30,87,'on','on','on','user','','1324719391'),(92,5,31,87,'on','on','on','user','','1324719391'),(93,5,32,87,'on','on','on','user','','1324719391'),(94,5,33,87,'on','on','on','user','','1324719391'),(95,5,34,87,'on','on','on','user','','1324719391'),(167,1,118,87,'on','on','on','user','','1324719391'),(138,5,89,87,'on','on','on','user','','1324719391'),(166,1,117,87,'on','on','on','user','','1324719391'),(165,1,116,87,'on','on','on','user','','1324719391'),(164,1,115,87,'on','on','on','user','','1324719391'),(163,1,114,87,'on','on','on','user','','1324719391'),(162,1,113,87,'on','on','on','user','','1324719391'),(140,5,91,87,'on','on','on','user','','1324719391'),(142,5,93,87,'off','on','on','user','',''),(158,1,109,87,'on','on','on','user','','1324719391'),(157,1,108,87,'on','on','on','user','','1324719391'),(156,1,107,87,'on','on','on','user','','1324719391'),(266,1,190,87,'off','on','off','user','','1324719391'),(213,1,119,87,'on','on','on','user','','1324719391'),(214,1,120,87,'off','on','off','user','','1324719391'),(215,1,121,87,'on','on','on','user','','1324719391'),(217,4,123,87,'on','on','on','user','','1290113547'),(218,4,124,87,'on','on','on','user','','1290113547'),(219,4,126,87,'on','on','on','user','','1290113547'),(220,4,127,87,'on','on','on','user','','1290113547'),(221,4,128,87,'on','on','on','user','','1290113547'),(222,4,129,87,'on','on','on','user','','1290113547'),(223,4,130,87,'off','on','off','user','','1290113547'),(224,4,125,87,'off','on','off','user','','1290113547'),(225,2,136,87,'on','on','on','user','','1324719391'),(226,6,137,87,'on','on','on','user','','1324719391'),(227,6,138,87,'on','on','on','user','','1324719391'),(228,6,140,87,'on','on','on','user','','1324719391'),(229,6,141,87,'on','on','on','user','','1324719391'),(230,6,142,87,'on','on','on','user','','1324719391'),(231,8,153,87,'on','on','on','user','','1290113547'),(232,8,154,87,'on','on','on','user','','1290113547'),(233,8,155,87,'on','on','on','user','','1290113547'),(234,8,156,87,'on','on','on','user','','1290113547'),(235,8,157,87,'on','on','on','user','','1290113547'),(236,8,158,87,'on','on','on','user','','1290113547'),(237,8,159,87,'on','on','on','user','','1290113547'),(238,8,160,87,'on','on','on','user','','1290113547'),(239,7,163,87,'off','on','off','user','','1324719391'),(240,9,164,87,'on','on','on','user','','1324719391'),(241,9,165,87,'on','on','on','user','','1324719391'),(242,9,166,87,'on','on','on','user','','1324719391'),(243,1,167,87,'on','on','on','user','','1324719391'),(244,1,168,87,'on','on','on','user','','1281601707'),(245,1,169,87,'off','on','off','user','','1324719391'),(246,1,170,87,'on','on','on','user','','1324719391'),(247,1,171,87,'on','on','on','user','','1281601707'),(248,1,172,87,'on','on','on','user','','1281601707'),(249,1,173,87,'on','on','off','user','','1281601707'),(250,1,174,87,'on','on','on','user','','1281601707'),(251,1,175,87,'on','on','on','user','','1324719391'),(252,1,176,87,'on','on','on','user','','1324719391'),(253,1,177,87,'on','on','on','user','','1324719391'),(254,1,178,87,'on','on','on','user','','1324719391'),(255,1,179,87,'off','on','off','user','','1324719391'),(256,1,180,87,'on','on','on','user','','1324719391'),(257,10,181,87,'on','on','on','user','','1324719391'),(258,10,182,87,'on','on','on','user','','1324719391'),(259,10,183,87,'on','on','on','user','','1324719391'),(260,10,184,87,'on','on','on','user','','1324719391'),(261,10,185,87,'on','on','on','user','','1324719391'),(262,10,186,87,'on','on','on','user','','1324719391'),(263,10,187,87,'on','on','on','user','','1324719391'),(264,10,188,87,'on','on','on','user','','1324719391'),(265,1,189,87,'on','on','on','user','','1297058537'),(267,1,191,87,'on','on','on','user','','1324719391'),(268,3,192,87,'on','on','on','user','','1324719391'),(269,3,194,87,'on','on','on','user','','1324719391'),(270,1,108,91,'on','on','on','user','',''),(271,11,196,87,'on','on','on','user','','1324719391'),(272,11,197,87,'on','on','on','user','','1324719391'),(273,11,198,87,'on','on','on','user','','1324719391'),(274,11,199,87,'on','on','on','user','','1324719391'),(275,11,200,87,'on','on','on','user','','1324719391'),(276,11,201,87,'on','on','on','user','','1324719391'),(277,11,202,87,'on','on','on','user','','1324719391'),(278,11,203,87,'on','on','on','user','','1324719391'),(279,1,204,87,'on','on','on','user','','1324719391'),(280,1,205,87,'on','on','on','user','','1324719391'),(281,1,206,87,'off','on','off','user','','1283886221'),(282,1,207,87,'off','on','off','user','','1324719391'),(283,1,208,87,'on','on','on','user','','1324719391'),(284,1,209,87,'on','on','on','user','','1324719391'),(285,1,210,87,'off','on','off','user','','1324719391'),(286,1,211,87,'on','on','on','user','','1285651598'),(287,1,213,87,'on','on','on','user','','1324719391'),(288,1,214,87,'off','on','off','user','','1324719391'),(289,1,216,87,'off','on','off','user','','1324719391'),(290,1,217,87,'off','on','off','user','','1324719391'),(291,1,218,87,'on','on','on','user','','1324719391'),(512,11,198,97,'off','on','off','user','','1323955806'),(511,11,197,97,'off','on','off','user','','1323955806'),(510,11,196,97,'off','on','off','user','','1323955806'),(509,10,188,97,'off','on','off','user','','1323955806'),(508,10,187,97,'off','on','off','user','','1323955806'),(507,10,186,97,'off','on','off','user','','1323955806'),(506,10,185,97,'off','on','off','user','','1323955806'),(505,10,184,97,'off','on','off','user','','1323955806'),(504,10,183,97,'off','on','off','user','','1323955806'),(503,10,182,97,'off','on','off','user','','1323955806'),(502,10,181,97,'off','on','off','user','','1323955806'),(501,9,166,97,'on','on','on','user','','1323955806'),(500,9,165,97,'on','on','on','user','','1323955806'),(499,9,164,97,'on','on','on','user','','1323955806'),(498,8,160,97,'off','on','off','user','','1291268565'),(497,8,159,97,'off','on','off','user','','1291268565'),(496,8,158,97,'off','on','off','user','','1291268565'),(495,8,157,97,'off','on','off','user','','1291268565'),(494,8,156,97,'off','on','off','user','','1291268565'),(493,8,155,97,'off','on','off','user','','1291268565'),(492,8,154,97,'off','on','off','user','','1291268565'),(491,8,153,97,'off','on','off','user','','1291268565'),(490,7,163,97,'off','on','off','user','','1323955806'),(489,6,142,97,'off','on','off','user','','1323955806'),(488,6,141,97,'off','on','off','user','','1323955806'),(487,6,140,97,'off','on','off','user','','1323955806'),(486,6,138,97,'off','on','off','user','','1323955806'),(485,6,137,97,'off','on','off','user','','1323955806'),(484,5,91,97,'off','on','off','user','','1323955806'),(483,5,89,97,'off','on','off','user','','1323955806'),(482,5,42,97,'off','on','off','user','','1323955806'),(481,5,34,97,'off','on','off','user','','1323955806'),(480,5,33,97,'off','on','off','user','','1323955806'),(479,5,32,97,'off','on','off','user','','1323955806'),(478,5,31,97,'off','on','off','user','','1323955806'),(477,5,30,97,'off','on','off','user','','1323955806'),(476,5,29,97,'off','on','off','user','','1323955806'),(475,5,28,97,'off','on','off','user','','1323955806'),(474,5,27,97,'off','on','off','user','','1323955806'),(473,5,26,97,'off','on','off','user','','1323955806'),(472,5,25,97,'off','on','off','user','','1323955806'),(471,5,24,97,'off','on','off','user','','1323955806'),(470,5,23,97,'off','on','off','user','','1323955806'),(469,5,22,97,'off','on','off','user','','1323955806'),(468,5,21,97,'off','on','off','user','','1323955806'),(467,4,125,97,'off','on','off','user','','1291268565'),(466,4,130,97,'off','on','off','user','','1291268565'),(465,4,129,97,'off','on','off','user','','1291268565'),(464,4,128,97,'off','on','off','user','','1291268565'),(463,4,127,97,'off','on','off','user','','1291268565'),(462,4,126,97,'off','on','off','user','','1291268565'),(461,4,124,97,'off','on','off','user','','1291268565'),(460,4,123,97,'off','on','off','user','','1291268565'),(459,4,35,97,'off','on','off','user','','1291268565'),(458,3,194,97,'off','on','off','user','','1323955806'),(457,3,192,97,'off','on','off','user','','1323955806'),(456,3,103,97,'off','on','off','user','','1323955806'),(455,3,102,97,'off','on','off','user','','1323955806'),(454,3,9,97,'off','on','off','user','','1323955806'),(453,3,8,97,'off','on','off','user','','1323955806'),(452,2,220,97,'off','on','off','user','','1323955806'),(451,2,219,97,'off','on','off','user','','1323955806'),(450,2,136,97,'off','on','off','user','','1323955806'),(449,2,18,97,'off','on','off','user','','1323955806'),(448,2,17,97,'off','on','off','user','','1323955806'),(447,2,16,97,'off','on','off','user','','1323955806'),(446,2,15,97,'off','on','off','user','','1323955806'),(445,2,14,97,'off','on','off','user','','1323955806'),(444,2,13,97,'off','on','off','user','','1323955806'),(443,2,12,97,'on','on','on','user','','1323955806'),(442,2,11,97,'on','on','on','user','','1323955806'),(441,1,221,97,'off','on','off','user','','1323955806'),(440,1,218,97,'off','on','off','user','','1323955806'),(439,1,217,97,'off','on','off','user','','1323955806'),(438,1,216,97,'off','on','off','user','','1323955806'),(437,1,214,97,'off','on','off','user','','1323955806'),(436,1,213,97,'off','on','off','user','','1323955806'),(435,1,210,97,'off','on','off','user','','1323955806'),(434,1,209,97,'off','on','off','user','','1323955806'),(433,1,208,97,'off','on','off','user','','1323955806'),(432,1,207,97,'off','on','off','user','','1323955806'),(431,1,205,97,'off','on','off','user','','1323955806'),(430,1,191,97,'off','on','off','user','','1323955806'),(429,1,190,97,'off','on','off','user','','1323955806'),(428,1,189,97,'off','on','off','user','','1291268565'),(427,1,180,97,'off','on','off','user','','1323955806'),(426,1,179,97,'off','on','off','user','','1323955806'),(425,1,178,97,'off','on','off','user','','1323955806'),(424,1,177,97,'off','on','off','user','','1323955806'),(423,1,176,97,'off','on','off','user','','1323955806'),(422,1,175,97,'off','on','off','user','','1323955806'),(421,1,170,97,'off','on','off','user','','1323955806'),(420,1,169,97,'off','on','off','user','','1323955806'),(419,1,167,97,'off','on','off','user','','1323955806'),(418,1,121,97,'off','on','off','user','','1323955806'),(417,1,120,97,'off','on','off','user','','1323955806'),(416,1,119,97,'off','on','off','user','','1323955806'),(415,1,107,97,'off','on','off','user','','1323955806'),(414,1,108,97,'on','on','on','user','','1323955806'),(413,1,109,97,'on','on','on','user','','1323955806'),(412,1,112,97,'on','on','on','user','','1323955806'),(411,1,113,97,'on','on','on','user','','1323955806'),(410,1,114,97,'on','on','on','user','','1323955806'),(409,1,115,97,'on','on','on','user','','1323955806'),(408,1,116,97,'on','on','on','user','','1323955806'),(407,1,117,97,'on','on','on','user','','1323955806'),(406,1,118,97,'on','on','on','user','','1323955806'),(405,1,110,97,'off','on','off','user','','1323955806'),(404,1,111,97,'on','on','on','user','','1323955806'),(401,2,219,87,'on','on','on','user','','1324719391'),(402,2,220,87,'off','on','off','user','','1324719391'),(403,1,221,87,'on','on','on','user','','1324719391'),(513,11,199,97,'off','on','off','user','','1323955806'),(514,11,200,97,'off','on','off','user','','1323955806'),(515,11,201,97,'off','on','off','user','','1323955806'),(516,11,202,97,'off','on','off','user','','1323955806'),(517,11,203,97,'off','on','off','user','','1323955806'),(518,1,222,87,'off','on','off','user','','1324719391'),(519,1,111,99,'off','on','off','user','','1323955848'),(520,1,110,99,'off','on','off','user','','1323955848'),(521,1,118,99,'off','on','off','user','','1323955848'),(522,1,117,99,'off','on','off','user','','1323955848'),(523,1,116,99,'off','on','off','user','','1323955848'),(524,1,115,99,'off','on','off','user','','1323955848'),(525,1,114,99,'off','on','off','user','','1323955848'),(526,1,113,99,'off','on','off','user','','1323955848'),(527,1,112,99,'off','on','off','user','','1323955848'),(528,1,109,99,'off','on','off','user','','1323955848'),(529,1,108,99,'off','on','off','user','','1323955848'),(530,1,107,99,'off','on','off','user','','1323955848'),(531,1,119,99,'off','on','off','user','','1323955848'),(532,1,120,99,'off','on','off','user','','1323955848'),(533,1,121,99,'off','on','off','user','','1323955848'),(534,1,167,99,'off','on','off','user','','1323955848'),(535,1,169,99,'off','on','off','user','','1323955848'),(536,1,170,99,'off','on','off','user','','1323955848'),(537,1,175,99,'off','on','off','user','','1323955848'),(538,1,176,99,'off','on','off','user','','1323955848'),(539,1,177,99,'off','on','off','user','','1323955848'),(540,1,178,99,'off','on','off','user','','1323955848'),(541,1,179,99,'off','on','off','user','','1323955848'),(542,1,180,99,'off','on','off','user','','1323955848'),(543,1,189,99,'off','on','off','user','','1293023950'),(544,1,190,99,'off','on','off','user','','1323955848'),(545,1,191,99,'off','on','off','user','','1323955848'),(546,1,205,99,'off','on','off','user','','1323955848'),(547,1,207,99,'off','on','off','user','','1323955848'),(548,1,208,99,'off','on','off','user','','1323955848'),(549,1,209,99,'off','on','off','user','','1323955848'),(550,1,210,99,'off','on','off','user','','1323955848'),(551,1,213,99,'off','on','off','user','','1323955848'),(552,1,214,99,'off','on','off','user','','1323955848'),(553,1,216,99,'off','on','off','user','','1323955848'),(554,1,217,99,'off','on','off','user','','1323955848'),(555,1,218,99,'off','on','off','user','','1323955848'),(556,1,221,99,'off','on','off','user','','1323955848'),(557,1,222,99,'off','on','off','user','','1323955848'),(558,2,11,99,'off','on','off','user','','1323955848'),(559,2,12,99,'off','on','off','user','','1323955848'),(560,2,13,99,'off','on','off','user','','1323955848'),(561,2,14,99,'off','on','off','user','','1323955848'),(562,2,15,99,'off','on','off','user','','1323955848'),(563,2,16,99,'off','on','off','user','','1323955848'),(564,2,17,99,'off','on','off','user','','1323955848'),(565,2,18,99,'off','on','off','user','','1323955848'),(566,2,136,99,'off','on','off','user','','1323955848'),(567,2,219,99,'off','on','off','user','','1323955848'),(568,2,220,99,'off','on','off','user','','1323955848'),(569,3,8,99,'off','on','off','user','','1323955848'),(570,3,9,99,'off','on','off','user','','1323955848'),(571,3,102,99,'off','on','off','user','','1323955848'),(572,3,103,99,'off','on','off','user','','1323955848'),(573,3,192,99,'off','on','off','user','','1323955848'),(574,3,194,99,'off','on','off','user','','1323955848'),(575,6,137,99,'off','on','off','user','','1323955848'),(576,6,138,99,'off','on','off','user','','1323955848'),(577,6,140,99,'off','on','off','user','','1323955848'),(578,6,141,99,'off','on','off','user','','1323955848'),(579,6,142,99,'off','on','off','user','','1323955848'),(580,7,163,99,'off','on','off','user','','1323955848'),(581,1,223,87,'on','on','on','user','','1324719391'),(582,1,224,87,'off','on','off','user','','1324719391'),(583,1,225,87,'on','on','on','user','','1324719391'),(584,1,226,87,'on','on','on','user','','1324719391'),(585,1,227,87,'on','on','on','user','','1297058537'),(586,1,228,87,'on','on','on','user','','1324719391'),(587,1,229,87,'on','on','on','user','','1324719391'),(588,1,230,87,'on','on','on','user','','1324719391'),(589,1,231,87,'on','on','on','user','','1324719391'),(590,1,232,87,'on','on','on','user','','1324719391'),(591,1,233,87,'off','on','off','user','','1324719391'),(592,1,234,87,'off','on','off','user','','1324719391'),(593,1,235,87,'off','on','off','user','','1324719391'),(594,1,236,87,'off','on','off','user','','1324719391'),(595,1,237,87,'off','on','off','user','','1324719391'),(596,1,238,87,'on','on','on','user','','1324719391'),(597,1,204,99,'off','on','off','user','','1323955848'),(598,1,223,99,'off','on','off','user','','1323955848'),(599,1,224,99,'off','on','off','user','','1323955848'),(600,1,225,99,'off','on','off','user','','1323955848'),(601,1,226,99,'off','on','off','user','','1323955848'),(602,1,228,99,'off','on','off','user','','1323955848'),(603,1,229,99,'off','on','off','user','','1323955848'),(604,1,230,99,'off','on','off','user','','1323955848'),(605,1,231,99,'off','on','off','user','','1323955848'),(606,1,233,99,'off','on','off','user','','1323955848'),(607,1,234,99,'off','on','off','user','','1323955848'),(608,1,235,99,'off','on','off','user','','1323955848'),(609,1,236,99,'off','on','off','user','','1323955848'),(610,1,237,99,'off','on','off','user','','1323955848'),(611,1,238,99,'off','on','off','user','','1323955848'),(612,5,21,99,'off','on','off','user','','1323955848'),(613,5,22,99,'off','on','off','user','','1323955848'),(614,5,23,99,'off','on','off','user','','1323955848'),(615,5,24,99,'off','on','off','user','','1323955848'),(616,5,25,99,'off','on','off','user','','1323955848'),(617,5,26,99,'off','on','off','user','','1323955848'),(618,5,27,99,'off','on','off','user','','1323955848'),(619,5,28,99,'off','on','off','user','','1323955848'),(620,5,29,99,'off','on','off','user','','1323955848'),(621,5,30,99,'off','on','off','user','','1323955848'),(622,5,31,99,'off','on','off','user','','1323955848'),(623,5,32,99,'off','on','off','user','','1323955848'),(624,5,33,99,'off','on','off','user','','1323955848'),(625,5,34,99,'off','on','off','user','','1323955848'),(626,5,42,99,'off','on','off','user','','1323955848'),(627,5,89,99,'off','on','off','user','','1323955848'),(628,5,91,99,'off','on','off','user','','1323955848'),(629,12,239,87,'on','on','on','user','','1324719391'),(630,12,240,87,'on','on','on','user','','1324719391'),(631,12,241,87,'on','on','on','user','','1324719391'),(632,12,242,87,'on','on','on','user','','1324719391'),(633,12,243,87,'on','on','on','user','','1324719391'),(634,12,244,87,'on','on','on','user','','1324719391'),(635,12,245,87,'on','on','on','user','','1324719391'),(636,12,246,87,'on','on','on','user','','1324719391'),(637,12,247,87,'off','on','off','user','','1324719391'),(638,12,248,87,'off','on','off','user','','1324719391'),(639,12,249,87,'on','on','off','user','','1324719391'),(640,12,239,99,'off','on','off','user','','1323955848'),(641,12,240,99,'off','on','off','user','','1323955848'),(642,12,241,99,'off','on','off','user','','1323955848'),(643,12,242,99,'off','on','off','user','','1323955848'),(644,12,243,99,'off','on','off','user','','1323955848'),(645,12,244,99,'off','on','off','user','','1323955848'),(646,12,245,99,'off','on','off','user','','1323955848'),(647,12,246,99,'off','on','off','user','','1323955848'),(648,12,247,99,'off','on','off','user','','1323955848'),(649,12,248,99,'off','on','off','user','','1323955848'),(650,12,249,99,'off','on','off','user','','1323955848'),(651,14,250,87,'on','on','on','user','','1324719391'),(652,14,251,87,'on','on','on','user','','1324719391'),(653,14,252,87,'on','on','on','user','','1324719391'),(654,14,253,87,'on','on','on','user','','1324719391'),(655,9,254,87,'on','on','on','user','','1324719391'),(656,16,255,87,'on','on','on','user','','1324719391'),(657,16,256,87,'on','on','on','user','','1324719391'),(658,16,257,87,'on','on','on','user','','1324719391'),(659,16,258,87,'on','on','on','user','','1324719391'),(660,16,259,87,'on','on','on','user','','1324719391'),(661,16,260,87,'on','on','on','user','','1324719391'),(662,16,261,87,'on','on','on','user','','1324719391'),(663,16,262,87,'on','on','on','user','','1324719391'),(664,17,263,87,'on','on','on','user','','1324719391'),(665,17,264,87,'on','on','on','user','','1324719391'),(666,17,265,87,'on','on','on','user','','1324719391'),(667,17,266,87,'on','on','on','user','','1324719391'),(668,17,267,87,'on','on','on','user','','1324719391'),(669,17,268,87,'on','on','on','user','','1324719391'),(670,17,269,87,'on','on','on','user','','1324719391'),(671,17,270,87,'on','on','on','user','','1324719391'),(672,17,271,87,'on','on','on','user','','1324719391'),(673,17,272,87,'on','on','on','user','','1324719391'),(674,17,273,87,'on','on','on','user','','1324719391'),(675,17,274,87,'on','on','on','user','','1324719391'),(676,17,275,87,'on','on','on','user','','1324719391'),(677,17,276,87,'on','on','on','user','','1324719391'),(678,18,277,87,'on','on','on','user','','1324719391'),(679,18,278,87,'on','on','on','user','','1324719391'),(680,18,279,87,'off','on','off','user','','1324719391'),(681,18,280,87,'on','on','on','user','','1324719391'),(682,18,281,87,'on','on','on','user','','1324719391'),(683,18,282,87,'on','on','on','user','','1324719391'),(684,18,283,87,'on','on','on','user','','1324719391'),(685,18,284,87,'on','on','on','user','','1324719391'),(686,18,285,87,'on','on','on','user','','1324719391'),(687,18,286,87,'on','on','on','user','','1324719391'),(688,18,287,87,'off','on','off','user','','1324719391'),(689,1,204,97,'off','on','off','user','','1323955806'),(690,1,222,97,'off','on','off','user','','1323955806'),(691,1,223,97,'off','on','off','user','','1323955806'),(692,1,224,97,'off','on','off','user','','1323955806'),(693,1,225,97,'off','on','off','user','','1323955806'),(694,1,226,97,'off','on','off','user','','1323955806'),(695,1,228,97,'off','on','off','user','','1323955806'),(696,1,229,97,'off','on','off','user','','1323955806'),(697,1,230,97,'off','on','off','user','','1323955806'),(698,1,231,97,'off','on','off','user','','1323955806'),(699,1,232,97,'off','on','off','user','','1323955806'),(700,1,233,97,'off','on','off','user','','1323955806'),(701,1,234,97,'off','on','off','user','','1323955806'),(702,1,235,97,'off','on','off','user','','1323955806'),(703,1,236,97,'off','on','off','user','','1323955806'),(704,1,237,97,'off','on','off','user','','1323955806'),(705,1,238,97,'off','on','off','user','','1323955806'),(706,9,254,97,'off','on','off','user','','1323955806'),(707,12,239,97,'off','on','off','user','','1323955806'),(708,12,240,97,'off','on','off','user','','1323955806'),(709,12,241,97,'off','on','off','user','','1323955806'),(710,12,242,97,'off','on','off','user','','1323955806'),(711,12,243,97,'off','on','off','user','','1323955806'),(712,12,244,97,'off','on','off','user','','1323955806'),(713,12,245,97,'off','on','off','user','','1323955806'),(714,12,246,97,'off','on','off','user','','1323955806'),(715,12,247,97,'off','on','off','user','','1323955806'),(716,12,248,97,'off','on','off','user','','1323955806'),(717,12,249,97,'off','on','off','user','','1323955806'),(718,14,250,97,'off','on','off','user','','1323955806'),(719,14,251,97,'off','on','off','user','','1323955806'),(720,14,252,97,'off','on','off','user','','1323955806'),(721,14,253,97,'off','on','off','user','','1323955806'),(722,16,255,97,'off','on','off','user','','1323955806'),(723,16,256,97,'off','on','off','user','','1323955806'),(724,16,257,97,'off','on','off','user','','1323955806'),(725,16,258,97,'off','on','off','user','','1323955806'),(726,16,259,97,'off','on','off','user','','1323955806'),(727,16,260,97,'off','on','off','user','','1323955806'),(728,16,261,97,'off','on','off','user','','1323955806'),(729,16,262,97,'off','on','off','user','','1323955806'),(730,17,263,97,'off','on','off','user','','1323955806'),(731,17,264,97,'off','on','off','user','','1323955806'),(732,17,265,97,'off','on','off','user','','1323955806'),(733,17,266,97,'off','on','off','user','','1323955806'),(734,17,267,97,'off','on','off','user','','1323955806'),(735,17,268,97,'off','on','off','user','','1323955806'),(736,17,269,97,'off','on','off','user','','1323955806'),(737,17,270,97,'off','on','off','user','','1323955806'),(738,17,271,97,'off','on','off','user','','1323955806'),(739,17,272,97,'off','on','off','user','','1323955806'),(740,17,273,97,'off','on','off','user','','1323955806'),(741,17,274,97,'off','on','off','user','','1323955806'),(742,17,275,97,'off','on','off','user','','1323955806'),(743,17,276,97,'off','on','off','user','','1323955806'),(744,18,277,97,'off','on','off','user','','1323955806'),(745,18,278,97,'off','on','off','user','','1323955806'),(746,18,279,97,'off','on','off','user','','1323955806'),(747,18,280,97,'off','on','off','user','','1323955806'),(748,18,281,97,'off','on','off','user','','1323955806'),(749,18,282,97,'off','on','off','user','','1323955806'),(750,18,283,97,'off','on','off','user','','1323955806'),(751,18,284,97,'off','on','off','user','','1323955806'),(752,18,285,97,'off','on','off','user','','1323955806'),(753,18,286,97,'off','on','off','user','','1323955806'),(754,18,287,97,'off','on','off','user','','1323955806'),(755,2,288,87,'on','on','on','user','','1324719391'),(756,19,292,87,'on','on','on','user','','1324719391'),(757,19,290,87,'on','on','on','user','','1324719391'),(758,19,291,87,'on','on','on','user','','1324719391'),(759,2,288,97,'off','on','off','user','','1323955806'),(760,19,292,97,'off','on','off','user','','1323955806'),(761,19,290,97,'off','on','off','user','','1323955806'),(762,19,291,97,'off','on','off','user','','1323955806'),(763,1,232,99,'off','on','off','user','','1323955848'),(764,2,288,99,'off','on','off','user','','1323955848'),(765,9,164,99,'off','on','off','user','','1323955848'),(766,9,165,99,'off','on','off','user','','1323955848'),(767,9,166,99,'off','on','off','user','','1323955848'),(768,9,254,99,'off','on','off','user','','1323955848'),(769,10,181,99,'off','on','off','user','','1323955848'),(770,10,182,99,'off','on','off','user','','1323955848'),(771,10,183,99,'off','on','off','user','','1323955848'),(772,10,184,99,'off','on','off','user','','1323955848'),(773,10,185,99,'off','on','off','user','','1323955848'),(774,10,186,99,'off','on','off','user','','1323955848'),(775,10,187,99,'off','on','off','user','','1323955848'),(776,10,188,99,'off','on','off','user','','1323955848'),(777,11,196,99,'off','on','off','user','','1323955848'),(778,11,197,99,'off','on','off','user','','1323955848'),(779,11,198,99,'off','on','off','user','','1323955848'),(780,11,199,99,'off','on','off','user','','1323955848'),(781,11,200,99,'off','on','off','user','','1323955848'),(782,11,201,99,'off','on','off','user','','1323955848'),(783,11,202,99,'off','on','off','user','','1323955848'),(784,11,203,99,'off','on','off','user','','1323955848'),(785,14,250,99,'off','on','off','user','','1323955848'),(786,14,251,99,'off','on','off','user','','1323955848'),(787,14,252,99,'off','on','off','user','','1323955848'),(788,14,253,99,'off','on','off','user','','1323955848'),(789,16,255,99,'off','on','off','user','','1323955848'),(790,16,256,99,'off','on','off','user','','1323955848'),(791,16,257,99,'off','on','off','user','','1323955848'),(792,16,258,99,'off','on','off','user','','1323955848'),(793,16,259,99,'off','on','off','user','','1323955848'),(794,16,260,99,'off','on','off','user','','1323955848'),(795,16,261,99,'off','on','off','user','','1323955848'),(796,16,262,99,'off','on','off','user','','1323955848'),(797,17,263,99,'off','on','off','user','','1323955848'),(798,17,264,99,'off','on','off','user','','1323955848'),(799,17,265,99,'off','on','off','user','','1323955848'),(800,17,266,99,'off','on','off','user','','1323955848'),(801,17,267,99,'off','on','off','user','','1323955848'),(802,17,268,99,'off','on','off','user','','1323955848'),(803,17,269,99,'off','on','off','user','','1323955848'),(804,17,270,99,'off','on','off','user','','1323955848'),(805,17,271,99,'off','on','off','user','','1323955848'),(806,17,272,99,'off','on','off','user','','1323955848'),(807,17,273,99,'off','on','off','user','','1323955848'),(808,17,274,99,'off','on','off','user','','1323955848'),(809,17,275,99,'off','on','off','user','','1323955848'),(810,17,276,99,'off','on','off','user','','1323955848'),(811,18,277,99,'off','on','off','user','','1323955848'),(812,18,278,99,'off','on','off','user','','1323955848'),(813,18,279,99,'off','on','off','user','','1323955848'),(814,18,280,99,'off','on','off','user','','1323955848'),(815,18,281,99,'off','on','off','user','','1323955848'),(816,18,282,99,'off','on','off','user','','1323955848'),(817,18,283,99,'off','on','off','user','','1323955848'),(818,18,284,99,'off','on','off','user','','1323955848'),(819,18,285,99,'off','on','off','user','','1323955848'),(820,18,286,99,'off','on','off','user','','1323955848'),(821,18,287,99,'off','on','off','user','','1323955848'),(822,19,292,99,'off','on','off','user','','1323955848'),(823,19,290,99,'off','on','off','user','','1323955848'),(824,19,291,99,'off','on','off','user','','1323955848'),(825,1,293,87,'on','on','on','user','','1324719391');

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

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

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

INSERT INTO `bstock_profilemoduleoperationprivileges` VALUES (26,3,87,5,'on','user','','1324719391'),(27,1,87,5,'on','user','','1324719391'),(28,2,87,5,'on','user','','1324719391'),(29,5,87,5,'on','user','','1324719391'),(30,4,87,5,'on','user','','1290113547'),(31,6,87,5,'on','user','','1324719391'),(32,7,87,5,'on','user','','1324719391'),(33,8,87,5,'on','user','','1290113547'),(34,9,87,5,'on','user','','1324719391'),(35,10,87,5,'on','user','','1324719391'),(36,11,87,5,'on','user','','1324719391'),(58,11,97,1,'on','user','','1323955806'),(57,10,97,1,'on','user','','1323955806'),(56,9,97,5,'on','user','','1323955806'),(55,8,97,1,'on','user','','1291268565'),(54,7,97,1,'on','user','','1323955806'),(53,6,97,1,'on','user','','1323955806'),(52,5,97,1,'on','user','','1323955806'),(51,4,97,1,'on','user','','1291268565'),(50,3,97,1,'on','user','','1323955806'),(49,2,97,5,'on','user','','1323955806'),(48,1,97,5,'on','user','','1323955806'),(59,1,99,1,'on','user','','1323955848'),(60,2,99,1,'on','user','','1323955848'),(61,3,99,3,'on','user','','1323955848'),(62,6,99,1,'on','user','','1323955848'),(63,7,99,1,'on','user','','1323955848'),(64,5,99,1,'on','user','','1323955848'),(65,12,87,5,'on','user','','1324719391'),(66,12,99,1,'on','user','','1323955848'),(67,13,87,5,'on','user','','1324719391'),(68,14,87,5,'on','user','','1324719391'),(69,16,87,5,'on','user','','1324719391'),(70,17,87,5,'on','user','','1324719391'),(71,18,87,5,'on','user','','1324719391'),(72,12,97,1,'on','user','','1323955806'),(73,13,97,1,'on','user','','1323955806'),(74,14,97,1,'on','user','','1323955806'),(75,16,97,1,'on','user','','1323955806'),(76,17,97,1,'on','user','','1323955806'),(77,18,97,1,'on','user','','1323955806'),(78,19,87,5,'on','user','','1324719391'),(79,19,97,1,'on','user','','1323955806'),(80,9,99,1,'on','user','','1323955848'),(81,10,99,1,'on','user','','1323955848'),(82,11,99,1,'on','user','','1323955848'),(83,13,99,1,'on','user','','1323955848'),(84,14,99,1,'on','user','','1323955848'),(85,16,99,1,'on','user','','1323955848'),(86,17,99,1,'on','user','','1323955848'),(87,18,99,1,'on','user','','1323955848'),(88,19,99,1,'on','user','','1323955848');

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

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

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

INSERT INTO `bstock_profilemoduleprivileges` VALUES (1,1,91,'on','','1261392304'),(2,2,91,'on','','1261392304'),(3,3,91,'on','','1261392304'),(5,1,85,'on','','1259609910'),(6,2,85,'off','','1259609910'),(7,3,85,'off','','1259609910'),(8,1,86,'on','','1259650566'),(9,2,86,'on','','1259650566'),(10,3,86,'off','','1259650566'),(14,4,91,'on','','1261392304'),(15,5,91,'on','','1261392304'),(16,1,89,'on','','1261381121'),(17,2,89,'off','','1261381121'),(18,3,89,'off','','1261381121'),(19,4,89,'off','','1261381121'),(20,5,89,'off','','1261381121'),(21,1,91,'on','1261381762','1261381762'),(22,2,91,'off','1261381762','1261381762'),(23,3,91,'off','1261381762','1261381762'),(24,4,91,'off','1261381762','1261381762'),(25,5,91,'off','1261381762','1261381762'),(26,3,87,'on','','1324719391'),(27,1,87,'on','','1324719391'),(28,2,87,'on','','1324719391'),(29,5,87,'on','','1324719391'),(30,4,87,'on','','1290113547'),(31,6,87,'off','','1324719391'),(32,7,87,'on','','1324719391'),(33,8,87,'on','','1290113547'),(34,9,87,'on','','1324719391'),(35,10,87,'on','','1324719391'),(36,11,87,'on','','1324719391'),(37,1,96,'on','','1289802117'),(38,2,96,'off','','1289802117'),(39,3,96,'off','','1289802117'),(40,4,96,'off','','1289802117'),(41,5,96,'off','','1289802117'),(42,6,96,'off','','1289802117'),(43,7,96,'off','','1289802117'),(44,8,96,'off','','1289802117'),(45,9,96,'off','','1289802117'),(46,10,96,'off','','1289802117'),(47,11,96,'off','','1289802117'),(48,1,97,'on','','1323955806'),(49,2,97,'on','','1323955806'),(50,3,97,'off','','1323955806'),(51,4,97,'off','','1291268565'),(52,5,97,'off','','1323955806'),(53,6,97,'off','','1323955806'),(54,7,97,'off','','1323955806'),(55,8,97,'off','','1291268565'),(56,9,97,'on','','1323955806'),(57,10,97,'off','','1323955806'),(58,11,97,'off','','1323955806'),(59,1,99,'on','','1323955848'),(60,2,99,'off','','1323955848'),(61,3,99,'on','','1323955848'),(62,6,99,'off','','1323955848'),(63,7,99,'off','','1323955848'),(64,5,99,'off','','1323955848'),(65,12,87,'on','','1324719391'),(66,12,99,'off','','1323955848'),(67,13,87,'on','','1324719391'),(68,14,87,'on','','1324719391'),(69,16,87,'on','','1324719391'),(70,17,87,'on','','1324719391'),(71,18,87,'on','','1324719391'),(72,12,97,'off','','1323955806'),(73,13,97,'off','','1323955806'),(74,14,97,'off','','1323955806'),(75,16,97,'off','','1323955806'),(76,17,97,'off','','1323955806'),(77,18,97,'off','','1323955806'),(78,19,87,'on','','1324719391'),(79,19,97,'off','','1323955806'),(80,9,99,'off','','1323955848'),(81,10,99,'off','','1323955848'),(82,11,99,'off','','1323955848'),(83,13,99,'off','','1323955848'),(84,14,99,'off','','1323955848'),(85,16,99,'off','','1323955848'),(86,17,99,'off','','1323955848'),(87,18,99,'off','','1323955848'),(88,19,99,'off','','1323955848');

--
-- Table structure for table `bstock_profilepluginprivileges`
--

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

--
-- Dumping data for table `bstock_profilepluginprivileges`
--

INSERT INTO `bstock_profilepluginprivileges` VALUES (1,1,91,'on','','1261392304'),(2,2,91,'on','','1261392304'),(3,3,91,'on','','1261392304'),(5,1,85,'on','','1259609910'),(6,2,85,'off','','1259609910'),(7,3,85,'off','','1259609910'),(8,1,86,'on','','1259650566'),(9,2,86,'on','','1259650566'),(10,3,86,'off','','1259650566'),(14,4,91,'on','','1261392304'),(15,5,91,'on','','1261392304'),(16,1,89,'on','','1261381121'),(17,2,89,'off','','1261381121'),(18,3,89,'off','','1261381121'),(19,4,89,'off','','1261381121'),(20,5,89,'off','','1261381121'),(21,1,91,'on','1261381762','1261381762'),(22,2,91,'off','1261381762','1261381762'),(23,3,91,'off','1261381762','1261381762'),(24,4,91,'off','1261381762','1261381762'),(25,5,91,'off','1261381762','1261381762'),(26,3,87,'off','','1307707096'),(27,1,87,'off','','1307707096'),(28,2,87,'on','','1292397332'),(29,5,87,'on','','1290113547'),(30,4,87,'off','','1324719391'),(31,6,87,'off','','1324719391'),(32,7,87,'on','','1292397332'),(33,8,87,'on','','1290113547'),(34,9,87,'off','','1290113548'),(35,10,87,'on','','1324719391'),(36,11,87,'on','','1290113547'),(37,1,96,'on','','1289802117'),(38,2,96,'off','','1289802117'),(39,3,96,'off','','1289802117'),(40,4,96,'off','','1289802117'),(41,5,96,'off','','1289802117'),(42,6,96,'off','','1289802117'),(43,7,96,'off','','1289802117'),(44,8,96,'off','','1289802117'),(45,9,96,'off','','1289802117'),(46,10,96,'off','','1289802117'),(47,11,96,'off','','1289802117'),(48,1,97,'on','','1291268565'),(49,2,97,'on','','1291268565'),(50,3,97,'off','','1291268565'),(51,4,97,'off','','1323955806'),(52,5,97,'off','','1291268565'),(53,6,97,'off','','1323955806'),(54,7,97,'off','','1291268565'),(55,8,97,'off','','1291268565'),(56,9,97,'on','','1291268565'),(57,10,97,'off','','1323955806'),(58,11,97,'off','','1291268565'),(59,23,87,'on','','1324719391'),(60,1,0,'off','1293013584','1293013584'),(61,3,0,'off','1293013584','1293013584'),(62,6,0,'off','1293013584','1322120320'),(63,10,0,'off','1293013584','1322120320'),(64,15,0,'on','1293013584','1322120320'),(65,16,0,'off','1293013584','1322120320'),(66,17,0,'on','1293013584','1322120320'),(67,20,0,'off','1293013584','1322120320'),(68,22,0,'off','1293013584','1322120320'),(69,23,0,'on','1293013584','1322120320'),(70,24,0,'off','1293013584','1322120320'),(71,25,0,'off','1293013584','1322120320'),(72,26,0,'off','1293013584','1322120320'),(73,27,0,'off','1293013584','1322120320'),(74,28,0,'off','1293013584','1322120320'),(75,29,0,'off','1293013584','1322120320'),(76,30,0,'off','1293013584','1322120320'),(77,31,0,'off','1293013584','1322120320'),(78,32,0,'off','1293013584','1322120320'),(79,33,0,'off','1293013584','1322120320'),(80,1,99,'off','1293013623','1298361477'),(81,3,99,'off','1293013623','1298361477'),(82,6,99,'off','1293013623','1323955848'),(83,10,99,'off','1293013623','1323955848'),(84,15,99,'on','1293013623','1323955848'),(85,16,99,'off','1293013623','1323955848'),(86,17,99,'on','1293013623','1323955848'),(87,20,99,'on','1293013623','1323955848'),(88,22,99,'off','1293013623','1323955848'),(89,23,99,'off','1293013623','1323955848'),(90,24,99,'off','1293013623','1323955848'),(91,25,99,'off','1293013623','1323955848'),(92,26,99,'off','1293013623','1323955848'),(93,27,99,'off','1293013623','1323955848'),(94,28,99,'on','1293013623','1323955848'),(95,29,99,'off','1293013623','1323955848'),(96,30,99,'off','1293013623','1323955848'),(97,31,99,'on','1293013623','1323955848'),(98,32,99,'off','1293013623','1323955848'),(99,33,99,'off','1293013623','1323955848'),(100,15,87,'on','1293021520','1324719391'),(101,16,87,'on','1293021520','1324719391'),(102,17,87,'on','1293021520','1324719391'),(103,20,87,'on','1293021520','1324719391'),(104,22,87,'off','1293021520','1324719391'),(105,24,87,'off','1293021520','1324719391'),(106,25,87,'off','1293021520','1324719391'),(107,26,87,'off','1293021520','1324719391'),(108,27,87,'on','1293021520','1324719391'),(109,28,87,'off','1293021520','1324719391'),(110,29,87,'off','1293021520','1324719391'),(111,30,87,'off','1293021520','1324719391'),(112,31,87,'off','1293021520','1324719391'),(113,32,87,'off','1293021520','1324719391'),(114,33,87,'on','1293021520','1324719391'),(115,21,87,'on','1295872223','1324719391'),(116,34,87,'on','1296134039','1324719391'),(117,35,87,'on','1296641883','1324719391'),(118,21,99,'on','1297682655','1323955848'),(119,34,99,'off','1297682655','1323955848'),(120,35,99,'off','1297682655','1323955848'),(121,36,87,'on','1298368122','1324719391'),(122,37,87,'off','1299912128','1324719391'),(123,38,87,'off','1303383479','1324719391'),(124,39,87,'off','1303879119','1324719391'),(125,40,87,'off','1308741203','1324719391'),(126,41,87,'off','1318404569','1324719391'),(127,43,87,'off','1319189087','1324719391'),(128,44,87,'on','1319192658','1324719391'),(129,45,87,'on','1319192658','1324719391'),(130,15,97,'on','1321439022','1323955806'),(131,16,97,'off','1321439022','1323955806'),(132,17,97,'on','1321439022','1323955806'),(133,20,97,'on','1321439022','1323955806'),(134,21,97,'off','1321439022','1323955806'),(135,22,97,'off','1321439022','1323955806'),(136,23,97,'off','1321439022','1323955806'),(137,24,97,'off','1321439022','1323955806'),(138,25,97,'off','1321439022','1323955806'),(139,26,97,'off','1321439022','1323955806'),(140,27,97,'off','1321439022','1323955806'),(141,28,97,'off','1321439022','1323955806'),(142,29,97,'off','1321439022','1323955806'),(143,30,97,'off','1321439022','1323955806'),(144,31,97,'off','1321439022','1323955806'),(145,32,97,'off','1321439022','1323955806'),(146,33,97,'off','1321439022','1323955806'),(147,34,97,'off','1321439022','1323955806'),(148,35,97,'off','1321439022','1323955806'),(149,36,97,'off','1321439022','1323955806'),(150,37,97,'off','1321439022','1323955806'),(151,38,97,'off','1321439022','1323955806'),(152,39,97,'off','1321439022','1323955806'),(153,40,97,'off','1321439022','1323955806'),(154,41,97,'off','1321439022','1323955806'),(155,43,97,'off','1321439022','1323955806'),(156,44,97,'off','1321439022','1323955806'),(157,45,97,'off','1321439022','1323955806'),(158,46,87,'on','1321884097','1324719391'),(159,4,0,'off','1322120320','1322120320'),(160,21,0,'off','1322120320','1322120320'),(161,34,0,'off','1322120320','1322120320'),(162,35,0,'off','1322120320','1322120320'),(163,36,0,'off','1322120320','1322120320'),(164,37,0,'off','1322120320','1322120320'),(165,38,0,'off','1322120320','1322120320'),(166,39,0,'off','1322120320','1322120320'),(167,40,0,'off','1322120320','1322120320'),(168,41,0,'off','1322120320','1322120320'),(169,43,0,'off','1322120320','1322120320'),(170,44,0,'off','1322120320','1322120320'),(171,45,0,'off','1322120320','1322120320'),(172,46,0,'off','1322120320','1322120320'),(173,47,87,'on','1323671087','1324719391'),(174,48,87,'on','1323671087','1324719391'),(175,46,97,'off','1323955806','1323955806'),(176,47,97,'on','1323955806','1323955806'),(177,48,97,'on','1323955806','1323955806'),(178,4,99,'off','1323955848','1323955848'),(179,36,99,'off','1323955848','1323955848'),(180,37,99,'off','1323955848','1323955848'),(181,38,99,'off','1323955848','1323955848'),(182,39,99,'off','1323955848','1323955848'),(183,40,99,'off','1323955848','1323955848'),(184,41,99,'off','1323955848','1323955848'),(185,43,99,'off','1323955848','1323955848'),(186,44,99,'off','1323955848','1323955848'),(187,45,99,'off','1323955848','1323955848'),(188,46,99,'off','1323955848','1323955848'),(189,47,99,'on','1323955848','1323955848'),(190,48,99,'on','1323955848','1323955848');

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


--
-- Table structure for table `bstock_specialstoneshistory`
--

CREATE TABLE `bstock_specialstoneshistory` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `stone_id` int(10) NOT NULL,
  `month` int(10) NOT NULL,
  `year` int(10) NOT NULL,
  `user_id` int(10) NOT NULL,
  `created_date` int(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `bstock_specialstoneshistory`
--


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

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

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

INSERT INTO `bstock_states` VALUES (1,840,'AL','Alabama','',0,0),(2,840,'AK','Alaska','',0,0),(3,840,'ms','missing state','',0,0),(4,840,'AZ','Arizona','',0,0),(5,840,'AR','Arkansas','',0,0),(6,840,'AF','Armed Forces Africa','',0,0),(7,840,'AA','Armed Forces Americas','',0,0),(8,840,'AC','Armed Forces Canada','',0,0),(9,840,'AE','Armed Forces Europe','',0,0),(10,840,'AM','Armed Forces Middle East','',0,0),(11,840,'AP','Armed Forces Pacific','',0,0),(12,840,'CA','California','',0,0),(13,840,'CO','Colorado','',0,0),(14,840,'CT','Connecticut','',0,0),(15,840,'DE','Delaware','',0,0),(16,840,'DC','District of Columbia','',0,0),(17,840,'FM','Federated States Of Micronesia','',0,0),(18,840,'FL','Florida','',0,0),(19,840,'GA','Georgia','',0,0),(20,840,'GU','Guam','',0,0),(21,840,'HI','Hawaii','',0,0),(22,840,'ID','Idaho','',0,0),(23,840,'IL','Illinois','',0,0),(24,840,'IN','Indiana','',0,0),(25,840,'IA','Iowa','',0,0),(26,840,'KS','Kansas','',0,0),(27,840,'KY','Kentucky','',0,0),(28,840,'LA','Louisiana','',0,0),(29,840,'ME','Maine','',0,0),(30,840,'MH','Marshall Islands','',0,0),(31,840,'MD','Maryland','',0,0),(32,840,'MA','Massachusetts','',0,0),(33,840,'MI','Michigan','',0,0),(34,840,'MN','Minnesota','',0,0),(35,840,'MS','Mississippi','',0,0),(36,840,'MO','Missouri','',0,0),(37,840,'MT','Montana','',0,0),(38,840,'NE','Nebraska','',0,0),(39,840,'NV','Nevada','',0,0),(40,840,'NH','New Hampshire','',0,0),(41,840,'NJ','New Jersey','',0,0),(42,840,'NM','New Mexico','',0,0),(43,840,'NY','New York','',0,0),(44,840,'NC','North Carolina','',0,0),(45,840,'ND','North Dakota','',0,0),(46,840,'MP','Northern Mariana Islands','',0,0),(47,840,'OH','Ohio','',0,0),(48,840,'OK','Oklahoma','',0,0),(49,840,'OR','Oregon','',0,0),(50,840,'PW','Palau','',0,0),(51,840,'PA','Pennsylvania','',0,0),(52,840,'PR','Puerto Rico','',0,0),(53,840,'RI','Rhode Island','',0,0),(54,840,'SC','South Carolina','',0,0),(55,840,'SD','South Dakota','',0,0),(56,840,'TN','Tennessee','',0,0),(57,840,'TX','Texas','',0,0),(58,840,'UT','Utah','',0,0),(59,840,'VT','Vermont','',0,0),(60,840,'VI','Virgin Islands','',0,0),(61,840,'VA','Virginia','',0,0),(62,840,'WA','Washington','',0,0),(63,840,'WV','West Virginia','',0,0),(64,840,'WI','Wisconsin','',0,0),(65,840,'WY','Wyoming','',0,0),(66,356,'AP','Andhra Pradesh','',0,0),(67,356,'AR','Arunachal Pradesh','',0,0),(68,356,'AS','Assam','',0,0),(69,356,'BR','Bihar','',0,0),(70,356,'CG','Chattisgarh','',0,0),(71,356,'GA','Goa','',0,0),(72,356,'GJ','Gujarat','',0,0),(73,356,'HR','Haryana','',0,0),(74,356,'HP','Himachal Pradesh','',0,0),(75,356,'JK','Jammu & Kashmir','',0,0),(76,356,'JH','Jharkhand','',0,0),(77,356,'KA','Karnataka','',0,0),(78,356,'KL','Kerala','',0,0),(79,356,'MP','Madhya Pradesh','',0,0),(80,356,'MH','Maharashtra','',0,0),(81,356,'MN','Manipur','',0,0),(82,356,'ML','Meghalaya','',0,0),(83,356,'MZ','Mizoram','',0,0),(84,356,'NL','Nagaland','',0,0),(85,356,'OR','Orissa','',0,0),(86,356,'PB','Punjab','',0,0),(87,356,'RJ','Rajasthan','',0,0),(88,356,'SK','Sikkim','',0,0),(89,356,'TN','Tamil Nadu','',0,0),(90,356,'TR','Tripura','',0,0),(91,356,'UA','Uttarakhand','',0,0),(92,356,'UP','Uttar Pradesh','',0,0),(93,356,'WB','West Bengal','',0,0),(94,356,'AN','Andaman & Nicobar','',0,0),(95,356,'CH','Chandigarh','',0,0),(96,356,'DN','Dadra and Nagar Haveli','',0,0),(97,356,'DD','Daman & Diu','',0,0),(98,356,'DL','Delhi','',0,0),(99,842,'NSW','New South Wales','',0,0),(100,842,'VCT','Victoria','',0,0),(101,842,'QLD','Queensland','',0,0),(102,842,'SA','South Australia','',0,0),(103,842,'WA','Western Australia','',0,0),(104,842,'TAS','Tasmania','',0,0),(105,842,'NT','Northern Territory','',0,0),(106,1,'ASSAM','ASSAM',NULL,0,2011),(107,1,'AP','ARUNACHAL PRADESH',NULL,0,2011),(108,1,'GUJ','GUJRAT',NULL,0,2011),(109,1,'BIHAR','BIHAR',NULL,0,2011),(110,1,'HARYANA','HARYANA',NULL,0,2011),(111,1,'HP','HIMACHAL PRADESH',NULL,0,2011),(112,1,'J&K','JAMMU & KASHMIR',NULL,0,2011),(113,1,'KARNA','KARNATAKA',NULL,0,2011),(114,1,'KEERLA','KERALA',NULL,0,2011),(115,1,'MP','MADHYA PRADESH',NULL,0,2011),(116,1,'MAHA','MAHARASHTRA',NULL,0,2011),(117,1,'MANIPUR','MANIPUR',NULL,0,2011),(118,1,'MEGHALAYA','MEGHALAYA',NULL,0,2011),(119,1,'MIZORAM','MIZORAM',NULL,0,2011),(120,1,'NAGALAND','NAGALAND',NULL,0,2011),(121,1,'ORISSA','ORISSA',NULL,0,2011),(122,1,'PUNJ','PUNJAB',NULL,0,2011),(123,1,'RAJAS','RAJASTHAN',NULL,0,2011),(124,1,'SIKKIM','SIKKIM',NULL,0,2011),(125,1,'TAMIL','TAMIL NADU',NULL,0,2011),(126,1,'TRIPURA','TRIPURA',NULL,0,2011),(127,1,'UP','UTTAR PRADESH',NULL,0,2011),(128,1,'WB','WEST BENGAL',NULL,0,2011),(129,1,'DELHI','DELHI',NULL,0,2011),(130,1,'GOA','GOA',NULL,0,2011),(131,1,'PONDI','PONDICHERY',NULL,0,2011),(132,1,'LAKS','LAKSHDWEEP',NULL,0,2011),(133,1,'DAMAN','DAMAN & DIU',NULL,0,2011),(134,1,'DADRA','DADRA & NAGAR',NULL,0,2011),(135,1,'CHANDI','CHANDIGARH',NULL,0,2011),(136,1,'ANDAMAN','ANDAMAN & NICOBAR',NULL,0,2011),(137,1,'UTTARA','UTTARANCHAL',NULL,0,2011),(138,1,'JHARKHAND','JHARKHAND',NULL,0,2011),(139,1,'CHATTI','CHATTISGARH',NULL,0,2011);

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

CREATE TABLE `bstock_statssettings` (
  `stat_id` int(10) NOT NULL COMMENT 'This is the primary key.',
  `name` varchar(250) NOT NULL COMMENT 'Name of the type of statistic / report.',
  `value` varchar(250) NOT NULL COMMENT 'Value of the type of statistic / report i.e. enabled / disabled.',
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this record.',
  PRIMARY KEY (`stat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Store the various reports/statistics like login history,last';

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


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

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

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


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

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

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


--
-- Table structure for table `bstock_systemusers`
--

CREATE TABLE `bstock_systemusers` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'This is the primary key.',
  `user_name` varchar(50) NOT NULL COMMENT 'Username that will be used to login by the user to the system.',
  `password` varchar(100) NOT NULL COMMENT 'Password of the user stored in MD5 format.',
  `password1` varchar(300) NOT NULL,
  `email` varchar(250) NOT NULL COMMENT 'Email address of the user.',
  `first_name` varchar(100) NOT NULL COMMENT 'First name of the user.',
  `last_name` varchar(100) NOT NULL COMMENT 'Last name of the user.',
  `company_name` varchar(250) NOT NULL COMMENT 'Company name of the user.',
  `office_phone_number` varchar(50) NOT NULL COMMENT 'Office Phone number of the user.',
  `mobile_number` varchar(50) NOT NULL COMMENT 'This will be the mobile number of the user.',
  `last_login` varchar(50) NOT NULL COMMENT 'This will contain the last login date & time of the user.',
  `is_active` enum('on','off') NOT NULL COMMENT 'THis will determine whether the user is currently active or is blocked from using the system.',
  `profile_id` int(10) NOT NULL COMMENT 'This will be the foreign key from the profiles table & is mapped to the ''profile_id'' primary key.',
  `transaction_type_id` int(10) NOT NULL DEFAULT '1',
  `divisor` int(10) NOT NULL,
  `created_date` varchar(50) NOT NULL COMMENT 'This field will contain the created date for this user record.',
  `modified_date` varchar(50) NOT NULL COMMENT 'This field will contain the last modified date for this user record.',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1 COMMENT='Store details of system users. They are not customers.';

--
-- Dumping data for table `bstock_systemusers`
--

INSERT INTO `bstock_systemusers` VALUES (1,'admin','6df0d22ab90bb6326612653e294a35b8','b136ee6c797c1a851260b9c1ab5ff414','harshad.narvekar@gmail.com','admin','lastname','biggventures','3333333333','999999999','','on',87,1,0,'',''),(2,'KETAN','05f768ca0ba16fcd99f611c16c96adc2','','kotharivishal@gmail.com','vishal','kothari','bigg','3232323232','9819322550','','off',99,1,0,'','1298359728'),(3,'harshad','5f4dcc3b5aa765d61d8327deb882cf99','','harshad@biggventures.com','harshad','n','bigg','290232324','98989898989','','off',99,2,0,'',''),(4,'vishal','d5895585f7ab41ce1dbf0b7202b1799f','','vishal@finestardiamonds.com.au','Vishal','','FineStar Diamonds Pty Ltd','','','','off',87,1,0,'','1298361278'),(5,'yash','90e43c5db1f1731f54d82c45234bccb7','','yash@finestardiamonds.com.au','Yash','','FineStar Diamonds Pty Ltd','','','','on',87,1,0,'',''),(6,'roger','c729258fb9fc3fc74a2c492a3ca2ef4f','','roger@finestardiamonds.com.au','Roger','','FineStar Diamonds Pty Ltd','','','','on',87,1,0,'',''),(7,'khosrow','224c2dcd58022b08c6cc7e89b7531729','','khosrow@finestardiamonds.com.au','Khosrow','','FineStar Diamonds Pty Ltd','','','','on',87,1,0,'',''),(8,'stefani','3103a0b5969afd553e74463b3e6b7b8d','','stefani@finestardiamonds.com.au','Stefani','','FineStar Diamonds Pty Ltd','','','','on',87,1,0,'',''),(10,'swapna','65a6f195d252b62f6d170f2881aec6cf','','swapna@biggventures.com','Swapna','Patil','Bigg Ventures','111222','333444555','','on',87,1,0,'','1298366931'),(12,'dhanashree','5f4dcc3b5aa765d61d8327deb882cf99','','dhanashree@biggstock.com','dhanashree','mantri','biggventures','25334693','9969848289','','on',97,1,0,'','1321438947');

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

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

--
