error "The type '3' was not defined for the function."

sashaweaversashaweaver Member Posts: 3
When trying to add a new record to the Field table manually I get the error:
The type '1' was not defined for the function.

When trying to add the field programatically in a CDU I get the error
The type '3' was not defined for the function.

Debugger doesn't get triggered.

Anyone know how I can get around this?

Thanks

Sasha

Comments

  • MBergerMBerger Member Posts: 413
    I've had this before importing objects from a newer version of NAV into a previous one, specifically import 6+ objects into 5 and lower. Did you do the same, maybe ?
  • SunsetSunset Member Posts: 201
    Why in the world would you insert records directly into the fields table?
    If you need a new field or even a table, use the designer and insert them where needed. Inserting straight into the field is asking for trouble.
    Don't just take my word for it, test it yourself
Sign In or Register to comment.