Saturday, February 6, 2016

addField and extendedTypeStr

In AX 2012 we cannot assign types for dialog fields directly anymore -- only by means of extendedTypeStr precompiled function.

This is how to add a field for keeping int64 values:

DialogField     dlgBiggestNum;
int64           theBiggestNumer;

dlgBiggestNum       = dlg.addFieldValue(extendedTypeStr(RecId), theBiggestNumer);

2 comments:

Evgeny Arlionak said...

Welcome to 2011? :)

wojzeh said...

Только потребовалось. Всё равно не пойму, как добавлять поля для базовых типов, вроде date