/// Replace country region token in formatted address.
/// </summary>
public void postLoad()
{
next postLoad();
RetailVendVendorV3Entity vendorV3Entity = this;
vendorV3Entity.overwriteSystemfields(true);
vendorV3Entity.(fieldNum(RetailVendVendorV3Entity, DataAreaId)) = strFmt('%1Custom', curExt()); // Doesn't work
vendorV3Entity.DataAreaId = strFmt('%1Custom', vendorV3Entity.DataAreaId); // Errors out saying Cannot modify ReadOnly fields
}
}

Report
All responses (
Answers (