I am working on a shipping/receiving module for a service database. Well, in a sense, it is a movement module. Moved out of warehouse, moved into warehouse.
I'm wondering if these two tables are different, or if they are the same and just need a column added called "direction" (ie, in or out).
They would be recording the same exact fields, but just opposite directions. Which leads me to believe that they are not related to each other in that sense.
I have not been working with databases for too long (less than 1 year), no formal schooling on them, so this is all new to me, but I have had great luck with a test database that was running them as two separate tables.
Another issue would be inventory would become more complicated if I use one table. It would be two SELECT [QTY] FROM tblMovement WHERE (([Direction])=0/1). Although, that might be more efficient as it is the same table. I'm not sure... This is why I need your help.
I'm open to your opinions on this and would appreciate your input.
I'm wondering if these two tables are different, or if they are the same and just need a column added called "direction" (ie, in or out).
They would be recording the same exact fields, but just opposite directions. Which leads me to believe that they are not related to each other in that sense.
I have not been working with databases for too long (less than 1 year), no formal schooling on them, so this is all new to me, but I have had great luck with a test database that was running them as two separate tables.
Another issue would be inventory would become more complicated if I use one table. It would be two SELECT [QTY] FROM tblMovement WHERE (([Direction])=0/1). Although, that might be more efficient as it is the same table. I'm not sure... This is why I need your help.
I'm open to your opinions on this and would appreciate your input.
Comment