# Assembly orders

Create or locate the Project management record used to assemble products, then save the order
with its sales item, products, quantities, and dates.

## Overview

An assembly order is the Project management record for assembling products for a project. Project
management brings together bill-of-materials (BOM), ordering, stock, and delivery work; PAMS
connects BOMs, material requisitions (MRQs), requests for quotation (RFQs), purchase orders
(POs), warehouses, and delivery in the project cycle.

| If you need to… | Go to |
|---|---|
| Understand the information needed before you start | [Prerequisites](#prerequisites) |
| Open the assembly-order list or a new order | [Find an assembly order](#find-an-assembly-order) |
| Identify fields, product areas, and tabs | [Understand the Assembly Order screen](#understand-the-assembly-order-screen) |
| Enter products and save the order | [Create and save an assembly order](#create-and-save-an-assembly-order) |
| Check which actions change with the order state | [Handle new, existing, and optional order states](#handle-new-existing-and-optional-order-states) |
| Correct a validation or processing problem | [Resolve validation and access problems](#resolve-validation-and-access-problems) |
| Continue with related Project management work | [Know what comes next](#know-what-comes-next) |
| Review the wider Project management area | Project management workspace |
| Continue with warehouse work | [Warehouse fulfillment flow](https://pams-doc-test-fresh.atloria.app/p/pams-doc-test-fresh-N9B4TwWn3Q/user/warehouse-fulfillment-flow) |

## Prerequisites

Inventory identifies the warehouse record used by the order. **Sales Order No.** and **Sales Item
Description** identify the sales order and sales item that the assembly order serves. The selected
sales item can supply **Final product**, **Qty**, **Unit**, and **Name** when those values are empty.

| Before you start | What applies |
|---|---|
| Inventory | **Inventory** is required. Its choices are warehouse records loaded for your company. |
| Sales order | Select a value in **Sales Order No.**. This selection is required before the order can use **Product**. |
| Sales item | Select a value in **Sales Item Description**. This selection is required before the order can use **Product**. |
| Order date | **Ordered on** is required. The new-order date sets it. |
| Completion | **Completed on** and **Completed by** are required only for a completed process. |
| Edit access | **Save** and **Save and Close** appear only when you may edit. They are disabled when there are no data changes. |

The **Product** action is available only for an unsaved order with both the sales order and sales
item selected. The available choices for **Inventory**, **Sales Order No.**, **Sales Item
Description**, **Ordered by**, and **Completed by** come from data loaded for your company rather
than from a fixed list on the form.

## Find an assembly order

The assembly-order list is the place to identify saved orders or start a new one. Open it from the
Project management area.

**Prerequisites**

- You can open the Project management area.
- You know whether you are locating an existing order or creating a new one.

**Steps**

1. Open the assembly-order list from the Project management area.

2. Select the work view that matches the order stage.

   | If you need to… | Select |
   |---|---|
   | Review all visible work | **All** |
   | Prepare a bill of materials | **BOM Preparation** |
   | Review current material requisitions | **Current MRQs** |
   | Review purchasing work | **In Purchasing** |
   | Review stock work | **In Stock** |
   | Review delivered work | **Delivered** |
   | Review assembly orders | **Assembly Orders** |

3. Identify a saved row from **Sheet no.**, **Job no.**, **P.M responsible**, **Order date**,
   **Item description**, or **Expected complete on**.

4. Open the list entry that matches the work you need to do.

   | If you need to… | Open |
   |---|---|
   | Review or continue an existing order | The saved row |
   | Create an assembly order | A blank assembly-order form |

5. Select the toolbar action that matches your task.

   | If you need to… | Select |
   |---|---|
   | Reload the list | **Refresh** |
   | Change the list layout | **Table Layout** |
   | Open list settings | **Settings** |

The list contains rows and can draw **Sheet no.**, **Job no.**, **P.M responsible**, **Order date**,
**Item description**, and **Expected complete on**. Your list layout determines the columns visible
in the list.

> **Note:** Work from the headers visible in your list. A different list layout can draw a
> different set of columns.

![The assembly-order list with its work views, rows, columns, and toolbar controls](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/40aadbb4f396bba17fa431265887e1eb.png)

**Result:** The assembly-order list is open with rows and its available work views, or the blank
assembly-order form is open.

## Understand the Assembly Order screen

The Assembly Order screen combines order information, a product lookup, component rows, and
receiving and inspection areas. Use the information area for the order header and the product area
for the products that make up the assembly.

| Area | What you see |
|---|---|
| Order information | **Inventory**, **Sales Order No.**, **Sales Item Description**, **Time Frame**, **Ordered by**, **Ordered on**, **Final product**, **Qty**, **Unit**, **Name**, **Completed on**, and **Completed by** |
| Product work area | **Product**, with **Product**, **Used qty**, and **Unit** columns |
| Products popup | **Product**, **Unit**, and **Sales item**, with **OK** |
| Receiving area | **Warehouse**, **Recieved by**, **Recieved on**, **Sub-supplier**, and **Sub-supplier shipment no.** |
| Inspection area | **Inspected by**, **Inspected on**, **GRN No.**, **Sub-supplier**, **Client**, **Checklist**, **Documents**, **Product**, **Ordered Qty.**, **Received Qty.**, **Accepted qty**, **Rejected qty**, **Defect**, and **Defect category** |

The screen lists **Receiving sheet**, **Inspection sheet**, **Transfer history**, and
**Last Modifications** tabs. It also lists **Comments**, but the page-level **Comments** tab is
not available on this screen.

The **Defect category** choices are **minor**, **major**, and **critical**. The receiving and
inspection areas contain the fields needed for those surfaces.

![The new Assembly Order form with order fields, Product, and component columns](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/10233fbd1643c2e6c0a7caa6ffec2a59.png)

## Create and save an assembly order

Create an assembly order when the sales order and sales item are known and the products to assemble
are ready to record.

**Prerequisites**

- You are on the new assembly-order form.
- You can select **Inventory**, **Sales Order No.**, and **Sales Item Description**.
- You know the person and date to use for **Ordered by** and **Ordered on**, where those fields are available.
- You know which products belong in the assembly.

**Steps**

1. Select **Inventory**.
2. Select **Sales Order No.**.
3. Select **Sales Item Description**.
4. Select **Ordered by**, where the field is available.
5. Select **Ordered on**, where the field is available.
6. Review **Final product**, **Qty**, **Unit**, and **Name**. The selected sales item can fill
   these values when they are empty.
7. Select **Product**.
8. In the Products popup, select the products to add.
9. Select **OK**.

The selected products appear as component rows with **Product**, **Used qty**, and **Unit**. If
the form or product list needs correction, saving validates both before it sends the request.

![The Products popup and selected component rows before saving](https://atloriaassets.blob.core.windows.net/assets/a438221c-c1af-407c-b9e6-a56c986db846/83851e705ab044536376f8a189353a0f.png)

**Result:** The selected products appear as component rows and the order is ready for saving.

### Save the assembly order

Save after the order fields and component rows are complete. Use the option that matches whether you
need to continue working on the saved record.

**Prerequisites**

- The order contains the required selections and at least one product row.
- You may edit the order and the form has data changes.

**Steps**

1. Select one save option:

    | If you want to… | Select |
    |---|---|
    | Keep the saved order open | **Save** |
    | Save the order and leave the form | **Save and Close** |

2. Confirm the message `Your request was completed successfully`.

Saving can display `Check mandatory field(s)` when a required field is incomplete. If a product
does not have the required storage information, correct it when the form displays
`Please enter the storage area and position for each product` before saving again.

**Result:** The assembly order is saved, the selected products remain in its component area, and
`Your request was completed successfully` confirms the request.

## Handle new, existing, and optional order states

An order's state changes which order actions and supporting surfaces you can use. Start with the
new-order path, then use the saved record for later work.

| Order situation | What you can use |
|---|---|
| New and unsaved, with both sales selections | **Product** is available for adding products. |
| New and unsaved, without either sales selection | Complete the sales selections before using **Product**. |
| Saved order | Continue from the saved record and use the save controls when editing is allowed. |
| Saved order with products | Review the component rows before saving later changes. |
| Saved inspection details, unchanged record, and unreleased items | **Finish and release to stock** is available. |

## Resolve validation and access problems

When the screen stops an action, match its exact message to the correction below.

| Message | What to do |
|---|---|
| `Please enter the storage area and position for each product` | Enter the storage area and position for each product, then save again. |
| `You cannot save without adding at least one product` | Select **Product**, add at least one product, select **OK**, and save again. |
| `Check mandatory field(s)` | Complete the fields marked as required, then save again. |
| `Package products cannot be empty` | Add the required products to the product list before saving. |
| `An error occurred while processing your request` | Review the order and product list, correct any displayed issue, and retry the action. |

The screen validates before saving and protects navigation with a leave-screen check. Save only
when you may edit and when the order has changes to commit. If an option or list column differs
from the choices above, use the options and headers displayed in your form or list.

## Know what comes next

A saved assembly order remains part of the Project management area that groups ordering, stock,
and delivery work. **Shipping orders** are the companion Project management task. Continue with
[Warehouse fulfillment flow](https://pams-doc-test-fresh.atloria.app/p/pams-doc-test-fresh-N9B4TwWn3Q/user/warehouse-fulfillment-flow) when warehouse fulfillment is the next
task in your role.

The label **Finish and release to stock** identifies an available action only when the saved
inspection details, unchanged record, and unreleased-item conditions are met. Do not treat that
label alone as confirmation of a stage transition or stock effect.
