Sorry, not the answers, but a few questions.
Taking the example of a single sale for Greg
Sales Data
Sales Order |
Product |
Sales Person |
Quantity Sold |
1 |
a |
Greg |
292 |
PayStructure
Product |
Tier 1 |
Tier 2 |
Tier 3 |
a |
5 |
8 |
10 |
Thresholds
Product |
Tier 1 |
Tier 2 |
Tier 3 |
a |
400 |
800 |
1200 |
1) What will be the calculation for Greg ?
2) What will be the calculation for Greg if we change
Quantity Sold for Greg to 500 ?
3) What will be the calculation for Greg if we change
Quantity Sold for Greg to 1000 ?
4) What will be the calculation for Greg if we change
Quantity Sold for Greg to 1500 ?
5) Why does the Thresholds table have Product filed values as
1,2,3,4 ? Should it be
a,b,c,d as in
Paystructure table?
6) Why do we have 2 seperate tables for
Paystructure and
Thresholds ?
7) Currently, have not given much thought, but was wondering whether we should have
Paystructure table as something like
Product |
TheTier |
TheRate |
TheThreshold |
a |
1 |
5 |
400 |
a |
2 |
8 |
800 |
a |
3 |
10 |
1200 |
b |
1 |
2 |
1000 |
b |
2 |
4 |
1200 |
b |
3 |
6 |
1400 |
c |
1 |
|
|
c |
2 |
|
|
c |
3 |
|
|
d |
1 |
|
|
d |
2 |
|
|
d |
3 |
|
|
8) If we don't have a separate table for SalesPersons, we should be having that.
Thanks