Hi i am new with dynamics AX. I am using AX 2009 , i have some trouble using simple math inside forms in AOT .
What i want to do is simply get the values from my table(which has Field1 Field2 and Field3) and make the method calculate Field1+Field2 = Field3
and field3 is empty so it should uptade itself after the sum.
Alan1 Alan2 and Alan3 are my fields. And this is the code i tryed but it didnt worked out.
public boolean modified()
{
Alan3.value(Alan1.value()+Alan2.value());
update_recordset _deneme1
setting Alan3=_deneme1.Alan1+_deneme1.Alan2;
return _deneme1.Alan3;
}
( _deneme1 is my table) and this code is inside my forms design ;

*This post is locked for comments
I have the same question (0)