Documente Academic
Documente Profesional
Documente Cultură
Dmitry Chadayev
Sr. Program Manager
Microsoft Dynamics NAV
August 2014
we have introduced a number of improvements to the schema synchronization process that make it
more explicit, more granular and controllable, providing you with the flexibility of deciding when and
how your table changes should be synchronized with corresponding SQL tables.
Schema
Synchronization
NAV Table
(Metadata or
Table
Definition)
NAV
Server
SQL Table
(Schema)
automatically
on demand
Yes
Force-Synchronize
schema for this table
NAV
Server
Synchronize
Schema
Fill-in
Table ID
Upgrade Table ID
Mode
170001
Copy
23
170002
Copy
25
170003
Copy
167
170004
Move
445
Force
Fill-in
Data
Discover
Changes
App*
Modify
Dev.
Environment
Virtual Table
2000000135
Table Synch. Setup,
containing IDs of all
tables with schema
changes
No
Error
Yes
Success
For large tables, schema sync can take a long time. Make sure you increase the value in the SQL Command Timeout node (default is
10 min.) of the CustomSettings.config file to avoid timeouts.
TenantState:
Operational
Change a table in
C/SIDE
TenantState:
OperationalWithSyncPending
Synchronize schema
TenantState:
OperationalWithSyncInProgress
No
Yes
Sync Error
TenantState:
Operational
TenantState:
OperationalWithSyncFailure
TenantState:
OperationalWithSyncFailure
As a developer and system administrator, you control when to call the schema synchronization and how
to synchronize table changes (in the Developement Environment and Administration Shell). You can
invoke it, plan for it and schedule it on a case by case basis. You can also monotor its progress and
monitor the state of your database (tenant).
Schema Synchronization has become more granular. It can be performed per table object as well as for
all table changes at once. When one table is being synchronized, you are not longer blocked, and you
can continue making changes to other tables.
Using upgrade codeunits, you can provide input for the schema synchronization to do extra tasks, like
automatically moving or copying data into upgrade tables, checking the changes or forcefully applying
them where necessary.
On this page you will have access to resources for developers, consultants, sales and business decision
makers. For more detailed information please visit our readiness library, which includes a variety of
materials such as how-to videos, demo scripts, white papers and slide decks.
http://go.microsoft.com/fwlink/?LinkID=510890