Hello
So I have been trying to find a connection to the actual Coupon Code used on a Transaction via the Transaction Line --> Item ID --> Coupon Code join in the Database Tables/Views (via ODBC) . While NS allows me to get to the actual code via a Saved Search, i just cannot get to that info via joining of the tables in the DB. This has brought our Marketing Reporting via the ODBC connections to a stand still.Any and all help from the experts here will be useful.
Just to trace my steps (which may be flawed)
1. A 'Discount Item' is mapped to many Coupon Code in our set up (pretty standard way i think). (eg. Item 'Discount_$20' is mapped to Coupon Codes 'FREE20' and 'TAKE20')
2. A particular coupon code (eg. FREE20) is used on a transaction to buy a TShirt. (eg. Transaction ID - 123456)
3. When i look at the Transaction_Line table in the DB. I can see the Transaction 123456 and it has the ITEM ID for 'Discount_$20')
4. When i look up the Promotion_Codes table with the 'Discount_$20' i find its association to 2 Promotion_Codes 'FREE20' and 'TAKE20'
5. What i looking for is the connection/join for the PromotionCode from the TransactionLine table along with the DicountITem
PLEASE HELP WITH AN ANSWER
-VP