Group order line items
Learn how to group order line items in HTML templates using the GroupBy function for debit memos.
You can use the
GroupBy
function
to group order line items in HTML templates. For more information about the
GroupBy
function, see Use GroupBy function
.
Assume that you want to display order line item information on debit memos and order line items grouped by their Sold To Contact.
To configure HTML templates to group order line items by their Sold To Contact on debit memos, perform the following steps:
The displayed HTML template changes to an invoice PDF file with actual data for you to preview. If a debit memo item is generated from an order line item, information about the grouped order line item is displayed in the associated column of the corresponding debit memo item row.
If a debit memo item is not created from any order line item, information is displayed blank for the corresponding debit memo item.