I am new to powerapps and have a query. How to add NEW and UPDATE existing customers and it's devices, task details. I am using multiple Dataverse tables for Customer and it's associated devices and tasks associated to those devices. If someone can explain with a sample code it will be really helpful.
For example, I have below tables;
Customer - Master - CustomerID as PK
Devices - Detail - DeviceID as PK and Lookup column as CustomerID
Tasks Table - Detail - TaskID as PK
Task Status - Detail - TaskStatus as PK, Lookup column as DeviceID and TaskID