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.
Step by step, with screenshots
Set up Form sorting1 screen
Set up the sorting orders used when several invoices are printed together, for example by invoice account and sales order number.
Screen 1
Set the free text invoice sort order
Go to Accounts receivable > Setup > Forms > Form sorting, Free text invoice tab
Open the Free text invoice tab
Move Customer account from AVAILABLE to SELECTED with the arrow
Move Invoice to SELECTED below it
Select Save
1SELECTED
Customer account
2SELECTED
Invoice
Show the full screen page title tab to open what to set or check
Sort printed documents
Sort printed documents.
How to use it
Go to Credit and collections > Setup > Forms > Form sorting.
Select a tab on the left, such as Quotation, Confirmation, Invoice or Free text invoice.
Select a field under Available, such as Customer account.
Select the right arrow to move it to Selected, and use the up and down arrows to set the order.
Select Save.
Source: Checked in Dynamics 365
Fields on the page
Field
What it means
Example
Selected
The fields the documents are sorted by, in order; move fields from Available and use the arrows to set the order.Checked in Dynamics 365
Customer account
Common errors and fixes
Message
What to do
The setting doesn't show on a document
Print a new document after the change to check it; for sorting, documents must be printed after all invoices are updated. Microsoft Learn
Test checklist
Move Customer account to Selected on the Invoice tab.
Post invoices for two customers and print after posting.
Sort invoices by Invoice account and then by sales order number, and print them after all invoices are updated.Form sorting sets the order in which several invoices are printed, such as by invoice account and sales order number, and the order is used when documents are printed after the update.
Sort by invoice account for batch printing so documents for one customer come out together.The order only applies when documents are printed after all invoices are updated.
The sort order is followed only when documents are printed after all invoices are updated; documents printed during processing aren't sorted this way. Microsoft Learn
Technical architect
6Technical
Menu item
SalesFormLetterSortingParametersChecked in Dynamics 365
Form
SalesFormLetterSortingParametersChecked in Dynamics 365
Who can open it
15 security roles. Select a role to see its duties and privileges.
RoleAuditorAuditPolicyManager
DutyInquire into invoice and cash policiesCustInvoiceInvoiceAndCashPoliciesInquir
PrivilegeView the sorting of print sequence for sales order documentsSalesFormLetterSortingParametersView
PrivilegeMaintain the sorting of print sequence for sales order documentsSalesFormLetterSortingParameterMaintain
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itCollections manager CollectionLetterCollectionsManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerRental manager RentalManagerAccounting supervisor LedgerAccountingSupervisorRental coordinator agent RentalCoordinatorAgentTo use itAccounts receivable payments clerk PaymAccountsReceivablePaymentsClerkAccounts receivable clerk CustInvoiceAccountsReceivableClerkAccounts receivable centralized payments clerk PaymAccountsReceivableCentralPaymClerkAuditor AuditPolicyManagerRental representative RentalRepresentativeGive people one of these roles. On this system, 15 roles can open this page.Checked in Dynamics 365
Actions on the page
Options: Personalize, Page options, Edit, ShareChecked in Dynamics 365
Load order: Form sorting has no data entity in Data management, so it can't be loaded from a file or a configuration template. Set the sorting on the page in each environment.Checked in Dynamics 365
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.