Forum Discussion
AdamKeever1
6 years agoQrew Commander
If understand what you are wanting, yes you would want the tables related. There are at least three ways you can do this. You can relate them and then manually add the store to each equipment, you can add a stores field as you stated and then relate them, or you can create a spreadsheet and include a unique ID and then relate them.
Take a look at this post and see if it gives you some guidance:
tables, IDs, and relationships
------------------------------
Adam Keever
------------------------------
Take a look at this post and see if it gives you some guidance:
tables, IDs, and relationships
------------------------------
Adam Keever
------------------------------
- ArbabRizvi6 years agoQrew MemberI don't think you understand.
Here is a screen shot to better explain:
Here is my Inventory Table:
As you can see, the stores table has many different equipment.
I want to take the sum of each piece of equipment across all stores and provide them on the equipment table and it should look like this:
Equipment 1 - 50
Equipment 2 - 10
etc.
------------------------------
Arbab Rizvi
------------------------------- AdamKeever16 years agoQrew CommanderYes, that is where the summary field function would be used in the relationship:
You would select your filed for your equipment to generate the summary in the parent table.
------------------------------
Adam Keever
------------------------------- MarkShnier__You6 years ago
Qrew Legend
Arbab,
I would suggest having a stores table. That would have a child table of assigned equipment as opposed to had coding the various kinds of equipment.
There woulds be a table of equipment masters, one for each unique type of equipment, for example Xerox 123 model printer.
The relationships would be
1 store < Assigned equipment > Equipment master.
ie the Assigned Equipment is the many to many join table.
The Equipment mater would also have a relationship to Equipment purchases or if you prefer to simplify it, to a table of equipment adjustments. The adjustment type would be say a receipt of new equipment, or an inventory adjustment if an equipment is taken out of service. Ideally the Assigned equipment table would have serial numbers so you would actually know which serial was at which store.
The inventory levels in the main warehouse would be a formula which would add the net inventory adjustments to the total of the assigned equipment.
My main recommendation is NOT to hard code the types of equipment into specific fields on the store as you will just make way too much work to set up summary fields for each type of equipment as these will of change over time.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------