Our PowerApp needs to create appointments on a central, application-specific calendar so that staff knows when to follow up on various tasks. For example, a hypothetical appointment might be scheduled for 10-Oct-2021 for "Follow up on Contract ABC." "Contract ABC" corresponds to a row in our Contracts table.
My question is: How can I make the row in the common data model's Appointment table point back to the row in our custom table, Contracts? We need one row to point to another so that if the Contract row is deleted, any Appointment rows related to it can be cascade deleted.
I have checked online resources Appointment Entity Reference and Calendar entities but not had any luck.