Hi,
Does anybody have some examples on how I can achieve this?
I am trying to create a Patch statement that duplicates a related record but can't work out how to get the column that actually creates the relationship link?
When I go to add the Table that I need to perform the lookup on, the auto suggest doesn't even list it as an option. (as per screenshot below
This is the attempt ate a believe should work
Patch(
'Quote Line Item Calcs',
Defaults('Quote Line Item Calcs'),
{'Product Cost':Self.Selected.Item.'Product Cost',
'Quote Line Item': LookUp('Quote Line Items', Name = Self.Selected.'Quote Line Item')
})
but is throwing error "Name isn't valid" for all 3 issues (table name, column name for related table and column name for this table.
Thanks
Todd