Thanks, Jose. I think it is going through BO. Here is simplified code
var dsUD01 = new Ice.Tablesets.UD01Tableset();
Ice.Contracts.UD01SvcContract boUD01 = null;
boUD01 = Ice.Assemblies.ServiceRenderer.GetService<Ice.Contracts.UD01SvcContract>(Db);
if (boUD01 != null)
{
boUD01.GetaNewUD01(ref dsUD01);
var drUD01 = (from xUD01 in dsUD01.UD01
where xUD01.RowMod == “A”
select xUD01).FirstOrDefault();
if (drUD01 != null)
{
drUD01.Company = 'CompanyCode';
drUD01.Key1 = 'SomeValue';
boUD01.Update(ref dsUD01);
}
}