{"id":2931,"date":"2013-03-05T12:02:15","date_gmt":"2013-03-05T04:02:15","guid":{"rendered":"http:\/\/www.vbtutor.net\/?page_id=2931"},"modified":"2015-05-07T22:58:45","modified_gmt":"2015-05-07T14:58:45","slug":"inventory-system","status":"publish","type":"page","link":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/","title":{"rendered":"Visual Basic Inventory System"},"content":{"rendered":"<p>We can use Visual Basic code to build an inventory management system. Building a Visual Basic inventory system involves the use of relational databases. In our example, we are using Visual Basic 6 to create the inventory system. In Visual Basic 6, there are a number of built-in database management tools which we can use to manage the data.<\/p>\n<p>To start building a good inventory system, we need to have a good planning. First of all, you have to sit down with your client to get detail information about his or her businesses and establish the kind of system he or she wants. For example, you need to know what types of goods they are dealing with, the turn-over volumes, cost prices, selling prices and more. Besides that, you need to know what kind of documents the system needs to deal with like invoices, delivery orders and more.<\/p>\n<p>After getting all the necessary information from your client, you can then start to build a database. Based on the number and types of products, you need to decide what are the variables or fields needed to be included in the database&#8217;s tables.<\/p>\n<p>We shall use a hypothetical case to illustrate how to build an inventory system. Let&#8217;s say our client is dealing with electrical goods.<\/p>\n<p><strong>Step 1: Creating the database tables<\/strong><\/p>\n<p>To design the database tables, we need to determine how many tables are needed. In order to keep things \u00a0simple, we shall limit to two tables in our example.<\/p>\n<p>The first table shall be used to store the data of the inventory or stock in hand. The second table shall be used to record stocks coming in and stocks going out.<\/p>\n<p>The first table shall comprise the following fields:<\/p>\n<ul>\n<li><span style=\"line-height: 16px;\">Category<\/span><\/li>\n<li>Brand<\/li>\n<li>Item Description<\/li>\n<li>Model Number<\/li>\n<li>Stock<\/li>\n<li>Unit Cost<\/li>\n<li>Total Cost<\/li>\n<\/ul>\n<p>The second table shall comprise the following fields:<\/p>\n<ul>\n<li><span style=\"line-height: 16px;\">Date<\/span><\/li>\n<li>Category<\/li>\n<li>Brand<\/li>\n<li>Item Description<\/li>\n<li>Model Number<\/li>\n<li>Stock In<\/li>\n<li>Stock Out<\/li>\n<li>Unit Cost<\/li>\n<li>Total Cost<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can use Visual Basic code to build an inventory management system. Building a Visual Basic inventory system involves the use of relational databases. In our example, we are using Visual Basic 6 to create the inventory system. In Visual Basic 6, there are a number of built-in database management tools which we can use &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Basic Inventory System<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width.php","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2931","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Visual Basic Inventory System<\/title>\n<meta name=\"description\" content=\"This page show you how to build a Visual Basic inventory system using visual basic 6\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Visual Basic Inventory System\" \/>\n<meta property=\"og:description\" content=\"This page show you how to build a Visual Basic inventory system using visual basic 6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Vbtutor\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-07T14:58:45+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/\",\"url\":\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/\",\"name\":\"Visual Basic Inventory System\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"datePublished\":\"2013-03-05T04:02:15+00:00\",\"dateModified\":\"2015-05-07T14:58:45+00:00\",\"description\":\"This page show you how to build a Visual Basic inventory system using visual basic 6\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visual Basic Inventory System\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vbtutor.net\/#website\",\"url\":\"https:\/\/www.vbtutor.net\/\",\"name\":\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"description\":\"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.\",\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Visual Basic Inventory System","description":"This page show you how to build a Visual Basic inventory system using visual basic 6","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/","og_locale":"en_US","og_type":"article","og_title":"Visual Basic Inventory System","og_description":"This page show you how to build a Visual Basic inventory system using visual basic 6","og_url":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_modified_time":"2015-05-07T14:58:45+00:00","twitter_card":"summary_large_image","twitter_site":"@liewvk","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/","url":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/","name":"Visual Basic Inventory System","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"datePublished":"2013-03-05T04:02:15+00:00","dateModified":"2015-05-07T14:58:45+00:00","description":"This page show you how to build a Visual Basic inventory system using visual basic 6","breadcrumb":{"@id":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vbtutor.net\/index.php\/inventory-system\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vbtutor.net\/index.php\/inventory-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"Visual Basic Inventory System"}]},{"@type":"WebSite","@id":"https:\/\/www.vbtutor.net\/#website","url":"https:\/\/www.vbtutor.net\/","name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.","inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/2931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/users\/23013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=2931"}],"version-history":[{"count":10,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/2931\/revisions"}],"predecessor-version":[{"id":3518,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/2931\/revisions\/3518"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=2931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=2931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=2931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}