BeyondERP.Newsletter
Menu

Setup step on the Voided sales orders page · Sales and marketing

Look up a deleted sales order

Find what a deleted sales order contained and who it was for.

Used by
Credit management clerk, Accounts receivable clerk, Accounts receivable manager and 15 more roles
Business process
Manage sales order changes
Menu item
SalesTableDelete
Main table
SalesTableDelete
Data entity
SalesVoidedSalesOrderHeaderEntity
Setup steps
1 on this page
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 isAn inquiry page that lists voided sales orders, kept in the Voided sales orders table (SalesTableDelete), with their customer account, invoice account and order type, and the lines of each order.
What you do hereUse it to look back at a voided sales order: who it was for, what type it was and which items and net amounts it held. It differs from Deleted orders, which reads the sales update table (the same table as the Order posting history pages); this page holds the voided order header and its lines.
ExampleFor example, customer BEAT-000123 asks why order SO-001234 for 40 chairs disappeared. Voided sales orders shows SO-001234 with order type Sales order and Voided set, and the Lines tab shows item CHAIR-01 with a net amount of 3,960.00, so customer service can confirm the order was deleted, not shipped.
Voided sales orders 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 sales orders › Manage sales order changes
Menu pathSales and marketing › Inquiries and reports › History › Voided sales orders
Set up firstDelete sales orders Microsoft Learn
Used next byAll sales orders Microsoft Learn
Related pagesDeleted orders Checked in Dynamics 365Order events Microsoft Learn
In this process Set up Order events · Check update jobs of deleted orders
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

Look up a deleted sales order

Find what a deleted sales order contained and who it was for.

How to use it

  1. Go to Sales and marketing > Inquiries and reports > History > Voided sales orders.
  2. Find the order by its Sales order number or Customer account and check its Order type and Invoice account.
  3. On the Lines tab, read the Item number, Sales category, Product name and Net amount of each line to see what the customer had ordered.
  4. If the customer still wants the goods, create a new sales order for them in All sales orders, using the voided lines as the list of items.

Source: Checked in Dynamics 365

Fields on the page

FieldWhat it meansExample
Sales orderThe number the order had before it was deleted.Checked in Dynamics 365SO-001234
Customer accountThe ordering customer of the deleted order.Microsoft data model BEAT-000123
Invoice accountThe customer the deleted order would have been invoiced to.Microsoft data model
Order typeThe sales order type the order had, such as Sales order or Journal.Microsoft Learn
VoidedShows that the order was voided when it was deleted.Checked in Dynamics 365
Net amountOn the Lines tab: the net amount of each line of the deleted order.Checked in Dynamics 3653,960.00

Common errors and fixes

MessageWhat to do
An invoiced sales order was deleted by mistake and must be found again.Go to the customer account, Transactions > Original document > View details, find the invoice and open its details; they include the sales order reference. Microsoft Learn

Test checklist

  1. Create a sales order for BEAT-000123 with one line and note its number.
  2. Delete the order from All sales orders.
  3. Open Voided sales orders and filter on the order number.
  4. Check that the order is listed with Voided set and that the Lines tab shows the one line with its net amount.

Source: Checked in Dynamics 365

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Look up a deleted sales orderSearch on the sales order number first; if the customer doesn't know it, filter on Customer account and the order type.Order numbers are unique, so the number finds the one order; a customer filter can return several voided orders of different types.Who may delete sales orders?Treating a voided order as shipped or invoiced. A voided order was deleted; check posted documents for the customer before telling them it was never delivered.Test: A deleted order appears as voided

Feature management and licence

Licence or add-inOn the live system, Sales manager, Rental manager, Rental coordinator agent, Accounts receivable clerk and Accounts receivable manager use this page; 18 roles can open it in total. No Feature management feature is needed to open it.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity keeps its own voided orders. Microsoft data model
Can it be undoneReversible: Running the inquiry or report changes no data.
If you change it laterDelete sales orders is the cleanup routine that deletes selected sales orders. Before running it in bulk, agree which deleted orders must stay traceable, and check afterwards that they are listed here. Microsoft Learn
Technical architect

6Technical

Menu itemSalesTableDelete Checked in Dynamics 365
FormSalesTableDelete Checked in Dynamics 365
TableSalesTableDeleteShown as “Voided sales orders” in Record infoKey field: SalesIdChecked in Dynamics 365
Data entitiesSalesVoidedSalesOrderHeaderEntityVoided sales order headers Microsoft data model
Who can open itPrivilegesView deleted sales orders SalesTableDeleteViewDutiesInquire into rental sales order progress RentalSalesOrderProgressInquireInquire into sales order progress SalesOrderProgressInquire
19 security rolesCredit management clerk CredManClerkAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable manager CustInvoiceAccountsReceivableManager MCRTestUserRoleAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkProject manager ProjProjectManagerRental clerk RentalClerkRental coordinator agent RentalCoordinatorAgentRental manager RentalManagerRental purchasing manager RentalPurchasingManagerRental representative RentalRepresentativeProduction planner ReqProductionPlannerRetail service RetailServiceRetail store manager RetailStoreManagerCustomer service representative TradeCustomerServiceRepresentativeSales clerk TradeSalesClerkSales manager TradeSalesManagerSales representative TradeSalesRepresentative
Checked in Dynamics 365
Roles to set it up and use itTo use itSales manager TradeSalesManagerRental manager RentalManagerRental coordinator agent RentalCoordinatorAgentAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable manager CustInvoiceAccountsReceivableManagerGive people one of these roles. On this system, 18 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=SalesTableDelete
Integrate withSalesVoidedSalesOrderHeaderEntity data entity Microsoft data model
Data migrationSalesVoidedSalesOrderHeaderEntity Voided order headers. Most projects don't migrate them; export them only if the history is needed for audit.Load order: Load customers first, because each voided order points to an ordering and an invoice customer; then voided order headers.Load first: CustomersMicrosoft data model
Table definitionSalesTableDelete columns and relations Microsoft data model
Everyone

8Sources

To cite this step: SM-INQ-020, Look up a deleted sales order. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/SM-INQ-020