i have an app with 2 tables. Warehouse table with all items and orders table with all orders.
I’ve setup an action where i setup a unique number to selected rows in the warehouse and also the same action creates a row in the orders table where one of columns is set with the same unique number. Then in the order row that was created i have a ref_rows to the rows with the same unique number from the warehouse rows.
Now i am trying to generate an email from the data in the newly created row in the orders table, however i am not able to get the ref_rows values in the email template.