Hi folks,
How to call validateFieldValue( ) and RowCount( ) methods of a Table…
Please try to give a small example to understand very easy…
Thnaks,
Nunna…
Hi folks,
How to call validateFieldValue( ) and RowCount( ) methods of a Table…
Please try to give a small example to understand very easy…
Thnaks,
Nunna…
RowCount() tells you how many records were affected by a set-based operation such as delete_from or update_recordset:
Table1 t;
update_recordset t
setting Field1 = "test"
where t.Field2 > 1;
info(int642str(t.RowCount()));
validateFieldValue() is normally called by AX kernel, but you can call it by yourself if you want:
InventTable it = ...
it.validateFieldValue(fieldStr(InventTable, ProjCategoryId));
Thank You Mr.Martin. Especially for those examples…