Hi Techies,
We are facing strange issue need some inputs.
One custom field is created on CompanyInfo table and we are trying to update it by code.
Here, it doesn't throw any error but field doesn't update as well.
companyInfoUpdate.skipDataMethods(true);
update_recordset companyInfoUpdate
setting customField = _installedProdVersion
where companyInfoUpdate.customField != _installedProdVersion &&
_installedProdVersion;
Where as, we have tried above code without where clause, but getting error like 'Cannot edit a record in Legal entities (CompanyInfo). Data update is not allowed on field that has not been selected.
Do we need to update in any other table as well.
Can anyone help giving some inputs here that how we can update the CompanyInfo table here please.
Any response is appreciated!
Thank you in advance!