Hi,
I'm trying to update records using this entity LogisticsPostalAddressHistoricalCDSV2Entity, but I'm getting this error:
Cannot locate data source record of type LogisticsPostalAddress with RecId xx. Entity name: LogisticsPostalAddressBaseEntity, RecId: xx, Database operation: Update.
LogisticsPostalAddressHistoricalCDSV2Entity entity;
ttsbegin;
select firstonly forupdate entity where entity.LocationId == input.LocationId();
if(entity)
{
entity.Street = input.Street();
//
specify more fields to update
//
entity.update();
}
ttscommit;