Delete all empty license plate headers

Article07/10/20242 min read

Data Administration can be used to delete license plate headers when they become irrelevant over time. The administrator runs the retention policy if they want Business Central to delete outdated data in tables that contain log entries and archived records. When the retention policy is run, all license plates that are empty and haven’t been modified for six months or more, will be deleted.

  1. Select the Search icon , enter Data Administration, and then choose the related link.
    The Data Administration page opens.
  2. On the action bar, select Related > Retention Policies.
    The Retention Policies page opens.
  3. On the action bar, select New.
    The Retention Policy page opens.
  4. On the General FastTab, in the Table ID field, enter 70241433 to select the license plate header.
    On the Retention Policy FastTab, the fields are automatically filled.
  5. Turn on the Enabled toggle to apply retention policies according to the specified retention period.
    The retention policy will run automatically, and the specific license plate headers will be deleted. On the Record Retention Policy FastTab, a record is automatically added which specifies a filter on the license plate table and a retention period. This entry is non-editable and triggers automatic deletion of empty license plates that are empty and haven’t been modified for six months or more when the policy runs.
  6. On the Retention Policy FastTab, turn on the Manual toggle, if the policy must always be applied manually.
  7. On the action bar, select Home > Apply Manually to run the retention policy.
    The system displays a dialog.
  8. Click Yes.