Dynamics NAV – Copy & Paste

Send Us a Sign! (Contact Us!)

Copy and paste has been enabled since the Dynamics NAV 2013 release and is most commonly used for populating journals. Once data is copied from Excel, right-clicking in the leftmost cell of the first row of an empty journal should yield the “Past Rows” option within NAV.

Dynamics NAV - Copy & Paste

Tips and best practices for Copy and Paste

Excel columns must mimic the NAV page columns you are pasting into: NAV assumes that the data copied from Excel will have both the same columns and column order as the NAV page you are pasting into.

Header information should not be pasted: NAV is not expecting a header row from Excel. Copy raw data only. For example, row 1 below should not be copied from Excel.

Dynamics NAV - Copy & Paste

Let NAV do the heavy lifting: because NAV now validates each field that you paste into it, there is a lot more going on than you may think as the paste occurs. A few examples:

  • NAV won’t let you paste bad data into it. For example, NAV would throw an error if you tried to paste descriptive text into the “Account No.” field since no such account exists. In the example below, we have mistakenly tried to paste the text “APPLE” into the “Account No.” column of NAV’s general journal.

Dynamics NAV - Copy & Paste

  • NAV will give a warning if you are trying to paste more characters than are allowed per a given field. In the example below, we are trying to paste 60 characters of text into NAV’s 50-character “Description” field. Note that NAV will give notification prior to truncating your data.

Dynamics NAV - Copy & Paste

As a general rule, organize your Excel columns in the same order that you'd manually enter data into the NAV journal because the system will validate your data from left to right. For example, you’d want the “Account Type” column positioned to the left of the “Account No.” column in Excel. This way NAV is aware of what type of account (G/L Account, Customer, Vendor, Bank, etc.) you are passing into the “Account No.” field.

Also, consider a case where you want to control the dimension values within the journal. Because NAV will try to automatically set dimension values based on default dimension rules as fields are validated, you’d want to make sure to place the dimension columns to the right (the end) of the Excel file. That way, the dimensions of your file will trump any other dimension values that were set during validation of earlier fields.

Under the covers, NAV will autofill other relevant fields as it validates pasted data. Consider a case where a customer number is pasted into the “Account No.” column of a journal. Due to validation code, NAV will also automatically populate many other fields relevant to that customer (description, payment method, customer posting group, payment terms, etc.).

What to do if you don’t see “Paste Rows” as an option

If you run into a situation where the “Paste Row” option is not visible, this most likely indicates that the PasteIsValid table property needs to be changed in the underlying table. This setting can easily be changed by your NAV support resource.

Dynamics NAV - Copy & Paste