
Title:
“Dataverse: Auto-populate field using multiple column match across tables”
Body:
I have three tables in Dataverse:
- Header Table: Company Id, Site Id, Warehouse
- OnHand Table: Item Id, Warehouse, Onhand Qty
- Line Table: Company Id, Site Id, Warehouse, Item Id, Onhand Qty (needs auto-population)
When creating a Line record, I want the
Onhand Qtyfield to auto-populate based on matching Warehouse, Site Id, Company Id from the Header table and Item Id from the OnHand table.The user will only select the values for Company Id, Site Id, Warehouse, and Item Id in the Line record.
Is it possible to achieve this using Dataverse lookups or column mapping? If not, what is the recommended approach (Power Automate, calculated columns, or custom PCF)?
Any guidance or documentation links would be appreciated.