Retail and CommerceDistributed order managementBatch processing
DOMFulfillmentDataDeletionMenuItem
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 is
A 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 here
Use 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.
Example
For 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.
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.
Setup steps on this page
Schedule DOM clean up
Keep the number of fulfillment plans and logs under control.
Steps from Microsoft
Go to Retail and Commerce > Distributed order management > Batch processing > DOM data clean up job setup.
In Batch group, select a configured batch group.
Select Recurrence and define how often the job runs.
The 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
In DOM parameters, note the Fulfillment data retention period (in days) and DOM logs retention period (in days) values.
List the fulfillment plans and DOM logs older and newer than those periods.
Schedule the job with a batch group and recurrence, and let it run once.
Check plans and logs older than the retention periods are gone and newer ones remain.
A 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.
Needs the Distributed Order Management configuration key (System administration > Setup > License configuration, Retail node). Production use needs the Production Solver.
Every fulfillment plan and DOM log older than the retention periods set in DOM parameters. Microsoft Learn
Can it be undone
Irreversible: Deleted fulfillment plans and logs can't be restored.
If you change it later
Running 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 item
DOMFulfillmentDataDeletionMenuItemChecked in Dynamics 365
Form
SysOperationTemplateFormChecked 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 it
To use itDOM administrator DOMAdministratorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load 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