Schema Sync, Definition has changed, etc
JDVyska
Member Posts: 179
Question for folks. NAV 2017. I make a change to a table, say Job, and sync that one table immediately. Why is it, then, that the RTC client reports that the definition of the Sales Header has changed on Sales Order pages?
Am I missing something in how sync works these days? I have a vague memory that this might have to do with subscriptions.
Am I missing something in how sync works these days? I have a vague memory that this might have to do with subscriptions.
JEREMY VYSKA
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"
1
Best Answers
-
I am not an MVP, but I want to shed some light on this dark spot: This error occurs for objects that have a relation to the changed table (or at least objects showing data related to the changed table).
This applies to both TableRelation and CalcFormula.
This error occurs whenever a table to which a currently open table or page has a direct connection or an indirect relation is changed.
Assume you have Table A, Table B, and Table C. Table B has a TableRelation to Table A. You have open Pages based on Table A, Table B, and Table C. When you change Table A, you get the error for Page A and Page B, but not for Page C.
I hope this clarifies the connection.
My assumption is, that in case of a table change, all related table objects are invalidated to force some kind of object reload and to avoid inconsistencies.
Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.6 -
That was something I wanted to check for a long time. Because I faced the same issues since our upgrade to 2017. I assumed something like this but, be sure, I've checked this before posting. Of course this applies to every type of sync.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5
Answers
-
good question, my "like" is on the table
0 -
Question for folks. NAV 2017. I make a change to a table, say Job, and sync that one table immediately. Why is it, then, that the RTC client reports that the definition of the Sales Header has changed on Sales Order pages?
Am I missing something in how sync works these days? I have a vague memory that this might have to do with subscriptions.
By the way, Jeremy do you have multitenant environment or single?0 -
Single tenant DB.JEREMY VYSKA
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"0 -
We have that a lot, it is mysterious. I have a habbit of hitting 'build server application objects' and synchronize all objects with force from the menu after changing a key table. This seems to decrease the problem however I'm clueless why this would be needed.In a world without Borders or Fences, who needs Windows and Gates?0
-
My guess was about multitenant environment but its not right as JDVyska answered..
So it is also a mystery for me...
I usually just restart the client and that`s really frustrating for customer to do this each time after importing just a single minor table.
Maybe our MVP`s know more about it?0 -
I am not an MVP, but I want to shed some light on this dark spot: This error occurs for objects that have a relation to the changed table (or at least objects showing data related to the changed table).
This applies to both TableRelation and CalcFormula.
This error occurs whenever a table to which a currently open table or page has a direct connection or an indirect relation is changed.
Assume you have Table A, Table B, and Table C. Table B has a TableRelation to Table A. You have open Pages based on Table A, Table B, and Table C. When you change Table A, you get the error for Page A and Page B, but not for Page C.
I hope this clarifies the connection.
My assumption is, that in case of a table change, all related table objects are invalidated to force some kind of object reload and to avoid inconsistencies.
Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.6 -
That makes sense, thanks!0
-
Welp, that makes the most sense. I might test it out, but that's entirely logical.JEREMY VYSKA
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"0 -
That was something I wanted to check for a long time. Because I faced the same issues since our upgrade to 2017. I assumed something like this but, be sure, I've checked this before posting. Of course this applies to every type of sync.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions