thisapp.mynamespace.myfunction(currentrecord)
string mynamespace.myfunction(MyRecord loc) { // do something }