Credit management clerk, Credit management manager, Customer service representative and 9 more roles
Business process
Manage warehouse operations
Menu item
action:WHSReturnDetailCleanUp
Data entity
None for this page's own settings
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 old return details”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A periodic task that deletes return details records for shipments shipped more than a given number of days ago.
What you do here
Use this task to remove old return details records, which the system creates when an order is shipped so that an unannounced return can be received against its return ID. The dialog states that it deletes the return details that were shipped before the number of days to keep.
Example
For example, BEAT accepts returns for 30 days, and return-until dates are set from that. A monthly run with The number of days to keep = 365 removes return details of shipments from more than a year ago, in batches of at most 100,000 records.
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 return details of old shipments are far past their return-until dates.
How often
Monthly.
What the output shows
Return details records older than the days to keep, up to the maximum count, are deleted.
Source: Checked in Dynamics 365
Setup steps on this page
Keep return details beyond the return-until period
Use this job to delete return details of old shipments.
Steps from Microsoft
Go to Warehouse management > Periodic tasks > Clean up > Clean up return details.
In The number of days to keep, enter a number of days well beyond your return-until period (the dialog suggests 365).
In Maximum clean-up records count, keep 100,000 or lower it.
Set it up in Run in the background and run it.
Open Inquiries and reports > Return details and check that only recent shipments remain.
Keep the 365-day default, or at least several times the longest return-until period, and run it monthly.A return can only be received against an existing return details record.
Warehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 12 roles can open this page, among them Customer service representative, Sales representative, Sales clerk and Retail service.
Per company: return details belong to a legal entity (their Data management entity isn't shared). Checked in Dynamics 365
Can it be undone
No: Deleted return details can't be restored. Keep more days than the longest return-until period. Microsoft Learn
If you change it later
Deletes return details records. Only items, quantities and tracking dimensions in a return details record can be returned through the Return details process, so a customer can't return against a deleted return ID. Microsoft Learn
Technical architect
6Technical
Menu item
action:WHSReturnDetailCleanUpChecked in Dynamics 365
Data entities
WHSReturnDetailEntityReturn details (The return details records this job deletes; export them first if needed.)
Who can open it
12 security roles. Select a role to see its duties and privileges.
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 itCustomer service representative TradeCustomerServiceRepresentativeSales representative TradeSalesRepresentativeSales clerk TradeSalesClerkRetail service RetailServiceProject assistant ProjProjectClerkGive people one of these roles. On this system, 12 roles can run this page.Checked in Dynamics 365
WHSReturnDetailEntity Only return details still inside the return-until period, if returns of old shipments must be accepted after go-live.Load order: Migrate return details only for shipments still within their return-until date; older ones can be cleaned up.Load first: Customers, Sales ordersMicrosoft Learn