Advertisement
Guest User

Untitled

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