Aller au contenu principal

Inventory dimensions on invoice lines

An invoice line for a stocked item says more than which item and how many. It also says which stock: in which location, in which status, of which variant, from which batch, with which serial number. Together these are the line's inventory dimension. The Inventory module works out the dimension from what you enter and keeps it; Finance stores only a reference to it on the line.

This page explains how to enter it on Purchase invoices, Sales invoices and Return invoices. The steps are the same on all of them.

What a line asks for​

An item's Dimension group decides what is entered for it. You set the group on the item (Inventory management > Items, field Dimension group). The group says:

  • which product dimensions the item has, such as color or size, and which of them are required;
  • whether the item is tracked by batch, and whether a batch needs an expiry date;
  • whether the item is tracked by serial number.

An item with no group, or with a group that has nothing set up, needs only a location. The line details tell you which group the item has, or that it has none.

The location​

Location is a column of the line grid. A new line takes the location of the document. Change it on the line when that line comes from, or goes to, another location. The line's own location is the one that counts from then on; changing the document's location later does not move lines that already have one.

The Inventory dimensions tab​

Select a line and open the Inventory dimensions tab in its line details, next to General, Setup and Product. It shows only the fields the item's dimension group asks for:

  • Status: the inventory status of the stock.
  • One field for each product dimension of the group (the variant values). A field marked as required must be filled in.
  • Batch, Expiry date and Manufacture date, for an item tracked by batch.
  • Serial number, for an item tracked by serial number.

The dimension is worked out when the invoice is saved. If something is not valid, for example a required variant value is missing or a batch has no expiry date when one is needed, the save is refused with a message that names the line.

Changing the Item on a line clears its dimension, because it belongs to the item; the new item starts again from the document's location.

Several batches or many serials on one line​

One line holds one dimension. A line of 60 units from one batch and 40 from another, or a line of 100 laptops with a serial number each, cannot be a single dimension. Enter these on the tracking page:

  1. Save the invoice, then select the line.
  2. In the actions toolbar, under Related, select Batches and serials.
  3. For a batch-tracked item, add a row for each batch with its quantity, dates and batch number. For a serial-tracked item, type or scan one serial number after another and press Enter, or paste a list with one serial number per line.
  4. Select Save.

Quantities are entered in the item's base unit. Inventory checks that they add up to the quantity of the line when the invoice posts, and refuses the posting if they do not. Saving again replaces what was entered before for that line. Only an open invoice can change its batches and serials.

Returns​

  • A return line linked to an invoice line (through Find sales invoice or Find purchase invoice) takes the dimension of the line it returns.
  • A return line that is not linked to an invoice line needs its own dimension, and is valued at the item's current cost. The line details show a notice when this applies.