Цитата:
Сообщение от
3oppo
Попробовал создать дисплей метод на датасорсе который вызывает дисплей метод таблицы но для грида это не проходит, метод получает текущее значение курсора и вовсе поля грида возвращает одинаковое значение.
Открываем Microsoft Axapta Developer's Guide, ищем статью Creating Forms/Form Basics/Designing Forms/Using display and edit method modifiers. Читаем:
Цитата:
The exception to this is when you define display on a form data source method. If you choose to write a display method on a form data source, you must include the data source as parameter, for example
display InventQty Accumulated(InventBudgetInvent Budget)
which is a method on the data source for the InventBudgetInvent form.
Note
You must use display on a form data source method when the return value is to be shown on a grid control.