Results 1 to 4 of 4
  1. #1
    lisarisa333 is offline Novice
    Windows 8 Access 2016
    Join Date
    Feb 2019
    Location
    Space Coast, FL
    Posts
    17

    Question One or Two Tables And Quantity Question

    This is being crossposted from utteraccess.com as I'm desperately seeking some direction.
    See that post here: https://www.utteraccess.com/forum/in...ic=2052764&hl=


    Firstly, I'd like to thank you all for your contributions to this site!! I've learned quite a few things and y'all are awesome for taking time to help others the way that you do.


    This is my first forum post / question. Please forgive me if I've done something wrong. Here goes:


    I am designing a database to keep track of parts received to a purchase order then issued to a work order. Each part received to a purchase order is given a part tag number. When it's time comes, that part + part tag is issued to a work order.


    Problems I’m facing and need help with:


    1. Do I keep all transactions together in a single table, or do I separate them, one for “received to purchase order” and one for “issued to work order”? Which then ties in with #2 below, of not always issuing the same quantity received.
    2. Quantity – We might receive 1 pack of 25 each of one part to a purchase order, but then must break the pack and only issue 12 each to the work order, leaving 13 each of the part in the “available” inventory. (this would be the only time we would have available inventory as nothing is kept as “stock” or needing “reorder levels”)
    3. Now that I’m typing all this out and thinking of situations and possibilities…. Suppose I’d like to issue 12 of that 13 remaining in stock, to a new work order. Is that possible without first having “received to a purchase order”


    My tables so far:


    Part_tbl
    PartID - autonumber - PK
    PartNumber - short text
    PartDescr - short text
    PartPic - photo attach.


    Received_tbl
    RecdID - autonumber - PK
    PartTagNum - short text
    PartNumber - short text
    Description - short text
    RecdDate - date
    RecdQty - number
    RecdUOM - text
    RecdUOMea - number
    RecdTotal - number
    PONumber - short text
    Location - short text
    RecdNotes - long text


    Issued_tbl
    IssdID - autonumber - PK
    PartTagNum - short text
    PartNumber - short text
    Description - short text
    IssdDate - date
    IssdQty - number
    IssdUOM - text
    IssdUOMea - number
    IssdTotal - number
    WorkOrderNumber - short text
    IssdNotes - long text






    Thanks in advance for any assistance you all can provide,
    Lisa =)

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I lean towards one table with positive and negative quantities, but I wouldn't argue against two. Your fields are basically the same in the two tables, other than PO/workorder, which could be inferred from context.

    To your other question, I'd just record the total quantity, disregarding "packs". If you receive a pack of 25 widgets, I'd record a quantity of 25, not 1. Then when you're calculating quantity on hand, it's simple math. You received 25 and issued 12, leaving 13 on hand.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    lisarisa333 is offline Novice
    Windows 8 Access 2016
    Join Date
    Feb 2019
    Location
    Space Coast, FL
    Posts
    17
    Thank you for your input Paul. I absolutely appreciate it. I think perhaps I am overthinking this entire thing!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem, post back if you get stuck. Inventory is definitely not a trivial undertaking.

    By the way, typically the only "part" field I'd expect to find in the transaction table(s) would be the ID from the parts table. In other words, not the description field. You'd get that by joining the tables together in a query. Not sure what the PartTagNum fields are, but the same might apply.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Furniture Report Total Quantity Question
    By Cadman in forum Reports
    Replies: 9
    Last Post: 07-30-2018, 03:07 PM
  2. Replies: 19
    Last Post: 02-17-2018, 11:48 PM
  3. Replies: 6
    Last Post: 01-16-2016, 08:14 AM
  4. Replies: 4
    Last Post: 06-16-2015, 03:53 AM
  5. Help On Comparing Quantity in Tables
    By rochy81 in forum Access
    Replies: 2
    Last Post: 05-29-2009, 10:20 AM

Tags for this Thread

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