Wonach suchst Du?
What are you looking for?

How do I automatically create a bill of materials upon sales order generation from a quotation?


If you combine multiple products intended for the manufacturing of a new sales product into a compensation group in a quotation and then convert it into a sales order, metasfresh will automatically transform the quotation group into a verified bill of materials and immediately make the newly assembled sales product available for future orders without any extra work. In the process, the respective quantities of the quotation group components are added to the bill of materials in the exact same amount.

Fig.: BOM creation upon SO generation from quotation



Create a quotation with a quotation group

  1. Create a quotation including the desired products and quantities, but do not complete it yet.

    Note: The product quantities from the quotation will be added to the bill of materials in the exact same amount upon sales order generation.

  2. Create a manual compensation group (from step 2) using a grouping product that has been activated for quotation grouping.

    Note 1: The name of the compensation group will be used for naming the bill of materials and the associated sales product.

    Note 2: The grouping product is added in a separate line and does not appear on subsequent documents.

  3. Complete the quotation.

Convert the quotation into a sales order

  1. Start the action “Auftrag aus Angebot (construction)” (Create Sales Order from this Quotation (construction)). An overlay window opens up.
  2. Pick the Document type Sales Order.
  3. Click “Start” to close the overlay window and create the sales order.

View the new sales product and BOM

  1. Go to the record tab “Order Line” at the bottom of the page of the completed sales order and zoom into the field in the column Product of the order line. The new product’s entry opens up in a new browser tab.
  2. Use the product entry’s related documents to jump into “Bill of Materials & Formula” (under PRODUCT MANAGEMENT in the sidebar) and then open the associated bill of materials which has already been found by the filter.


GIF: Create BOM upon SO generation

View source file on GitHub.com