Interface "Feature Data Update"
Interface defines methods for feature data update task management.
Methods
IsDataUpdateRequired
Searches the database for data that must be updated before the feature can be enabled.
procedure IsDataUpdateRequired(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
true if there is data to update |
ReviewData
Opens the page showing the list of tables with counted records that require update.
procedure ReviewData()
UpdateData
Runs the process that updates data for the feature.
procedure UpdateData(FeatureDataUpdateStatus: Record "Feature Data Update Status")
Parameters
| Name | Type | Description |
|---|---|---|
| FeatureDataUpdateStatus | Table System.Environment.Configuration."Feature Data Update Status" |
the feature update status record |
AfterUpdate
Method is called after the update is complete, e.g. to complete the setup for the feature.
procedure AfterUpdate(FeatureDataUpdateStatus: Record "Feature Data Update Status")
Parameters
| Name | Type | Description |
|---|---|---|
| FeatureDataUpdateStatus | Table System.Environment.Configuration."Feature Data Update Status" |
the feature update status record |
GetTaskDescription
Retruns the detailed description of the data update required for the feature. It is shown of the "Schedule Feature Data Update" page to explain the user what is going to happen.
procedure GetTaskDescription(): Text
Returns
| Type | Description |
|---|---|
| Text |
The process description |