Lookup field not saving after package dependency changesLookup field not saving after package dependency changes
Lookup field not saving after package dependency changesLookup field not saving after package dependency changes
Hello Community Team,
I hope you are doing well.
I am experiencing an issue with a lookup column (BANCliente) that I set via Script Task using:
entity.SetColumnValue("BANClienteId", recordId);
entity.Save(false);
This was working correctly before, but after recent changes involving package dependencies and object structure updates, the value is no longer being saved in the database (it remains empty after save).

Could you please advise what might cause this behavior?
Is it possible that the column is no longer properly synced with the database or affected by the package changes?
Thank you in advance for your help.
Like
Hello Esteven Nacimba,
Indeed, this problem can be caused by the changes in the object structure. Check your object. Also see the following article:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/creatio-ide/operations-with-schemas#title-2093-15:~:text=Not%20available-,Update%20database%20structure,-Update%20database%20structure
Additionally, you can debug your code or enable logging to verify that your functionality works as expected.