JoshuaNurrenber
8 years agoQrew Trainee
Splitting, totaling, and reporting of loads by ""Shareholder
I have a table called "loads", a table called "Shareholders", and a table called "Parcels". Each "load" may belong to one or multiple "Shareholders", or it may not have a "Shareholder" at all. Each "Parcel" will have many "Loads". Each "Shareholder" will have many loads. Each "Shareholder" will also have one or many "Parcels". Each "Load" that is entered will have some amount of Bushels (unit of measure). If the "Load" has a "Shareholder", it will get split between the "Shareholder" and the business the load belongs to. An example would be "Load" 1 belongs to "Shareholder" X, The split is 40% to X and 60% to the business. "Load" 2 may be split among two "Shareholder" Y and Z. The split could be 15% to Y, 25% to Z, and the last 60% to the business. How could I get my app to split each "Load" that has a "Shareholder" by the split percent that is in the "Shareholder" table, and then give me a report that shows each "Shareholder" and all the split loads that belong to that "Shareholder".