BeyondERP.Newsletter
Menu

Setup step on the DOM data clean up job setup page · Retail and Commerce

Schedule DOM clean up

Keep the number of fulfillment plans and logs under control.

See how to set it up Back to Retail and Commerce

Used by
DOM administrator
Business process
Use distributed order management to move orders to warehouses in Dynamics 365 Commerce
Menu item
DOMFulfillmentDataDeletionMenuItem
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, “Clean up removes old plans”, 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 batch job setup page where you schedule the deletion of old DOM fulfillment plans and DOM logs according to the retention periods set in DOM parameters.
What you do hereUse this page to keep the number of stored fulfillment plans and logs under control by running a recurring job that removes records older than the Fulfillment data retention period and DOM logs retention period.
ExampleFor example, with Fulfillment data retention period set to 30 days, the job scheduled every night at 02:00 deletes the fulfillment plans and DOM logs that are older than 30 days.
DOM data clean up job setup 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

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.

Setup steps on this page

Schedule DOM clean up

Keep the number of fulfillment plans and logs under control.

Steps from Microsoft

  1. Go to Retail and Commerce > Distributed order management > Batch processing > DOM data clean up job setup.
  2. In Batch group, select a configured batch group.
  3. Select Recurrence and define how often the job runs.
  4. Select OK.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Batch groupThe batch group that runs the deletion job.Microsoft Learn
RecurrenceHow often the deletion job runs.Microsoft Learn

Common errors and fixes

MessageWhat to do
Older fulfillment plans are still thereThe job deletes plans and logs older than the Fulfillment data retention period and DOM logs retention period in DOM parameters. Check the periods and that the job has a recurrence. Microsoft Learn

Test checklist

  1. In DOM parameters, note the Fulfillment data retention period (in days) and DOM logs retention period (in days) values.
  2. List the fulfillment plans and DOM logs older and newer than those periods.
  3. Schedule the job with a batch group and recurrence, and let it run once.
  4. Check plans and logs older than the retention periods are gone and newer ones remain.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule DOM clean upA nightly recurring job, with retention periods in DOM parameters long enough to review recent runs.DOM keeps many plans and logs over time; the job deletes those older than the retention periods.How long should fulfillment plans be kept?Setting a very short retention period, so plans are deleted before anyone has reviewed them.Test: Clean up removes old plans

Feature management and licence

Licence or add-inNeeds the Distributed Order Management configuration key (System administration > Setup > License configuration, Retail node). Production use needs the Production Solver.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyEvery fulfillment plan and DOM log older than the retention periods set in DOM parameters. Microsoft Learn
Can it be undoneIrreversible: Deleted fulfillment plans and logs can't be restored.
If you change it laterRunning this job permanently deletes fulfillment plans and DOM logs older than the configured retention periods, so DOM run history and the logs used to explain location assignments are lost beyond that window. Microsoft Learn
Technical architect

6Technical

Menu itemDOMFulfillmentDataDeletionMenuItem Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Who can open it

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

  • RoleDOM administratorDOMAdministrator
    • DutyMaintain DOMDOMMaintain
      • PrivilegeMaintain DOMDOMMaintain
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 itDOM administrator DOMAdministratorGive 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=DOMFulfillmentDataDeletionMenuItem
Data migrationLoad order: The DOM fulfillment data deletion job has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a batch job: schedule it in each environment.Checked in Dynamics 365
Everyone

8Sources

To cite this step: RC-DOM-080, Schedule DOM clean up. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-DOM-080