Insert fields with localization Nos?

BeliasBelias Member Posts: 2,998
is it possible with some workaround to insert a fileld with number 12xxx?
(12xxx is the number of italian localizations obviously)

why?the localization has only added 2 fields to a table, and this table is heavily customized... :(

...yes, I'm lazy... :mrgreen:

Otherwise, is merging function of Navision (4sp3 and 5) reliable?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog


  • krikikriki Member, Moderator Posts: 9,086
    Best is to merge the objects, so the fields are created. But this can mess up some code. So....
    ...after that, import the CORRECTED text-file in which all the fields and the needed code into the database.

    This way first created the fields with the 2 fobs and then fixed the code with the text-import.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!

  • garakgarak Member Posts: 3,263
    only if you have to fobs and merge this (instead replace all, merge). But take a look to your source.

    The "trick" with textfile doesn't work, because your license not allow to add fields between 1 - 49999 in standard tables.

    But check this way (not testet becaus @home, only an idea)

    export the Table as txt. Edit the new field in textfile (attend the syntax).
    Import the textfile into DevToolkit. Then update from here the Navison Client.

    But i belive, that will also not work :roll:
    Do you make it right, it works too!
  • BeliasBelias Member Posts: 2,998
    1 table imported w/o problems...the other... :evil: :evil:
    this stupid table has a field (one of the 12xxx field i have to "create") with a code that calls himself, something like

    ---myfield onvalidate trigger---
    onerandomtable.setrange("linked field",myfield);

    obviously myfield field does not already exist and i got an error...

    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • BeliasBelias Member Posts: 2,998
    \:D/ \:D/ YES! YES! I'VE DONE IT! \:D/ \:D/
    i imported microsoft object (not customized but with the new fields 12xxx) in a test db
    i deleted the code in the validate trigger and then i've reexported it in fob format.
    i merged the standardNoCode object with my customized object and then i pasted the code of the original microsoft version in the new customized and merged object...ha!

    why work when you can workaround? :mrgreen::mrgreen:
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • ara3nara3n Member Posts: 9,255
    Yes this is an annoying feature.
    It would be nice to be able to do it through text at least.
    Ahmed Rashed Amini
    Independent Consultant/Developer

Sign In or Register to comment.