Version: eXtendOrders 2.2.190 and above
Audience: Administrator, User

Overview

The Add/Update Line Item feature allows users to update order lines generated from eXtendOrders Order Imprint Configuration (OIC) records without replacing all existing lines. Previously, changes made in the Configurator UI required a full line regeneration (often referred to as "spinning" or "respinning" the lines), which removed all current item lines and recreated them based on the OICs.

With this feature, after updating an OIC using the Configurator UI, users can click a button to:

  • Add new lines to the order for newly configured items or decorations.
  • Update existing lines when mapped values change in the Configurator UI.

This works even after the order has been approved. Lines that are removed in the Configurator UI are not automatically deleted from the order, and updates do not flow to a purchase order that has already been created.

Note: This feature is available for Quote/Estimate and Sales Order records only.

Prerequisites

  • Confirm your eXtendOrders bundle version is 2.2.190 or above.
  • Confirm the bundle workflow eXtendOrders Add/Update Line Item[B] is present in your account.

Configuration

Script Deployment

  1. Navigate to Customization → Scripting → Scripts
  2. Search for the workflow action script eXtendOrders Add/Update Line Item {customscript_extend_orders_add_update_li}Image Placeholder
  3. Check if the script is deployed on the required record type (Quote/Estimate and Sales Order).
  4. If not, create a deployment on the required record type.

Workflow Creation

  1. Navigate to Customization → Workflow → Workflows.
  2. Locate the eXtendOrders Add/Update Line Item[B] workflow (or a copy of it if one has been made for your account).
  3. Clone this workflow and apply it on required record types (Quote/Estimate and Sales Order) with a Release Status of Released.
    Image Placeholder
  4. If a cloned workflow is already present, review it and confirm it is deployed on the record types where you want the Add/Update Line Item button to appear.

Usage

  1. Open the desired Estimate (Quote) or Sales Order.
  2. Use the eXtendOrders Configurator UI on the Item / Deco subtab to make changes to the OIC records (for example, update quantities, pricing, decoration details, or add new items/decorations).
  3. Save the configuration changes by clicking the Save Configuration button.
  4. Save the order.
  5. Click the Add/Update Line button on the order.
    Image Placeholder
  6. This will:
    1. Add new line items for any newly configured items or decorations.
    2. Update existing line items where the mapped values from the OIC have changed.
    3. Items or decorations removed in the Configurator UI are not removed from the order lines. This feature only adds or updates lines, so you must remove those lines manually.

The button can be used after the order has been approved.

How It Works

  • The Add/Update Line Item workflow action compares the current OIC configuration with the existing line items on the order.
  • New lines are added for items or decorations present in the OIC but not yet represented on the order.
  • Existing lines are updated when values that are mapped from the OIC (such as quantity, rate, description, or other mapped fields) have changed in the Configurator UI.
  • Lines that no longer exist in the OIC (i.e., items or decorations removed in the Configurator UI) remain on the order and are not automatically deleted.
  • Changes made via this button do not automatically update any Purchase Orders that have already been generated from the order.

This approach preserves existing line item data (including any custom column field values that would otherwise be lost during a full regeneration) while still allowing incremental updates.

Limitations

  • Lines removed in the Configurator UI are not automatically deleted from the order. You must manually remove any unwanted lines.
  • Updates do not flow to Purchase Orders that have already been created. If a related Purchase Order needs to reflect the changes, it must be updated separately.
  • The feature updates lines based on mapped values from the OIC. Unmapped or manually entered line-level values may not be affected.

Frequently Asked Questions (FAQs)

Q: Do I still need to use the Create Lines / Create Lines Server Side button?

A: For initial line generation or when you want a complete regeneration of all lines (including removal of lines no longer in the OIC), you can still use the standard Create Lines process. Use Add/Update Line Item when you want to add new lines or update existing ones without clearing the entire item sublist.

Q: Will this feature delete lines that I removed in the Configurator UI?

A: No. Lines removed in the Configurator UI are not automatically deleted from the order. You must remove them manually if they are no longer needed.

Q: Can I use this button after the order has been approved?

A: Yes. The Add/Update Line Item button works on approved orders as well as orders in other statuses (subject to your workflow criteria and NetSuite permissions).

Q: Do changes made with this button update related Purchase Orders?

A: No. Changes do not automatically flow to Purchase Orders that have already been created. Related Purchase Orders must be updated separately if needed.

Q: What happens to custom column field values on existing lines?

A: Because existing lines are updated in place rather than deleted and recreated, custom column field values on those lines are preserved (unless a mapped field from the OIC overwrites them).

Q: The Add/Update Line Item button is not visible. What should I do?

A: Contact your NetSuite Administrator to confirm that the Add/Update Line Item workflow is deployed and released on the record type and form you are using.