Reinitialize in a Multi-Scope Setup #1047
-
Hi, we have a Multi-Scope Setup, where the first Scope is the ConfigScope and others include i.e. ProductScope. Now the Product-Table (in ProductScope) has a foreign Key to a Table in the ConfigScope. The ConfigScope gets synced before the ProductScope.
The Problem is we get this error
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I tried option 2 even just setting the |
Beta Was this translation helpful? Give feedback.
-
The issue is, that in this relatioship the Primary Key Base Table is the SalesTypes-Table and the Foreign Key Base Table is the Products-Table, the relationship is associated with the Products-Table. So if |
Beta Was this translation helpful? Give feedback.
Yes.
If you want to do it manually, you need to:
ALTER TABLE TABLE1 DISABLE CHANGE_TRACKING;
DELETE FROM TABLE1
ALTER TABLE TABLE1 ENABLE CHANGE_TRACKING;