Sales document integration
A configuration travels with the sales line. The app adds the configuration ID and the kind of configuration to the sales line, the shipment line and the invoice line, so a configuration can be followed from the quote to the invoice without opening the designer again.
Before you start
- The family is set up and its configurations can be created.
- The sales line points at an item of the family, or at a configured item.
- The line has a quantity, because a configuration is written with one.
Keep the configuration on a sales line
- Open a sales order and add a line with an item of the family.
- Choose the configurator action on the line. The designer opens with the family of the item.
- Configure the product and choose Update Sales Line. The item number, the description, the unit price, the quantity and the configuration ID are written to the line.
- Read the line: Configuration ID and Configuration Type show what the line carries.
- Post the order as usual. Shipment and invoice keep the same configuration ID.

Example
The salesperson puts QUA-001 on an order of QUALIA Manufacturing ApS. The line shows the configuration STD-C0001, the description Desk Blue and the price 1,245.80. The order is shipped and invoiced, and both documents carry the same configuration ID.
What happens
- Writing a configuration to a line fills the line's fields; the app does not change how Business Central posts.
- Comments of type Sales Header and Sales Line are written to the sales comment lines when the configuration is saved to a document.
- A line whose item is a quoting item carries the kind of configuration it points at until it is converted.
If something goes wrong
- Writing the configuration to the line is refused. The line has no quantity, or it is already shipped or invoiced. Correct the quantity, or configure a new line.
- The line shows no configuration ID. The configuration was never written to the line. Choose the action that writes it again.
- A configuration ID is refused when the line is opened. The configuration no longer exists. Remove it from the line and configure again.
