Sales line mass maintenance
The Sales line mass maintenance feature introduces audit controls for released sales orders containing style items. It ensures that any modifications made after an order is released are tracked and justified, making it easier to maintain an accurate audit trial. Users are now required to provide a reason before making changes, and a permanent record of the original order details is preserved at the point of release.
-
A Customer Service Representative (CSR) creates a sales order with style items and releases it. The system stamps the Original Ordered Quantity field on each style line at the time of the first release.
-
If a change is required after release, the CSR reopens the sales order.
-
Before modifying a tracked field — such as Quantity, Location Code, Unit Price, Line Discount %, Requested Delivery Date or Cancel Date — on a style line, the CSR enters a value in the Modify Reason Code field on that line.
-
The CSR makes the required change. The system saves the change and records a change log entry that includes the reason code.
-
The CSR or a manager can review the full change history for the order by opening the Sales Document Change Log Entries page from the Related menu on the sales order.
Setup
Document change log setup
The Sales Document Change Log Entries page shows only the fields that are configured for tracking in the Document Change Log Setup page. Ensure that the Sales Line table is enabled for tracking, with at least the following fields included:
-
Quantity
-
Location Code
-
Unit Price
-
Line Discount %
-
Requested Delivery Date
-
Cancel Date
Both Insert and Modify event types should be enabled for these fields.
To configure the Document change log setup:
-
Open the Document change log setup page.
-
Select or enter the Sales Line table.
-
Click Fields Action
-
Verify that the fields listed above are enabled for tracking.
-
Turn on the Enabled toggle for the Sales Line table.
If a field is not configured in the Document Change Log Setup, changes to that field are not recorded in the change log, and the reason code for that change is not captured.
For more information, refer: Document Change Log Setup
Reason code setup
At least one reason code must exist in the system before users can enter a Modify Reason Code on a sales line.
To set up reason codes:
-
Open the Reason Codes page.
-
Select New to create a new reason code.
-
In the Code field, enter a unique code.
-
In the Description field, enter a description for the reason code.
Sales line fastTab
| Field | Description |
|---|---|
| Original Ordered Quantity | The quantity on the line at the time the sales order was first released. read-only. Not stamped on a copied order or on post preview. |
| Modify Reason Code | A reason code that must be entered before changing a tracked field or deleting a style line on a released order. Validated against the Reason Codes table. Reset to blank when the order is copied to a new order. |
Original Ordered Quantity
When a sales order is released for the first time, the system sets the Original Ordered Quantity on each style item line to the current value of the Quantity field on that line.
-
If the order is reopened and released a second time, the original ordered quantity is not overwritten. It always reflects the quantity at the time of the first release.
-
The original ordered quantity field is visible by default in the Sales Lines FastTab on the Sales Order page, after the Quantity column. The column is not editable.
-
If new style lines are added after the order is reopened, those new lines receive an original ordered quantity value when the order is released again. Existing lines remain unchanged.
-
Changing the Quantity field after the first release does not update the original ordered quantity.
If the order is copied to a new sales order, the original ordered quantity on the new order is reset to zero. The new order receives its own original ordered quantity stamp when it is released.
Modify Reason CodeSetting a Modify Reason Code on a Sales Line
The Modify Reason Code field on a sales line must be required before a user can change any tracked field or delete a style line on a released sales order. This requirement applies only to sales orders that have been released at least once and only to style item lines.
-
Open the Sales Order page.
-
Reopen the order if it is in a released state.
-
On the Sales Lines FastTab, locate the style line you want to modify.
-
In the Modify Reason Code field on that line, enter or select a valid reason code from the Reason Codes lookup.
-
Make the required change to the tracked field.
-
If you attempt to change a tracked field without entering a modify reason code, an error occurs.
The Modify Reason Code field is visible in the Sales Lines FastTab for all lines. However, the enforcement only applies to style item lines on orders that have been released at least once. Non-style item lines on the same order can be modified without a modify reason code.
Tracked fields
The following fields on a style line require a Modify Reason Code before they can be changed on a released sales order:
| Field | Where to Change |
|---|---|
| Quantity | Sales Style Size Sub-form (Quantity field is not editable directly on Sales Lines FastTab for style lines) |
| Location Code | Sales Lines FastTab on the Sales Order page or the Sales Style sub-form |
| Unit Price | Sales Style sub-form (the Unit Price field is not editable directly on the Sales Lines FastTab for style lines) |
| Line Discount % | Sales Lines FastTab on the Sales Order page |
| Requested Delivery Date | Sales Lines FastTab on the Sales Order page or the Sales Style sub-form |
| Cancel Date | Sales Lines FastTab on the Sales Order page |
Modify fields through the sales style sub-form
For fields that are managed at the style level — such as Location Code, Unit Price, Requested Delivery Date and Cancel Date — the Reason Code field is available on the Sales Style sub-form rather than on the individual sales line.
When you enter a Reason Code on the Sales Style sub-form and change a tracked field, the system automatically propagates the reason code to all related sales lines that belong to that style. Each size variant line receives the same reason code, and a change log entry is created for each line.
-
On the Sales Order page, open the Sales Style sub-form for the relevant style line.
-
In the Reason Code field on the Sales Style sub-form, enter or select a valid reason code.
-
Change the required tracked field — for example, Location Code or Unit Price.
-
The system propagates the reason code to all related sales lines and saves the change.
If you attempt to change a tracked field on the Sales Style sub-form without entering a Reason Code, an error occurs.
Deleting style lines on a released order
To delete a style line from a released sales order, a Modify Reason Code must be set on the line before deletion.
To delete a style line on a released sales order:
-
On the Sales Order page, on the Sales Lines FastTab, locate the style line to delete.
-
In the Modify Reason Code field on that line, enter or select a valid reason code.
-
Select the line and select the delete action.
-
The system deletes the sales line and all related style size lines.
If you attempt to delete a style line without a Modify Reason Code, an error occurs.
To delete a style from the Sales Style sub-form:
-
On the Sales Order page, open the Sales Style sub-form for the style you want to delete.
-
In the Reason Code field on the Sales Style sub-form row, enter or select a valid reason code.
-
Select the row and select the delete action.
-
The system deletes the style line and all related sales lines and style size lines.
If you attempt to delete a style from the Sales Style sub-form without a Reason Code, an error occurs.
Sales line mass maintenance page
The Sales Line Mass Maintenance page allows users to find style item lines across multiple released sales orders and apply bulk changes — such as quantity adjustments, price changes, and date updates — to all selected lines in a single operation. A reason code is required for all submissions and cancellations, and each change is recorded in the sales change log.

Eligible lines
The page displays only lines that meet all of the following criteria:
-
The sales document type is Order.
-
The order has been released at least once (the Original Ordered Quantity field is greater than zero on at least one line).
-
The line has a Qty. to Ship quantity greater than zero.
-
The order is not a Shopify order and is not a bulk order that has distribution lines.
-
The order has no active reservations, open warehouse picks, open warehouse shipments, or quantity shipped but not invoiced on any of its lines.
Orders that do not meet these criteria are excluded from the search results.
Searching for lines
To search for eligible lines:
-
Open the Sales Line Mass Maintenance page.
-
In the filter panel, enter one or more of the following filter values:
| Filter | Description |
|---|---|
| Customer No. | Shows lines only for orders belonging to the specified customer. |
| Order Type Code | Shows lines only for orders with the specified order type. |
| Style Code | Shows lines only for the specified style. |
| Item No. | Shows lines only for the specified item. The lookup is pre-filtered to items belonging to the Style Code if a style code has been entered. |
| Sales Order No. | Shows lines only from the specified order or orders. You can select multiple order numbers using the lookup. |
| From Requested Delivery Date | Shows lines with a Requested Delivery Date on or after this date. |
| To Requested Delivery Date | Shows lines with a Requested Delivery Date on or before this date. |
| From Cancel Date | Shows lines with a Cancel Date on or after this date. |
| To Cancel Date | Shows lines with a Cancel Date on or before this date. |
-
Select Search.
-
The grid displays all eligible lines that match the filter criteria. If no eligible lines are found, the grid is empty.
Leaving all filter fields blank and selecting Search, an error occurs: “At least one filter must be specified before performing this action.”
Applying mass updates
To apply mass updates to selected lines:
-
On the Sales Line Mass Maintenance page, search for the lines you want to update.
-
In the grid, select the lines to update. Use Ctrl+A to select all displayed lines.
-
In the Reason Code field, enter or select a valid reason code. This field is required before submitting any changes.
-
In the mass update fields, enter the values to apply to the selected lines. Leave a field blank to leave that field unchanged on the selected lines.
| Mass Update Field | Description |
|---|---|
| Quantity | Sets the Quantity field on the selected lines to the specified value. Leave blank to skip. |
| Location Code | Sets the Location Code on the selected lines. Leave blank to skip. |
| Requested Delivery Date | Sets the Requested Delivery Date on the selected lines. Leave blank to skip. |
| Cancel Date | Sets the Cancel Date on the selected lines. Leave blank to skip. |
| Unit Price | Sets the Unit Price to a fixed value on the selected lines. Leave blank to skip. |
| Unit Price % | Increases or decreases the Unit Price on each selected line by the specified percentage. Use a negative value to decrease the price. Leave blank to skip. |
| Line Discount % | Sets the Line Discount % on the selected lines. Leave blank to skip. |
-
Select Submit Changes.
-
A confirmation dialog is displayed. Select Yes to apply the changes or No to cancel.
-
The system applies the specified field values to each selected line. The reason code is stamped on each modified line and recorded in the change log.
If a selected line belongs to a released order, the system temporarily reopens the order, applies the changes, and then re-releases it automatically. Orders that are currently open are modified directly and remain open. After a successful submission, the mass update fields and the Reason Code field are cleared, and the grid is refreshed.
Date conflict skipping
When you set a new Requested Delivery Date or Cancel Date, the system validates that the resulting dates on each line are consistent:
-
If the new Cancel Date is earlier than the existing Requested Delivery Date on a line, that line is skipped.
-
If the new Requested Delivery Date is later than the existing Cancel Date or before Order Date on a line, that line is skipped.
Skipped lines are not modified. After submission, the Modification Summary FactBox displays the number of lines that were skipped. Select the skipped lines counter in the FactBox to view the skipped lines.
Cancelling Lines
The Cancel Lines action cancels the selected style lines: the outstanding quantities are set to zero, inventory reservations and lot or serial assignments are released, the lines are marked as cancelled, and a change log entry is recorded for each line.
To cancel lines:
-
On the Sales Line Mass Maintenance page, search for the lines you want to cancel.
-
In the grid, select the lines to delete.
-
In the Reason Code field, enter or select a valid reason code. This field is required before cancelling lines.
-
Select Cancel Lines.
-
A confirmation dialog asks: Cancel [N] selected sales line(s)? The outstanding quantities will be set to zero and the lines will be marked as Cancelled.
-
Select Yes to cancel the selected lines. Each eligible line is cancelled and a change log entry is created with the reason code. When cancelling the last outstanding line of an order leaves the order with no outstanding lines, the order is marked as cancelled.
- Cancelling lines without a reason code stops the action with the error: Reason Code is required before performing this action.
- Lines that have become ineligible between search and cancellation — for example, a line that has acquired an open warehouse pick — are skipped rather than failing the whole operation. The Modification Summary FactBox reports the cancelled and skipped counts.
Modification summary fact Box
The Modification Summary Fact Box on the Sales Line Mass Maintenance page shows running totals for the current session.
| Counter | Description |
|---|---|
| Modified Lines | The total number of unique lines modified across all Submit Changes operations in the current session. Selecting this counter opens the Sales Lines page filtered to the modified lines. |
| Skipped Lines | Specifies the number of unique lines skipped since the page was opened because of date validation failures or ineligibility. Select the counter to open the Sales Lines page filtered to the skipped lines. |
| Cancelled Lines | Specifies the number of unique lines cancelled since the page was opened. Select the counter to open the Sales Lines page filtered to the cancelled lines. |
The counters accumulate across all operations in the session and are reset when the page is closed and reopened.
Sales document change log entries
The Sales Document Change Log Entries page shows a full audit trail of changes made to a sales order header and lines. Each entry records the field that was changed, the old and new values, the user who made the change, and — for tracked field changes on style lines — the Reason Code that was entered at the time of the change.
Accessing the sales document change log entries
To open the Sales Document Change Log Entries for a specific sales order:
-
Open the Sales Order page.
-
Select Related > Order > Sales Document Change Log Entries.
-
The page opens pre-filtered to show only entries for the current order.

To open the Sales Document Change Log Entries for all orders:
-
Search for Sales Document Change Log Entries from the search bar.
-
The page opens without a pre-applied order filter.
Filtering
| Filter | Description |
|---|---|
| Reason Code | Filter entries by the reason code entered at the time of the change. Supports the lookup to select a value from the Reason Codes table. |
The Reason Code filter field in the filter panel allows users to narrow the change log entries to a specific reason code. Enter or select a value in the Reason Code field and select Search to display only the entries where the reason code matches the entered value. The lookup opens the Reason Codes table to select a valid code. Leave the Reason Code field blank to include entries regardless of the reason code.
Reason code column in the grid
| Column | Description |
|---|---|
| Reason Code | The reason code that was set on the sales line or style line at the time of the change. Blank for Sales Header field changes, as reason codes apply only to sales line changes. |
The Reason Code column displays the reason code that was entered on the sales line or style line at the time the tracked field was changed or deleted. Appears after the New Value column in the grid. The column is read-only and cannot be edited on this page.
For changes made to tracked fields on style lines — such as Quantity, Location Code, Unit Price, Line Discount %, Requested Delivery Date or Cancel Date — the Reason Code column shows the value that was set in the Modify Reason Code field on the sales line at the time of the change. For changes made through the Sales Style sub-form, the column shows the reason code that was entered on the style line and propagated to the related sales lines.
For changes made to Sales Header fields, the Reason Code column is blank, as reason codes apply only to sales line changes.
For more information, refer: Sales Document Change Log Entries