Navision draconian rule on field creation
NavStudent
Member Posts: 399
Navision has the rule that custom fields should be created in 50K to 99K ranges, which I understand.
What I don’t understand is why they don’t allow importing of txt files especially when I’m merging two add-ons to be merged.
It’s a pain in the butt to do what they require us to do. This makes upgrades so tedious. You spend hours creating temporary db load the fob, select merge, and clean the code. Import the txt in there compile and load in the final db.
Why don’t allow us to at least add the fields through import of txt.
They can still prevent creation of objects, I don’t care but any other developer in other systems would laugh if you tell them that this is what you have to do for an upgrade.
What I don’t understand is why they don’t allow importing of txt files especially when I’m merging two add-ons to be merged.
It’s a pain in the butt to do what they require us to do. This makes upgrades so tedious. You spend hours creating temporary db load the fob, select merge, and clean the code. Import the txt in there compile and load in the final db.
Why don’t allow us to at least add the fields through import of txt.
They can still prevent creation of objects, I don’t care but any other developer in other systems would laugh if you tell them that this is what you have to do for an upgrade.
my 2 cents
0
Comments
-
what does this have to do with NAV 6.0?0
-
They should change it for next release.
The upgrades will be hard enough anyways.
It'll make developer lives a lot easier.my 2 cents0 -
OK0
-
I agree that this would certainly make upgrading integrated add ons much easier & faster if we could load modified text objects. It certainly has been a big problem in the past.
My only concern here is that it's not something that I do on a regular basis for me to really complain to MS. There are many other features that I would rather have then being able to import text objects. Like a more .Net like development environment, better debugger.0 -
I am not asking to build a new IDE, it's simply a licensing enforcement.
And if there is some code change, it would be minor.
And they can put this on their next PowerPoint presentation that we've made it easier to upgrade!
The Salespeople and bosses will be extremely pleased, since now they have one more bullet point they can talk about.
This new feature will be so irresistible that clients won’t think twice about upgrading.
my 2 cents0 -
It's indeed a pain in the butt.
I created a workaround to merge two add-ons. It comes down to:
- create tables without code and fields with those numbers
- create fob
- import fob: Merge Existing <- New
- import merged textfile.
Once, I put a download on Mibuso:
http://www.mibuso.com/dlinfo.asp?FileID=817
This tablegenerator creates the tables for you without code.
Import the generated text file in (a copy of) the existing database where you uploaded the Add-On in, compile the tables, export as fob and import it in the database where you would upload your merged textfile in (import Merge Existing <- New). Now, your fields that you couldn't create, are created.
Remember to work with databases without data (so without companies).
When you have your merged text files, it just takes an extra 10 minutes with this workaround for all your tables.. (no matter how many).0 -
When you are upgrading a db that has 500 objects modified, has 4 addons, it's not easy.
You are waisting many hours for the merging. There are many other things I have to look, such as make sure the addons work correctly, the merging is done properoly than waste my time with this.
Navision is about KISS and RIM.
WTF are they doing this for?
Also when you are "Merge Existing <- New", Why do they have compile and error out if some code is run for a field that is about to be created.
Let it merge and let the user compile it.my 2 cents0 -
[Topic moved from Upcoming version NAV 6.0 (formerly NAV 5.1) forum to Navision forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
The limits are there to prevent creation of fields with IDs outside permitted range. If this will be allowed, everybody can modify the text file and create own fields outside the permitted range. In this case, we do not need the limits because there will be an easy way how to go around. I am not expecting change in this area... :-s0
-
It's indeed one or the other, and I expect MS to go for the licensing one
.
I'd like to see the AX way of versioning integrated in the C/SIDE environment. But I don't expect this ever to happen
. Merging multiple add-ons into one application could be done without workarounds ... .
Anyway, in my workaround, for merging 4 addons, I just have to repeat the process 4 times. So, it's an extra 40 minutes, instead of 10 minutes. I can live with that O:) .0 -
kine wrote:The limits are there to prevent creation of fields with IDs outside permitted range. If this will be allowed, everybody can modify the text file and create own fields outside the permitted range. In this case, we do not need the limits because there will be an easy way how to go around. I am not expecting change in this area... :-s
The designer in Navision should still error if you try to insert in license that is outside of your license. Loading in text is perfectly fine.
As long as you can't create new tables, there is no issue.
And anybody who goes out of their way and creates a field in million range is shooting themselves in the foot.
Just because somebody can write in a report.
SalesHeader.deleteall;
doesn't mean we should prevent through license to use that function.
It just looks too stupid.
Just because you have no expectation in this matter, doesn't mean that they wouldn't and shouldn't do it.my 2 cents0 -
Waldo wrote:It's indeed one or the other, and I expect MS to go for the licensing one
.
I'd like to see the AX way of versioning integrated in the C/SIDE environment. But I don't expect this ever to happen
. Merging multiple add-ons into one application could be done without workarounds ... .
Anyway, in my workaround, for merging 4 addons, I just have to repeat the process 4 times. So, it's an extra 40 minutes, instead of 10 minutes. I can live with that O:) .
I don't see MS loosing anything on allowing import of txt files.my 2 cents0 -
Waldo wrote:I'd like to see the AX way of versioning integrated in the C/SIDE environment. But I don't expect this ever to happen
. Merging multiple add-ons into one application could be done without workarounds ... .
I hope this never happens! It'll make C/SIDE more complicated than it should. It may help you when you merge multiple add-ons together, but for everyone else, it'll be a nightmare they can't wake up from.
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
NavStudent wrote:I don't see MS loosing anything on allowing import of txt files.
That's because you're not Microsoft. You don't know what they're thinking but only think they should do a certain thing to satisfy your needs.
Not to say that you're not right, by the way.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Alex Chow wrote:Waldo wrote:I'd like to see the AX way of versioning integrated in the C/SIDE environment. But I don't expect this ever to happen
. Merging multiple add-ons into one application could be done without workarounds ... .
I hope this never happens! It'll make C/SIDE more complicated than it should. It may help you when you merge multiple add-ons together, but for everyone else, it'll be a nightmare they can't wake up from.
If one can understand how menusuites work (storing only the changes compared with previous saved version), then you would understand it for every object.
I know that there is only one menusuite in stead of multiple tables, reports, ... . That means that for this, MS would have to create a second level for every object that stores the versions.
Anyway, don't worry ... this will never happen
0 -
NavStudent wrote:Waldo wrote:It's indeed one or the other, and I expect MS to go for the licensing one
.
I'd like to see the AX way of versioning integrated in the C/SIDE environment. But I don't expect this ever to happen
. Merging multiple add-ons into one application could be done without workarounds ... .
Anyway, in my workaround, for merging 4 addons, I just have to repeat the process 4 times. So, it's an extra 40 minutes, instead of 10 minutes. I can live with that O:) .
I don't see MS loosing anything on allowing import of txt files.
Importing a fob is importing a compiled object. This way, MS is sure it was compiled by a license that was permitted to create a field in that range. Therefore, merging is ok (I guess).
Importing a text file is like writing code. You still have to compile the object. So, you're adding the field, and you're not permitted to do that with the license, so it errors out.
So for me, it's a licensing issue.
Furthermore, this way has some advantages as well:
- Putting an option between already existing options
- version upgrade of automation
--> I won't go into it too deep, but these things can cause big trouble, and is easily to work around with text files... .0 -
Waldo wrote:NavStudent wrote:Waldo wrote:It's indeed one or the other, and I expect MS to go for the licensing one
.
I'd like to see the AX way of versioning integrated in the C/SIDE environment. But I don't expect this ever to happen
. Merging multiple add-ons into one application could be done without workarounds ... .
Anyway, in my workaround, for merging 4 addons, I just have to repeat the process 4 times. So, it's an extra 40 minutes, instead of 10 minutes. I can live with that O:) .
I don't see MS loosing anything on allowing import of txt files.
Importing a fob is importing a compiled object. This way, MS is sure it was compiled by a license that was permitted to create a field in that range. Therefore, merging is ok (I guess).
Importing a text file is like writing code. You still have to compile the object. So, you're adding the field, and you're not permitted to do that with the license, so it errors out.
So for me, it's a licensing issue.
Furthermore, this way has some advantages as well:
- Putting an option between already existing options
- version upgrade of automation
--> I won't go into it too deep, but these things can cause big trouble, and is easily to work around with text files... .
All this makes sense for Tables, And your advantages aren't realy advantages because it would apply to txt as well.
The only people who import txt are when the upgrade, people who want to create for some unknown reason a field in million range, well they are shooting themselves in foot. The only way you should be able to do it is through txt file.
Either they need to change the license, or don't compile tables when you choose to merge two tables in import worksheet.my 2 cents0
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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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

