It has been almost two years since I presented a successfull session at Directions USA about migrating from the Navision Native (C/Side or Classic) database to SQL Server. This session was repeated in EMEA half a year later.
You can download the slides here.
It was only recently that I found another thing you have to realise when you migrate. It was related to table 49 Invoice Post. Buffer.
Some of you might know that it is used in both codeunit 80 and 90 to combine G/L entries by (VAT) posting groups and some other stuff. This is done by doing a trick in the uniqueness of the records. If you want to add a criteria you must first add the field to the table and then to the keys.
A classic example is to add the posting description to the G/L Entries.
A native database can have up to 20 fields in the primairy key. However, the SQL database only allows up to 16 key fields in the clustered index. If you try to add more you will get this message:
Even though this table wil never be populated on SQL Server NAV maintains the table definition there.
As far as I know there is no solution for this other than reducing the number of fields.
Thank you very much for this information.
Yes, I know these workarounds work. I was/am looking for a SQL/Database side solution.