Hi Carl,
Is the requirement such that you have to retain data in system for 7 year and after that you can archive OR you have to archive data after 7 years, you can't keep it in the system. Seem like it's first one.
I don't see version on your questions.. so for 2012, follow link below:
docs.microsoft.com/.../microsoft-dynamics-ax-intelligent-data-management-framework-idmf
We ran into issues using AX2012 archival in its initial stage so there is going to be lot of evaluation on your side if you want to use this tool prior to upgrade.
For F&O - nothing yet but it will come out in the future. If you are in cloud version, you are limited anyway until MS comes out with something. I don't think you have used D365 for 7 years yet and may have data related to upgrade. If you have performance related issues, try focusing on those rather than archival strategy for now.
Thanks,
Satish Panwar
Please take time to click 'Yes' against the answers that help you guide in right direction to help other community members.