MySQL Forums
Forum List  »  Newbie

Re: Circular reference
Posted by: Adam Donnison
Date: September 15, 2011 11:42PM

Well, in that case the parentage is pipe -> coupling -> DWA, in other words there is the raw material (the pipe), the derived product (which could still be the pipe, but may be the coupling) and the DWA, which needs to point you back to the original stock, I would presume.

The trick in all this is not necessarily thinking about where something comes from, but how you logically tie things together, rather than physically tying them together.

So, with your work processes, you need to decide "what do I need to know in order for the DWA to make sense". I'd guess that there is a raw stock item, a process, and a product and the result of a test. So the DWA needs to reference a test result, which in turn references a product (either pipe or coupling), which in turn references the process which created it, which in turn references the bill of materials used as feed in to the process. In this I'm presuming the DWA has to be investigated back up the manufacturing chain, but again I'm not sure how you use the DWA or how your processes are set up.

In the end you need to work out what the purpose of the DWA is and decide what the characteristics are, and if you can generalise it.

What exactly is this database supposed to manage? Fault analysis and reporting? Manufacturing from raw stock to final product and sales? Is the DWA central to the database design or just one aspect that you need to manage? These are all questions you will need to resolve for yourself in order to come up with a database design. Try to stop thinking about the physical items and instead think of the processes that you need to support and what data you need to support that.

Webmaster - http://www.SkySQL.com/

Options: ReplyQuote


Subject
Written By
Posted
September 15, 2011 01:03PM
September 15, 2011 09:50PM
September 15, 2011 11:27PM
Re: Circular reference
September 15, 2011 11:42PM
September 16, 2011 12:14AM
September 16, 2011 12:31AM
September 16, 2011 12:46AM
September 17, 2011 11:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.