Hi,
I have a use case where I need to Clone an Associated Item (Quote Line Item Calc Table). This is inside a Grid that sits on a form. Main Table is Quote Line Item.
Linking the 2 is
The column is not even being used in the raw table.
What I am not quite sure on is how to add the lookup column (linking column) to the patch statement. Do I need to look it up first? It's displayed in the form.
My 1st attempt, thanks to some assistance on this forum will be something like
ForAll(
Self.Selected.AllItems,
Patch(
'Quote Line Item Calcs',
Defaults('Quote Line Item Calcs'),
{
'Quote Line Item':ThisRecord.'Quote Line Item',
'Product Cost':ThisRecord.'Product Cost'
}
)
)
However error I am getting on the formula is "invalid argument type (guid). Expecting a record value instead"
Thanks in advance for any assistance on this one.