# Item line tables

<p class="doc-lead">Bills (Sale Invoice, Purchase Invoice, orders, quotations) and many other forms enter their lines in the same kind of table. Lines are added, inserted, moved, and removed the same way on every one of them.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Getting started</span>
<div class="doc-toc-links">
<a href="#/features/item-lines?id=overview">Overview</a>
<a href="#/features/item-lines?id=add-lines">Add lines</a>
<a href="#/features/item-lines?id=remove-lines">Remove lines</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Arrange lines</span>
<div class="doc-toc-links">
<a href="#/features/item-lines?id=line-tools">Line tools</a>
<a href="#/features/item-lines?id=insert-line">Insert a line</a>
<a href="#/features/item-lines?id=move-lines">Move lines</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/features/item-lines?id=large-bills">Bills with many lines</a>
<a href="#/features/item-lines?id=keyboard">Keyboard shortcuts</a>
<a href="#/features/item-lines?id=faq">FAQ</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview</h2>

Each row of the table is one line. <b>Sl.No</b> is the line number and is kept in order for you. Columns come from the module and your settings. For example, the Sale Invoice ITEMS table has Item, Description, Qty, Unit, Rate, Price, Taxes, Discount, and Total.

| **Where you see it** | **Examples** |
|----------------------|--------------|
| Bill item lines | <a href="#/sales/sale-invoice?id=item-lines">Sale Invoice</a>, <a href="#/purchase/purchase-invoice">Purchase Invoice</a>, Sale Order, Purchase Order, quotations, credit and debit notes |
| Lines on other forms | Inventory, production, and voucher forms that have a lines table |

Each module page documents its own columns. This page covers what works the same on every table.

<hr class="doc-section-divider">

<h2 id="add-lines">Add lines</h2>

The last line of the table is always blank and ready for the next entry.

<ul>
<li>Select an item (or account) on the blank last line. A new blank line is added under it straight away.</li>
<li>The blank last line is not saved. It is also not checked for required fields.</li>
<li>To add a line between existing lines, see <a href="#/features/item-lines?id=insert-line">Insert a line</a>.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="remove-lines">Remove lines</h2>

Click <b>×</b> at the right end of a line to remove it. <b>Sl.No</b> is renumbered after a moment.

<ul>
<li><b>×</b> is hidden when the table has only one line.</li>
<li>Some lines cannot be removed, for example lines that must stay as they came from the source document. Their <b>×</b> is hidden.</li>
<li>Some tables do not allow removing lines at all.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="line-tools">Line tools</h2>

Point to a line, or click into it, to show the line tools over its <b>Sl.No</b> cell.

| **Tool** | **What it does** |
|----------|------------------|
| <b>≡</b> (drag handle) | Drag the line and drop it above or below another line. |
| <b>+</b> | Inserts a blank line above this line. |
| <b>▲</b> / <b>▼</b> | Moves the line one place up or down. The arrow is greyed out at the top and bottom. |

The tools are not shown:

<ul>
<li>On the blank last line.</li>
<li>While a document opened for edit is still loading.</li>
<li>For a moment after you remove a line.</li>
<li>On tables that do not allow adding or removing lines.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="insert-line">Insert a line</h2>

Click <b>+</b> on a line, or press <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>I</kbd> while you are in it. A blank line is added above it, with the cursor in the first field, and <b>Sl.No</b> is renumbered.

<ul>
<li>Fill the new line the same way as any other line.</li>
<li>Until you enter something, it is treated like the blank last line and is not checked for required fields.</li>
<li>If you leave it without entering anything, it is removed. Blank inserted lines never block <b>Save</b>.</li>
</ul>

<p><b>Example:</b> An invoice has 1 GoodDay, 2 Customised Note Book, 3 Sand. To add Wire Nails as line 2, point to Customised Note Book, click <b>+</b>, and select Wire Nails. The lines become 1 GoodDay, 2 Wire Nails, 3 Customised Note Book, 4 Sand.</p>

<hr class="doc-section-divider">

<h2 id="move-lines">Move lines</h2>

There are three ways to move a line:

<ul>
<li><b>Drag:</b> hold the <b>≡</b> handle and drag. A blue line shows where the line will go. Release to drop it there.</li>
<li><b>Arrows:</b> click <b>▲</b> or <b>▼</b> to move one place.</li>
<li><b>Keyboard:</b> press <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↑</kbd> or <kbd>↓</kbd> while you are in the line. The cursor stays in the same field.</li>
</ul>

When a line moves:

<ul>
<li><b>Sl.No</b> is renumbered straight away. The new order is kept when you save and when you print.</li>
<li>Its item, quantity, rate, discount, and tax do not change. Nothing is recalculated.</li>
<li>Bill totals stay the same. If a discount is entered for the whole invoice as a value, the rounding difference goes to the last line, so it can move to a different line.</li>
<li>The blank last line cannot be moved, and lines cannot be moved below it.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="large-bills">Bills with many lines</h2>

When static row mode is enabled for your company, a bill with 50 or more filled lines shows its lines as plain text so the screen stays fast.

<ul>
<li>Click a line to edit it. Click <b>✓</b> when you are done.</li>
<li>Click <b>Add Line Item</b> under the table to add a line at the end.</li>
<li>Only <b>+</b> is shown in the line tools. To move lines on these bills, use <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↑</kbd> / <kbd>↓</kbd> in the line you are editing.</li>
<li>If you click <b>✓</b> on an inserted line that is still blank, it is removed.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="keyboard">Keyboard shortcuts</h2>

Use these while the cursor is in a line. On Mac, press <kbd>Control</kbd> + <kbd>Option</kbd> instead of <kbd>Ctrl</kbd> + <kbd>Alt</kbd>.

| **Shortcut** | **Action** |
|--------------|------------|
| <kbd>Enter</kbd> | Move to the next field. In an item or account dropdown, it selects the highlighted option. |
| <kbd>Tab</kbd> / <kbd>Shift</kbd> + <kbd>Tab</kbd> | Move to the next or previous cell |
| <kbd>←</kbd> / <kbd>→</kbd> / <kbd>↑</kbd> / <kbd>↓</kbd> | Move between cells when you are not typing in one |
| <kbd>Esc</kbd> | Stop editing the cell |
| <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↑</kbd> | Move the current line up |
| <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>↓</kbd> | Move the current line down |
| <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>I</kbd> | Insert a blank line above the current line |

Full list: <a href="#/dashboard/keyboard-shortcuts?id=item-line-tables">Keyboard Shortcuts — Item line tables</a>.

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<p><b>I don't see the line tools.</b><br>Point to a filled line, not the blank last line. The tools are also hidden while an edit is loading, for a moment after removing a line, and on tables that do not allow adding or removing lines.</p>

<p><b>Why did my inserted line disappear?</b><br>It was left blank when you moved to another line or field. Blank inserted lines are removed so they do not block Save. Click <b>+</b> again to add it.</p>

<p><b>Does moving a line change the price or tax?</b><br>No. The line keeps its values. Only <b>Sl.No</b> and the position change.</p>

<p><b>Will the printed bill show the new order?</b><br>Yes. Lines are saved and printed in <b>Sl.No</b> order.</p>

<p><b>Can I drag lines on a touch screen?</b><br>Dragging needs a mouse. On a touch screen, tap into the line and use <b>▲</b> / <b>▼</b>.</p>

<p><b>Can I move a line on an approved bill?</b><br>No. Lines can be changed only while the document can be edited, for example in Draft or For Revisal.</p>

<hr class="doc-section-divider">

<p>See also: <a href="#/sales/sale-invoice?id=item-lines">Sale Invoice — Item Lines</a> · <a href="#/features/lists">List pages</a> · <a href="#/dashboard/keyboard-shortcuts?id=item-line-tables">Keyboard shortcuts</a></p>
