Results 1 to 4 of 4
  1. #1
    atg is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    2

    Product Order/Pricing Database

    Hello,



    I am new to AccessForums and have found the site to be incredibly helpful. I am a bit of a beginner, but look forward to contributing as I get more familiar with the program.

    I am building a database that shows historical product orders and pricing. Specifically, the database relates to clothing manufacturing. I only included the primary tables as I am most concerned about the relationships I have set up. I tried to be concise while still including all necessary info. I apologize if I am a bit vague, but would appreciate any advice you may have.

    Some details:

    • Each order is given a unique GEDP and LotNo.
    • A ClientStyleNo & FactoryStyleNo can be assigned to more than one GEDP, but a GEDP has only one of each.
    • A FactoryStyleNo can have more than one CostingID. I will create a function later that calls the appropriate CostingID based on the season.


    I felt that FactoryStyleNo was the most appropriate foreign key for tblCosting. Likewise, ClientStyleNo is most the most appropriate foreign key for tblStyle.

    tblProduction shows an orders progression through the factory. tblDelivery gives specific delivery information. I believe each should have a one-to-one relationship since each an order (GEDP) is unique and only occurs once. To avoid overloading tblOrder with information, I split it off into separate tables.

    Does this pass the eye test? I want to avoid any critical mistakes with the relationships before I begin building it out. Thanks!
    Attached Thumbnails Attached Thumbnails db_relationships_062112.png  

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    If GEDP is unqiue, why do you have joins on OrderId and LotNo.
    The Del1PO,Del2PO... and the similar Date and Quantity fields indicate an unNormalized structure(s).
    I'm not sure on how tblCosting and tblOrder are related

    It is difficult ot comment on the tables and relationships.
    Do you have a list of Business Facts/Rules? That is one technique to help validate your model to your business.

    See http://www.databaseanswers.org/approach2db_design.htm

    See the How are they related at http://www.databaseanswers.org/data_...arts/facts.htm for some basic business rules.

    There is a more complex data model for Customers and Orders here
    http://www.databaseanswers.org/data_...ries/index.htm It may not relate to your situation, but may help with some concepts.

    Test your evolving model with sample data (good and bad data); adjust as necessary; and repeat until you can reconcile any differences.

    Good luck with your project.

  3. #3
    atg is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    2
    Thanks for the help, orange! Your advice definitely lead me in the right direction.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Good stuff, glad to hear you project is proceeding.

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

Similar Threads

  1. Pricing Problems
    By tony6562 in forum Access
    Replies: 1
    Last Post: 06-08-2012, 09:24 AM
  2. Help - order chasing database
    By gskinstad in forum Import/Export Data
    Replies: 2
    Last Post: 02-14-2012, 10:41 AM
  3. Service Order Database - Novice Looking for help.
    By Patriot7470 in forum Database Design
    Replies: 3
    Last Post: 02-16-2011, 08:50 AM
  4. Pricing Database
    By nsvorp in forum Access
    Replies: 6
    Last Post: 09-10-2010, 10:33 AM
  5. Programming Adjustable Pricing Fees
    By JDA2005 in forum Programming
    Replies: 2
    Last Post: 07-07-2009, 10:50 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