BeyondERP.Newsletter
Menu

Setup step on the Production journals cleanup page · Production control

Clean up old production journals

Delete production journals that are no longer needed to keep tables small.

Used by
Information technology manager
Business process
Manage data
Menu item
action:ProdJournalCleanUp
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, “Cleanup removes only the selected journals”, 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 isA periodic cleanup routine that deletes production journals that are no longer used: picking lists, route cards, job cards and report as finished journals of the kind you select.
What you do hereUse this page to remove posted production journals, such as picking lists, route cards, job cards and report-as-finished journals, once the business has confirmed the data is no longer required. It can run as a batch job.
ExampleFor example, BEAT keeps production journals for two years. In January 2027 the production controller tests the cleanup in a copy of production for route card journals dated 2024, checks the result with the cost accountant, and then runs it in production in batch.
Production journals cleanup page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

Business processManage data
Menu pathProduction control › Periodic tasks › Clean up › Production journals cleanup
Set up firstProduction journal names Microsoft Learn
Used next byProduction posting Microsoft Learn
Related pagesProduction orders cleanup Microsoft Learn Picking list journals Microsoft Learn
In this process Repair items missing from Released products · Clean up sales update history
End user · Functional consultant

3How to do it

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 itAfter a detailed analysis has confirmed that the posted production journals are no longer required.
How oftenPeriodically, as agreed with the business for data retention.
Batch settingsRun it as a batch job outside business hours when many journals are deleted.
What the output showsThe posted production journals of the selected type are deleted. Unposted journals stay, so journals still in the list are usually not posted.

Source: Microsoft Learn

Setup steps on this page

Clean up old production journals

Delete production journals that are no longer needed to keep tables small.

Steps from Microsoft

  1. Go to Production control > Periodic tasks > Clean up > Production journals cleanup.
  2. Confirm with the business that the posted production journals are no longer needed, and test the cleanup in a test environment first.
  3. In the Clean up field, select which posted production journals to delete, such as picking lists, route cards, job cards or report-as-finished journals.
  4. Open the production journals afterwards and confirm that only the selected posted journals are gone.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Clean upWhich posted production journals are deleted.Microsoft Learn

Common errors and fixes

MessageWhat to do
Journals that were still needed for an audit are goneThere is no undo. Agree a retention period with the business first, test the run in a copy of production, and limit the selection to journals outside that period. Microsoft Learn

Test checklist

  1. Posted journals of the selected type are gone.
  2. Unposted journals remain.
  3. Order history needed for reporting is still available.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Clean up old production journalsRun it once or twice a year for journals older than your retention period, in batch outside business hours, after a test in a copy of production.Learn says cleanup routines should run only after the business confirms the data is no longer required, and always after a test in a test environment.How long should production journals be kept?Running it without a retention rule and deleting journals the auditors or cost accountants still need.Test: Cleanup removes only the selected journals

Feature management and licence

Licence or add-inOn this system 1 role can run this page, among them Information technology manager. Give the privilege only to the people who run data housekeeping. No Feature management feature is needed.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: the job works on the production orders of the legal entity you run it in. Production orders are company data (the Production orders entity is not shared in Data management). Checked in Dynamics 365
Can it be undoneIrreversible: Deleted journals can't be restored.
If you change it laterDeleted journals cannot be recovered, so run the routine only after confirming the journals are no longer needed and test it in a non-production environment first. Microsoft Learn
Technical architect

6Technical

Menu itemaction:ProdJournalCleanUp Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleInformation technology managerSysServerITManager
    • DutyMaintain system settingsSysServerSettingsMaintain
      • PrivilegeDelete production journalsProdJournalCleanUpProcess
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 itTo use itInformation technology manager SysServerITManagerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:ProdJournalCleanUp
Data migrationLoad order: Production journals cleanup has no data entity in Data management, because it is a periodic job that changes records that already exist. Old journals aren't migrated; run the cleanup in the old system before extraction if they aren't needed.Checked in Dynamics 365
Everyone

8Sources

To cite this step: PC-RPER-180, Clean up old production journals. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PC-RPER-180