Refresh Data

Forms can be refreshed by calling the DataSourceRefresh method. This will re-fetch only the record currently selected in the record selector, with its objid. DataSourceRefresh can be called on table windows but that will do a repopulate rather than a refresh.

// Refresh the current record
DataSourceRefresh(Ifs.Fnd.ApplicationForms.Const.METHOD_Execute);

Figure 1: Refreshing the current form.