Hi All,
I’ve implemented a customization for a custom data entity where:
- We added a new ID field (from an ISV), which is related to the
ActivityNumber
. - In the Excel add-in for this entity, when the user enters the ID, the corresponding
ActivityNumber
should automatically populate.
The logic works as expected — but only after the first attempt.
When I create a new line in Excel and enter the ID, I get this message:
After that, both the ID and ActivityNumber
fields go blank.
However, when I enter the same values again, the lookup works perfectly, and the ActivityNumber
populates as expected.
Additionally:
- If I clear
ActivityNumber
on an existing line (where ID is already set), the autofill also works fine. - This issue only occurs on the first attempt when creating a new line.
Is there a known reason why this happens only for new rows on the first publish attempt? Is there something I need to adjust or another way to ensure the logic triggers correctly on first insert?