I have a table with a list of Products, with various details about the them.
I have a linked table with the products' prices.
The reasoning behind the decision to separate the two is that the prices change from time to time, and for different sales channels, the prices vary.
I'd like to set an automated email that is fired when a new product price record is created.
The email should include a grid table that shows:
- The records of the current and previous prices of the relevant product.
- I'd like to pull not only all the prices of the same product, but to also include some conditions.
For example: all the filtered records should be the prices in the same country (e.g. Germany, or the United States).
Please recommend the best practice to configure this requirement.