Configuring cross-application returns components
You can configure return rules that specify the number of days the system looks back when searching for sales orders without receipts.
You can use the Returns branch to define the search window for sales orders.