> For the complete documentation index, see [llms.txt](https://docs.p4warehouse.com/v2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p4warehouse.com/v2/production/production-orders/adding-lines.md).

# Adding Lines

Similarly to pick tickets and purchase orders, lines contains products that are involved in the production process. Both as consumables and a finished goods. There are 2 ways to add lines in P4W system

## Manual Selection

To add products manually, click 'Add Line' button and make a selection from the pop-up list. Set product quantities in the corresponding column

<figure><img src="/files/EFPt0XPXiw0pI5bvBNLd" alt=""><figcaption></figcaption></figure>

During manual product selection, users must select both consumables and projected producible goods and quantities.&#x20;

After the selection is complete, the production order is ready to be released to floor for further processing.

## Template

Alternatively, users can utilize 'Template' button to automatically add both consumables and producible to a production work order.&#x20;

{% hint style="info" %}
Notice: To use this method, warehouse must contain products with a BOM (Bill of Material) attribute.
{% endhint %}

<figure><img src="/files/IFdV1TfMt3Jh9xbAqYu4" alt=""><figcaption></figcaption></figure>

P4W provides two templates: Assemble BOM and Disassemble BOM. First one better suits for traditional production like a bicycle or a table assembly. While latter is designed for sorting out palettes (LPNs) that contains multiple products.&#x20;

<figure><img src="/files/jmVTWnhmZ3L0066MMZWY" alt=""><figcaption></figcaption></figure>

After choosing a template, select a producible product and quantity in the 'Assembly' pop-up window. Click 'Submit' to continue.

<figure><img src="/files/QVasLQE7674xdzni3xdS" alt=""><figcaption></figcaption></figure>

After that, P4W system will automatically populate 'Lines' for both consumables and producible fields, including sufficient quantity of the raw materials/parts.

<figure><img src="/files/bYHEjiN5kkRwa0W2syAY" alt=""><figcaption></figcaption></figure>

Production order is now ready to be released to floor for further processing.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.p4warehouse.com/v2/production/production-orders/adding-lines.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
