Copy, cut and paste grid rows
Copy rows when you enter lines that look like lines you already have, such as the same materials in a new bill or the same accounts in a new entry. You can paste into the same window or into another window of the same kind.
Before you begin
- Row copy works in grids of material lines, such as bills, in grids of account lines, such as entries, and in a few other grids, such as serial numbers and budget lines. In other grids the items are in the menu but do nothing. See Table Properties.
- Paste works only in a grid of the same kind as the source. A row of materials does not go into a grid of accounts.
- Both windows must use the same company file. A pasted line holds a reference to its material or account, so another file does not know it.
- A row you copy replaces what is on the clipboard, and so does the copy of a single cell or of text from any program. Paste right after you copy.
Steps
Copy and paste one row
-
Right-click the number of the row you want to copy, and choose Copy. Inside a cell you can press
Ctrl+Shift+Cinstead.
-
Go to the window and grid where the line should go. If it is the same grid, go to the row where the line should go.
-
Right-click the number of the row where pasting should start, and choose Paste. You can press
Ctrl+Shift+Vin a cell of that row instead.
The pasted line replaces everything in that row. If you copied more than one row, the next rows are replaced too.
Insert instead of replace
Right-click the row number and choose Insert in step 3. The program makes room for the copied rows at the row you clicked, and the rows from there move down.
Insert puts the lines in the right place only when you copied the first row of a grid, or the whole grid. If you copied another row, the lines land lower than the new space, by the number of rows above the copied row, and may replace a line that has data. In that case right-click the row number, choose Insert New Line, and then choose Paste on the new empty row.
Cut a row
Choose Cut from the row menu, or press Ctrl+Shift+X. The program copies the row and then deletes it. Cut is dimmed when the row cannot be deleted.
Copy the whole grid
- Right-click the corner cell and choose Copy. The program copies every row that has data.
- In the target grid, right-click the corner cell and choose Paste to paste from the first row and replace what is there. Choose Insert to paste at the top and move the existing rows down.
The corner menu also has Cut. It copies every row and then clears the whole grid, without asking.
Copy one cell
With the cursor on a cell, and not typing in it, press Ctrl+C to copy its value. Move to another cell and press Ctrl+V to paste it. This puts plain text on the clipboard, so you can also paste it into another program, such as a spreadsheet.
Result
In a bill, after Paste from the row menu or the corner menu, the program recalculates the discounts and the tax of the lines. It does not do this after Insert or Ctrl+Shift+V, so check the totals of the bill after them. Material lines in a bill follow these rules:
- If your user is not an administrator and does not have the Modify Special Offers in Bills permission, the program replaces the pasted price with the current price of the material.
- Otherwise the program converts the price to the currency of the new bill.
- If your user has a Minimum Price, the program checks the pasted price against it. A price below the minimum, or a line copied from a bill in another currency, gets the minimum price, and the program shows a message.
- Lines of special offers are not copied.
If something goes wrong
| Message or sign | Why it appears | What to do |
|---|---|---|
| Paste and Insert are dimmed | The clipboard has no rows of a grid of this kind. You may have copied a cell or text after you copied the rows. In a bill, you also may not have the Modify Quantity permission for the bill type. | Copy the rows again. Ask an administrator for the permission. |
| Error pasting data! | The program could not read the line, or the account is not in this file. | Copy the lines again from a window of the same company file. |
| Paste failed because one of the materials was not found in the current file | A pasted bill line holds a material that this file does not have. | Paste in the file where the material exists. |
| A beep when you copy | The program could not open the clipboard. | Try again after you close the program that holds the clipboard. |
The text that a copied row puts on the clipboard is a description of the line for the program, not columns of values. If you paste a row into a spreadsheet you see that description in a cell. To take values to a spreadsheet, copy single cells with Ctrl+C.
Related
- Table Properties: the menus and the keys
- Working in grids
- Grid menu additions: grids that remove Copy, Paste or Cut
This page applies to alameen ERP 10, version 10.1.79.764.