Collections manager, Human resource manager, Information technology manager and 1 more role
Business process
Administer system features
Menu item
action:DirPartyPostalAddressDeactivateDeleteV2Job
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Historical addresses are deleted”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A periodic job that deletes many historical (deactivated) postal addresses in one run.
What you do here
Use this periodic task to clean up old addresses in bulk instead of deleting them one party at a time.
Example
For example, after a cleanup of customer and vendor addresses, BEAT runs the job once to delete all historical postal addresses in bulk, instead of deleting them party by party from the History tab.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
When to run it
When to run it
When historical (deactivated) postal addresses have built up and are no longer needed.
How often
On demand, for example after a cleanup of customer, vendor or party addresses.
Batch settings
It runs as a batch job; run it outside working hours when many parties have historical addresses.
What the output shows
Historical postal addresses deleted in bulk, with a notification of success or failure. Addresses that are still linked to another record aren't deleted and give an error message instead.
Run it once after an address cleanup, outside working hours, after checking that the historical addresses aren't needed for documents or auditDeleted addresses can't be restored, and addresses still linked to other records are skipped with an error message.
On this system the page opens for Information technology manager, Human resource manager, Collections manager and Logistics manager. Turn on Advanced address maintenance (available from version 10.0.32) before you use the job.
DutyMaintain global address book masterDirAddressBookMasterMaintain
PrivilegeMaintain party recordsDirPartyTableMaintain
RoleLogistics managerTMSLogisticsManager
DutyMaintain global address book masterDirAddressBookMasterMaintain
PrivilegeMaintain party recordsDirPartyTableMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itInformation technology manager SysServerITManagerHuman resource manager HcmHumanResourceManagerCollections manager CollectionLetterCollectionsManagerLogistics manager TMSLogisticsManagerGive people one of these roles. On this system, 4 roles can run this page.Checked in Dynamics 365
Load order: Delete inactivated addresses has no data entity in Data management, so it can't be loaded from a file or a configuration template. The job deletes data and stores no setup, so there is nothing to move.Checked in Dynamics 365