# Compare physical inventories

The module adds two tools for physical inventory:

- the **Compare Inventory** action on the **Phys. Inventory Journal** page, which compares counted quantities with the system inventory (per location or per bin) and prepares the adjustment lines;
- the **verify bin**, a buffer bin used in **Physical Inventory Orders** to automatically offset items found in bins other than the expected ones.


On the **Location Card**, after the **Adjustment Bin Code** field, there is a **Verify** group.

| Field | Description |
|---|---|
| Verify Bin Code | Bin of the location used as a buffer for inventory checks. It is proposed automatically on the location's physical inventory orders and, if the location uses bins, it is mandatory and used as the transfer-from bin in transfers created by store management. |



Open **Phys. Inventory Journal** and choose the **Compare Inventory** action. The first journal line must have **Posting Date** and **Document No.** filled in: they are used for the new lines.


| Field | Description |
|---|---|
| Use Date for Compare | If enabled, the system inventory is calculated up to the journal posting date; otherwise all entries are considered. |
| Per Bin Content | If enabled, the comparison is done per location, bin, item and variant (based on warehouse entries); otherwise per location, item and variant. |
| Recalculate Unit Cost | If enabled, the line unit cost is always taken from the item card; otherwise the line's **Unit Cost (Phys. Inventory)** is kept, if any. |

You can filter the **locations** and **items** to process.


1. Enter the counted quantities (**Qty. (Phys. Inventory)**) in the journal by item, variant, location and, if needed, bin.
2. Choose **Compare Inventory**, set options and filters and confirm.
3. Review the resulting lines and post the journal.


- For each item with non-zero system inventory, the matching journal line is updated by setting **Qty. (Calculated)**; if the line does not exist, it is created with a counted quantity of zero (the item was not found).
- When comparing per location, if the location uses bins, lines use the location's **Adjustment Bin Code**, which must be filled in.
- Counted lines with no system inventory are treated with a calculated quantity of zero.
- For each line the entry type (**Positive Adjmt.** if counted is greater than or equal to calculated, otherwise **Negative Adjmt.**), the difference quantity and the unit cost are calculated automatically.
- On posting, if a physical inventory line refers to a bin or bin content that does not exist yet, it is created automatically.


| Field | Description |
|---|---|
| Unit Cost (Phys. Inventory) | Unit cost to use for the inventory line when you do not choose to recalculate it. |



| Page | Field | Description |
|---|---|---|
| Physical Inventory Order (header, after **Location Code**) | Verify Bin Code | Proposed from the location when you choose the **Location Code**; can be changed. |
| Order lines (before **Pos. Qty. (Base)**) | Verify Qty. (Base) | Quantity moved to/from the verify bin, calculated automatically when the order is finished. |


- If some lines are not yet on recording lines, the system asks "Confirm not found lines?"; if you confirm, they are included.
- If a verify bin is specified, for each item (without item tracking) of the location that has both positive and negative differences in different bins, or has inventory or a line in the verify bin:
  - the differences of the lines in the other bins are moved to **Verify Qty. (Base)** and those lines become "without difference";
  - the sum of these differences is offset on the verify bin line, which is created if it does not exist; only the net difference, if any, remains on this line as a positive or negative adjustment.
- On posting, lines with a **Verify Qty. (Base)** post movements between the verify bin and the line's bin instead of inventory adjustments. Lines without difference do not post item entries.
- The verify quantity is also shown on posted physical inventory orders.


When the order is reopened, the lines created automatically for the verify bin are deleted, and on all lines **Verify Qty. (Base)** is reset and the "without difference" flag is cleared.