Errors during data activation

Hello,

I'm trying to move one version at a time from 5.4a to 5.5a so that i can then move to 5.6 and end up in 6.X branch of Sage 300.

When trying to activate the data in 5.5 i get a bunch of errors: one being "Error converting table APPJD" and the other errors are with AP and AR saying "You must post or delete all open batches before activating AP (or AR) 5.5A.

We have made sure that all open batches have been posted, yet we're still running into this issue.

Parents Reply Children
  • in reply to Ettienne Schwagele

    Hello Ettienne,

    The full error message says: "System error, could not modify table APPJD. Error Converting table APPJD"

    I ran DBSpy during data conversion to 5.5 and i get the following errors in the log file:

    13:00:58.26  GET-FIELD-INFO ( table=APPJD   , field=RATEDOC    )

        13:00:58.26   ==> 223 <DBS_FIELD_NOT_FOUND>

        13:00:58.26  GET ( handle=2, keyno=0 )

        13:00:58.26  

        13:00:58.28  TRANS-BEGIN ( )

        13:00:58.28  

        13:00:58.28  UPDATE ( handle=2 )

        13:00:58.28  

        13:00:58.28  TRANS-END ( )

        13:00:58.28  

        13:00:58.28  ALTER-TABLE ( table=APPJD   , fields=1, keys=0 )

        13:01:02.69   ==> (DBERROR=490730591)

        13:01:02.69  CLOSE-TABLE ( handle=1 )

    I can attach the whole log if it will be more useful than this part where the errors occur.

  • in reply to lupul

    Do an SQL trace, you will get the SQL query that errors out.

    Try setting the SQL database compatibility down one or two levels, that sometimes helps with the older versions on newer versions of SQL server.