I have a requirement on my project that I need to create a query/ report which needs to be generic in nature so that if I run it on other NAV environments, it should work without changing anything (of course on default objects not on custom objects). Also I need to be able to export the definition and import it into any other NAV and should be able to run it.
For example I create a query that generates Trial Balance for company X, in one NAV environment, I should be able to reuse the same query to generate trial balances on any other NAV environment.
If this is possible then the question is:
1. Does NAV have same object model for all the companies that we create?
2. Does it retain the same object id for all default set of objects (obviously new/ custom objects will different id)?