Field No. 6207 is not defined in customer table

Hi all,
I'm in an upgrade process from nav 4.0 to 5.0 and following the instruction in the manual. In upgrading company specific data task 12 it is sais run codeunit 2 but then i get this error Field No. 6207 is not defined in customer table. I checked this field is in the customer table in nav4 but not in 5.0. Can anybody tell me why i am getting this error and how i can solve this please?

Comments

  • Hi all,
    Any idea pls?
  • Add it-easiest way out.
    I presume you are a technical geek in NAV and you would know how to do this.
    ==Just find out where it is being refenced in CU 2...
  • Hi,
    I think i got a solution to the problem. But experts please confirm if this is the right way to do this: the following code is the RunSetupDataFieldRelation function of codeunit 8611. the line creating error is highlighted. I think this error occurs because there are some fields in the migration table field Table that no more exist in Nav 5.0 and these are creating problems. So i delete those fields from table 8616 and the error disapears. But my question is: is this the right way to do this?
    RunSetupDataFieldRelation(VAR MigrationTable : Record "Migration Table")
    RecRef.OPEN(MigrationTable.TableID);
    IF RecRef.FIND('-') THEN
      REPEAT
        MigrationRecord1.SETRANGE(TableID,RecRef.NUMBER);
        IF MigrationRecord1.FIND('+') THEN
          MigrationRecord."No." := MigrationRecord1."No." + 1
        ELSE
          MigrationRecord."No." := 1;
        MigrationRecord.TableID := RecRef.NUMBER;
        MigrationRecord.INSERT;
        MigrationFields.SETRANGE(TableID,MigrationRecord.TableID);
        IF MigrationFields.FIND('-') THEN
          REPEAT
            [b]FieldRef := RecRef.FIELD(MigrationFields.FieldID)[/b];
             
            MigrationData.TableID := MigrationRecord.TableID;
            MigrationData."No." := MigrationRecord."No.";
            MigrationData.FieldID := MigrationFields.FieldID;
            MigrationData.Value := FORMAT(FieldRef.VALUE);
            MigrationData.INSERT;