Sunday, 2 October 2016

miscellaneous

/ active -  this is executed when the user scrolls to make a new record 
// linkActive - this happens when the user scrolls to a new record in a form
with its datasource linked to another datasource (this happens only when a
link between 2 data sources has been established)
The LinkActive is called when the active method in a dynalinked parent form is called.  Commonly overridden to change the user interface to correspond to a different parent record (element.args().record()).

//Init  - executed when the form is opened 
// initvalue - executed when a new record is created. This is mainly sued to
fill in the intial values.


Tablename_ds.executeQuery() :
You use this method when you want some function to run when the form is
opened for data display. The function has to be written before the super()

TableName_ds.refresh() :
The super in this method updates all the fields in the datasource (used to
display the updated records)

No comments:

Post a Comment

POSTMAN D365

  Postman is useful to test the behavior of different OData class from/to D365FO. In this post we will see the steps to setup Postman with D...