Hoping someone can help me.
I need to create something that can help calculate a "bonus" if certain items are sold on the same invoice with amount greater than $X.
Something like this:
To qualify employee X needs to sell gallon of milk to qualify priced at least $X, if he can add yogurt and eggs that are at least priced $X or more on the same invoice the employee gets $X.
[TABLE="width: 415"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Invoice[/TD]
[TD]Employee[/TD]
[TD]SKU[/TD]
[TD]Description[/TD]
[TD] Amount [/TD]
[TD]Category[/TD]
[/TR]
[TR]
[TD="align: right"]111 [/TD]
[TD]Jeff[/TD]
[TD]A5B355[/TD]
[TD]Hillshire 12[/TD]
[TD] $ 5.00[/TD]
[TD]Eggs[/TD]
[/TR]
[TR]
[TD="align: right"]111 [/TD]
[TD]Jeff[/TD]
[TD]190BDR[/TD]
[TD]Gallon[/TD]
[TD] $ 2.00[/TD]
[TD]Milk[/TD]
[/TR]
[TR]
[TD="align: right"]111 [/TD]
[TD]Jeff[/TD]
[TD]293DKS[/TD]
[TD]32oz Vanilla[/TD]
[TD] $ 3.00[/TD]
[TD]Yogurt[/TD]
[/TR]
[TR]
[TD="align: right"]444 [/TD]
[TD]Carl[/TD]
[TD]98SKOS[/TD]
[TD]Sharp 4oz[/TD]
[TD] $ 2.00[/TD]
[TD]Cheese[/TD]
[/TR]
[TR]
[TD="align: right"]444 [/TD]
[TD]Carl[/TD]
[TD]FBN398[/TD]
[TD]Chocolate [/TD]
[TD] $ 4.00[/TD]
[TD]Cookies[/TD]
[/TR]
</tbody>[/TABLE]
Hope this makes sense.
I need to create something that can help calculate a "bonus" if certain items are sold on the same invoice with amount greater than $X.
Something like this:
To qualify employee X needs to sell gallon of milk to qualify priced at least $X, if he can add yogurt and eggs that are at least priced $X or more on the same invoice the employee gets $X.
[TABLE="width: 415"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Invoice[/TD]
[TD]Employee[/TD]
[TD]SKU[/TD]
[TD]Description[/TD]
[TD] Amount [/TD]
[TD]Category[/TD]
[/TR]
[TR]
[TD="align: right"]111 [/TD]
[TD]Jeff[/TD]
[TD]A5B355[/TD]
[TD]Hillshire 12[/TD]
[TD] $ 5.00[/TD]
[TD]Eggs[/TD]
[/TR]
[TR]
[TD="align: right"]111 [/TD]
[TD]Jeff[/TD]
[TD]190BDR[/TD]
[TD]Gallon[/TD]
[TD] $ 2.00[/TD]
[TD]Milk[/TD]
[/TR]
[TR]
[TD="align: right"]111 [/TD]
[TD]Jeff[/TD]
[TD]293DKS[/TD]
[TD]32oz Vanilla[/TD]
[TD] $ 3.00[/TD]
[TD]Yogurt[/TD]
[/TR]
[TR]
[TD="align: right"]444 [/TD]
[TD]Carl[/TD]
[TD]98SKOS[/TD]
[TD]Sharp 4oz[/TD]
[TD] $ 2.00[/TD]
[TD]Cheese[/TD]
[/TR]
[TR]
[TD="align: right"]444 [/TD]
[TD]Carl[/TD]
[TD]FBN398[/TD]
[TD]Chocolate [/TD]
[TD] $ 4.00[/TD]
[TD]Cookies[/TD]
[/TR]
</tbody>[/TABLE]
Hope this makes sense.