Results 1 to 8 of 8
  1. #1
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34

    Inventory Design

    I'm creating an inventory tracker for my construction company and I want to make sure I lay it out properly. The most important aspect of the database is the ability to see where materials are. I have a "material transfer" form for Superintendents to input which materials are going to and from their job sites. So far I have a materials table, a material transfers table, a locations table, a suppliers table and an employees table. I am trying to reference Access's template as I create mine, but it's different because theirs is based on items sold, whereas mine is more for items transferred. Is it correct that I do not store the quantity anywhere in the materials table? Let a query handle it? There will always be a job # from where the material is coming and a job # for where the material is heading. Any new purchases will be handled by a different form. What is the best way to use a query to do this math for me? Thanks for any help!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    What is the structure of the Transfers table?

    I can imagine couple approaches to this.

    Following relational database convention, Materials table would not have quantities - the on-hand quantity would be determined by query.

    Do you want to provide project for analysis? Follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    The material transfer is designed from an old paper form used. It has "Shipped From", "Shipped To" for the jobsite locations and then lines for material being transferred and qty. The Yard is the main storage area so things move from there to other job sites and often then between job sites. The idea is to have an overall tracker of where our materials are at any given time.

  4. #4
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    I know it should be a query but I can't come up with how the formula would read to add to this location if it's in the shipped to and subtract from the other location if it's in the shipped from.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Possibly would involve more than one query. Would really help to work with your structure and some sample data. Do you have anything built yet?

    The transfer of inventory between sites is a twist I haven't encountered before.

    One approach would be not to show a transfer between sites but to show return to main stock then a dispersal of material to another site.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    .... I have a materials table, a material transfers table, a locations table, a suppliers table and an employees table.
    Please post a jpg of your Tables and relationships.

  7. #7
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    Click image for larger version. 

Name:	Capture2.JPG 
Views:	50 
Size:	99.8 KB 
ID:	7243
    That is the form my "Material Transfers" table is based on. The Employee, Location, Materials, and Suppliers tables have only the basic information you would expect to find in those tables. The "Material Transfers" table looks up records in the other tables to gets its information. My problem is what to do about quantity. I know calculations should be done in queries, but in my case would it be better to do a Quantity field in the Materials Table to account for the total?

  8. #8
    rts is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    34
    Or is there a way to say "If the location in the "Shipped From" (I'm using a job number here), subtract from that location's total quantity. If it's in the "Shipped To", Add to that location's total quantity"

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Inventory Help!!!
    By pipman in forum Access
    Replies: 8
    Last Post: 01-03-2012, 03:44 PM
  2. Inventory
    By Nemacol in forum Database Design
    Replies: 2
    Last Post: 09-13-2011, 05:23 PM
  3. help inventory db
    By mesersmith in forum Database Design
    Replies: 3
    Last Post: 03-10-2011, 11:48 AM
  4. Inventory
    By thisandthat in forum Access
    Replies: 3
    Last Post: 03-01-2011, 08:09 PM
  5. Database design for simple inventory
    By toptech in forum Database Design
    Replies: 12
    Last Post: 10-24-2009, 07:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums