After weeks of building\ testing\ so on, I have not come across this error (attached) until now.. very odd.
I am building a Canvas App on Dataverse. My OnSelect is the following;
//Collect Records from Gallery where Changed
ClearCollect(
colEntriesHoldings,
ShowColumns(
Filter(
galEntries_Holdings.AllItems,
tglEdited_Holding.Value = true
),
"cr8cd_month_id",
"cr8cd_partner_name",
"cr8cd_entity_name",
"cr8cd_investment_group_name",
"cr8cd_investment_name",
"cr8cd_investment_name_import",
"cr8cd_cost_basis",
"cr8cd_market_value",
"cr94c_no_shares",
"cr8cd_entries_holdings_note"
)
);
//Patch Changed Records to Dataverse
ForAll(
colEntriesHoldings,
Patch(
Entries_Holdings,
ThisRecord,
{
Month_Id: cr8cd_month_id,
Partner_Name: cr8cd_partner_name,
Entity_Name: cr8cd_entity_name,
Investment_Group_Name: cr8cd_investment_group_name,
Investment_Name: cr8cd_investment_name,
Investment_Name_Import: cr8cd_investment_name_import,
Cost_Basis: cr8cd_cost_basis,
Market_Value: cr8cd_market_value,
No_Shares: cr94c_no_shares,
Entries_Holdings_Note: cr8cd_entries_holdings_note,
Calendar_Month: LookUp(
Calendar_Months,
Month_Id = txtMonth_Holding.Text
),
Investment: LookUp(
Investments,
Entity_Name = cr8cd_entity_name && Investment_Name = cr8cd_investment_name && Partner_Name = cr8cd_partner_name
)
}
)