I am trying to update the LogisticsPostalAddress associtaed with a project.
The code below finds the Record but fails with the message "Cannot edit a record in Addresses (LogisticsPostalAddress). Update on a valid time state table is not allowed without specifying a ValidTimeStateUpdateMode."
public void updateProjAddress(ProjTable _projTable, container _readFile)
{
LogisticsPostalAddress lPostalAddress;
lPostalAddress = LogisticsPostalAddress::findRecId(_projTable.postalAddress().RecId,true);
lPostalAddress.Street = "New Address";
lPostalAddress.doUpdate();
}