Use of element.args()

if(element.args().caller() && element.args().dataset() == tableNum(Student))

{

_Student = element.args().record();

select firstonly _StudentPerform order by _StudentPerform.RecId desc

where _StudentPerform.StudID == _Student.StudID;

}

Can any one Explain the uses of

  1. element.args().caller()
  2. element.args().dataset()
  3. element.args().record()

Thanks in Advance…

element.args() - gets the instance of the Args class containing parameters the form was called with.

The rest is documented on MSDN: Args Class [AX 2012].