Guest User

Untitled

a guest
Aug 27th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. --
  2. -- Structure for table `f_inventory`
  3. --
  4.  
  5. DROP TABLE IF EXISTS `f_inventory`;
  6. CREATE TABLE IF NOT EXISTS `f_inventory` (
  7. `id` int(11) NOT NULL AUTO_INCREMENT,
  8. `sku` varchar(24) NOT NULL DEFAULT '',
  9. `inactive` enum('0','1') NOT NULL DEFAULT '0',
  10. `inventory_type` char(2) NOT NULL DEFAULT 'si',
  11. `description_short` varchar(60) NOT NULL DEFAULT '',
  12. `description_purchase` varchar(255) DEFAULT NULL,
  13. `description_sales` varchar(255) DEFAULT NULL,
  14. `image_with_path` varchar(255) DEFAULT NULL,
  15. `account_sales_income` varchar(15) DEFAULT NULL,
  16. `account_inventory_wage` varchar(15) DEFAULT '',
  17. `account_cost_of_sales` varchar(15) DEFAULT NULL,
  18. `item_taxable` int(11) NOT NULL DEFAULT '0',
  19. `purch_taxable` int(11) NOT NULL DEFAULT '0',
  20. `item_cost` decimal(20,2) NOT NULL DEFAULT '0.00',
  21. `cost_method` enum('a','f','l') NOT NULL DEFAULT 'f',
  22. `price_sheet` varchar(32) DEFAULT NULL,
  23. `price_sheet_v` varchar(32) DEFAULT NULL,
  24. `full_price` decimal(10,2) NOT NULL DEFAULT '0.00',
  25. `item_weight` float NOT NULL DEFAULT '0',
  26. `quantity_on_hand` float NOT NULL DEFAULT '0',
  27. `quantity_on_order` float NOT NULL DEFAULT '0',
  28. `quantity_on_sales_order` float NOT NULL DEFAULT '0',
  29. `quantity_on_allocation` float NOT NULL DEFAULT '0',
  30. `minimum_stock_level` float NOT NULL DEFAULT '0',
  31. `reorder_quantity` float NOT NULL DEFAULT '0',
  32. `vendor_id` int(11) NOT NULL DEFAULT '0',
  33. `lead_time` int(3) NOT NULL DEFAULT '1',
  34. `upc_code` varchar(13) NOT NULL DEFAULT '',
  35. `serialize` enum('0','1') NOT NULL DEFAULT '0',
  36. `creation_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  37. `last_update` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  38. `last_journal_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  39. `category` char(49) DEFAULT NULL,
  40. `realfoto` enum('0','1') DEFAULT '0',
  41. `cater` enum('0','1') DEFAULT '0',
  42. `specprices` enum('0','1') DEFAULT '0',
  43. `rev` enum('0','1') DEFAULT '0',
  44. `iverrev` date DEFAULT NULL,
  45. PRIMARY KEY (`id`)
  46. ) ENGINE=InnoDB AUTO_INCREMENT=3913 DEFAULT CHARSET=utf8 COMMENT='Primary inventory table';
Advertisement
Add Comment
Please, Sign In to add comment