Сделайте глобальную компиляцию.
У вас не откомпилированы базовые классы Аксапты.
Метод data определён у класса-предка всех таблиц.
Смотрим про него в документации:
AOT -> System Documentation -> Classes -> xRecord
Цитата:
Returns only the data part of the record. Is used to copy data from one record buffer to another rather than making the new buffer into a pointer to the buffer copied from. The buffer copied to has no database position or locks.