Hello,
I've may found a bug!
I have a simple PowerFx command in my model-driven app (form button) that changes the status of the record:
Patch('Fases do Projeto'; Self.Selected.Item; { Status: 'Status (Fases do Projeto)'.'Inativo(a)'; 'Razão do Status': 'Razão do Status (Fases do Projeto)'.Encerrada });
It was working flawlessly, and it suddenly stopped working with an error message:
Could not find a property named 'm2m_projetoid' on type 'Microsoft.Dynamics.CRM.m2m_projetofase'.
The entity where the error occur is 'Fases do Projeto' (m2m_projetofase). The "parent" entity is 'Projeto' (m2m_projeto). The lookup pointing to the parent entity is 'm2m_projeto', but something in PowerApps is looking for the name 'm2m_projetoid'.
There was no change to the code or to the entity. The error message doesn't give me additional insight (even in the txt file), and there is no javascript, plugin or flow attached to this entity.
The error pops up very quickly, seems like to be a client-side validation.
Any ideas?
Thanks,
Bruno