This thread helped point me in the direction for importing notes so
thanks. A couple things to help anyone else trying to find out how to
import notes through the database...
a) You need to specify a NOTEID number when doing the import.
b) After the import, do a query to find out the last NOTEID
c) You need to modify the NOTEID number in the seqgenstate table. The number changes in buckets of 300. So if your last NOTEID is 610, you either need to set the the value in seqgenstate to 900, or set it to 600 and then try to manually create 10 notes. The 10 notes won't create because of duplicate NOTEID's but you should be able to actually create note 611. (That last part is a big confusing, the simplest solution is to just change the seqgenstate to the next bucket of 300)
d) For all the WorkOrders that have notes, you need to update the WorkOrderState table and change the value of SHOWNOTETOTECH from 0 to 1 for each WorkOrder you added a note to.
a) You need to specify a NOTEID number when doing the import.
b) After the import, do a query to find out the last NOTEID
c) You need to modify the NOTEID number in the seqgenstate table. The number changes in buckets of 300. So if your last NOTEID is 610, you either need to set the the value in seqgenstate to 900, or set it to 600 and then try to manually create 10 notes. The 10 notes won't create because of duplicate NOTEID's but you should be able to actually create note 611. (That last part is a big confusing, the simplest solution is to just change the seqgenstate to the next bucket of 300)
d) For all the WorkOrders that have notes, you need to update the WorkOrderState table and change the value of SHOWNOTETOTECH from 0 to 1 for each WorkOrder you added a note to.