I have almost all the data model ported. This was the last function and I will try to replace the calls to places with acs-references (that I haven't looked at).
cheers