Hello All,
I have a scenario where I have two CDS entities with the exact schema (Main Table and it's History table) but with just one column extra in table # 2.
Records should be saved to both these entities from the same form at the same time. Meaning, the user enters data in the form just once and I have to persist the entered data in both the entities at the click of the Save button
I have read about Patch() but was not entirely sure if that would work in this scenario. I was also thinking of having another hidden form and at the click of Save, set the value of its controls to the values from the main "visible" form and Submit both forms at the click of Save.
Also, this is different than Audit Logs that PowerApps offers, as saving the data to both the entities is actually part of the main business transaction process and the clients are requiring it.
Can you please let me know how to go about doing it in a Canvas App?
Thanks