With the new custom reporting in 3.5 I would like to report on where coupons were used. I checked the docs and did not find much. I looked at the sql table structure but need a little help understanding the relationships. Is there any published entity diagram?
1. When a coupon is used, is it captured as a line item on an order and/or invoice? What table holds the coupon id or code used?
2. Is it possible to generate a report showing the coupon code and the paid invoices or are the relationships not there?
Here is a little background in why I need to track the coupon usage:
The coupon codes are being used to track resellers and sales people. Each code has an id embedded in it that refers to a client id. Each reseller, or sales person has an client record that is assigned to their respective group. When a new customer uses a coupon, it ties the order back to the reseller or sales person. I'd like to generate a report to pay commissions. Ideally the report will have the customer, service, invoice amount, coupon code and sales person name.
Question
AllanD
With the new custom reporting in 3.5 I would like to report on where coupons were used. I checked the docs and did not find much. I looked at the sql table structure but need a little help understanding the relationships. Is there any published entity diagram?
1. When a coupon is used, is it captured as a line item on an order and/or invoice? What table holds the coupon id or code used?
2. Is it possible to generate a report showing the coupon code and the paid invoices or are the relationships not there?
Here is a little background in why I need to track the coupon usage:
The coupon codes are being used to track resellers and sales people. Each code has an id embedded in it that refers to a client id. Each reseller, or sales person has an client record that is assigned to their respective group. When a new customer uses a coupon, it ties the order back to the reseller or sales person. I'd like to generate a report to pay commissions. Ideally the report will have the customer, service, invoice amount, coupon code and sales person name.
Thanks!
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.